lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-33.1.0 vs lib/purecloudplatformclientv2/models/user_queue.rb in purecloudplatformclientv2-34.0.0
- old
+ new
@@ -21,19 +21,19 @@
# The globally unique identifier for the object.
attr_accessor :id
attr_accessor :name
+ # The division to which this entity belongs.
+ attr_accessor :division
+
# The queue description.
attr_accessor :description
# The current version of the queue.
attr_accessor :version
- # The division to which this queue belongs.
- attr_accessor :division
-
# The date the queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :date_created
# The date of the last modification to the queue. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :date_modified
@@ -98,16 +98,16 @@
:'id' => :'id',
:'name' => :'name',
+ :'division' => :'division',
+
:'description' => :'description',
:'version' => :'version',
- :'division' => :'division',
-
:'date_created' => :'dateCreated',
:'date_modified' => :'dateModified',
:'modified_by' => :'modifiedBy',
@@ -157,16 +157,16 @@
:'id' => :'String',
:'name' => :'String',
+ :'division' => :'UriReference',
+
:'description' => :'String',
:'version' => :'Integer',
- :'division' => :'UriReference',
-
:'date_created' => :'DateTime',
:'date_modified' => :'DateTime',
:'modified_by' => :'String',
@@ -235,32 +235,32 @@
end
- if attributes.has_key?(:'description')
+ if attributes.has_key?(:'division')
- self.description = attributes[:'description']
+ self.division = attributes[:'division']
end
- if attributes.has_key?(:'version')
+ if attributes.has_key?(:'description')
- self.version = attributes[:'version']
+ self.description = attributes[:'description']
end
- if attributes.has_key?(:'division')
+ if attributes.has_key?(:'version')
- self.division = attributes[:'division']
+ self.version = attributes[:'version']
end
@@ -757,13 +757,13 @@
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
id == o.id &&
name == o.name &&
+ division == o.division &&
description == o.description &&
version == o.version &&
- division == o.division &&
date_created == o.date_created &&
date_modified == o.date_modified &&
modified_by == o.modified_by &&
created_by == o.created_by &&
state == o.state &&
@@ -792,10 +792,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, description, version, division, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, joined, member_count, self_uri].hash
+ [id, name, division, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_email_address, joined, member_count, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)