lib/purecloud/models/group.rb in purecloud-0.18.0 vs lib/purecloud/models/group.rb in purecloud-0.25.0

- old
+ new

@@ -15,10 +15,12 @@ attr_accessor :group_images attr_accessor :group_state + attr_accessor :version + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -36,10 +38,12 @@ :'group_images' => :'groupImages', :'group_state' => :'groupState', + :'version' => :'version', + :'self_uri' => :'selfUri' } end @@ -51,10 +55,11 @@ :'description' => :'String', :'member_count' => :'Integer', :'group_type' => :'String', :'group_images' => :'GroupImages', :'group_state' => :'String', + :'version' => :'Float', :'self_uri' => :'String' } end @@ -91,10 +96,14 @@ if attributes[:'groupState'] self.group_state = attributes[:'groupState'] end + if attributes[:'version'] + self.version = attributes[:'version'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -126,20 +135,21 @@ description == o.description && member_count == o.member_count && group_type == o.group_type && group_images == o.group_images && group_state == o.group_state && + version == o.version && 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, description, member_count, group_type, group_images, group_state, self_uri].hash + [id, name, description, member_count, group_type, group_images, group_state, version, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)