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
|
@@ -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<BillingAddress>',
|
|
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<AgentActivity>',
|
|
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
|
|
@@ -54,7 +54,7 @@ module PureCloud
|
|
|
54
54
|
|
|
55
55
|
# Custom attribute writer method checking allowed values (enum).
|
|
56
56
|
def metric=(metric)
|
|
57
|
-
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", "
|
|
57
|
+
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"]
|
|
58
58
|
if metric && !allowed_values.include?(metric)
|
|
59
59
|
fail "invalid value for 'metric', must be one of #{allowed_values}"
|
|
60
60
|
end
|
|
@@ -2,8 +2,6 @@ require 'date'
|
|
|
2
2
|
|
|
3
3
|
module PureCloud
|
|
4
4
|
class AnalyticsConversationSegment
|
|
5
|
-
attr_accessor :segment_id
|
|
6
|
-
|
|
7
5
|
# Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
8
6
|
attr_accessor :segment_start
|
|
9
7
|
|
|
@@ -12,12 +10,6 @@ module PureCloud
|
|
|
12
10
|
|
|
13
11
|
attr_accessor :queue_id
|
|
14
12
|
|
|
15
|
-
attr_accessor :monitored_session_id
|
|
16
|
-
|
|
17
|
-
attr_accessor :user_id
|
|
18
|
-
|
|
19
|
-
attr_accessor :team_id
|
|
20
|
-
|
|
21
13
|
attr_accessor :wrap_up_code
|
|
22
14
|
|
|
23
15
|
attr_accessor :wrap_up_note
|
|
@@ -28,38 +20,16 @@ module PureCloud
|
|
|
28
20
|
|
|
29
21
|
attr_accessor :disconnect_type
|
|
30
22
|
|
|
31
|
-
attr_accessor :direction
|
|
32
|
-
|
|
33
|
-
attr_accessor :how_ended
|
|
34
|
-
|
|
35
23
|
attr_accessor :segment_type
|
|
36
24
|
|
|
37
|
-
attr_accessor :
|
|
25
|
+
attr_accessor :requested_routing_user_ids
|
|
38
26
|
|
|
39
|
-
attr_accessor :
|
|
40
|
-
|
|
41
|
-
attr_accessor :requested_skill_ids
|
|
27
|
+
attr_accessor :requested_routing_skill_ids
|
|
42
28
|
|
|
43
29
|
attr_accessor :requested_language_id
|
|
44
30
|
|
|
45
31
|
attr_accessor :properties
|
|
46
32
|
|
|
47
|
-
attr_accessor :ani
|
|
48
|
-
|
|
49
|
-
attr_accessor :dnis
|
|
50
|
-
|
|
51
|
-
attr_accessor :dialer_campaign_id
|
|
52
|
-
|
|
53
|
-
attr_accessor :dialer_contact_list_id
|
|
54
|
-
|
|
55
|
-
attr_accessor :disposition_name
|
|
56
|
-
|
|
57
|
-
attr_accessor :disposition_analyzer
|
|
58
|
-
|
|
59
|
-
attr_accessor :monitored_participant_id
|
|
60
|
-
|
|
61
|
-
attr_accessor :edge_id
|
|
62
|
-
|
|
63
33
|
attr_accessor :source_conversation_id
|
|
64
34
|
|
|
65
35
|
attr_accessor :destination_conversation_id
|
|
@@ -68,8 +38,6 @@ module PureCloud
|
|
|
68
38
|
|
|
69
39
|
attr_accessor :destination_session_id
|
|
70
40
|
|
|
71
|
-
attr_accessor :remote_name_displayable
|
|
72
|
-
|
|
73
41
|
attr_accessor :sip_response_codes
|
|
74
42
|
|
|
75
43
|
attr_accessor :q850_response_codes
|
|
@@ -78,32 +46,18 @@ module PureCloud
|
|
|
78
46
|
|
|
79
47
|
attr_accessor :group_id
|
|
80
48
|
|
|
81
|
-
attr_accessor :room_id
|
|
82
|
-
|
|
83
49
|
attr_accessor :subject
|
|
84
50
|
|
|
85
|
-
attr_accessor :address_self
|
|
86
|
-
|
|
87
|
-
attr_accessor :address_other
|
|
88
|
-
|
|
89
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
90
52
|
def self.attribute_map
|
|
91
53
|
{
|
|
92
54
|
|
|
93
|
-
:'segment_id' => :'segmentId',
|
|
94
|
-
|
|
95
55
|
:'segment_start' => :'segmentStart',
|
|
96
56
|
|
|
97
57
|
:'segment_end' => :'segmentEnd',
|
|
98
58
|
|
|
99
59
|
:'queue_id' => :'queueId',
|
|
100
60
|
|
|
101
|
-
:'monitored_session_id' => :'monitoredSessionId',
|
|
102
|
-
|
|
103
|
-
:'user_id' => :'userId',
|
|
104
|
-
|
|
105
|
-
:'team_id' => :'teamId',
|
|
106
|
-
|
|
107
61
|
:'wrap_up_code' => :'wrapUpCode',
|
|
108
62
|
|
|
109
63
|
:'wrap_up_note' => :'wrapUpNote',
|
|
@@ -114,38 +68,16 @@ module PureCloud
|
|
|
114
68
|
|
|
115
69
|
:'disconnect_type' => :'disconnectType',
|
|
116
70
|
|
|
117
|
-
:'direction' => :'direction',
|
|
118
|
-
|
|
119
|
-
:'how_ended' => :'howEnded',
|
|
120
|
-
|
|
121
71
|
:'segment_type' => :'segmentType',
|
|
122
72
|
|
|
123
|
-
:'
|
|
73
|
+
:'requested_routing_user_ids' => :'requestedRoutingUserIds',
|
|
124
74
|
|
|
125
|
-
:'
|
|
126
|
-
|
|
127
|
-
:'requested_skill_ids' => :'requestedSkillIds',
|
|
75
|
+
:'requested_routing_skill_ids' => :'requestedRoutingSkillIds',
|
|
128
76
|
|
|
129
77
|
:'requested_language_id' => :'requestedLanguageId',
|
|
130
78
|
|
|
131
79
|
:'properties' => :'properties',
|
|
132
80
|
|
|
133
|
-
:'ani' => :'ani',
|
|
134
|
-
|
|
135
|
-
:'dnis' => :'dnis',
|
|
136
|
-
|
|
137
|
-
:'dialer_campaign_id' => :'dialerCampaignId',
|
|
138
|
-
|
|
139
|
-
:'dialer_contact_list_id' => :'dialerContactListId',
|
|
140
|
-
|
|
141
|
-
:'disposition_name' => :'dispositionName',
|
|
142
|
-
|
|
143
|
-
:'disposition_analyzer' => :'dispositionAnalyzer',
|
|
144
|
-
|
|
145
|
-
:'monitored_participant_id' => :'monitoredParticipantId',
|
|
146
|
-
|
|
147
|
-
:'edge_id' => :'edgeId',
|
|
148
|
-
|
|
149
81
|
:'source_conversation_id' => :'sourceConversationId',
|
|
150
82
|
|
|
151
83
|
:'destination_conversation_id' => :'destinationConversationId',
|
|
@@ -154,8 +86,6 @@ module PureCloud
|
|
|
154
86
|
|
|
155
87
|
:'destination_session_id' => :'destinationSessionId',
|
|
156
88
|
|
|
157
|
-
:'remote_name_displayable' => :'remoteNameDisplayable',
|
|
158
|
-
|
|
159
89
|
:'sip_response_codes' => :'sipResponseCodes',
|
|
160
90
|
|
|
161
91
|
:'q850_response_codes' => :'q850ResponseCodes',
|
|
@@ -164,13 +94,7 @@ module PureCloud
|
|
|
164
94
|
|
|
165
95
|
:'group_id' => :'groupId',
|
|
166
96
|
|
|
167
|
-
:'
|
|
168
|
-
|
|
169
|
-
:'subject' => :'subject',
|
|
170
|
-
|
|
171
|
-
:'address_self' => :'addressSelf',
|
|
172
|
-
|
|
173
|
-
:'address_other' => :'addressOther'
|
|
97
|
+
:'subject' => :'subject'
|
|
174
98
|
|
|
175
99
|
}
|
|
176
100
|
end
|
|
@@ -178,47 +102,28 @@ module PureCloud
|
|
|
178
102
|
# Attribute type mapping.
|
|
179
103
|
def self.swagger_types
|
|
180
104
|
{
|
|
181
|
-
:'segment_id' => :'String',
|
|
182
105
|
:'segment_start' => :'DateTime',
|
|
183
106
|
:'segment_end' => :'DateTime',
|
|
184
107
|
:'queue_id' => :'String',
|
|
185
|
-
:'monitored_session_id' => :'String',
|
|
186
|
-
:'user_id' => :'String',
|
|
187
|
-
:'team_id' => :'String',
|
|
188
108
|
:'wrap_up_code' => :'String',
|
|
189
109
|
:'wrap_up_note' => :'String',
|
|
190
110
|
:'wrap_up_tags' => :'Array<String>',
|
|
191
111
|
:'error_code' => :'String',
|
|
192
112
|
:'disconnect_type' => :'String',
|
|
193
|
-
:'direction' => :'String',
|
|
194
|
-
:'how_ended' => :'String',
|
|
195
113
|
:'segment_type' => :'String',
|
|
196
|
-
:'
|
|
197
|
-
:'
|
|
198
|
-
:'requested_skill_ids' => :'Array<String>',
|
|
114
|
+
:'requested_routing_user_ids' => :'Array<String>',
|
|
115
|
+
:'requested_routing_skill_ids' => :'Array<String>',
|
|
199
116
|
:'requested_language_id' => :'String',
|
|
200
117
|
:'properties' => :'Array<AnalyticsProperty>',
|
|
201
|
-
:'ani' => :'String',
|
|
202
|
-
:'dnis' => :'String',
|
|
203
|
-
:'dialer_campaign_id' => :'String',
|
|
204
|
-
:'dialer_contact_list_id' => :'String',
|
|
205
|
-
:'disposition_name' => :'String',
|
|
206
|
-
:'disposition_analyzer' => :'String',
|
|
207
|
-
:'monitored_participant_id' => :'String',
|
|
208
|
-
:'edge_id' => :'String',
|
|
209
118
|
:'source_conversation_id' => :'String',
|
|
210
119
|
:'destination_conversation_id' => :'String',
|
|
211
120
|
:'source_session_id' => :'String',
|
|
212
121
|
:'destination_session_id' => :'String',
|
|
213
|
-
:'remote_name_displayable' => :'String',
|
|
214
122
|
:'sip_response_codes' => :'Array<Integer>',
|
|
215
123
|
:'q850_response_codes' => :'Array<Integer>',
|
|
216
124
|
:'conference' => :'BOOLEAN',
|
|
217
125
|
:'group_id' => :'String',
|
|
218
|
-
:'
|
|
219
|
-
:'subject' => :'String',
|
|
220
|
-
:'address_self' => :'String',
|
|
221
|
-
:'address_other' => :'String'
|
|
126
|
+
:'subject' => :'String'
|
|
222
127
|
|
|
223
128
|
}
|
|
224
129
|
end
|
|
@@ -230,10 +135,6 @@ module PureCloud
|
|
|
230
135
|
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
|
231
136
|
|
|
232
137
|
|
|
233
|
-
if attributes[:'segmentId']
|
|
234
|
-
self.segment_id = attributes[:'segmentId']
|
|
235
|
-
end
|
|
236
|
-
|
|
237
138
|
if attributes[:'segmentStart']
|
|
238
139
|
self.segment_start = attributes[:'segmentStart']
|
|
239
140
|
end
|
|
@@ -246,18 +147,6 @@ module PureCloud
|
|
|
246
147
|
self.queue_id = attributes[:'queueId']
|
|
247
148
|
end
|
|
248
149
|
|
|
249
|
-
if attributes[:'monitoredSessionId']
|
|
250
|
-
self.monitored_session_id = attributes[:'monitoredSessionId']
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if attributes[:'userId']
|
|
254
|
-
self.user_id = attributes[:'userId']
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
if attributes[:'teamId']
|
|
258
|
-
self.team_id = attributes[:'teamId']
|
|
259
|
-
end
|
|
260
|
-
|
|
261
150
|
if attributes[:'wrapUpCode']
|
|
262
151
|
self.wrap_up_code = attributes[:'wrapUpCode']
|
|
263
152
|
end
|
|
@@ -280,31 +169,19 @@ module PureCloud
|
|
|
280
169
|
self.disconnect_type = attributes[:'disconnectType']
|
|
281
170
|
end
|
|
282
171
|
|
|
283
|
-
if attributes[:'direction']
|
|
284
|
-
self.direction = attributes[:'direction']
|
|
285
|
-
end
|
|
286
|
-
|
|
287
|
-
if attributes[:'howEnded']
|
|
288
|
-
self.how_ended = attributes[:'howEnded']
|
|
289
|
-
end
|
|
290
|
-
|
|
291
172
|
if attributes[:'segmentType']
|
|
292
173
|
self.segment_type = attributes[:'segmentType']
|
|
293
174
|
end
|
|
294
175
|
|
|
295
|
-
if attributes[:'
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
if attributes[:'preferredAgentIds']
|
|
300
|
-
if (value = attributes[:'preferredAgentIds']).is_a?(Array)
|
|
301
|
-
self.preferred_agent_ids = value
|
|
176
|
+
if attributes[:'requestedRoutingUserIds']
|
|
177
|
+
if (value = attributes[:'requestedRoutingUserIds']).is_a?(Array)
|
|
178
|
+
self.requested_routing_user_ids = value
|
|
302
179
|
end
|
|
303
180
|
end
|
|
304
181
|
|
|
305
|
-
if attributes[:'
|
|
306
|
-
if (value = attributes[:'
|
|
307
|
-
self.
|
|
182
|
+
if attributes[:'requestedRoutingSkillIds']
|
|
183
|
+
if (value = attributes[:'requestedRoutingSkillIds']).is_a?(Array)
|
|
184
|
+
self.requested_routing_skill_ids = value
|
|
308
185
|
end
|
|
309
186
|
end
|
|
310
187
|
|
|
@@ -318,38 +195,6 @@ module PureCloud
|
|
|
318
195
|
end
|
|
319
196
|
end
|
|
320
197
|
|
|
321
|
-
if attributes[:'ani']
|
|
322
|
-
self.ani = attributes[:'ani']
|
|
323
|
-
end
|
|
324
|
-
|
|
325
|
-
if attributes[:'dnis']
|
|
326
|
-
self.dnis = attributes[:'dnis']
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
if attributes[:'dialerCampaignId']
|
|
330
|
-
self.dialer_campaign_id = attributes[:'dialerCampaignId']
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
if attributes[:'dialerContactListId']
|
|
334
|
-
self.dialer_contact_list_id = attributes[:'dialerContactListId']
|
|
335
|
-
end
|
|
336
|
-
|
|
337
|
-
if attributes[:'dispositionName']
|
|
338
|
-
self.disposition_name = attributes[:'dispositionName']
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
if attributes[:'dispositionAnalyzer']
|
|
342
|
-
self.disposition_analyzer = attributes[:'dispositionAnalyzer']
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
if attributes[:'monitoredParticipantId']
|
|
346
|
-
self.monitored_participant_id = attributes[:'monitoredParticipantId']
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
if attributes[:'edgeId']
|
|
350
|
-
self.edge_id = attributes[:'edgeId']
|
|
351
|
-
end
|
|
352
|
-
|
|
353
198
|
if attributes[:'sourceConversationId']
|
|
354
199
|
self.source_conversation_id = attributes[:'sourceConversationId']
|
|
355
200
|
end
|
|
@@ -366,10 +211,6 @@ module PureCloud
|
|
|
366
211
|
self.destination_session_id = attributes[:'destinationSessionId']
|
|
367
212
|
end
|
|
368
213
|
|
|
369
|
-
if attributes[:'remoteNameDisplayable']
|
|
370
|
-
self.remote_name_displayable = attributes[:'remoteNameDisplayable']
|
|
371
|
-
end
|
|
372
|
-
|
|
373
214
|
if attributes[:'sipResponseCodes']
|
|
374
215
|
if (value = attributes[:'sipResponseCodes']).is_a?(Array)
|
|
375
216
|
self.sip_response_codes = value
|
|
@@ -392,22 +233,10 @@ module PureCloud
|
|
|
392
233
|
self.group_id = attributes[:'groupId']
|
|
393
234
|
end
|
|
394
235
|
|
|
395
|
-
if attributes[:'roomId']
|
|
396
|
-
self.room_id = attributes[:'roomId']
|
|
397
|
-
end
|
|
398
|
-
|
|
399
236
|
if attributes[:'subject']
|
|
400
237
|
self.subject = attributes[:'subject']
|
|
401
238
|
end
|
|
402
239
|
|
|
403
|
-
if attributes[:'addressSelf']
|
|
404
|
-
self.address_self = attributes[:'addressSelf']
|
|
405
|
-
end
|
|
406
|
-
|
|
407
|
-
if attributes[:'addressOther']
|
|
408
|
-
self.address_other = attributes[:'addressOther']
|
|
409
|
-
end
|
|
410
|
-
|
|
411
240
|
end
|
|
412
241
|
|
|
413
242
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -419,24 +248,6 @@ module PureCloud
|
|
|
419
248
|
@disconnect_type = disconnect_type
|
|
420
249
|
end
|
|
421
250
|
|
|
422
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
423
|
-
def direction=(direction)
|
|
424
|
-
allowed_values = ["inbound", "outbound"]
|
|
425
|
-
if direction && !allowed_values.include?(direction)
|
|
426
|
-
fail "invalid value for 'direction', must be one of #{allowed_values}"
|
|
427
|
-
end
|
|
428
|
-
@direction = direction
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
432
|
-
def how_ended=(how_ended)
|
|
433
|
-
allowed_values = ["unknown", "notEnded", "disconnect", "interact", "alert", "hold", "ivr", "voicemail", "error", "conference"]
|
|
434
|
-
if how_ended && !allowed_values.include?(how_ended)
|
|
435
|
-
fail "invalid value for 'how_ended', must be one of #{allowed_values}"
|
|
436
|
-
end
|
|
437
|
-
@how_ended = how_ended
|
|
438
|
-
end
|
|
439
|
-
|
|
440
251
|
# Custom attribute writer method checking allowed values (enum).
|
|
441
252
|
def segment_type=(segment_type)
|
|
442
253
|
allowed_values = ["unknown", "alert", "system", "delay", "hold", "interact", "ivr", "dialing", "wrapup", "voicemail"]
|
|
@@ -446,60 +257,32 @@ module PureCloud
|
|
|
446
257
|
@segment_type = segment_type
|
|
447
258
|
end
|
|
448
259
|
|
|
449
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
450
|
-
def purpose=(purpose)
|
|
451
|
-
allowed_values = ["manual", "dialer", "inbound", "acd", "ivr", "voicemail", "outbound", "agent", "user", "station", "group", "customer", "external"]
|
|
452
|
-
if purpose && !allowed_values.include?(purpose)
|
|
453
|
-
fail "invalid value for 'purpose', must be one of #{allowed_values}"
|
|
454
|
-
end
|
|
455
|
-
@purpose = purpose
|
|
456
|
-
end
|
|
457
|
-
|
|
458
260
|
# Check equality by comparing each attribute.
|
|
459
261
|
def ==(o)
|
|
460
262
|
return true if self.equal?(o)
|
|
461
263
|
self.class == o.class &&
|
|
462
|
-
segment_id == o.segment_id &&
|
|
463
264
|
segment_start == o.segment_start &&
|
|
464
265
|
segment_end == o.segment_end &&
|
|
465
266
|
queue_id == o.queue_id &&
|
|
466
|
-
monitored_session_id == o.monitored_session_id &&
|
|
467
|
-
user_id == o.user_id &&
|
|
468
|
-
team_id == o.team_id &&
|
|
469
267
|
wrap_up_code == o.wrap_up_code &&
|
|
470
268
|
wrap_up_note == o.wrap_up_note &&
|
|
471
269
|
wrap_up_tags == o.wrap_up_tags &&
|
|
472
270
|
error_code == o.error_code &&
|
|
473
271
|
disconnect_type == o.disconnect_type &&
|
|
474
|
-
direction == o.direction &&
|
|
475
|
-
how_ended == o.how_ended &&
|
|
476
272
|
segment_type == o.segment_type &&
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
requested_skill_ids == o.requested_skill_ids &&
|
|
273
|
+
requested_routing_user_ids == o.requested_routing_user_ids &&
|
|
274
|
+
requested_routing_skill_ids == o.requested_routing_skill_ids &&
|
|
480
275
|
requested_language_id == o.requested_language_id &&
|
|
481
276
|
properties == o.properties &&
|
|
482
|
-
ani == o.ani &&
|
|
483
|
-
dnis == o.dnis &&
|
|
484
|
-
dialer_campaign_id == o.dialer_campaign_id &&
|
|
485
|
-
dialer_contact_list_id == o.dialer_contact_list_id &&
|
|
486
|
-
disposition_name == o.disposition_name &&
|
|
487
|
-
disposition_analyzer == o.disposition_analyzer &&
|
|
488
|
-
monitored_participant_id == o.monitored_participant_id &&
|
|
489
|
-
edge_id == o.edge_id &&
|
|
490
277
|
source_conversation_id == o.source_conversation_id &&
|
|
491
278
|
destination_conversation_id == o.destination_conversation_id &&
|
|
492
279
|
source_session_id == o.source_session_id &&
|
|
493
280
|
destination_session_id == o.destination_session_id &&
|
|
494
|
-
remote_name_displayable == o.remote_name_displayable &&
|
|
495
281
|
sip_response_codes == o.sip_response_codes &&
|
|
496
282
|
q850_response_codes == o.q850_response_codes &&
|
|
497
283
|
conference == o.conference &&
|
|
498
284
|
group_id == o.group_id &&
|
|
499
|
-
|
|
500
|
-
subject == o.subject &&
|
|
501
|
-
address_self == o.address_self &&
|
|
502
|
-
address_other == o.address_other
|
|
285
|
+
subject == o.subject
|
|
503
286
|
end
|
|
504
287
|
|
|
505
288
|
# @see the `==` method
|
|
@@ -509,7 +292,7 @@ module PureCloud
|
|
|
509
292
|
|
|
510
293
|
# Calculate hash code according to all attributes.
|
|
511
294
|
def hash
|
|
512
|
-
[
|
|
295
|
+
[segment_start, segment_end, queue_id, wrap_up_code, wrap_up_note, wrap_up_tags, error_code, disconnect_type, segment_type, requested_routing_user_ids, requested_routing_skill_ids, requested_language_id, properties, source_conversation_id, destination_conversation_id, source_session_id, destination_session_id, sip_response_codes, q850_response_codes, conference, group_id, subject].hash
|
|
513
296
|
end
|
|
514
297
|
|
|
515
298
|
# build the object from hash
|