lib/purecloud/models/user_me.rb in purecloud-0.31.1 vs lib/purecloud/models/user_me.rb in purecloud-0.32.1
- old
+ new
@@ -14,10 +14,11 @@
attr_accessor :email
# Auto populated from addresses.
attr_accessor :primary_contact_info
+ # Email addresses and phone numbers for this user
attr_accessor :addresses
# The current state for this user.
attr_accessor :state
@@ -49,12 +50,10 @@
attr_accessor :station
# Roles and permissions assigned to the user
attr_accessor :authorization
- attr_accessor :feature_toggles
-
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -96,12 +95,10 @@
:'station' => :'station',
:'authorization' => :'authorization',
- :'feature_toggles' => :'featureToggles',
-
:'self_uri' => :'selfUri'
}
end
@@ -125,11 +122,10 @@
:'conversation_summary' => :'UserConversationSummary',
:'out_of_office' => :'OutOfOffice',
:'geolocation' => :'Geolocation',
:'station' => :'UserStations',
:'authorization' => :'UserAuthorization',
- :'feature_toggles' => :'Hash<String, BOOLEAN>',
:'self_uri' => :'String'
}
end
@@ -220,16 +216,10 @@
if attributes[:'authorization']
self.authorization = attributes[:'authorization']
end
- if attributes[:'featureToggles']
- if (value = attributes[:'featureToggles']).is_a?(Array)
- self.feature_toggles = value
- end
- end
-
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -264,21 +254,20 @@
conversation_summary == o.conversation_summary &&
out_of_office == o.out_of_office &&
geolocation == o.geolocation &&
station == o.station &&
authorization == o.authorization &&
- feature_toggles == o.feature_toggles &&
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, chat, department, email, primary_contact_info, addresses, state, title, username, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, feature_toggles, self_uri].hash
+ [id, name, chat, department, email, primary_contact_info, addresses, state, title, username, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)