lib/fastly/models/response_object_response.rb in fastly-6.0.2 vs lib/fastly/models/response_object_response.rb in fastly-7.0.0
- old
+ new
@@ -75,15 +75,15 @@
{
:'cache_condition' => :'String',
:'content' => :'String',
:'content_type' => :'String',
:'name' => :'String',
- :'status' => :'Integer',
+ :'status' => :'String',
:'response' => :'String',
:'request_condition' => :'String',
:'service_id' => :'String',
- :'version' => :'Integer',
+ :'version' => :'String',
:'created_at' => :'Time',
:'deleted_at' => :'Time',
:'updated_at' => :'Time'
}
end
@@ -102,11 +102,11 @@
# List of class defined in allOf (OpenAPI v3)
def self.fastly_all_of
[
:'ResponseObject',
- :'ServiceIdAndVersion',
+ :'ServiceIdAndVersionString',
:'Timestamps'
]
end
# Initializes the object
@@ -141,10 +141,10 @@
end
if attributes.key?(:'status')
self.status = attributes[:'status']
else
- self.status = 200
+ self.status = '200'
end
if attributes.key?(:'response')
self.response = attributes[:'response']
else