lib/purecloud/models/conversation_notification_self.rb in purecloud-0.68.1 vs lib/purecloud/models/conversation_notification_self.rb in purecloud-0.69.1
- old
+ new
@@ -16,50 +16,50 @@
require 'date'
module PureCloud
class ConversationNotificationSelf
- attr_accessor :name_raw
-
attr_accessor :address_displayable
+ attr_accessor :address_normalized
+
+ attr_accessor :name
+
attr_accessor :address_raw
attr_accessor :additional_properties
- attr_accessor :name
+ attr_accessor :name_raw
- attr_accessor :address_normalized
-
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
- :'name_raw' => :'nameRaw',
-
:'address_displayable' => :'addressDisplayable',
+ :'address_normalized' => :'addressNormalized',
+
+ :'name' => :'name',
+
:'address_raw' => :'addressRaw',
:'additional_properties' => :'additionalProperties',
- :'name' => :'name',
+ :'name_raw' => :'nameRaw'
- :'address_normalized' => :'addressNormalized'
-
}
end
# Attribute type mapping.
def self.swagger_types
{
- :'name_raw' => :'String',
:'address_displayable' => :'String',
+ :'address_normalized' => :'String',
+ :'name' => :'String',
:'address_raw' => :'String',
:'additional_properties' => :'Object',
- :'name' => :'String',
- :'address_normalized' => :'String'
+ :'name_raw' => :'String'
}
end
def initialize(attributes = {})
@@ -67,55 +67,55 @@
# convert string to symbol for hash key
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
- if attributes[:'nameRaw']
- self.name_raw = attributes[:'nameRaw']
- end
-
if attributes[:'addressDisplayable']
self.address_displayable = attributes[:'addressDisplayable']
end
+ if attributes[:'addressNormalized']
+ self.address_normalized = attributes[:'addressNormalized']
+ end
+
+ if attributes[:'name']
+ self.name = attributes[:'name']
+ end
+
if attributes[:'addressRaw']
self.address_raw = attributes[:'addressRaw']
end
if attributes[:'additionalProperties']
self.additional_properties = attributes[:'additionalProperties']
end
- if attributes[:'name']
- self.name = attributes[:'name']
+ if attributes[:'nameRaw']
+ self.name_raw = attributes[:'nameRaw']
end
- if attributes[:'addressNormalized']
- self.address_normalized = attributes[:'addressNormalized']
- end
-
end
# Check equality by comparing each attribute.
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
- name_raw == o.name_raw &&
address_displayable == o.address_displayable &&
+ address_normalized == o.address_normalized &&
+ name == o.name &&
address_raw == o.address_raw &&
additional_properties == o.additional_properties &&
- name == o.name &&
- address_normalized == o.address_normalized
+ name_raw == o.name_raw
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [name_raw, address_displayable, address_raw, additional_properties, name, address_normalized].hash
+ [address_displayable, address_normalized, name, address_raw, additional_properties, name_raw].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)