purecloudplatformclientv2 87.0.0 → 92.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AmazonLexRequest.md +14 -0
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/ApiUsageQuery.md +16 -0
- data/docs/ApiUsageQueryResult.md +14 -0
- data/docs/ApiUsageRow.md +25 -0
- data/docs/ArchitectApi.md +132 -0
- data/docs/AuditApi.md +130 -0
- data/docs/AuditQueryEntity.md +14 -0
- data/docs/AuditQueryExecutionStatusResponse.md +1 -0
- data/docs/AuditQueryRequest.md +1 -0
- data/docs/AuditQueryService.md +14 -0
- data/docs/AuditQueryServiceMapping.md +13 -0
- data/docs/AuditQuerySort.md +14 -0
- data/docs/AuditRealtimeQueryRequest.md +18 -0
- data/docs/AuditRealtimeQueryResultsResponse.md +17 -0
- data/docs/BuAgentScheduleActivity.md +2 -0
- data/docs/BuRescheduleRequest.md +2 -2
- data/docs/ButtonComponent.md +16 -0
- data/docs/CoachingApi.md +1 -1
- data/docs/ContentActions.md +17 -0
- data/docs/ContentAttachment.md +19 -0
- data/docs/ContentGeneric.md +19 -0
- data/docs/ContentList.md +19 -0
- data/docs/ContentLocation.md +17 -0
- data/docs/ContentNotificationTemplate.md +17 -0
- data/docs/ContentQuickReply.md +16 -0
- data/docs/ConversationAggregationQuery.md +1 -1
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/EdgeGroup.md +1 -0
- data/docs/EntityListing.md +1 -5
- data/docs/EvaluationAggregationQuery.md +1 -1
- data/docs/ExternalContact.md +2 -0
- data/docs/ExternalOrganization.md +2 -0
- data/docs/FlowAggregationQuery.md +1 -1
- data/docs/FlowExecutionLaunchRequest.md +16 -0
- data/docs/FlowExecutionLaunchResponse.md +16 -0
- data/docs/FlowRuntimeExecution.md +23 -0
- data/docs/GenericSAML.md +22 -0
- data/docs/GoogleDialogflowCustomSettings.md +13 -0
- data/docs/GroupsApi.md +4 -4
- data/docs/IdentityProviderApi.md +187 -0
- data/docs/IpAddressAuthentication.md +13 -0
- data/docs/KnowledgeSearchResponse.md +1 -1
- data/docs/LanguageUnderstandingApi.md +164 -30
- data/docs/ListItemComponent.md +19 -0
- data/docs/MessageContent.md +19 -0
- data/docs/NluDomainVersion.md +3 -1
- data/docs/NotificationTemplateBody.md +14 -0
- data/docs/NotificationTemplateFooter.md +13 -0
- data/docs/NotificationTemplateHeader.md +16 -0
- data/docs/NotificationTemplateParameter.md +14 -0
- data/docs/OAuthApi.md +208 -0
- data/docs/OrganizationApi.md +126 -0
- data/docs/PostTextMessage.md +15 -0
- data/docs/PostTextRequest.md +23 -0
- data/docs/PostTextResponse.md +20 -0
- data/docs/Prompt.md +2 -2
- data/docs/Queue.md +1 -0
- data/docs/QueueRequest.md +1 -0
- data/docs/RecordingApi.md +12 -0
- data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
- data/docs/ScimEmail.md +1 -1
- data/docs/SurveyAggregationQuery.md +1 -1
- data/docs/SurveyForm.md +0 -2
- data/docs/TextbotsApi.md +78 -0
- data/docs/UploadUrlRequest.md +1 -0
- data/docs/UsageApi.md +144 -0
- data/docs/UsageExecutionResult.md +14 -0
- data/docs/UserAggregationQuery.md +1 -1
- data/docs/UserQueue.md +1 -0
- data/docs/UsersApi.md +5 -5
- data/docs/ViewFilter.md +2 -0
- data/docs/VoicemailMessagesTopicOwner.md +13 -0
- data/docs/VoicemailMessagesTopicVoicemailCopyRecord.md +14 -0
- data/docs/VoicemailMessagesTopicVoicemailMessage.md +2 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuForecastModification.md +23 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecast.md +24 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecastNotification.md +15 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicForecastSourceDayPointer.md +17 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicModificationIntervalOffsetValue.md +14 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicUserReference.md +13 -0
- data/docs/WfmBuShortTermForecastImportCompleteTopicWfmVersionedEntityMetadata.md +15 -0
- data/docs/WorkforceManagementApi.md +3 -3
- data/lib/purecloudplatformclientv2.rb +45 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +129 -0
- data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +189 -30
- data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
- data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
- data/lib/purecloudplatformclientv2/api/textbots_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/amazon_lex_request.rb +232 -0
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/api_usage_query.rb +303 -0
- data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
- data/lib/purecloudplatformclientv2/models/api_usage_row.rb +514 -0
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
- data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +244 -0
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +34 -6
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +34 -6
- data/lib/purecloudplatformclientv2/models/audit_query_service.rb +244 -0
- data/lib/purecloudplatformclientv2/models/audit_query_service_mapping.rb +204 -0
- data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
- data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +360 -0
- data/lib/purecloudplatformclientv2/models/audit_realtime_query_results_response.rb +303 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +70 -4
- data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
- data/lib/purecloudplatformclientv2/models/button_component.rb +281 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/coaching_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/content_actions.rb +309 -0
- data/lib/purecloudplatformclientv2/models/content_attachment.rb +378 -0
- data/lib/purecloudplatformclientv2/models/content_generic.rb +361 -0
- data/lib/purecloudplatformclientv2/models/content_list.rb +375 -0
- data/lib/purecloudplatformclientv2/models/content_location.rb +307 -0
- data/lib/purecloudplatformclientv2/models/content_notification_template.rb +312 -0
- data/lib/purecloudplatformclientv2/models/content_quick_reply.rb +300 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/edge_group.rb +27 -1
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
- data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/flow_execution_launch_request.rb +288 -0
- data/lib/purecloudplatformclientv2/models/flow_execution_launch_response.rb +281 -0
- data/lib/purecloudplatformclientv2/models/flow_runtime_execution.rb +494 -0
- data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
- data/lib/purecloudplatformclientv2/models/google_dialogflow_custom_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
- data/lib/purecloudplatformclientv2/models/list_item_component.rb +373 -0
- data/lib/purecloudplatformclientv2/models/message_content.rb +378 -0
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +72 -1
- data/lib/purecloudplatformclientv2/models/notification_template_body.rb +236 -0
- data/lib/purecloudplatformclientv2/models/notification_template_footer.rb +203 -0
- data/lib/purecloudplatformclientv2/models/notification_template_header.rb +302 -0
- data/lib/purecloudplatformclientv2/models/notification_template_parameter.rb +234 -0
- data/lib/purecloudplatformclientv2/models/post_text_message.rb +275 -0
- data/lib/purecloudplatformclientv2/models/post_text_request.rb +482 -0
- data/lib/purecloudplatformclientv2/models/post_text_response.rb +413 -0
- data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
- data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
- data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
- data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +31 -4
- data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/survey_form.rb +1 -53
- data/lib/purecloudplatformclientv2/models/upload_url_request.rb +43 -4
- data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +58 -4
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_owner.rb +201 -0
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_copy_record.rb +226 -0
- data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_message.rb +56 -4
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_forecast_modification.rb +497 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast.rb +494 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast_notification.rb +265 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_forecast_source_day_pointer.rb +315 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_modification_interval_offset_value.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_user_reference.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_wfm_versioned_entity_metadata.rb +251 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +92 -2
@@ -298,6 +298,11 @@ module PureCloud
|
|
298
298
|
|
299
299
|
|
300
300
|
|
301
|
+
allowed_values = ["created", "uploaded", "transcoded", "transcodeFailed"]
|
302
|
+
if @upload_status && !allowed_values.include?(@upload_status)
|
303
|
+
return false
|
304
|
+
end
|
305
|
+
|
301
306
|
|
302
307
|
|
303
308
|
|
@@ -359,7 +364,16 @@ module PureCloud
|
|
359
364
|
|
360
365
|
|
361
366
|
|
362
|
-
|
367
|
+
# Custom attribute writer method checking allowed values (enum).
|
368
|
+
# @param [Object] upload_status Object to be assigned
|
369
|
+
def upload_status=(upload_status)
|
370
|
+
allowed_values = ["created", "uploaded", "transcoded", "transcodeFailed"]
|
371
|
+
if upload_status && !allowed_values.include?(upload_status)
|
372
|
+
fail ArgumentError, "invalid value for 'upload_status', must be one of #{allowed_values}."
|
373
|
+
end
|
374
|
+
@upload_status = upload_status
|
375
|
+
end
|
376
|
+
|
363
377
|
|
364
378
|
|
365
379
|
|
@@ -47,6 +47,9 @@ module PureCloud
|
|
47
47
|
# The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM
|
48
48
|
attr_accessor :media_settings
|
49
49
|
|
50
|
+
# The routing rules for the queue, used for routing to known or preferred agents.
|
51
|
+
attr_accessor :routing_rules
|
52
|
+
|
50
53
|
# The bulls-eye settings for the queue.
|
51
54
|
attr_accessor :bullseye
|
52
55
|
|
@@ -106,6 +109,8 @@ module PureCloud
|
|
106
109
|
|
107
110
|
:'media_settings' => :'mediaSettings',
|
108
111
|
|
112
|
+
:'routing_rules' => :'routingRules',
|
113
|
+
|
109
114
|
:'bullseye' => :'bullseye',
|
110
115
|
|
111
116
|
:'acw_settings' => :'acwSettings',
|
@@ -157,6 +162,8 @@ module PureCloud
|
|
157
162
|
|
158
163
|
:'media_settings' => :'Hash<String, MediaSetting>',
|
159
164
|
|
165
|
+
:'routing_rules' => :'Array<RoutingRule>',
|
166
|
+
|
160
167
|
:'bullseye' => :'Bullseye',
|
161
168
|
|
162
169
|
:'acw_settings' => :'AcwSettings',
|
@@ -282,6 +289,17 @@ module PureCloud
|
|
282
289
|
|
283
290
|
|
284
291
|
|
292
|
+
end
|
293
|
+
|
294
|
+
|
295
|
+
if attributes.has_key?(:'routingRules')
|
296
|
+
|
297
|
+
if (value = attributes[:'routingRules']).is_a?(Array)
|
298
|
+
self.routing_rules = value
|
299
|
+
end
|
300
|
+
|
301
|
+
|
302
|
+
|
285
303
|
end
|
286
304
|
|
287
305
|
|
@@ -455,6 +473,10 @@ module PureCloud
|
|
455
473
|
|
456
474
|
|
457
475
|
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
458
480
|
|
459
481
|
|
460
482
|
|
@@ -561,6 +583,11 @@ module PureCloud
|
|
561
583
|
|
562
584
|
|
563
585
|
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
564
591
|
|
565
592
|
|
566
593
|
|
@@ -640,6 +667,7 @@ module PureCloud
|
|
640
667
|
created_by == o.created_by &&
|
641
668
|
member_count == o.member_count &&
|
642
669
|
media_settings == o.media_settings &&
|
670
|
+
routing_rules == o.routing_rules &&
|
643
671
|
bullseye == o.bullseye &&
|
644
672
|
acw_settings == o.acw_settings &&
|
645
673
|
skill_evaluation_method == o.skill_evaluation_method &&
|
@@ -663,7 +691,7 @@ module PureCloud
|
|
663
691
|
# Calculates hash code according to all attributes.
|
664
692
|
# @return [Fixnum] Hash code
|
665
693
|
def hash
|
666
|
-
[id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash
|
694
|
+
[id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, routing_rules, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash
|
667
695
|
end
|
668
696
|
|
669
697
|
# build the object from hash
|
@@ -48,6 +48,9 @@ module PureCloud
|
|
48
48
|
# The media settings for the queue. Valid key values: CALL, CALLBACK, CHAT, EMAIL, MESSAGE, SOCIAL_EXPRESSION, VIDEO_COMM
|
49
49
|
attr_accessor :media_settings
|
50
50
|
|
51
|
+
# The routing rules for the queue, used for routing to known or preferred agents.
|
52
|
+
attr_accessor :routing_rules
|
53
|
+
|
51
54
|
# The bulls-eye settings for the queue.
|
52
55
|
attr_accessor :bullseye
|
53
56
|
|
@@ -107,6 +110,8 @@ module PureCloud
|
|
107
110
|
|
108
111
|
:'media_settings' => :'mediaSettings',
|
109
112
|
|
113
|
+
:'routing_rules' => :'routingRules',
|
114
|
+
|
110
115
|
:'bullseye' => :'bullseye',
|
111
116
|
|
112
117
|
:'acw_settings' => :'acwSettings',
|
@@ -158,6 +163,8 @@ module PureCloud
|
|
158
163
|
|
159
164
|
:'media_settings' => :'Hash<String, MediaSetting>',
|
160
165
|
|
166
|
+
:'routing_rules' => :'Array<RoutingRule>',
|
167
|
+
|
161
168
|
:'bullseye' => :'Bullseye',
|
162
169
|
|
163
170
|
:'acw_settings' => :'AcwSettings',
|
@@ -283,6 +290,17 @@ module PureCloud
|
|
283
290
|
|
284
291
|
|
285
292
|
|
293
|
+
end
|
294
|
+
|
295
|
+
|
296
|
+
if attributes.has_key?(:'routingRules')
|
297
|
+
|
298
|
+
if (value = attributes[:'routingRules']).is_a?(Array)
|
299
|
+
self.routing_rules = value
|
300
|
+
end
|
301
|
+
|
302
|
+
|
303
|
+
|
286
304
|
end
|
287
305
|
|
288
306
|
|
@@ -461,6 +479,10 @@ module PureCloud
|
|
461
479
|
|
462
480
|
|
463
481
|
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
464
486
|
|
465
487
|
|
466
488
|
|
@@ -567,6 +589,11 @@ module PureCloud
|
|
567
589
|
|
568
590
|
|
569
591
|
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
570
597
|
|
571
598
|
|
572
599
|
|
@@ -646,6 +673,7 @@ module PureCloud
|
|
646
673
|
created_by == o.created_by &&
|
647
674
|
member_count == o.member_count &&
|
648
675
|
media_settings == o.media_settings &&
|
676
|
+
routing_rules == o.routing_rules &&
|
649
677
|
bullseye == o.bullseye &&
|
650
678
|
acw_settings == o.acw_settings &&
|
651
679
|
skill_evaluation_method == o.skill_evaluation_method &&
|
@@ -669,7 +697,7 @@ module PureCloud
|
|
669
697
|
# Calculates hash code according to all attributes.
|
670
698
|
# @return [Fixnum] Hash code
|
671
699
|
def hash
|
672
|
-
[id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash
|
700
|
+
[id, name, division, description, date_created, date_modified, modified_by, created_by, member_count, media_settings, routing_rules, bullseye, acw_settings, skill_evaluation_method, queue_flow, whisper_prompt, auto_answer_only, calling_party_name, calling_party_number, default_scripts, outbound_messaging_addresses, outbound_email_address, self_uri].hash
|
673
701
|
end
|
674
702
|
|
675
703
|
# build the object from hash
|
data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb
CHANGED
@@ -40,6 +40,8 @@ module PureCloud
|
|
40
40
|
|
41
41
|
attr_accessor :percentage_complete
|
42
42
|
|
43
|
+
attr_accessor :email_statuses
|
44
|
+
|
43
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
46
|
def self.attribute_map
|
45
47
|
{
|
@@ -64,7 +66,9 @@ module PureCloud
|
|
64
66
|
|
65
67
|
:'modified_date_time' => :'modifiedDateTime',
|
66
68
|
|
67
|
-
:'percentage_complete' => :'percentageComplete'
|
69
|
+
:'percentage_complete' => :'percentageComplete',
|
70
|
+
|
71
|
+
:'email_statuses' => :'emailStatuses'
|
68
72
|
|
69
73
|
}
|
70
74
|
end
|
@@ -93,7 +97,9 @@ module PureCloud
|
|
93
97
|
|
94
98
|
:'modified_date_time' => :'DateTime',
|
95
99
|
|
96
|
-
:'percentage_complete' => :'Float'
|
100
|
+
:'percentage_complete' => :'Float',
|
101
|
+
|
102
|
+
:'email_statuses' => :'Hash<String, String>'
|
97
103
|
|
98
104
|
}
|
99
105
|
end
|
@@ -206,6 +212,17 @@ module PureCloud
|
|
206
212
|
end
|
207
213
|
|
208
214
|
|
215
|
+
if attributes.has_key?(:'emailStatuses')
|
216
|
+
|
217
|
+
if (value = attributes[:'emailStatuses']).is_a?(Array)
|
218
|
+
self.email_statuses = value
|
219
|
+
end
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
end
|
224
|
+
|
225
|
+
|
209
226
|
end
|
210
227
|
|
211
228
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -282,6 +299,10 @@ module PureCloud
|
|
282
299
|
|
283
300
|
|
284
301
|
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
285
306
|
|
286
307
|
|
287
308
|
|
@@ -373,6 +394,11 @@ module PureCloud
|
|
373
394
|
|
374
395
|
|
375
396
|
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
376
402
|
|
377
403
|
|
378
404
|
|
@@ -394,7 +420,8 @@ module PureCloud
|
|
394
420
|
read == o.read &&
|
395
421
|
created_date_time == o.created_date_time &&
|
396
422
|
modified_date_time == o.modified_date_time &&
|
397
|
-
percentage_complete == o.percentage_complete
|
423
|
+
percentage_complete == o.percentage_complete &&
|
424
|
+
email_statuses == o.email_statuses
|
398
425
|
end
|
399
426
|
|
400
427
|
# @see the `==` method
|
@@ -406,7 +433,7 @@ module PureCloud
|
|
406
433
|
# Calculates hash code according to all attributes.
|
407
434
|
# @return [Fixnum] Hash code
|
408
435
|
def hash
|
409
|
-
[id, name, status, export_format, download_url, view_type, export_error_messages_type, read, created_date_time, modified_date_time, percentage_complete].hash
|
436
|
+
[id, name, status, export_format, download_url, view_type, export_error_messages_type, read, created_date_time, modified_date_time, percentage_complete, email_statuses].hash
|
410
437
|
end
|
411
438
|
|
412
439
|
# build the object from hash
|
@@ -24,7 +24,7 @@ module PureCloud
|
|
24
24
|
# Granularity aggregates metrics into subpartitions within the time interval specified. The default granularity is the same duration as the interval. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H
|
25
25
|
attr_accessor :granularity
|
26
26
|
|
27
|
-
#
|
27
|
+
# Time zone context used to calculate response intervals (this allows resolving DST changes). The interval offset is used even when timeZone is specified. Default is UTC. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London
|
28
28
|
attr_accessor :time_zone
|
29
29
|
|
30
30
|
# Behaves like a SQL GROUPBY. Allows for multiple levels of grouping as a list of dimensions. Partitions resulting aggregate computations into distinct named subgroups rather than across the entire result set as if it were one group.
|
@@ -39,12 +39,6 @@ module PureCloud
|
|
39
39
|
# Language for survey viewer localization. Currently localized languages: da, de, en-US, es, fi, fr, it, ja, ko, nl, no, pl, pt-BR, sv, th, tr, zh-CH, zh-TW
|
40
40
|
attr_accessor :language
|
41
41
|
|
42
|
-
# Id of the header image appearing at the top of the form.
|
43
|
-
attr_accessor :header_image_id
|
44
|
-
|
45
|
-
# Temporary URL for accessing header image
|
46
|
-
attr_accessor :header_image_url
|
47
|
-
|
48
42
|
# Markdown text for the top of the form.
|
49
43
|
attr_accessor :header
|
50
44
|
|
@@ -78,10 +72,6 @@ module PureCloud
|
|
78
72
|
|
79
73
|
:'language' => :'language',
|
80
74
|
|
81
|
-
:'header_image_id' => :'headerImageId',
|
82
|
-
|
83
|
-
:'header_image_url' => :'headerImageUrl',
|
84
|
-
|
85
75
|
:'header' => :'header',
|
86
76
|
|
87
77
|
:'footer' => :'footer',
|
@@ -113,10 +103,6 @@ module PureCloud
|
|
113
103
|
|
114
104
|
:'language' => :'String',
|
115
105
|
|
116
|
-
:'header_image_id' => :'String',
|
117
|
-
|
118
|
-
:'header_image_url' => :'String',
|
119
|
-
|
120
106
|
:'header' => :'String',
|
121
107
|
|
122
108
|
:'footer' => :'String',
|
@@ -202,24 +188,6 @@ module PureCloud
|
|
202
188
|
end
|
203
189
|
|
204
190
|
|
205
|
-
if attributes.has_key?(:'headerImageId')
|
206
|
-
|
207
|
-
|
208
|
-
self.header_image_id = attributes[:'headerImageId']
|
209
|
-
|
210
|
-
|
211
|
-
end
|
212
|
-
|
213
|
-
|
214
|
-
if attributes.has_key?(:'headerImageUrl')
|
215
|
-
|
216
|
-
|
217
|
-
self.header_image_url = attributes[:'headerImageUrl']
|
218
|
-
|
219
|
-
|
220
|
-
end
|
221
|
-
|
222
|
-
|
223
191
|
if attributes.has_key?(:'header')
|
224
192
|
|
225
193
|
|
@@ -332,14 +300,6 @@ module PureCloud
|
|
332
300
|
|
333
301
|
|
334
302
|
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
303
|
|
344
304
|
|
345
305
|
if @question_groups.nil?
|
@@ -410,16 +370,6 @@ module PureCloud
|
|
410
370
|
|
411
371
|
|
412
372
|
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
373
|
|
424
374
|
|
425
375
|
|
@@ -443,8 +393,6 @@ module PureCloud
|
|
443
393
|
disabled == o.disabled &&
|
444
394
|
context_id == o.context_id &&
|
445
395
|
language == o.language &&
|
446
|
-
header_image_id == o.header_image_id &&
|
447
|
-
header_image_url == o.header_image_url &&
|
448
396
|
header == o.header &&
|
449
397
|
footer == o.footer &&
|
450
398
|
question_groups == o.question_groups &&
|
@@ -461,7 +409,7 @@ module PureCloud
|
|
461
409
|
# Calculates hash code according to all attributes.
|
462
410
|
# @return [Fixnum] Hash code
|
463
411
|
def hash
|
464
|
-
[id, name, modified_date, published, disabled, context_id, language,
|
412
|
+
[id, name, modified_date, published, disabled, context_id, language, header, footer, question_groups, published_versions, self_uri].hash
|
465
413
|
end
|
466
414
|
|
467
415
|
# build the object from hash
|
@@ -27,6 +27,8 @@ module PureCloud
|
|
27
27
|
# The number of seconds the presigned URL is valid for (from 1 to 604800 seconds). If none provided, defaults to 600 seconds
|
28
28
|
attr_accessor :signed_url_timeout_seconds
|
29
29
|
|
30
|
+
attr_accessor :server_side_encryption
|
31
|
+
|
30
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
33
|
def self.attribute_map
|
32
34
|
{
|
@@ -35,7 +37,9 @@ module PureCloud
|
|
35
37
|
|
36
38
|
:'content_md5' => :'contentMd5',
|
37
39
|
|
38
|
-
:'signed_url_timeout_seconds' => :'signedUrlTimeoutSeconds'
|
40
|
+
:'signed_url_timeout_seconds' => :'signedUrlTimeoutSeconds',
|
41
|
+
|
42
|
+
:'server_side_encryption' => :'serverSideEncryption'
|
39
43
|
|
40
44
|
}
|
41
45
|
end
|
@@ -48,7 +52,9 @@ module PureCloud
|
|
48
52
|
|
49
53
|
:'content_md5' => :'String',
|
50
54
|
|
51
|
-
:'signed_url_timeout_seconds' => :'Integer'
|
55
|
+
:'signed_url_timeout_seconds' => :'Integer',
|
56
|
+
|
57
|
+
:'server_side_encryption' => :'String'
|
52
58
|
|
53
59
|
}
|
54
60
|
end
|
@@ -89,6 +95,15 @@ module PureCloud
|
|
89
95
|
end
|
90
96
|
|
91
97
|
|
98
|
+
if attributes.has_key?(:'serverSideEncryption')
|
99
|
+
|
100
|
+
|
101
|
+
self.server_side_encryption = attributes[:'serverSideEncryption']
|
102
|
+
|
103
|
+
|
104
|
+
end
|
105
|
+
|
106
|
+
|
92
107
|
end
|
93
108
|
|
94
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -116,6 +131,15 @@ module PureCloud
|
|
116
131
|
|
117
132
|
|
118
133
|
|
134
|
+
|
135
|
+
|
136
|
+
allowed_values = ["AES256"]
|
137
|
+
if @server_side_encryption && !allowed_values.include?(@server_side_encryption)
|
138
|
+
return false
|
139
|
+
end
|
140
|
+
|
141
|
+
|
142
|
+
|
119
143
|
end
|
120
144
|
|
121
145
|
|
@@ -134,6 +158,20 @@ module PureCloud
|
|
134
158
|
|
135
159
|
|
136
160
|
|
161
|
+
|
162
|
+
# Custom attribute writer method checking allowed values (enum).
|
163
|
+
# @param [Object] server_side_encryption Object to be assigned
|
164
|
+
def server_side_encryption=(server_side_encryption)
|
165
|
+
allowed_values = ["AES256"]
|
166
|
+
if server_side_encryption && !allowed_values.include?(server_side_encryption)
|
167
|
+
fail ArgumentError, "invalid value for 'server_side_encryption', must be one of #{allowed_values}."
|
168
|
+
end
|
169
|
+
@server_side_encryption = server_side_encryption
|
170
|
+
end
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
137
175
|
# Checks equality by comparing each attribute.
|
138
176
|
# @param [Object] Object to be compared
|
139
177
|
def ==(o)
|
@@ -141,7 +179,8 @@ module PureCloud
|
|
141
179
|
self.class == o.class &&
|
142
180
|
file_name == o.file_name &&
|
143
181
|
content_md5 == o.content_md5 &&
|
144
|
-
signed_url_timeout_seconds == o.signed_url_timeout_seconds
|
182
|
+
signed_url_timeout_seconds == o.signed_url_timeout_seconds &&
|
183
|
+
server_side_encryption == o.server_side_encryption
|
145
184
|
end
|
146
185
|
|
147
186
|
# @see the `==` method
|
@@ -153,7 +192,7 @@ module PureCloud
|
|
153
192
|
# Calculates hash code according to all attributes.
|
154
193
|
# @return [Fixnum] Hash code
|
155
194
|
def hash
|
156
|
-
[file_name, content_md5, signed_url_timeout_seconds].hash
|
195
|
+
[file_name, content_md5, signed_url_timeout_seconds, server_side_encryption].hash
|
157
196
|
end
|
158
197
|
|
159
198
|
# build the object from hash
|