purecloud 0.46.1 → 0.47.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AnalyticsApi.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/AvailableTopic.html.md +1 -0
- data/doc_out/AvailableTopicEntityListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChannelTopicEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/CreateCallbackCommand.html.md +10 -10
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DialerContactEntityListing.html.md +22 -0
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/FaxSendRequest.html.md +1 -0
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/JsonNode.html.md +1 -1
- data/doc_out/KeywordSet.html.md +1 -0
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/OAuthClientEntityListing.html.md +2 -2
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OutboundApi.html.md +3 -3
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/Phone.html.md +0 -1
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/QualifierMappingObservationQueryResponse.html.md +14 -0
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/Recording.html.md +1 -1
- data/doc_out/RecordingApi.html.md +60 -0
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RoutingApi.html.md +2 -2
- data/doc_out/RoutingData.html.md +5 -5
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSession.html.md +16 -0
- data/doc_out/ScreenRecordingSessionListing.html.md +17 -0
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/{Address.html.md → StreetAddress.html.md} +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +5 -6
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersEntityListing.html.md +2 -2
- data/doc_out/ValidateAddressRequest.html.md +1 -1
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +5 -2
- data/lib/purecloud/api/analytics_api.rb +3 -3
- data/lib/purecloud/api/outbound_api.rb +5 -5
- data/lib/purecloud/api/recording_api.rb +61 -0
- data/lib/purecloud/api/routing_api.rb +3 -3
- data/lib/purecloud/api/telephony_providers_edge_api.rb +9 -6
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_topic.rb +16 -4
- 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/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/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_callback_command.rb +19 -8
- data/lib/purecloud/models/dialer_contact_entity_listing.rb +257 -0
- 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_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/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.rb +1 -1
- 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/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/fax_send_request.rb +12 -1
- data/lib/purecloud/models/group.rb +1 -1
- data/lib/purecloud/models/group_entity_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/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/json_node.rb +13 -13
- data/lib/purecloud/models/keyword_set.rb +13 -1
- data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
- 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/logical_interface_entity_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_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/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone.rb +1 -11
- 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/{additional_info.rb → qualifier_mapping_observation_query_response.rb} +28 -3
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/recording.rb +1 -1
- 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/routing_data.rb +5 -0
- data/lib/purecloud/models/rule_set_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/screen_recording_session.rb +196 -0
- data/lib/purecloud/models/screen_recording_session_listing.rb +207 -0
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/{address.rb → street_address.rb} +1 -1
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- 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/validate_address_request.rb +1 -1
- 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/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +12 -6
- data/doc_out/AdditionalInfo.html.md +0 -12
@@ -28,14 +28,14 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :previous_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -52,14 +52,14 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'previous_uri' => :'previousUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -73,10 +73,10 @@ module PureCloud
|
|
73
73
|
:'total' => :'Integer',
|
74
74
|
:'entities' => :'Array<ContactList>',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'previous_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
|
-
:'
|
77
|
+
:'previous_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -111,22 +111,22 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'previousUri']
|
115
|
-
self.previous_uri = attributes[:'previousUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -142,10 +142,10 @@ module PureCloud
|
|
142
142
|
total == o.total &&
|
143
143
|
entities == o.entities &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
previous_uri == o.previous_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
|
-
|
146
|
+
previous_uri == o.previous_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[page_size, page_number, total, entities, self_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -28,14 +28,14 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :self_uri
|
30
30
|
|
31
|
-
attr_accessor :previous_uri
|
32
|
-
|
33
31
|
attr_accessor :first_uri
|
34
32
|
|
35
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
36
34
|
|
37
35
|
attr_accessor :next_uri
|
38
36
|
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -52,14 +52,14 @@ module PureCloud
|
|
52
52
|
|
53
53
|
:'self_uri' => :'selfUri',
|
54
54
|
|
55
|
-
:'previous_uri' => :'previousUri',
|
56
|
-
|
57
55
|
:'first_uri' => :'firstUri',
|
58
56
|
|
59
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
60
58
|
|
61
59
|
:'next_uri' => :'nextUri',
|
62
60
|
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -73,10 +73,10 @@ module PureCloud
|
|
73
73
|
:'total' => :'Integer',
|
74
74
|
:'entities' => :'Array<Conversation>',
|
75
75
|
:'self_uri' => :'String',
|
76
|
-
:'previous_uri' => :'String',
|
77
76
|
:'first_uri' => :'String',
|
78
|
-
:'
|
77
|
+
:'previous_uri' => :'String',
|
79
78
|
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -111,22 +111,22 @@ module PureCloud
|
|
111
111
|
self.self_uri = attributes[:'selfUri']
|
112
112
|
end
|
113
113
|
|
114
|
-
if attributes[:'previousUri']
|
115
|
-
self.previous_uri = attributes[:'previousUri']
|
116
|
-
end
|
117
|
-
|
118
114
|
if attributes[:'firstUri']
|
119
115
|
self.first_uri = attributes[:'firstUri']
|
120
116
|
end
|
121
117
|
|
122
|
-
if attributes[:'
|
123
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
124
120
|
end
|
125
121
|
|
126
122
|
if attributes[:'nextUri']
|
127
123
|
self.next_uri = attributes[:'nextUri']
|
128
124
|
end
|
129
125
|
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -142,10 +142,10 @@ module PureCloud
|
|
142
142
|
total == o.total &&
|
143
143
|
entities == o.entities &&
|
144
144
|
self_uri == o.self_uri &&
|
145
|
-
previous_uri == o.previous_uri &&
|
146
145
|
first_uri == o.first_uri &&
|
147
|
-
|
146
|
+
previous_uri == o.previous_uri &&
|
148
147
|
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[page_size, page_number, total, entities, self_uri, previous_uri,
|
159
|
+
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -18,26 +18,35 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class CreateCallbackCommand
|
21
|
+
# The identifier of the script to be used for the callback
|
21
22
|
attr_accessor :script_id
|
22
23
|
|
24
|
+
# The identifier of the queue to be used for the callback. Either queueId or routingData is required.
|
23
25
|
attr_accessor :queue_id
|
24
26
|
|
27
|
+
# The routing data to be used for the callback. Either queueId or routingData is required.
|
25
28
|
attr_accessor :routing_data
|
26
29
|
|
30
|
+
# The name of the party to be called back.
|
27
31
|
attr_accessor :callback_user_name
|
28
32
|
|
33
|
+
# A list of phone numbers for the callback.
|
29
34
|
attr_accessor :callback_numbers
|
30
35
|
|
31
|
-
#
|
36
|
+
# The scheduled date-time for the callback as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
32
37
|
attr_accessor :callback_scheduled_time
|
33
38
|
|
39
|
+
# The country code to be associated with the callback numbers.
|
34
40
|
attr_accessor :country_code
|
35
41
|
|
42
|
+
# Whether or not to automatically place a call for this callback.
|
36
43
|
attr_accessor :is_automated
|
37
44
|
|
45
|
+
# The id of the configuration to handle the response (e.g. live voice, machine) from automatically placing a call for a callback.
|
38
46
|
attr_accessor :automated_callback_config_id
|
39
47
|
|
40
|
-
|
48
|
+
# A map of key-value pairs containing additional data that can be associated to the callback. These could be set up for instance to be used in a customized script shown during the call. Example: { \"notes\": \"ready to close the deal!\", \"customerPreferredName\": \"Doc\" }
|
49
|
+
attr_accessor :data
|
41
50
|
|
42
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
52
|
def self.attribute_map
|
@@ -61,7 +70,7 @@ module PureCloud
|
|
61
70
|
|
62
71
|
:'automated_callback_config_id' => :'automatedCallbackConfigId',
|
63
72
|
|
64
|
-
:'
|
73
|
+
:'data' => :'data'
|
65
74
|
|
66
75
|
}
|
67
76
|
end
|
@@ -78,7 +87,7 @@ module PureCloud
|
|
78
87
|
:'country_code' => :'String',
|
79
88
|
:'is_automated' => :'BOOLEAN',
|
80
89
|
:'automated_callback_config_id' => :'String',
|
81
|
-
:'
|
90
|
+
:'data' => :'Hash<String, String>'
|
82
91
|
|
83
92
|
}
|
84
93
|
end
|
@@ -130,8 +139,10 @@ module PureCloud
|
|
130
139
|
self.automated_callback_config_id = attributes[:'automatedCallbackConfigId']
|
131
140
|
end
|
132
141
|
|
133
|
-
if attributes[:'
|
134
|
-
|
142
|
+
if attributes[:'data']
|
143
|
+
if (value = attributes[:'data']).is_a?(Array)
|
144
|
+
self.data = value
|
145
|
+
end
|
135
146
|
end
|
136
147
|
|
137
148
|
end
|
@@ -149,7 +160,7 @@ module PureCloud
|
|
149
160
|
country_code == o.country_code &&
|
150
161
|
is_automated == o.is_automated &&
|
151
162
|
automated_callback_config_id == o.automated_callback_config_id &&
|
152
|
-
|
163
|
+
data == o.data
|
153
164
|
end
|
154
165
|
|
155
166
|
# @see the `==` method
|
@@ -159,7 +170,7 @@ module PureCloud
|
|
159
170
|
|
160
171
|
# Calculate hash code according to all attributes.
|
161
172
|
def hash
|
162
|
-
[script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, is_automated, automated_callback_config_id,
|
173
|
+
[script_id, queue_id, routing_data, callback_user_name, callback_numbers, callback_scheduled_time, country_code, is_automated, automated_callback_config_id, data].hash
|
163
174
|
end
|
164
175
|
|
165
176
|
# build the object from hash
|
@@ -0,0 +1,257 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@inin.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: ININ
|
11
|
+
http://www.inin.com
|
12
|
+
|
13
|
+
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class DialerContactEntityListing
|
21
|
+
attr_accessor :page_size
|
22
|
+
|
23
|
+
attr_accessor :page_number
|
24
|
+
|
25
|
+
attr_accessor :total
|
26
|
+
|
27
|
+
attr_accessor :entities
|
28
|
+
|
29
|
+
attr_accessor :self_uri
|
30
|
+
|
31
|
+
attr_accessor :first_uri
|
32
|
+
|
33
|
+
attr_accessor :previous_uri
|
34
|
+
|
35
|
+
attr_accessor :next_uri
|
36
|
+
|
37
|
+
attr_accessor :last_uri
|
38
|
+
|
39
|
+
attr_accessor :page_count
|
40
|
+
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
+
def self.attribute_map
|
43
|
+
{
|
44
|
+
|
45
|
+
:'page_size' => :'pageSize',
|
46
|
+
|
47
|
+
:'page_number' => :'pageNumber',
|
48
|
+
|
49
|
+
:'total' => :'total',
|
50
|
+
|
51
|
+
:'entities' => :'entities',
|
52
|
+
|
53
|
+
:'self_uri' => :'selfUri',
|
54
|
+
|
55
|
+
:'first_uri' => :'firstUri',
|
56
|
+
|
57
|
+
:'previous_uri' => :'previousUri',
|
58
|
+
|
59
|
+
:'next_uri' => :'nextUri',
|
60
|
+
|
61
|
+
:'last_uri' => :'lastUri',
|
62
|
+
|
63
|
+
:'page_count' => :'pageCount'
|
64
|
+
|
65
|
+
}
|
66
|
+
end
|
67
|
+
|
68
|
+
# Attribute type mapping.
|
69
|
+
def self.swagger_types
|
70
|
+
{
|
71
|
+
:'page_size' => :'Integer',
|
72
|
+
:'page_number' => :'Integer',
|
73
|
+
:'total' => :'Integer',
|
74
|
+
:'entities' => :'Array<DialerContact>',
|
75
|
+
:'self_uri' => :'String',
|
76
|
+
:'first_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
78
|
+
:'next_uri' => :'String',
|
79
|
+
:'last_uri' => :'String',
|
80
|
+
:'page_count' => :'Integer'
|
81
|
+
|
82
|
+
}
|
83
|
+
end
|
84
|
+
|
85
|
+
def initialize(attributes = {})
|
86
|
+
return unless attributes.is_a?(Hash)
|
87
|
+
|
88
|
+
# convert string to symbol for hash key
|
89
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
90
|
+
|
91
|
+
|
92
|
+
if attributes[:'pageSize']
|
93
|
+
self.page_size = attributes[:'pageSize']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes[:'pageNumber']
|
97
|
+
self.page_number = attributes[:'pageNumber']
|
98
|
+
end
|
99
|
+
|
100
|
+
if attributes[:'total']
|
101
|
+
self.total = attributes[:'total']
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes[:'entities']
|
105
|
+
if (value = attributes[:'entities']).is_a?(Array)
|
106
|
+
self.entities = value
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes[:'selfUri']
|
111
|
+
self.self_uri = attributes[:'selfUri']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes[:'firstUri']
|
115
|
+
self.first_uri = attributes[:'firstUri']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes[:'nextUri']
|
123
|
+
self.next_uri = attributes[:'nextUri']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes[:'lastUri']
|
127
|
+
self.last_uri = attributes[:'lastUri']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes[:'pageCount']
|
131
|
+
self.page_count = attributes[:'pageCount']
|
132
|
+
end
|
133
|
+
|
134
|
+
end
|
135
|
+
|
136
|
+
# Check equality by comparing each attribute.
|
137
|
+
def ==(o)
|
138
|
+
return true if self.equal?(o)
|
139
|
+
self.class == o.class &&
|
140
|
+
page_size == o.page_size &&
|
141
|
+
page_number == o.page_number &&
|
142
|
+
total == o.total &&
|
143
|
+
entities == o.entities &&
|
144
|
+
self_uri == o.self_uri &&
|
145
|
+
first_uri == o.first_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
147
|
+
next_uri == o.next_uri &&
|
148
|
+
last_uri == o.last_uri &&
|
149
|
+
page_count == o.page_count
|
150
|
+
end
|
151
|
+
|
152
|
+
# @see the `==` method
|
153
|
+
def eql?(o)
|
154
|
+
self == o
|
155
|
+
end
|
156
|
+
|
157
|
+
# Calculate hash code according to all attributes.
|
158
|
+
def hash
|
159
|
+
[page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
|
+
end
|
161
|
+
|
162
|
+
# build the object from hash
|
163
|
+
def build_from_hash(attributes)
|
164
|
+
return nil unless attributes.is_a?(Hash)
|
165
|
+
self.class.swagger_types.each_pair do |key, type|
|
166
|
+
if type =~ /^Array<(.*)>/i
|
167
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
168
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
169
|
+
else
|
170
|
+
#TODO show warning in debug mode
|
171
|
+
end
|
172
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
173
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
174
|
+
else
|
175
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
self
|
180
|
+
end
|
181
|
+
|
182
|
+
def _deserialize(type, value)
|
183
|
+
case type.to_sym
|
184
|
+
when :DateTime
|
185
|
+
DateTime.parse(value)
|
186
|
+
when :Date
|
187
|
+
Date.parse(value)
|
188
|
+
when :String
|
189
|
+
value.to_s
|
190
|
+
when :Integer
|
191
|
+
value.to_i
|
192
|
+
when :Float
|
193
|
+
value.to_f
|
194
|
+
when :BOOLEAN
|
195
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
196
|
+
true
|
197
|
+
else
|
198
|
+
false
|
199
|
+
end
|
200
|
+
when :Object
|
201
|
+
# generic object (usually a Hash), return directly
|
202
|
+
value
|
203
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
204
|
+
inner_type = Regexp.last_match[:inner_type]
|
205
|
+
value.map { |v| _deserialize(inner_type, v) }
|
206
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
207
|
+
k_type = Regexp.last_match[:k_type]
|
208
|
+
v_type = Regexp.last_match[:v_type]
|
209
|
+
{}.tap do |hash|
|
210
|
+
value.each do |k, v|
|
211
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
else # model
|
215
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
216
|
+
_model.build_from_hash(value)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
def to_s
|
221
|
+
to_hash.to_s
|
222
|
+
end
|
223
|
+
|
224
|
+
# to_body is an alias to to_body (backward compatibility))
|
225
|
+
def to_body
|
226
|
+
to_hash
|
227
|
+
end
|
228
|
+
|
229
|
+
# return the object in the form of hash
|
230
|
+
def to_hash
|
231
|
+
hash = {}
|
232
|
+
self.class.attribute_map.each_pair do |attr, param|
|
233
|
+
value = self.send(attr)
|
234
|
+
next if value.nil?
|
235
|
+
hash[param] = _to_hash(value)
|
236
|
+
end
|
237
|
+
hash
|
238
|
+
end
|
239
|
+
|
240
|
+
# Method to output non-array value in the form of hash
|
241
|
+
# For object, use to_hash. Otherwise, just return the value
|
242
|
+
def _to_hash(value)
|
243
|
+
if value.is_a?(Array)
|
244
|
+
value.compact.map{ |v| _to_hash(v) }
|
245
|
+
elsif value.is_a?(Hash)
|
246
|
+
{}.tap do |hash|
|
247
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
248
|
+
end
|
249
|
+
elsif value.respond_to? :to_hash
|
250
|
+
value.to_hash
|
251
|
+
else
|
252
|
+
value
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
end
|
257
|
+
end
|