purecloudplatformclientv2 75.1.0 → 79.0.0
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/README.md +2 -2
- data/docs/ActivityCode.md +1 -1
- data/docs/AnalyticsApi.md +66 -2
- data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
- data/docs/AnalyticsConversationQueryResponse.md +1 -1
- data/docs/AnalyticsParticipant.md +1 -0
- data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
- data/docs/ArchitectApi.md +345 -0
- data/docs/AuditApi.md +3 -1
- data/docs/AuditLogMessage.md +1 -1
- data/docs/AuthorizationApi.md +154 -9
- data/docs/AvailableTopic.md +3 -1
- data/docs/BuAgentScheduleActivity.md +18 -0
- data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
- data/docs/BuAgentScheduleSearchResponse.md +15 -0
- data/docs/BuAgentScheduleShift.md +18 -0
- data/docs/BuAgentSchedulesSearchResponse.md +15 -0
- data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
- data/docs/BuFullDayTimeOffMarker.md +18 -0
- data/docs/BuScheduleReference.md +15 -0
- data/docs/Call.md +1 -1
- data/docs/CallBasic.md +1 -1
- data/docs/CallMediaParticipant.md +1 -1
- data/docs/CallbackMediaParticipant.md +1 -1
- data/docs/CampaignProgress.md +2 -1
- data/docs/ChatMediaParticipant.md +1 -1
- data/docs/CobrowseMediaParticipant.md +1 -1
- data/docs/ConversationsApi.md +71 -1
- data/docs/CopyAttachmentsRequest.md +14 -0
- data/docs/CreateManagementUnitApiRequest.md +3 -2
- data/docs/CreateManagementUnitSettingsRequest.md +1 -1
- data/docs/CreateWorkPlanShift.md +1 -1
- data/docs/DataTableExportJob.md +22 -0
- data/docs/DataTableImportJob.md +25 -0
- data/docs/DivsPermittedEntityListing.md +23 -0
- data/docs/EmailMediaParticipant.md +1 -1
- data/docs/EntityListing.md +17 -0
- data/docs/ErrorBody.md +2 -2
- data/docs/ErrorInfo.md +14 -0
- data/docs/Evaluation.md +1 -0
- data/docs/EvaluationQuestionGroupScore.md +4 -0
- data/docs/EvaluationScoringSet.md +1 -0
- data/docs/FacebookIntegrationRequest.md +2 -2
- data/docs/GDPRJourneyCustomer.md +2 -2
- data/docs/InboundDomain.md +2 -0
- data/docs/Library.md +4 -3
- data/docs/LicenseApi.md +66 -0
- data/docs/MailFromResult.md +15 -0
- data/docs/ManagementUnit.md +2 -2
- data/docs/ManagementUnitSettingsRequest.md +1 -1
- data/docs/MessageMediaParticipant.md +1 -1
- data/docs/MessagingApi.md +0 -936
- data/docs/MessagingTemplate.md +15 -0
- data/docs/Organization.md +1 -0
- data/docs/QualityApi.md +5 -6
- data/docs/Record.md +15 -0
- data/docs/ReportingExportMetadataJobListing.md +22 -0
- data/docs/ReportingExportMetadataJobResponse.md +22 -0
- data/docs/Response.md +2 -0
- data/docs/RoutingApi.md +385 -0
- data/docs/RoutingSettings.md +13 -0
- data/docs/SCIMApi.md +397 -23
- data/docs/ScimUserExtensions.md +14 -0
- data/docs/ScimUserRole.md +13 -0
- data/docs/ScimUserRoutingLanguage.md +14 -0
- data/docs/ScimUserRoutingSkill.md +14 -0
- data/docs/ScimV2CreateUser.md +2 -1
- data/docs/ScimV2SchemaAttribute.md +24 -0
- data/docs/ScimV2SchemaDefinition.md +17 -0
- data/docs/ScimV2SchemaListResponse.md +17 -0
- data/docs/ScimV2User.md +2 -1
- data/docs/ShortTermForecast.md +2 -2
- data/docs/ShortTermForecastListItemResponse.md +2 -2
- data/docs/ShortTermForecastReference.md +2 -2
- data/docs/TimeOffRequestLookup.md +3 -3
- data/docs/TimeOffRequestResponse.md +3 -3
- data/docs/UserScheduleAdherence.md +1 -1
- data/docs/UsersApi.md +358 -10
- data/docs/ViewFilter.md +4 -10
- data/docs/WeekSchedule.md +1 -1
- data/docs/WeekScheduleListItemResponse.md +1 -1
- data/docs/WeekScheduleReference.md +1 -1
- data/docs/WorkPlanShift.md +1 -1
- data/docs/WorkforceManagementApi.md +40 -41
- data/lib/purecloudplatformclientv2.rb +27 -0
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
- data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
- data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
- data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
- data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
- data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
- data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
- data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
- data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
- data/lib/purecloudplatformclientv2/models/call.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
- data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
- data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
- data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
- data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
- data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
- data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
- data/lib/purecloudplatformclientv2/models/library.rb +44 -2
- data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
- data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
- data/lib/purecloudplatformclientv2/models/record.rb +269 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
- data/lib/purecloudplatformclientv2/models/response.rb +67 -1
- data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
- data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
- data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
- data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +56 -2
@@ -3818,7 +3818,7 @@ module PureCloud
|
|
3818
3818
|
# @option opts [BuSearchAgentSchedulesRequest] :body body
|
3819
3819
|
# @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
3820
3820
|
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
3821
|
-
# @return [
|
3821
|
+
# @return [BuAsyncAgentSchedulesSearchResponse]
|
3822
3822
|
def post_workforcemanagement_managementunit_agentschedules_search(mu_id, opts = {})
|
3823
3823
|
data, _status_code, _headers = post_workforcemanagement_managementunit_agentschedules_search_with_http_info(mu_id, opts)
|
3824
3824
|
return data
|
@@ -3831,7 +3831,7 @@ module PureCloud
|
|
3831
3831
|
# @option opts [BuSearchAgentSchedulesRequest] :body body
|
3832
3832
|
# @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
3833
3833
|
# @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
|
3834
|
-
# @return [Array<(
|
3834
|
+
# @return [Array<(BuAsyncAgentSchedulesSearchResponse, Fixnum, Hash)>] BuAsyncAgentSchedulesSearchResponse data, response status code and response headers
|
3835
3835
|
def post_workforcemanagement_managementunit_agentschedules_search_with_http_info(mu_id, opts = {})
|
3836
3836
|
if @api_client.config.debugging
|
3837
3837
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_agentschedules_search ..."
|
@@ -3895,7 +3895,7 @@ module PureCloud
|
|
3895
3895
|
:form_params => form_params,
|
3896
3896
|
:body => post_body,
|
3897
3897
|
:auth_names => auth_names,
|
3898
|
-
:return_type => '
|
3898
|
+
:return_type => 'BuAsyncAgentSchedulesSearchResponse')
|
3899
3899
|
if @api_client.config.debugging
|
3900
3900
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_agentschedules_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3901
3901
|
end
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
77
77
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
79
|
-
header_params['purecloud-sdk'] = '
|
79
|
+
header_params['purecloud-sdk'] = '79.0.0'
|
80
80
|
query_params = opts[:query_params] || {}
|
81
81
|
form_params = opts[:form_params] || {}
|
82
82
|
|
@@ -22,6 +22,9 @@ module PureCloud
|
|
22
22
|
# The globally unique identifier for the object.
|
23
23
|
attr_accessor :id
|
24
24
|
|
25
|
+
# The URI for this object
|
26
|
+
attr_accessor :self_uri
|
27
|
+
|
25
28
|
# The name of the activity code. Default activity codes will be created with an empty name
|
26
29
|
attr_accessor :name
|
27
30
|
|
@@ -49,15 +52,14 @@ module PureCloud
|
|
49
52
|
# Version metadata for the associated management unit's list of activity codes
|
50
53
|
attr_accessor :metadata
|
51
54
|
|
52
|
-
# The URI for this object
|
53
|
-
attr_accessor :self_uri
|
54
|
-
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
58
|
|
59
59
|
:'id' => :'id',
|
60
60
|
|
61
|
+
:'self_uri' => :'selfUri',
|
62
|
+
|
61
63
|
:'name' => :'name',
|
62
64
|
|
63
65
|
:'is_active' => :'isActive',
|
@@ -74,9 +76,7 @@ module PureCloud
|
|
74
76
|
|
75
77
|
:'agent_time_off_selectable' => :'agentTimeOffSelectable',
|
76
78
|
|
77
|
-
:'metadata' => :'metadata'
|
78
|
-
|
79
|
-
:'self_uri' => :'selfUri'
|
79
|
+
:'metadata' => :'metadata'
|
80
80
|
|
81
81
|
}
|
82
82
|
end
|
@@ -87,6 +87,8 @@ module PureCloud
|
|
87
87
|
|
88
88
|
:'id' => :'String',
|
89
89
|
|
90
|
+
:'self_uri' => :'String',
|
91
|
+
|
90
92
|
:'name' => :'String',
|
91
93
|
|
92
94
|
:'is_active' => :'BOOLEAN',
|
@@ -103,9 +105,7 @@ module PureCloud
|
|
103
105
|
|
104
106
|
:'agent_time_off_selectable' => :'BOOLEAN',
|
105
107
|
|
106
|
-
:'metadata' => :'WfmVersionedEntityMetadata'
|
107
|
-
|
108
|
-
:'self_uri' => :'String'
|
108
|
+
:'metadata' => :'WfmVersionedEntityMetadata'
|
109
109
|
|
110
110
|
}
|
111
111
|
end
|
@@ -128,6 +128,15 @@ module PureCloud
|
|
128
128
|
end
|
129
129
|
|
130
130
|
|
131
|
+
if attributes.has_key?(:'selfUri')
|
132
|
+
|
133
|
+
|
134
|
+
self.self_uri = attributes[:'selfUri']
|
135
|
+
|
136
|
+
|
137
|
+
end
|
138
|
+
|
139
|
+
|
131
140
|
if attributes.has_key?(:'name')
|
132
141
|
|
133
142
|
|
@@ -209,15 +218,6 @@ module PureCloud
|
|
209
218
|
end
|
210
219
|
|
211
220
|
|
212
|
-
if attributes.has_key?(:'selfUri')
|
213
|
-
|
214
|
-
|
215
|
-
self.self_uri = attributes[:'selfUri']
|
216
|
-
|
217
|
-
|
218
|
-
end
|
219
|
-
|
220
|
-
|
221
221
|
end
|
222
222
|
|
223
223
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -248,6 +248,10 @@ module PureCloud
|
|
248
248
|
|
249
249
|
|
250
250
|
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
251
255
|
|
252
256
|
|
253
257
|
|
@@ -283,10 +287,6 @@ module PureCloud
|
|
283
287
|
|
284
288
|
|
285
289
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
290
|
end
|
291
291
|
|
292
292
|
|
@@ -305,6 +305,11 @@ module PureCloud
|
|
305
305
|
|
306
306
|
|
307
307
|
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
308
313
|
|
309
314
|
|
310
315
|
|
@@ -343,11 +348,6 @@ module PureCloud
|
|
343
348
|
|
344
349
|
|
345
350
|
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
351
|
|
352
352
|
|
353
353
|
|
@@ -360,6 +360,7 @@ module PureCloud
|
|
360
360
|
return true if self.equal?(o)
|
361
361
|
self.class == o.class &&
|
362
362
|
id == o.id &&
|
363
|
+
self_uri == o.self_uri &&
|
363
364
|
name == o.name &&
|
364
365
|
is_active == o.is_active &&
|
365
366
|
is_default == o.is_default &&
|
@@ -368,8 +369,7 @@ module PureCloud
|
|
368
369
|
counts_as_paid_time == o.counts_as_paid_time &&
|
369
370
|
counts_as_work_time == o.counts_as_work_time &&
|
370
371
|
agent_time_off_selectable == o.agent_time_off_selectable &&
|
371
|
-
metadata == o.metadata
|
372
|
-
self_uri == o.self_uri
|
372
|
+
metadata == o.metadata
|
373
373
|
end
|
374
374
|
|
375
375
|
# @see the `==` method
|
@@ -381,7 +381,7 @@ module PureCloud
|
|
381
381
|
# Calculates hash code according to all attributes.
|
382
382
|
# @return [Fixnum] Hash code
|
383
383
|
def hash
|
384
|
-
[id, name, is_active, is_default, category, length_in_minutes, counts_as_paid_time, counts_as_work_time, agent_time_off_selectable, metadata
|
384
|
+
[id, self_uri, name, is_active, is_default, category, length_in_minutes, counts_as_paid_time, counts_as_work_time, agent_time_off_selectable, metadata].hash
|
385
385
|
end
|
386
386
|
|
387
387
|
# build the object from hash
|
@@ -18,18 +18,18 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class AnalyticsConversationAsyncQueryResponse
|
21
|
-
attr_accessor :conversations
|
22
|
-
|
23
21
|
# Optional cursor to indicate where to resume the results
|
24
22
|
attr_accessor :cursor
|
25
23
|
|
24
|
+
attr_accessor :conversations
|
25
|
+
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
27
|
def self.attribute_map
|
28
28
|
{
|
29
29
|
|
30
|
-
:'
|
30
|
+
:'cursor' => :'cursor',
|
31
31
|
|
32
|
-
:'
|
32
|
+
:'conversations' => :'conversations'
|
33
33
|
|
34
34
|
}
|
35
35
|
end
|
@@ -38,9 +38,9 @@ module PureCloud
|
|
38
38
|
def self.swagger_types
|
39
39
|
{
|
40
40
|
|
41
|
-
:'
|
41
|
+
:'cursor' => :'String',
|
42
42
|
|
43
|
-
:'
|
43
|
+
:'conversations' => :'Array<AnalyticsConversation>'
|
44
44
|
|
45
45
|
}
|
46
46
|
end
|
@@ -54,21 +54,21 @@ module PureCloud
|
|
54
54
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
55
55
|
|
56
56
|
|
57
|
-
if attributes.has_key?(:'
|
57
|
+
if attributes.has_key?(:'cursor')
|
58
58
|
|
59
|
-
if (value = attributes[:'conversations']).is_a?(Array)
|
60
|
-
self.conversations = value
|
61
|
-
end
|
62
59
|
|
60
|
+
self.cursor = attributes[:'cursor']
|
63
61
|
|
64
62
|
|
65
63
|
end
|
66
64
|
|
67
65
|
|
68
|
-
if attributes.has_key?(:'
|
66
|
+
if attributes.has_key?(:'conversations')
|
69
67
|
|
68
|
+
if (value = attributes[:'conversations']).is_a?(Array)
|
69
|
+
self.conversations = value
|
70
|
+
end
|
70
71
|
|
71
|
-
self.cursor = attributes[:'cursor']
|
72
72
|
|
73
73
|
|
74
74
|
end
|
@@ -115,8 +115,8 @@ module PureCloud
|
|
115
115
|
def ==(o)
|
116
116
|
return true if self.equal?(o)
|
117
117
|
self.class == o.class &&
|
118
|
-
|
119
|
-
|
118
|
+
cursor == o.cursor &&
|
119
|
+
conversations == o.conversations
|
120
120
|
end
|
121
121
|
|
122
122
|
# @see the `==` method
|
@@ -128,7 +128,7 @@ module PureCloud
|
|
128
128
|
# Calculates hash code according to all attributes.
|
129
129
|
# @return [Fixnum] Hash code
|
130
130
|
def hash
|
131
|
-
[
|
131
|
+
[cursor, conversations].hash
|
132
132
|
end
|
133
133
|
|
134
134
|
# build the object from hash
|
@@ -18,17 +18,17 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class AnalyticsConversationQueryResponse
|
21
|
-
attr_accessor :conversations
|
22
|
-
|
23
21
|
attr_accessor :aggregations
|
24
22
|
|
23
|
+
attr_accessor :conversations
|
24
|
+
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
28
|
|
29
|
-
:'
|
29
|
+
:'aggregations' => :'aggregations',
|
30
30
|
|
31
|
-
:'
|
31
|
+
:'conversations' => :'conversations'
|
32
32
|
|
33
33
|
}
|
34
34
|
end
|
@@ -37,9 +37,9 @@ module PureCloud
|
|
37
37
|
def self.swagger_types
|
38
38
|
{
|
39
39
|
|
40
|
-
:'
|
40
|
+
:'aggregations' => :'Array<AggregationResult>',
|
41
41
|
|
42
|
-
:'
|
42
|
+
:'conversations' => :'Array<AnalyticsConversationWithoutAttributes>'
|
43
43
|
|
44
44
|
}
|
45
45
|
end
|
@@ -53,10 +53,10 @@ module PureCloud
|
|
53
53
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
54
54
|
|
55
55
|
|
56
|
-
if attributes.has_key?(:'
|
56
|
+
if attributes.has_key?(:'aggregations')
|
57
57
|
|
58
|
-
if (value = attributes[:'
|
59
|
-
self.
|
58
|
+
if (value = attributes[:'aggregations']).is_a?(Array)
|
59
|
+
self.aggregations = value
|
60
60
|
end
|
61
61
|
|
62
62
|
|
@@ -64,10 +64,10 @@ module PureCloud
|
|
64
64
|
end
|
65
65
|
|
66
66
|
|
67
|
-
if attributes.has_key?(:'
|
67
|
+
if attributes.has_key?(:'conversations')
|
68
68
|
|
69
|
-
if (value = attributes[:'
|
70
|
-
self.
|
69
|
+
if (value = attributes[:'conversations']).is_a?(Array)
|
70
|
+
self.conversations = value
|
71
71
|
end
|
72
72
|
|
73
73
|
|
@@ -116,8 +116,8 @@ module PureCloud
|
|
116
116
|
def ==(o)
|
117
117
|
return true if self.equal?(o)
|
118
118
|
self.class == o.class &&
|
119
|
-
|
120
|
-
|
119
|
+
aggregations == o.aggregations &&
|
120
|
+
conversations == o.conversations
|
121
121
|
end
|
122
122
|
|
123
123
|
# @see the `==` method
|
@@ -129,7 +129,7 @@ module PureCloud
|
|
129
129
|
# Calculates hash code according to all attributes.
|
130
130
|
# @return [Fixnum] Hash code
|
131
131
|
def hash
|
132
|
-
[
|
132
|
+
[aggregations, conversations].hash
|
133
133
|
end
|
134
134
|
|
135
135
|
# build the object from hash
|
@@ -39,6 +39,9 @@ module PureCloud
|
|
39
39
|
# Reason for which participant flagged conversation
|
40
40
|
attr_accessor :flagged_reason
|
41
41
|
|
42
|
+
# The team id the user is a member of
|
43
|
+
attr_accessor :team_id
|
44
|
+
|
42
45
|
# List of sessions associated to this participant
|
43
46
|
attr_accessor :sessions
|
44
47
|
|
@@ -63,6 +66,8 @@ module PureCloud
|
|
63
66
|
|
64
67
|
:'flagged_reason' => :'flaggedReason',
|
65
68
|
|
69
|
+
:'team_id' => :'teamId',
|
70
|
+
|
66
71
|
:'sessions' => :'sessions',
|
67
72
|
|
68
73
|
:'attributes' => :'attributes'
|
@@ -88,6 +93,8 @@ module PureCloud
|
|
88
93
|
|
89
94
|
:'flagged_reason' => :'String',
|
90
95
|
|
96
|
+
:'team_id' => :'String',
|
97
|
+
|
91
98
|
:'sessions' => :'Array<AnalyticsSession>',
|
92
99
|
|
93
100
|
:'attributes' => :'Hash<String, String>'
|
@@ -167,6 +174,15 @@ module PureCloud
|
|
167
174
|
end
|
168
175
|
|
169
176
|
|
177
|
+
if attributes.has_key?(:'teamId')
|
178
|
+
|
179
|
+
|
180
|
+
self.team_id = attributes[:'teamId']
|
181
|
+
|
182
|
+
|
183
|
+
end
|
184
|
+
|
185
|
+
|
170
186
|
if attributes.has_key?(:'sessions')
|
171
187
|
|
172
188
|
if (value = attributes[:'sessions']).is_a?(Array)
|
@@ -250,6 +266,10 @@ module PureCloud
|
|
250
266
|
|
251
267
|
|
252
268
|
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
253
273
|
end
|
254
274
|
|
255
275
|
|
@@ -316,6 +336,11 @@ module PureCloud
|
|
316
336
|
|
317
337
|
|
318
338
|
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
319
344
|
# Checks equality by comparing each attribute.
|
320
345
|
# @param [Object] Object to be compared
|
321
346
|
def ==(o)
|
@@ -328,6 +353,7 @@ module PureCloud
|
|
328
353
|
external_contact_id == o.external_contact_id &&
|
329
354
|
external_organization_id == o.external_organization_id &&
|
330
355
|
flagged_reason == o.flagged_reason &&
|
356
|
+
team_id == o.team_id &&
|
331
357
|
sessions == o.sessions &&
|
332
358
|
attributes == o.attributes
|
333
359
|
end
|
@@ -341,7 +367,7 @@ module PureCloud
|
|
341
367
|
# Calculates hash code according to all attributes.
|
342
368
|
# @return [Fixnum] Hash code
|
343
369
|
def hash
|
344
|
-
[participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, sessions, attributes].hash
|
370
|
+
[participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, team_id, sessions, attributes].hash
|
345
371
|
end
|
346
372
|
|
347
373
|
# build the object from hash
|
@@ -39,6 +39,9 @@ module PureCloud
|
|
39
39
|
# Reason for which participant flagged conversation
|
40
40
|
attr_accessor :flagged_reason
|
41
41
|
|
42
|
+
# The team id the user is a member of
|
43
|
+
attr_accessor :team_id
|
44
|
+
|
42
45
|
# List of sessions associated to this participant
|
43
46
|
attr_accessor :sessions
|
44
47
|
|
@@ -60,6 +63,8 @@ module PureCloud
|
|
60
63
|
|
61
64
|
:'flagged_reason' => :'flaggedReason',
|
62
65
|
|
66
|
+
:'team_id' => :'teamId',
|
67
|
+
|
63
68
|
:'sessions' => :'sessions'
|
64
69
|
|
65
70
|
}
|
@@ -83,6 +88,8 @@ module PureCloud
|
|
83
88
|
|
84
89
|
:'flagged_reason' => :'String',
|
85
90
|
|
91
|
+
:'team_id' => :'String',
|
92
|
+
|
86
93
|
:'sessions' => :'Array<AnalyticsSession>'
|
87
94
|
|
88
95
|
}
|
@@ -160,6 +167,15 @@ module PureCloud
|
|
160
167
|
end
|
161
168
|
|
162
169
|
|
170
|
+
if attributes.has_key?(:'teamId')
|
171
|
+
|
172
|
+
|
173
|
+
self.team_id = attributes[:'teamId']
|
174
|
+
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
|
163
179
|
if attributes.has_key?(:'sessions')
|
164
180
|
|
165
181
|
if (value = attributes[:'sessions']).is_a?(Array)
|
@@ -228,6 +244,10 @@ module PureCloud
|
|
228
244
|
|
229
245
|
|
230
246
|
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
231
251
|
end
|
232
252
|
|
233
253
|
|
@@ -289,6 +309,11 @@ module PureCloud
|
|
289
309
|
|
290
310
|
|
291
311
|
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
292
317
|
# Checks equality by comparing each attribute.
|
293
318
|
# @param [Object] Object to be compared
|
294
319
|
def ==(o)
|
@@ -301,6 +326,7 @@ module PureCloud
|
|
301
326
|
external_contact_id == o.external_contact_id &&
|
302
327
|
external_organization_id == o.external_organization_id &&
|
303
328
|
flagged_reason == o.flagged_reason &&
|
329
|
+
team_id == o.team_id &&
|
304
330
|
sessions == o.sessions
|
305
331
|
end
|
306
332
|
|
@@ -313,7 +339,7 @@ module PureCloud
|
|
313
339
|
# Calculates hash code according to all attributes.
|
314
340
|
# @return [Fixnum] Hash code
|
315
341
|
def hash
|
316
|
-
[participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, sessions].hash
|
342
|
+
[participant_id, participant_name, user_id, purpose, external_contact_id, external_organization_id, flagged_reason, team_id, sessions].hash
|
317
343
|
end
|
318
344
|
|
319
345
|
# build the object from hash
|