lib/purecloud/models/response_set_notification.rb in purecloud-0.67.1 vs lib/purecloud/models/response_set_notification.rb in purecloud-0.68.1
- old
+ new
@@ -26,14 +26,14 @@
attr_accessor :date_modified
attr_accessor :version
- attr_accessor :additional_properties
-
attr_accessor :responses
+ attr_accessor :additional_properties
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'id' => :'id',
@@ -44,13 +44,13 @@
:'date_modified' => :'dateModified',
:'version' => :'version',
- :'additional_properties' => :'additionalProperties',
+ :'responses' => :'responses',
- :'responses' => :'responses'
+ :'additional_properties' => :'additionalProperties'
}
end
# Attribute type mapping.
@@ -59,12 +59,12 @@
:'id' => :'String',
:'name' => :'String',
:'date_created' => :'DateTime',
:'date_modified' => :'DateTime',
:'version' => :'Integer',
- :'additional_properties' => :'Object',
- :'responses' => :'Hash<String, ResponseSetNotificationResponses>'
+ :'responses' => :'Hash<String, ResponseSetNotificationResponses>',
+ :'additional_properties' => :'Object'
}
end
def initialize(attributes = {})
@@ -92,20 +92,20 @@
if attributes[:'version']
self.version = attributes[:'version']
end
- if attributes[:'additionalProperties']
- self.additional_properties = attributes[:'additionalProperties']
- end
-
if attributes[:'responses']
if (value = attributes[:'responses']).is_a?(Array)
self.responses = value
end
end
+ if attributes[:'additionalProperties']
+ self.additional_properties = attributes[:'additionalProperties']
+ end
+
end
# Check equality by comparing each attribute.
def ==(o)
return true if self.equal?(o)
@@ -113,21 +113,21 @@
id == o.id &&
name == o.name &&
date_created == o.date_created &&
date_modified == o.date_modified &&
version == o.version &&
- additional_properties == o.additional_properties &&
- responses == o.responses
+ responses == o.responses &&
+ additional_properties == o.additional_properties
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, date_created, date_modified, version, additional_properties, responses].hash
+ [id, name, date_created, date_modified, version, responses, additional_properties].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)