lib/purecloud/models/conversation_notification_callbacks.rb in purecloud-0.52.1 vs lib/purecloud/models/conversation_notification_callbacks.rb in purecloud-0.53.1
- old
+ new
@@ -26,10 +26,12 @@
attr_accessor :direction
attr_accessor :state
+ attr_accessor :provider
+
attr_accessor :skip_enabled
attr_accessor :callback_numbers
attr_accessor :id
@@ -62,10 +64,12 @@
:'direction' => :'direction',
:'state' => :'state',
+ :'provider' => :'provider',
+
:'skip_enabled' => :'skipEnabled',
:'callback_numbers' => :'callbackNumbers',
:'id' => :'id',
@@ -95,10 +99,11 @@
:'disconnected_time' => :'DateTime',
:'held' => :'BOOLEAN',
:'connected_time' => :'DateTime',
:'direction' => :'String',
:'state' => :'String',
+ :'provider' => :'String',
:'skip_enabled' => :'BOOLEAN',
:'callback_numbers' => :'Array<String>',
:'id' => :'String',
:'disconnect_type' => :'String',
:'timeout_seconds' => :'Integer',
@@ -137,10 +142,14 @@
if attributes[:'state']
self.state = attributes[:'state']
end
+ if attributes[:'provider']
+ self.provider = attributes[:'provider']
+ end
+
if attributes[:'skipEnabled']
self.skip_enabled = attributes[:'skipEnabled']
end
if attributes[:'callbackNumbers']
@@ -221,10 +230,11 @@
disconnected_time == o.disconnected_time &&
held == o.held &&
connected_time == o.connected_time &&
direction == o.direction &&
state == o.state &&
+ provider == o.provider &&
skip_enabled == o.skip_enabled &&
callback_numbers == o.callback_numbers &&
id == o.id &&
disconnect_type == o.disconnect_type &&
timeout_seconds == o.timeout_seconds &&
@@ -241,10 +251,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [disconnected_time, held, connected_time, direction, state, skip_enabled, callback_numbers, id, disconnect_type, timeout_seconds, additional_properties, start_hold_time, dialer_preview, script_id, callback_scheduled_time, callback_user_name].hash
+ [disconnected_time, held, connected_time, direction, state, provider, skip_enabled, callback_numbers, id, disconnect_type, timeout_seconds, additional_properties, start_hold_time, dialer_preview, script_id, callback_scheduled_time, callback_user_name].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)