purecloudplatformclientv2 86.0.0 → 91.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/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 +60 -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/BuAgentScheduleActivity.md +2 -0
- data/docs/BuRescheduleRequest.md +2 -2
- data/docs/CoachingAnnotation.md +21 -0
- data/docs/CoachingAnnotationCreateRequest.md +14 -0
- data/docs/CoachingAnnotationList.md +22 -0
- data/docs/CoachingApi.md +1132 -0
- data/docs/CoachingAppointmentReference.md +14 -0
- data/docs/CoachingAppointmentResponse.md +27 -0
- data/docs/CoachingAppointmentResponseList.md +22 -0
- data/docs/CoachingAppointmentStatusDto.md +16 -0
- data/docs/CoachingAppointmentStatusDtoList.md +17 -0
- data/docs/CoachingNotification.md +23 -0
- data/docs/CoachingNotificationList.md +22 -0
- data/docs/ConversationAggregationQuery.md +1 -1
- data/docs/ConversationEventTopicCall.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/ConversationEventTopicChat.md +1 -0
- data/docs/ConversationEventTopicCobrowse.md +1 -0
- data/docs/ConversationEventTopicEmail.md +1 -0
- data/docs/ConversationEventTopicMessage.md +1 -0
- data/docs/ConversationEventTopicScreenshare.md +1 -0
- data/docs/ConversationEventTopicSocialExpression.md +1 -0
- data/docs/ConversationEventTopicVideo.md +1 -0
- data/docs/ConversationReference.md +14 -0
- data/docs/CreateCoachingAppointmentRequest.md +20 -0
- data/docs/CreateQueueRequest.md +1 -0
- data/docs/DocumentReference.md +14 -0
- data/docs/EntityListing.md +5 -1
- 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/GroupsApi.md +4 -4
- data/docs/IdentityProviderApi.md +187 -0
- data/docs/IpAddressAuthentication.md +13 -0
- data/docs/KnowledgeSearchResponse.md +1 -1
- data/docs/NluDomainVersion.md +1 -0
- data/docs/OAuthApi.md +208 -0
- data/docs/OrganizationApi.md +126 -0
- data/docs/Prompt.md +2 -2
- data/docs/Queue.md +1 -0
- data/docs/QueueConversationEventTopicCall.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationEventTopicChat.md +1 -0
- data/docs/QueueConversationEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationEventTopicEmail.md +1 -0
- data/docs/QueueConversationEventTopicMessage.md +1 -0
- data/docs/QueueConversationEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationEventTopicVideo.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
- data/docs/QueueConversationVideoEventTopicCall.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicChat.md +1 -0
- data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
- data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
- data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
- data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
- data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
- data/docs/QueueConversationVideoEventTopicVideo.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/UpdateCoachingAppointmentRequest.md +18 -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/WemLearningAssignmentRuleRunTopicLearningAssignmentRuleRunNotification.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated.md +13 -0
- data/docs/WemLearningAssignmentTopicLearningAssignmentNotification.md +22 -0
- data/docs/WemLearningAssignmentTopicLearningModuleReference.md +14 -0
- data/docs/WemLearningAssignmentTopicUserReference.md +13 -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 +44 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/coaching_api.rb +1296 -0
- data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
- 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/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/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/bu_agent_schedule_activity.rb +70 -4
- data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
- data/lib/purecloudplatformclientv2/models/coaching_annotation.rb +429 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_create_request.rb +252 -0
- data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +587 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +428 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto.rb +299 -0
- data/lib/purecloudplatformclientv2/models/coaching_appointment_status_dto_list.rb +303 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification.rb +504 -0
- data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +428 -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/conversation_chat.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/create_coaching_appointment_request.rb +426 -0
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/document_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +104 -4
- 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/ip_address_authentication.rb +203 -0
- data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
- data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +41 -1
- 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_conversation_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -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/update_coaching_appointment_request.rb +337 -0
- 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/wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb +228 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_module_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_wem_learning_assignments_created.rb +201 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_assignment_notification.rb +440 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_module_reference.rb +226 -0
- data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_user_reference.rb +201 -0
- 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 +90 -2
@@ -0,0 +1,426 @@
|
|
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@genesys.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
# Create coaching appointment request
|
21
|
+
class CreateCoachingAppointmentRequest
|
22
|
+
# The name of coaching appointment.
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
# The description of coaching appointment.
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
# The date/time the coaching appointment starts. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
29
|
+
attr_accessor :date_start
|
30
|
+
|
31
|
+
# The duration of coaching appointment in minutes.
|
32
|
+
attr_accessor :length_in_minutes
|
33
|
+
|
34
|
+
# The facilitator ID of coaching appointment.
|
35
|
+
attr_accessor :facilitator_id
|
36
|
+
|
37
|
+
# IDs of attendees in the coaching appointment.
|
38
|
+
attr_accessor :attendee_ids
|
39
|
+
|
40
|
+
# IDs of conversations associated with this coaching appointment.
|
41
|
+
attr_accessor :conversation_ids
|
42
|
+
|
43
|
+
# IDs of documents associated with this coaching appointment.
|
44
|
+
attr_accessor :document_ids
|
45
|
+
|
46
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
47
|
+
def self.attribute_map
|
48
|
+
{
|
49
|
+
|
50
|
+
:'name' => :'name',
|
51
|
+
|
52
|
+
:'description' => :'description',
|
53
|
+
|
54
|
+
:'date_start' => :'dateStart',
|
55
|
+
|
56
|
+
:'length_in_minutes' => :'lengthInMinutes',
|
57
|
+
|
58
|
+
:'facilitator_id' => :'facilitatorId',
|
59
|
+
|
60
|
+
:'attendee_ids' => :'attendeeIds',
|
61
|
+
|
62
|
+
:'conversation_ids' => :'conversationIds',
|
63
|
+
|
64
|
+
:'document_ids' => :'documentIds'
|
65
|
+
|
66
|
+
}
|
67
|
+
end
|
68
|
+
|
69
|
+
# Attribute type mapping.
|
70
|
+
def self.swagger_types
|
71
|
+
{
|
72
|
+
|
73
|
+
:'name' => :'String',
|
74
|
+
|
75
|
+
:'description' => :'String',
|
76
|
+
|
77
|
+
:'date_start' => :'DateTime',
|
78
|
+
|
79
|
+
:'length_in_minutes' => :'Integer',
|
80
|
+
|
81
|
+
:'facilitator_id' => :'String',
|
82
|
+
|
83
|
+
:'attendee_ids' => :'Array<String>',
|
84
|
+
|
85
|
+
:'conversation_ids' => :'Array<String>',
|
86
|
+
|
87
|
+
:'document_ids' => :'Array<String>'
|
88
|
+
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# Initializes the object
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
94
|
+
def initialize(attributes = {})
|
95
|
+
return unless attributes.is_a?(Hash)
|
96
|
+
|
97
|
+
# convert string to symbol for hash key
|
98
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
99
|
+
|
100
|
+
|
101
|
+
if attributes.has_key?(:'name')
|
102
|
+
|
103
|
+
|
104
|
+
self.name = attributes[:'name']
|
105
|
+
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
|
110
|
+
if attributes.has_key?(:'description')
|
111
|
+
|
112
|
+
|
113
|
+
self.description = attributes[:'description']
|
114
|
+
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
|
119
|
+
if attributes.has_key?(:'dateStart')
|
120
|
+
|
121
|
+
|
122
|
+
self.date_start = attributes[:'dateStart']
|
123
|
+
|
124
|
+
|
125
|
+
end
|
126
|
+
|
127
|
+
|
128
|
+
if attributes.has_key?(:'lengthInMinutes')
|
129
|
+
|
130
|
+
|
131
|
+
self.length_in_minutes = attributes[:'lengthInMinutes']
|
132
|
+
|
133
|
+
|
134
|
+
end
|
135
|
+
|
136
|
+
|
137
|
+
if attributes.has_key?(:'facilitatorId')
|
138
|
+
|
139
|
+
|
140
|
+
self.facilitator_id = attributes[:'facilitatorId']
|
141
|
+
|
142
|
+
|
143
|
+
end
|
144
|
+
|
145
|
+
|
146
|
+
if attributes.has_key?(:'attendeeIds')
|
147
|
+
|
148
|
+
if (value = attributes[:'attendeeIds']).is_a?(Array)
|
149
|
+
self.attendee_ids = value
|
150
|
+
end
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
end
|
155
|
+
|
156
|
+
|
157
|
+
if attributes.has_key?(:'conversationIds')
|
158
|
+
|
159
|
+
if (value = attributes[:'conversationIds']).is_a?(Array)
|
160
|
+
self.conversation_ids = value
|
161
|
+
end
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
|
168
|
+
if attributes.has_key?(:'documentIds')
|
169
|
+
|
170
|
+
if (value = attributes[:'documentIds']).is_a?(Array)
|
171
|
+
self.document_ids = value
|
172
|
+
end
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
|
179
|
+
end
|
180
|
+
|
181
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
182
|
+
# @return Array for valid properies with the reasons
|
183
|
+
def list_invalid_properties
|
184
|
+
invalid_properties = Array.new
|
185
|
+
|
186
|
+
|
187
|
+
return invalid_properties
|
188
|
+
end
|
189
|
+
|
190
|
+
# Check to see if the all the properties in the model are valid
|
191
|
+
# @return true if the model is valid
|
192
|
+
def valid?
|
193
|
+
|
194
|
+
|
195
|
+
if @name.nil?
|
196
|
+
return false
|
197
|
+
end
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
if @description.nil?
|
205
|
+
return false
|
206
|
+
end
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
if @date_start.nil?
|
214
|
+
return false
|
215
|
+
end
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
if @length_in_minutes.nil?
|
223
|
+
return false
|
224
|
+
end
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
if @attendee_ids.nil?
|
236
|
+
return false
|
237
|
+
end
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
if @conversation_ids.nil?
|
245
|
+
return false
|
246
|
+
end
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
if @document_ids.nil?
|
254
|
+
return false
|
255
|
+
end
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
end
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
# Checks equality by comparing each attribute.
|
305
|
+
# @param [Object] Object to be compared
|
306
|
+
def ==(o)
|
307
|
+
return true if self.equal?(o)
|
308
|
+
self.class == o.class &&
|
309
|
+
name == o.name &&
|
310
|
+
description == o.description &&
|
311
|
+
date_start == o.date_start &&
|
312
|
+
length_in_minutes == o.length_in_minutes &&
|
313
|
+
facilitator_id == o.facilitator_id &&
|
314
|
+
attendee_ids == o.attendee_ids &&
|
315
|
+
conversation_ids == o.conversation_ids &&
|
316
|
+
document_ids == o.document_ids
|
317
|
+
end
|
318
|
+
|
319
|
+
# @see the `==` method
|
320
|
+
# @param [Object] Object to be compared
|
321
|
+
def eql?(o)
|
322
|
+
self == o
|
323
|
+
end
|
324
|
+
|
325
|
+
# Calculates hash code according to all attributes.
|
326
|
+
# @return [Fixnum] Hash code
|
327
|
+
def hash
|
328
|
+
[name, description, date_start, length_in_minutes, facilitator_id, attendee_ids, conversation_ids, document_ids].hash
|
329
|
+
end
|
330
|
+
|
331
|
+
# build the object from hash
|
332
|
+
def build_from_hash(attributes)
|
333
|
+
return nil unless attributes.is_a?(Hash)
|
334
|
+
self.class.swagger_types.each_pair do |key, type|
|
335
|
+
if type =~ /^Array<(.*)>/i
|
336
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
337
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
338
|
+
else
|
339
|
+
#TODO show warning in debug mode
|
340
|
+
end
|
341
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
342
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
343
|
+
else
|
344
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
self
|
349
|
+
end
|
350
|
+
|
351
|
+
def _deserialize(type, value)
|
352
|
+
case type.to_sym
|
353
|
+
when :DateTime
|
354
|
+
DateTime.parse(value)
|
355
|
+
when :Date
|
356
|
+
Date.parse(value)
|
357
|
+
when :String
|
358
|
+
value.to_s
|
359
|
+
when :Integer
|
360
|
+
value.to_i
|
361
|
+
when :Float
|
362
|
+
value.to_f
|
363
|
+
when :BOOLEAN
|
364
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
365
|
+
true
|
366
|
+
else
|
367
|
+
false
|
368
|
+
end
|
369
|
+
when :Object
|
370
|
+
# generic object (usually a Hash), return directly
|
371
|
+
value
|
372
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
373
|
+
inner_type = Regexp.last_match[:inner_type]
|
374
|
+
value.map { |v| _deserialize(inner_type, v) }
|
375
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
376
|
+
k_type = Regexp.last_match[:k_type]
|
377
|
+
v_type = Regexp.last_match[:v_type]
|
378
|
+
{}.tap do |hash|
|
379
|
+
value.each do |k, v|
|
380
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
381
|
+
end
|
382
|
+
end
|
383
|
+
else # model
|
384
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
385
|
+
_model.build_from_hash(value)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
def to_s
|
390
|
+
to_hash.to_s
|
391
|
+
end
|
392
|
+
|
393
|
+
# to_body is an alias to to_body (backward compatibility))
|
394
|
+
def to_body
|
395
|
+
to_hash
|
396
|
+
end
|
397
|
+
|
398
|
+
# return the object in the form of hash
|
399
|
+
def to_hash
|
400
|
+
hash = {}
|
401
|
+
self.class.attribute_map.each_pair do |attr, param|
|
402
|
+
value = self.send(attr)
|
403
|
+
next if value.nil?
|
404
|
+
hash[param] = _to_hash(value)
|
405
|
+
end
|
406
|
+
hash
|
407
|
+
end
|
408
|
+
|
409
|
+
# Method to output non-array value in the form of hash
|
410
|
+
# For object, use to_hash. Otherwise, just return the value
|
411
|
+
def _to_hash(value)
|
412
|
+
if value.is_a?(Array)
|
413
|
+
value.compact.map{ |v| _to_hash(v) }
|
414
|
+
elsif value.is_a?(Hash)
|
415
|
+
{}.tap do |hash|
|
416
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
417
|
+
end
|
418
|
+
elsif value.respond_to? :to_hash
|
419
|
+
value.to_hash
|
420
|
+
else
|
421
|
+
value
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
end
|
426
|
+
end
|
@@ -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
|
|
@@ -110,6 +113,8 @@ module PureCloud
|
|
110
113
|
|
111
114
|
:'media_settings' => :'mediaSettings',
|
112
115
|
|
116
|
+
:'routing_rules' => :'routingRules',
|
117
|
+
|
113
118
|
:'bullseye' => :'bullseye',
|
114
119
|
|
115
120
|
:'acw_settings' => :'acwSettings',
|
@@ -163,6 +168,8 @@ module PureCloud
|
|
163
168
|
|
164
169
|
:'media_settings' => :'Hash<String, MediaSetting>',
|
165
170
|
|
171
|
+
:'routing_rules' => :'Array<RoutingRule>',
|
172
|
+
|
166
173
|
:'bullseye' => :'Bullseye',
|
167
174
|
|
168
175
|
:'acw_settings' => :'AcwSettings',
|
@@ -290,6 +297,17 @@ module PureCloud
|
|
290
297
|
|
291
298
|
|
292
299
|
|
300
|
+
end
|
301
|
+
|
302
|
+
|
303
|
+
if attributes.has_key?(:'routingRules')
|
304
|
+
|
305
|
+
if (value = attributes[:'routingRules']).is_a?(Array)
|
306
|
+
self.routing_rules = value
|
307
|
+
end
|
308
|
+
|
309
|
+
|
310
|
+
|
293
311
|
end
|
294
312
|
|
295
313
|
|
@@ -477,6 +495,10 @@ module PureCloud
|
|
477
495
|
|
478
496
|
|
479
497
|
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
480
502
|
|
481
503
|
|
482
504
|
|
@@ -587,6 +609,11 @@ module PureCloud
|
|
587
609
|
|
588
610
|
|
589
611
|
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
|
616
|
+
|
590
617
|
|
591
618
|
|
592
619
|
|
@@ -671,6 +698,7 @@ module PureCloud
|
|
671
698
|
created_by == o.created_by &&
|
672
699
|
member_count == o.member_count &&
|
673
700
|
media_settings == o.media_settings &&
|
701
|
+
routing_rules == o.routing_rules &&
|
674
702
|
bullseye == o.bullseye &&
|
675
703
|
acw_settings == o.acw_settings &&
|
676
704
|
skill_evaluation_method == o.skill_evaluation_method &&
|
@@ -695,7 +723,7 @@ module PureCloud
|
|
695
723
|
# Calculates hash code according to all attributes.
|
696
724
|
# @return [Fixnum] Hash code
|
697
725
|
def hash
|
698
|
-
[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, source_queue_id, self_uri].hash
|
726
|
+
[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, source_queue_id, self_uri].hash
|
699
727
|
end
|
700
728
|
|
701
729
|
# build the object from hash
|