lib/purecloud/models/conversation_notification_cobrowsesessions.rb in purecloud-0.52.1 vs lib/purecloud/models/conversation_notification_cobrowsesessions.rb in purecloud-0.53.1
- old
+ new
@@ -36,10 +36,12 @@
attr_accessor :room_id
attr_accessor :provider_event_time
+ attr_accessor :provider
+
attr_accessor :_self
attr_accessor :viewer_url
attr_accessor :cobrowse_session_id
@@ -66,10 +68,12 @@
:'room_id' => :'roomId',
:'provider_event_time' => :'providerEventTime',
+ :'provider' => :'provider',
+
:'_self' => :'self',
:'viewer_url' => :'viewerUrl',
:'cobrowse_session_id' => :'cobrowseSessionId'
@@ -88,10 +92,11 @@
:'additional_properties' => :'Object',
:'cobrowse_role' => :'String',
:'state' => :'String',
:'room_id' => :'String',
:'provider_event_time' => :'DateTime',
+ :'provider' => :'String',
:'_self' => :'ConversationNotificationAddress',
:'viewer_url' => :'String',
:'cobrowse_session_id' => :'String'
}
@@ -144,10 +149,14 @@
if attributes[:'providerEventTime']
self.provider_event_time = attributes[:'providerEventTime']
end
+ if attributes[:'provider']
+ self.provider = attributes[:'provider']
+ end
+
if attributes[:'self']
self._self = attributes[:'self']
end
if attributes[:'viewerUrl']
@@ -190,10 +199,11 @@
additional_properties == o.additional_properties &&
cobrowse_role == o.cobrowse_role &&
state == o.state &&
room_id == o.room_id &&
provider_event_time == o.provider_event_time &&
+ provider == o.provider &&
_self == o._self &&
viewer_url == o.viewer_url &&
cobrowse_session_id == o.cobrowse_session_id
end
@@ -202,10 +212,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, disconnect_type, disconnected_time, controlling, connected_time, additional_properties, cobrowse_role, state, room_id, provider_event_time, _self, viewer_url, cobrowse_session_id].hash
+ [id, disconnect_type, disconnected_time, controlling, connected_time, additional_properties, cobrowse_role, state, room_id, provider_event_time, provider, _self, viewer_url, cobrowse_session_id].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)