lib/purecloud/models/dependency_object.rb in purecloud-0.40.1 vs lib/purecloud/models/dependency_object.rb in purecloud-0.41.1

- old
+ new

@@ -27,10 +27,12 @@ attr_accessor :type attr_accessor :deleted + attr_accessor :updated + attr_accessor :consumed_resources attr_accessor :consuming_resources # The URI for this object @@ -48,10 +50,12 @@ :'type' => :'type', :'deleted' => :'deleted', + :'updated' => :'updated', + :'consumed_resources' => :'consumedResources', :'consuming_resources' => :'consumingResources', :'self_uri' => :'selfUri' @@ -65,10 +69,11 @@ :'id' => :'String', :'name' => :'String', :'version' => :'String', :'type' => :'String', :'deleted' => :'BOOLEAN', + :'updated' => :'BOOLEAN', :'consumed_resources' => :'Array<Dependency>', :'consuming_resources' => :'Array<Dependency>', :'self_uri' => :'String' } @@ -101,10 +106,16 @@ self.deleted = attributes[:'deleted'] else self.deleted = false end + if attributes[:'updated'] + self.updated = attributes[:'updated'] + else + self.updated = false + end + if attributes[:'consumedResources'] if (value = attributes[:'consumedResources']).is_a?(Array) self.consumed_resources = value end end @@ -137,10 +148,11 @@ id == o.id && name == o.name && version == o.version && type == o.type && deleted == o.deleted && + updated == o.updated && consumed_resources == o.consumed_resources && consuming_resources == o.consuming_resources && self_uri == o.self_uri end @@ -149,10 +161,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [id, name, version, type, deleted, consumed_resources, consuming_resources, self_uri].hash + [id, name, version, type, deleted, updated, consumed_resources, consuming_resources, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)