lib/purecloud/models/conversation_notification_chat.rb in purecloud-0.52.1 vs lib/purecloud/models/conversation_notification_chat.rb in purecloud-0.53.1
- old
+ new
@@ -20,10 +20,12 @@
class ConversationNotificationChat
attr_accessor :state
attr_accessor :id
+ attr_accessor :provider
+
attr_accessor :room_id
attr_accessor :held
attr_accessor :disconnect_type
@@ -42,10 +44,12 @@
:'state' => :'state',
:'id' => :'id',
+ :'provider' => :'provider',
+
:'room_id' => :'roomId',
:'held' => :'held',
:'disconnect_type' => :'disconnectType',
@@ -64,10 +68,11 @@
# Attribute type mapping.
def self.swagger_types
{
:'state' => :'String',
:'id' => :'String',
+ :'provider' => :'String',
:'room_id' => :'String',
:'held' => :'BOOLEAN',
:'disconnect_type' => :'String',
:'start_hold_time' => :'DateTime',
:'connected_time' => :'DateTime',
@@ -90,10 +95,14 @@
if attributes[:'id']
self.id = attributes[:'id']
end
+ if attributes[:'provider']
+ self.provider = attributes[:'provider']
+ end
+
if attributes[:'roomId']
self.room_id = attributes[:'roomId']
end
if attributes[:'held']
@@ -144,10 +153,11 @@
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
state == o.state &&
id == o.id &&
+ provider == o.provider &&
room_id == o.room_id &&
held == o.held &&
disconnect_type == o.disconnect_type &&
start_hold_time == o.start_hold_time &&
connected_time == o.connected_time &&
@@ -160,10 +170,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [state, id, room_id, held, disconnect_type, start_hold_time, connected_time, disconnected_time, additional_properties].hash
+ [state, id, provider, room_id, held, disconnect_type, start_hold_time, connected_time, disconnected_time, additional_properties].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)