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

- old
+ new

@@ -39,10 +39,12 @@ attr_accessor :summary attr_accessor :acl + attr_accessor :description + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -66,10 +68,12 @@ :'summary' => :'summary', :'acl' => :'acl', + :'description' => :'description', + :'self_uri' => :'selfUri' } end @@ -84,10 +88,11 @@ :'bucket' => :'String', :'date_created' => :'DateTime', :'date_modified' => :'DateTime', :'summary' => :'WorkspaceSummary', :'acl' => :'Array<String>', + :'description' => :'String', :'self_uri' => :'String' } end @@ -140,10 +145,14 @@ if (value = attributes[:'acl']).is_a?(Array) self.acl = value end end + if attributes[:'description'] + self.description = attributes[:'description'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -169,20 +178,21 @@ bucket == o.bucket && date_created == o.date_created && date_modified == o.date_modified && summary == o.summary && acl == o.acl && + description == o.description && self_uri == o.self_uri end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [id, name, type, is_current_user_workspace, user, bucket, date_created, date_modified, summary, acl, self_uri].hash + [id, name, type, is_current_user_workspace, user, bucket, date_created, date_modified, summary, acl, description, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)