purecloud 0.30.1 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/configuration_api.rb +4 -814
- data/lib/purecloud/api/conversations_api.rb +1035 -1763
- data/lib/purecloud/api/organization_api.rb +0 -58
- data/lib/purecloud/api/quality_api.rb +629 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +1033 -677
- data/lib/purecloud/api/users_api.rb +311 -0
- data/lib/purecloud/api/voicemail_api.rb +176 -176
- data/lib/purecloud/models/address_listing.rb +17 -17
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +18 -235
- data/lib/purecloud/models/analytics_participant.rb +40 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloud/models/analytics_session.rb +150 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
- data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_listing.rb +17 -17
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_user.rb +1 -11
- data/lib/purecloud/models/data_item.rb +23 -19
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/external_organization_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
- data/lib/purecloud/models/json_node.rb +32 -32
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
- data/lib/purecloud/models/location_entity_listing.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/note_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization.rb +1 -0
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/payment_method_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/property_index_request.rb +1 -12
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queues_entity_listing.rb +17 -17
- data/lib/purecloud/models/quote_listing.rb +17 -17
- data/lib/purecloud/models/relationship_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/service_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site.rb +1 -1
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/template_entity_listing.rb +17 -17
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/users_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/lib/purecloud.rb +83 -100
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -19
- data/lib/purecloud/api/callbacks_api.rb +0 -483
- data/lib/purecloud/api/calls_api.rb +0 -1088
- data/lib/purecloud/api/chats_api.rb +0 -483
- data/lib/purecloud/api/compliance_api.rb +0 -129
- data/lib/purecloud/api/downloads_api.rb +0 -140
- data/lib/purecloud/api/emails_api.rb +0 -1013
- data/lib/purecloud/api/evaluations_api.rb +0 -73
- data/lib/purecloud/api/faxes_api.rb +0 -73
- data/lib/purecloud/api/integrations_api.rb +0 -150
- data/lib/purecloud/api/integrations_workforce_management_api.rb +0 -73
- data/lib/purecloud/api/licensing_api.rb +0 -428
- data/lib/purecloud/api/scripts_api.rb +0 -718
- data/lib/purecloud/api/socials_api.rb +0 -483
- data/lib/purecloud/api/videos_api.rb +0 -483
- data/lib/purecloud/models/body.rb +0 -136
- data/lib/purecloud/models/organization_address.rb +0 -194
- data/lib/purecloud/models/participant_request.rb +0 -242
|
@@ -4,6 +4,12 @@ module PureCloud
|
|
|
4
4
|
class AnalyticsParticipant
|
|
5
5
|
attr_accessor :participant_id
|
|
6
6
|
|
|
7
|
+
attr_accessor :participant_name
|
|
8
|
+
|
|
9
|
+
attr_accessor :user_id
|
|
10
|
+
|
|
11
|
+
attr_accessor :purpose
|
|
12
|
+
|
|
7
13
|
attr_accessor :sessions
|
|
8
14
|
|
|
9
15
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -12,6 +18,12 @@ module PureCloud
|
|
|
12
18
|
|
|
13
19
|
:'participant_id' => :'participantId',
|
|
14
20
|
|
|
21
|
+
:'participant_name' => :'participantName',
|
|
22
|
+
|
|
23
|
+
:'user_id' => :'userId',
|
|
24
|
+
|
|
25
|
+
:'purpose' => :'purpose',
|
|
26
|
+
|
|
15
27
|
:'sessions' => :'sessions'
|
|
16
28
|
|
|
17
29
|
}
|
|
@@ -21,6 +33,9 @@ module PureCloud
|
|
|
21
33
|
def self.swagger_types
|
|
22
34
|
{
|
|
23
35
|
:'participant_id' => :'String',
|
|
36
|
+
:'participant_name' => :'String',
|
|
37
|
+
:'user_id' => :'String',
|
|
38
|
+
:'purpose' => :'String',
|
|
24
39
|
:'sessions' => :'Array<AnalyticsSession>'
|
|
25
40
|
|
|
26
41
|
}
|
|
@@ -37,6 +52,18 @@ module PureCloud
|
|
|
37
52
|
self.participant_id = attributes[:'participantId']
|
|
38
53
|
end
|
|
39
54
|
|
|
55
|
+
if attributes[:'participantName']
|
|
56
|
+
self.participant_name = attributes[:'participantName']
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
if attributes[:'userId']
|
|
60
|
+
self.user_id = attributes[:'userId']
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
if attributes[:'purpose']
|
|
64
|
+
self.purpose = attributes[:'purpose']
|
|
65
|
+
end
|
|
66
|
+
|
|
40
67
|
if attributes[:'sessions']
|
|
41
68
|
if (value = attributes[:'sessions']).is_a?(Array)
|
|
42
69
|
self.sessions = value
|
|
@@ -45,11 +72,23 @@ module PureCloud
|
|
|
45
72
|
|
|
46
73
|
end
|
|
47
74
|
|
|
75
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
76
|
+
def purpose=(purpose)
|
|
77
|
+
allowed_values = ["manual", "dialer", "inbound", "acd", "ivr", "voicemail", "outbound", "agent", "user", "station", "group", "customer", "external"]
|
|
78
|
+
if purpose && !allowed_values.include?(purpose)
|
|
79
|
+
fail "invalid value for 'purpose', must be one of #{allowed_values}"
|
|
80
|
+
end
|
|
81
|
+
@purpose = purpose
|
|
82
|
+
end
|
|
83
|
+
|
|
48
84
|
# Check equality by comparing each attribute.
|
|
49
85
|
def ==(o)
|
|
50
86
|
return true if self.equal?(o)
|
|
51
87
|
self.class == o.class &&
|
|
52
88
|
participant_id == o.participant_id &&
|
|
89
|
+
participant_name == o.participant_name &&
|
|
90
|
+
user_id == o.user_id &&
|
|
91
|
+
purpose == o.purpose &&
|
|
53
92
|
sessions == o.sessions
|
|
54
93
|
end
|
|
55
94
|
|
|
@@ -60,7 +99,7 @@ module PureCloud
|
|
|
60
99
|
|
|
61
100
|
# Calculate hash code according to all attributes.
|
|
62
101
|
def hash
|
|
63
|
-
[participant_id, sessions].hash
|
|
102
|
+
[participant_id, participant_name, user_id, purpose, sessions].hash
|
|
64
103
|
end
|
|
65
104
|
|
|
66
105
|
# build the object from hash
|
|
@@ -116,7 +116,7 @@ module PureCloud
|
|
|
116
116
|
|
|
117
117
|
# Custom attribute writer method checking allowed values (enum).
|
|
118
118
|
def dimension=(dimension)
|
|
119
|
-
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "purpose", "
|
|
119
|
+
allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime"]
|
|
120
120
|
if dimension && !allowed_values.include?(dimension)
|
|
121
121
|
fail "invalid value for 'dimension', must be one of #{allowed_values}"
|
|
122
122
|
end
|
|
@@ -134,7 +134,7 @@ module PureCloud
|
|
|
134
134
|
|
|
135
135
|
# Custom attribute writer method checking allowed values (enum).
|
|
136
136
|
def metric=(metric)
|
|
137
|
-
allowed_values = ["tSegmentDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "nOffered", "nOverSla", "nTransferred", "
|
|
137
|
+
allowed_values = ["tSegmentDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "nOffered", "nOverSla", "nTransferred", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting"]
|
|
138
138
|
if metric && !allowed_values.include?(metric)
|
|
139
139
|
fail "invalid value for 'metric', must be one of #{allowed_values}"
|
|
140
140
|
end
|
|
@@ -6,6 +6,34 @@ module PureCloud
|
|
|
6
6
|
|
|
7
7
|
attr_accessor :session_id
|
|
8
8
|
|
|
9
|
+
attr_accessor :address_other
|
|
10
|
+
|
|
11
|
+
attr_accessor :address_self
|
|
12
|
+
|
|
13
|
+
attr_accessor :ani
|
|
14
|
+
|
|
15
|
+
attr_accessor :direction
|
|
16
|
+
|
|
17
|
+
attr_accessor :dnis
|
|
18
|
+
|
|
19
|
+
attr_accessor :outbound_campaign_id
|
|
20
|
+
|
|
21
|
+
attr_accessor :outbound_contact_list_id
|
|
22
|
+
|
|
23
|
+
attr_accessor :disposition_analyzer
|
|
24
|
+
|
|
25
|
+
attr_accessor :disposition_name
|
|
26
|
+
|
|
27
|
+
attr_accessor :edge_id
|
|
28
|
+
|
|
29
|
+
attr_accessor :remote_name_displayable
|
|
30
|
+
|
|
31
|
+
attr_accessor :room_id
|
|
32
|
+
|
|
33
|
+
attr_accessor :monitored_session_id
|
|
34
|
+
|
|
35
|
+
attr_accessor :monitored_participant_id
|
|
36
|
+
|
|
9
37
|
attr_accessor :segments
|
|
10
38
|
|
|
11
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -16,6 +44,34 @@ module PureCloud
|
|
|
16
44
|
|
|
17
45
|
:'session_id' => :'sessionId',
|
|
18
46
|
|
|
47
|
+
:'address_other' => :'addressOther',
|
|
48
|
+
|
|
49
|
+
:'address_self' => :'addressSelf',
|
|
50
|
+
|
|
51
|
+
:'ani' => :'ani',
|
|
52
|
+
|
|
53
|
+
:'direction' => :'direction',
|
|
54
|
+
|
|
55
|
+
:'dnis' => :'dnis',
|
|
56
|
+
|
|
57
|
+
:'outbound_campaign_id' => :'outboundCampaignId',
|
|
58
|
+
|
|
59
|
+
:'outbound_contact_list_id' => :'outboundContactListId',
|
|
60
|
+
|
|
61
|
+
:'disposition_analyzer' => :'dispositionAnalyzer',
|
|
62
|
+
|
|
63
|
+
:'disposition_name' => :'dispositionName',
|
|
64
|
+
|
|
65
|
+
:'edge_id' => :'edgeId',
|
|
66
|
+
|
|
67
|
+
:'remote_name_displayable' => :'remoteNameDisplayable',
|
|
68
|
+
|
|
69
|
+
:'room_id' => :'roomId',
|
|
70
|
+
|
|
71
|
+
:'monitored_session_id' => :'monitoredSessionId',
|
|
72
|
+
|
|
73
|
+
:'monitored_participant_id' => :'monitoredParticipantId',
|
|
74
|
+
|
|
19
75
|
:'segments' => :'segments'
|
|
20
76
|
|
|
21
77
|
}
|
|
@@ -26,6 +82,20 @@ module PureCloud
|
|
|
26
82
|
{
|
|
27
83
|
:'media_type' => :'String',
|
|
28
84
|
:'session_id' => :'String',
|
|
85
|
+
:'address_other' => :'String',
|
|
86
|
+
:'address_self' => :'String',
|
|
87
|
+
:'ani' => :'String',
|
|
88
|
+
:'direction' => :'String',
|
|
89
|
+
:'dnis' => :'String',
|
|
90
|
+
:'outbound_campaign_id' => :'String',
|
|
91
|
+
:'outbound_contact_list_id' => :'String',
|
|
92
|
+
:'disposition_analyzer' => :'String',
|
|
93
|
+
:'disposition_name' => :'String',
|
|
94
|
+
:'edge_id' => :'String',
|
|
95
|
+
:'remote_name_displayable' => :'String',
|
|
96
|
+
:'room_id' => :'String',
|
|
97
|
+
:'monitored_session_id' => :'String',
|
|
98
|
+
:'monitored_participant_id' => :'String',
|
|
29
99
|
:'segments' => :'Array<AnalyticsConversationSegment>'
|
|
30
100
|
|
|
31
101
|
}
|
|
@@ -46,6 +116,62 @@ module PureCloud
|
|
|
46
116
|
self.session_id = attributes[:'sessionId']
|
|
47
117
|
end
|
|
48
118
|
|
|
119
|
+
if attributes[:'addressOther']
|
|
120
|
+
self.address_other = attributes[:'addressOther']
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
if attributes[:'addressSelf']
|
|
124
|
+
self.address_self = attributes[:'addressSelf']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes[:'ani']
|
|
128
|
+
self.ani = attributes[:'ani']
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
if attributes[:'direction']
|
|
132
|
+
self.direction = attributes[:'direction']
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if attributes[:'dnis']
|
|
136
|
+
self.dnis = attributes[:'dnis']
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if attributes[:'outboundCampaignId']
|
|
140
|
+
self.outbound_campaign_id = attributes[:'outboundCampaignId']
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
if attributes[:'outboundContactListId']
|
|
144
|
+
self.outbound_contact_list_id = attributes[:'outboundContactListId']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes[:'dispositionAnalyzer']
|
|
148
|
+
self.disposition_analyzer = attributes[:'dispositionAnalyzer']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes[:'dispositionName']
|
|
152
|
+
self.disposition_name = attributes[:'dispositionName']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes[:'edgeId']
|
|
156
|
+
self.edge_id = attributes[:'edgeId']
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes[:'remoteNameDisplayable']
|
|
160
|
+
self.remote_name_displayable = attributes[:'remoteNameDisplayable']
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes[:'roomId']
|
|
164
|
+
self.room_id = attributes[:'roomId']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes[:'monitoredSessionId']
|
|
168
|
+
self.monitored_session_id = attributes[:'monitoredSessionId']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes[:'monitoredParticipantId']
|
|
172
|
+
self.monitored_participant_id = attributes[:'monitoredParticipantId']
|
|
173
|
+
end
|
|
174
|
+
|
|
49
175
|
if attributes[:'segments']
|
|
50
176
|
if (value = attributes[:'segments']).is_a?(Array)
|
|
51
177
|
self.segments = value
|
|
@@ -63,12 +189,35 @@ module PureCloud
|
|
|
63
189
|
@media_type = media_type
|
|
64
190
|
end
|
|
65
191
|
|
|
192
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
193
|
+
def direction=(direction)
|
|
194
|
+
allowed_values = ["inbound", "outbound"]
|
|
195
|
+
if direction && !allowed_values.include?(direction)
|
|
196
|
+
fail "invalid value for 'direction', must be one of #{allowed_values}"
|
|
197
|
+
end
|
|
198
|
+
@direction = direction
|
|
199
|
+
end
|
|
200
|
+
|
|
66
201
|
# Check equality by comparing each attribute.
|
|
67
202
|
def ==(o)
|
|
68
203
|
return true if self.equal?(o)
|
|
69
204
|
self.class == o.class &&
|
|
70
205
|
media_type == o.media_type &&
|
|
71
206
|
session_id == o.session_id &&
|
|
207
|
+
address_other == o.address_other &&
|
|
208
|
+
address_self == o.address_self &&
|
|
209
|
+
ani == o.ani &&
|
|
210
|
+
direction == o.direction &&
|
|
211
|
+
dnis == o.dnis &&
|
|
212
|
+
outbound_campaign_id == o.outbound_campaign_id &&
|
|
213
|
+
outbound_contact_list_id == o.outbound_contact_list_id &&
|
|
214
|
+
disposition_analyzer == o.disposition_analyzer &&
|
|
215
|
+
disposition_name == o.disposition_name &&
|
|
216
|
+
edge_id == o.edge_id &&
|
|
217
|
+
remote_name_displayable == o.remote_name_displayable &&
|
|
218
|
+
room_id == o.room_id &&
|
|
219
|
+
monitored_session_id == o.monitored_session_id &&
|
|
220
|
+
monitored_participant_id == o.monitored_participant_id &&
|
|
72
221
|
segments == o.segments
|
|
73
222
|
end
|
|
74
223
|
|
|
@@ -79,7 +228,7 @@ module PureCloud
|
|
|
79
228
|
|
|
80
229
|
# Calculate hash code according to all attributes.
|
|
81
230
|
def hash
|
|
82
|
-
[media_type, session_id, segments].hash
|
|
231
|
+
[media_type, session_id, address_other, address_self, ani, direction, dnis, outbound_campaign_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, segments].hash
|
|
83
232
|
end
|
|
84
233
|
|
|
85
234
|
# build the object from hash
|
|
@@ -12,14 +12,14 @@ module PureCloud
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :self_uri
|
|
14
14
|
|
|
15
|
-
attr_accessor :first_uri
|
|
16
|
-
|
|
17
15
|
attr_accessor :previous_uri
|
|
18
16
|
|
|
19
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :first_uri
|
|
20
18
|
|
|
21
19
|
attr_accessor :last_uri
|
|
22
20
|
|
|
21
|
+
attr_accessor :next_uri
|
|
22
|
+
|
|
23
23
|
attr_accessor :page_count
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,14 +36,14 @@ module PureCloud
|
|
|
36
36
|
|
|
37
37
|
:'self_uri' => :'selfUri',
|
|
38
38
|
|
|
39
|
-
:'first_uri' => :'firstUri',
|
|
40
|
-
|
|
41
39
|
:'previous_uri' => :'previousUri',
|
|
42
40
|
|
|
43
|
-
:'
|
|
41
|
+
:'first_uri' => :'firstUri',
|
|
44
42
|
|
|
45
43
|
:'last_uri' => :'lastUri',
|
|
46
44
|
|
|
45
|
+
:'next_uri' => :'nextUri',
|
|
46
|
+
|
|
47
47
|
:'page_count' => :'pageCount'
|
|
48
48
|
|
|
49
49
|
}
|
|
@@ -57,10 +57,10 @@ module PureCloud
|
|
|
57
57
|
:'total' => :'Integer',
|
|
58
58
|
:'entities' => :'Array<Attribute>',
|
|
59
59
|
:'self_uri' => :'String',
|
|
60
|
-
:'first_uri' => :'String',
|
|
61
60
|
:'previous_uri' => :'String',
|
|
62
|
-
:'
|
|
61
|
+
:'first_uri' => :'String',
|
|
63
62
|
:'last_uri' => :'String',
|
|
63
|
+
:'next_uri' => :'String',
|
|
64
64
|
:'page_count' => :'Integer'
|
|
65
65
|
|
|
66
66
|
}
|
|
@@ -95,22 +95,22 @@ module PureCloud
|
|
|
95
95
|
self.self_uri = attributes[:'selfUri']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
if attributes[:'firstUri']
|
|
99
|
-
self.first_uri = attributes[:'firstUri']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
98
|
if attributes[:'previousUri']
|
|
103
99
|
self.previous_uri = attributes[:'previousUri']
|
|
104
100
|
end
|
|
105
101
|
|
|
106
|
-
if attributes[:'
|
|
107
|
-
self.
|
|
102
|
+
if attributes[:'firstUri']
|
|
103
|
+
self.first_uri = attributes[:'firstUri']
|
|
108
104
|
end
|
|
109
105
|
|
|
110
106
|
if attributes[:'lastUri']
|
|
111
107
|
self.last_uri = attributes[:'lastUri']
|
|
112
108
|
end
|
|
113
109
|
|
|
110
|
+
if attributes[:'nextUri']
|
|
111
|
+
self.next_uri = attributes[:'nextUri']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
114
|
if attributes[:'pageCount']
|
|
115
115
|
self.page_count = attributes[:'pageCount']
|
|
116
116
|
end
|
|
@@ -126,10 +126,10 @@ module PureCloud
|
|
|
126
126
|
total == o.total &&
|
|
127
127
|
entities == o.entities &&
|
|
128
128
|
self_uri == o.self_uri &&
|
|
129
|
-
first_uri == o.first_uri &&
|
|
130
129
|
previous_uri == o.previous_uri &&
|
|
131
|
-
|
|
130
|
+
first_uri == o.first_uri &&
|
|
132
131
|
last_uri == o.last_uri &&
|
|
132
|
+
next_uri == o.next_uri &&
|
|
133
133
|
page_count == o.page_count
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -140,7 +140,7 @@ module PureCloud
|
|
|
140
140
|
|
|
141
141
|
# Calculate hash code according to all attributes.
|
|
142
142
|
def hash
|
|
143
|
-
[page_size, page_number, total, entities, self_uri, first_uri,
|
|
143
|
+
[page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# build the object from hash
|
|
@@ -12,14 +12,14 @@ module PureCloud
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :self_uri
|
|
14
14
|
|
|
15
|
-
attr_accessor :first_uri
|
|
16
|
-
|
|
17
15
|
attr_accessor :previous_uri
|
|
18
16
|
|
|
19
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :first_uri
|
|
20
18
|
|
|
21
19
|
attr_accessor :last_uri
|
|
22
20
|
|
|
21
|
+
attr_accessor :next_uri
|
|
22
|
+
|
|
23
23
|
attr_accessor :page_count
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,14 +36,14 @@ module PureCloud
|
|
|
36
36
|
|
|
37
37
|
:'self_uri' => :'selfUri',
|
|
38
38
|
|
|
39
|
-
:'first_uri' => :'firstUri',
|
|
40
|
-
|
|
41
39
|
:'previous_uri' => :'previousUri',
|
|
42
40
|
|
|
43
|
-
:'
|
|
41
|
+
:'first_uri' => :'firstUri',
|
|
44
42
|
|
|
45
43
|
:'last_uri' => :'lastUri',
|
|
46
44
|
|
|
45
|
+
:'next_uri' => :'nextUri',
|
|
46
|
+
|
|
47
47
|
:'page_count' => :'pageCount'
|
|
48
48
|
|
|
49
49
|
}
|
|
@@ -57,10 +57,10 @@ module PureCloud
|
|
|
57
57
|
:'total' => :'Integer',
|
|
58
58
|
:'entities' => :'Array<AutomateQueueMember>',
|
|
59
59
|
:'self_uri' => :'String',
|
|
60
|
-
:'first_uri' => :'String',
|
|
61
60
|
:'previous_uri' => :'String',
|
|
62
|
-
:'
|
|
61
|
+
:'first_uri' => :'String',
|
|
63
62
|
:'last_uri' => :'String',
|
|
63
|
+
:'next_uri' => :'String',
|
|
64
64
|
:'page_count' => :'Integer'
|
|
65
65
|
|
|
66
66
|
}
|
|
@@ -95,22 +95,22 @@ module PureCloud
|
|
|
95
95
|
self.self_uri = attributes[:'selfUri']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
if attributes[:'firstUri']
|
|
99
|
-
self.first_uri = attributes[:'firstUri']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
98
|
if attributes[:'previousUri']
|
|
103
99
|
self.previous_uri = attributes[:'previousUri']
|
|
104
100
|
end
|
|
105
101
|
|
|
106
|
-
if attributes[:'
|
|
107
|
-
self.
|
|
102
|
+
if attributes[:'firstUri']
|
|
103
|
+
self.first_uri = attributes[:'firstUri']
|
|
108
104
|
end
|
|
109
105
|
|
|
110
106
|
if attributes[:'lastUri']
|
|
111
107
|
self.last_uri = attributes[:'lastUri']
|
|
112
108
|
end
|
|
113
109
|
|
|
110
|
+
if attributes[:'nextUri']
|
|
111
|
+
self.next_uri = attributes[:'nextUri']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
114
|
if attributes[:'pageCount']
|
|
115
115
|
self.page_count = attributes[:'pageCount']
|
|
116
116
|
end
|
|
@@ -126,10 +126,10 @@ module PureCloud
|
|
|
126
126
|
total == o.total &&
|
|
127
127
|
entities == o.entities &&
|
|
128
128
|
self_uri == o.self_uri &&
|
|
129
|
-
first_uri == o.first_uri &&
|
|
130
129
|
previous_uri == o.previous_uri &&
|
|
131
|
-
|
|
130
|
+
first_uri == o.first_uri &&
|
|
132
131
|
last_uri == o.last_uri &&
|
|
132
|
+
next_uri == o.next_uri &&
|
|
133
133
|
page_count == o.page_count
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -140,7 +140,7 @@ module PureCloud
|
|
|
140
140
|
|
|
141
141
|
# Calculate hash code according to all attributes.
|
|
142
142
|
def hash
|
|
143
|
-
[page_size, page_number, total, entities, self_uri, first_uri,
|
|
143
|
+
[page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# build the object from hash
|
|
@@ -12,14 +12,14 @@ module PureCloud
|
|
|
12
12
|
|
|
13
13
|
attr_accessor :self_uri
|
|
14
14
|
|
|
15
|
-
attr_accessor :first_uri
|
|
16
|
-
|
|
17
15
|
attr_accessor :previous_uri
|
|
18
16
|
|
|
19
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :first_uri
|
|
20
18
|
|
|
21
19
|
attr_accessor :last_uri
|
|
22
20
|
|
|
21
|
+
attr_accessor :next_uri
|
|
22
|
+
|
|
23
23
|
attr_accessor :page_count
|
|
24
24
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,14 +36,14 @@ module PureCloud
|
|
|
36
36
|
|
|
37
37
|
:'self_uri' => :'selfUri',
|
|
38
38
|
|
|
39
|
-
:'first_uri' => :'firstUri',
|
|
40
|
-
|
|
41
39
|
:'previous_uri' => :'previousUri',
|
|
42
40
|
|
|
43
|
-
:'
|
|
41
|
+
:'first_uri' => :'firstUri',
|
|
44
42
|
|
|
45
43
|
:'last_uri' => :'lastUri',
|
|
46
44
|
|
|
45
|
+
:'next_uri' => :'nextUri',
|
|
46
|
+
|
|
47
47
|
:'page_count' => :'pageCount'
|
|
48
48
|
|
|
49
49
|
}
|
|
@@ -57,10 +57,10 @@ module PureCloud
|
|
|
57
57
|
:'total' => :'Integer',
|
|
58
58
|
:'entities' => :'Array<AvailableAdditionalService>',
|
|
59
59
|
:'self_uri' => :'String',
|
|
60
|
-
:'first_uri' => :'String',
|
|
61
60
|
:'previous_uri' => :'String',
|
|
62
|
-
:'
|
|
61
|
+
:'first_uri' => :'String',
|
|
63
62
|
:'last_uri' => :'String',
|
|
63
|
+
:'next_uri' => :'String',
|
|
64
64
|
:'page_count' => :'Integer'
|
|
65
65
|
|
|
66
66
|
}
|
|
@@ -95,22 +95,22 @@ module PureCloud
|
|
|
95
95
|
self.self_uri = attributes[:'selfUri']
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
if attributes[:'firstUri']
|
|
99
|
-
self.first_uri = attributes[:'firstUri']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
98
|
if attributes[:'previousUri']
|
|
103
99
|
self.previous_uri = attributes[:'previousUri']
|
|
104
100
|
end
|
|
105
101
|
|
|
106
|
-
if attributes[:'
|
|
107
|
-
self.
|
|
102
|
+
if attributes[:'firstUri']
|
|
103
|
+
self.first_uri = attributes[:'firstUri']
|
|
108
104
|
end
|
|
109
105
|
|
|
110
106
|
if attributes[:'lastUri']
|
|
111
107
|
self.last_uri = attributes[:'lastUri']
|
|
112
108
|
end
|
|
113
109
|
|
|
110
|
+
if attributes[:'nextUri']
|
|
111
|
+
self.next_uri = attributes[:'nextUri']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
114
|
if attributes[:'pageCount']
|
|
115
115
|
self.page_count = attributes[:'pageCount']
|
|
116
116
|
end
|
|
@@ -126,10 +126,10 @@ module PureCloud
|
|
|
126
126
|
total == o.total &&
|
|
127
127
|
entities == o.entities &&
|
|
128
128
|
self_uri == o.self_uri &&
|
|
129
|
-
first_uri == o.first_uri &&
|
|
130
129
|
previous_uri == o.previous_uri &&
|
|
131
|
-
|
|
130
|
+
first_uri == o.first_uri &&
|
|
132
131
|
last_uri == o.last_uri &&
|
|
132
|
+
next_uri == o.next_uri &&
|
|
133
133
|
page_count == o.page_count
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -140,7 +140,7 @@ module PureCloud
|
|
|
140
140
|
|
|
141
141
|
# Calculate hash code according to all attributes.
|
|
142
142
|
def hash
|
|
143
|
-
[page_size, page_number, total, entities, self_uri, first_uri,
|
|
143
|
+
[page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# build the object from hash
|