lib/purecloud/models/analytics_session.rb in purecloud-0.44.1 vs lib/purecloud/models/analytics_session.rb in purecloud-0.45.1
- old
+ new
@@ -50,10 +50,23 @@
attr_accessor :monitored_session_id
attr_accessor :monitored_participant_id
+ attr_accessor :callback_user_name
+
+ attr_accessor :callback_numbers
+
+ # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ attr_accessor :callback_scheduled_time
+
+ attr_accessor :script_id
+
+ attr_accessor :skip_enabled
+
+ attr_accessor :timeout_seconds
+
attr_accessor :segments
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -90,10 +103,22 @@
:'monitored_session_id' => :'monitoredSessionId',
:'monitored_participant_id' => :'monitoredParticipantId',
+ :'callback_user_name' => :'callbackUserName',
+
+ :'callback_numbers' => :'callbackNumbers',
+
+ :'callback_scheduled_time' => :'callbackScheduledTime',
+
+ :'script_id' => :'scriptId',
+
+ :'skip_enabled' => :'skipEnabled',
+
+ :'timeout_seconds' => :'timeoutSeconds',
+
:'segments' => :'segments'
}
end
@@ -115,10 +140,16 @@
:'edge_id' => :'String',
:'remote_name_displayable' => :'String',
:'room_id' => :'String',
:'monitored_session_id' => :'String',
:'monitored_participant_id' => :'String',
+ :'callback_user_name' => :'String',
+ :'callback_numbers' => :'Array<String>',
+ :'callback_scheduled_time' => :'DateTime',
+ :'script_id' => :'String',
+ :'skip_enabled' => :'BOOLEAN',
+ :'timeout_seconds' => :'Integer',
:'segments' => :'Array<AnalyticsConversationSegment>'
}
end
@@ -195,10 +226,38 @@
if attributes[:'monitoredParticipantId']
self.monitored_participant_id = attributes[:'monitoredParticipantId']
end
+ if attributes[:'callbackUserName']
+ self.callback_user_name = attributes[:'callbackUserName']
+ end
+
+ if attributes[:'callbackNumbers']
+ if (value = attributes[:'callbackNumbers']).is_a?(Array)
+ self.callback_numbers = value
+ end
+ end
+
+ if attributes[:'callbackScheduledTime']
+ self.callback_scheduled_time = attributes[:'callbackScheduledTime']
+ end
+
+ if attributes[:'scriptId']
+ self.script_id = attributes[:'scriptId']
+ end
+
+ if attributes[:'skipEnabled']
+ self.skip_enabled = attributes[:'skipEnabled']
+ else
+ self.skip_enabled = false
+ end
+
+ if attributes[:'timeoutSeconds']
+ self.timeout_seconds = attributes[:'timeoutSeconds']
+ end
+
if attributes[:'segments']
if (value = attributes[:'segments']).is_a?(Array)
self.segments = value
end
end
@@ -242,20 +301,26 @@
edge_id == o.edge_id &&
remote_name_displayable == o.remote_name_displayable &&
room_id == o.room_id &&
monitored_session_id == o.monitored_session_id &&
monitored_participant_id == o.monitored_participant_id &&
+ callback_user_name == o.callback_user_name &&
+ callback_numbers == o.callback_numbers &&
+ callback_scheduled_time == o.callback_scheduled_time &&
+ script_id == o.script_id &&
+ skip_enabled == o.skip_enabled &&
+ timeout_seconds == o.timeout_seconds &&
segments == o.segments
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [media_type, session_id, address_other, address_self, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, segments].hash
+ [media_type, session_id, address_other, address_self, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, skip_enabled, timeout_seconds, segments].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)