lib/fastly/models/relationship_customer_customer.rb in fastly-8.1.0 vs lib/fastly/models/relationship_customer_customer.rb in fastly-8.2.0
- old
+ new
@@ -28,11 +28,11 @@
end
# Attribute type mapping.
def self.fastly_types
{
- :'data' => :'Array<RelationshipMemberCustomer>'
+ :'data' => :'RelationshipMemberCustomer'
}
end
# List of attributes with nullable: true
def self.fastly_nullable
@@ -54,12 +54,10 @@
end
h[k.to_sym] = v
}
if attributes.key?(:'data')
- if (value = attributes[:'data']).is_a?(Array)
- self.data = value
- end
+ self.data = attributes[:'data']
end
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properties with the reasons