purecloudplatformclientv2 85.0.1 → 86.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/AnalyticsEvaluation.md +1 -1
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/Callback.md +1 -0
- data/docs/CallbackBasic.md +1 -0
- data/docs/Cobrowsesession.md +1 -0
- data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
- data/docs/ContextIntent.md +13 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/Coretype.md +23 -0
- data/docs/CoretypeListing.md +15 -0
- data/docs/DataExtensionsApi.md +198 -0
- data/docs/DataSchemaListing.md +15 -0
- data/docs/DetectedDialogAct.md +14 -0
- data/docs/DetectedIntent.md +15 -0
- data/docs/DetectedNamedEntity.md +16 -0
- data/docs/DetectedNamedEntityValue.md +14 -0
- data/docs/DialogflowAgent.md +3 -2
- data/docs/Edge.md +1 -1
- data/docs/Email.md +1 -0
- data/docs/EntityListing.md +1 -5
- data/docs/ExternalContactsApi.md +1001 -144
- data/docs/FlowDivisionView.md +2 -0
- data/docs/IntentDefinition.md +15 -0
- data/docs/IntentFeedback.md +16 -0
- data/docs/ItemValidationLimits.md +14 -0
- data/docs/Items.md +14 -0
- data/docs/LanguageUnderstandingApi.md +1160 -0
- data/docs/MaxLength.md +14 -0
- data/docs/Message.md +1 -0
- data/docs/MinLength.md +14 -0
- data/docs/NamedEntityAnnotation.md +13 -0
- data/docs/NamedEntityTypeBinding.md +14 -0
- data/docs/NamedEntityTypeDefinition.md +15 -0
- data/docs/NamedEntityTypeItem.md +14 -0
- data/docs/NamedEntityTypeMechanism.md +15 -0
- data/docs/NluConfusionMatrixColumn.md +14 -0
- data/docs/NluConfusionMatrixRow.md +14 -0
- data/docs/NluDetectionContext.md +14 -0
- data/docs/NluDetectionInput.md +13 -0
- data/docs/NluDetectionOutput.md +14 -0
- data/docs/NluDetectionRequest.md +14 -0
- data/docs/NluDetectionResponse.md +15 -0
- data/docs/NluDomain.md +19 -0
- data/docs/NluDomainListing.md +22 -0
- data/docs/NluDomainVersion.md +24 -0
- data/docs/NluDomainVersionListing.md +22 -0
- data/docs/NluDomainVersionQualityReport.md +15 -0
- data/docs/NluDomainVersionTrainingResponse.md +14 -0
- data/docs/NluFeedbackListing.md +22 -0
- data/docs/NluFeedbackRequest.md +15 -0
- data/docs/NluFeedbackResponse.md +18 -0
- data/docs/NluQualityReportSummary.md +13 -0
- data/docs/NluQualityReportSummaryMetric.md +14 -0
- data/docs/NluUtterance.md +13 -0
- data/docs/NluUtteranceSegment.md +14 -0
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/RoutingApi.md +65 -0
- data/docs/SCIMApi.md +12 -12
- data/docs/Schema.md +17 -0
- data/docs/SchemaQuantityLimits.md +26 -0
- data/docs/ScimV2EnterpriseUser.md +1 -0
- data/docs/Screenshare.md +1 -0
- data/docs/SocialExpression.md +1 -0
- data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
- data/docs/TimeOffRequestListing.md +13 -0
- data/docs/UploadUrlRequest.md +15 -0
- data/docs/UploadUrlResponse.md +14 -0
- data/docs/UploadsApi.md +78 -0
- data/docs/ValidationLimits.md +18 -0
- data/docs/Video.md +1 -0
- data/docs/WorkforceManagementApi.md +297 -448
- data/lib/purecloudplatformclientv2.rb +50 -57
- data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
- data/lib/purecloudplatformclientv2/models/call.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
- data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
- data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
- data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
- data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
- data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
- data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
- data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
- data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
- data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
- data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
- data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
- data/lib/purecloudplatformclientv2/models/message.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
- data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
- data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
- data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
- data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
- data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
- data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
- data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
- data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
- data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
- data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
- data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
- data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
- data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
- data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
- data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
- data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
- data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +102 -116
- data/docs/AsyncWeekScheduleResponse.md +0 -16
- data/docs/CopyShortTermForecastRequest.md +0 -14
- data/docs/CopyWeekScheduleRequest.md +0 -14
- data/docs/CreateQueueMediaAssociationRequest.md +0 -15
- data/docs/CreateServiceGoalGroupRequest.md +0 -15
- data/docs/ForecastGenerationResult.md +0 -13
- data/docs/ForecastGenerationRouteGroupResult.md +0 -14
- data/docs/ForecastResultResponse.md +0 -14
- data/docs/ForecastTimeSeriesResult.md +0 -14
- data/docs/GenerateShortTermForecastRequest.md +0 -13
- data/docs/GenerateShortTermForecastResponse.md +0 -16
- data/docs/GenerateWeekScheduleRequest.md +0 -14
- data/docs/GenerateWeekScheduleResponse.md +0 -15
- data/docs/ImportShortTermForecastRequest.md +0 -16
- data/docs/ImportWeekScheduleRequest.md +0 -17
- data/docs/IntradayDataGroup.md +0 -19
- data/docs/IntradayForecastData.md +0 -15
- data/docs/IntradayHistoricalAgentData.md +0 -14
- data/docs/IntradayHistoricalQueueData.md +0 -20
- data/docs/IntradayMetric.md +0 -14
- data/docs/IntradayPerformancePredictionAgentData.md +0 -13
- data/docs/IntradayPerformancePredictionQueueData.md +0 -15
- data/docs/IntradayQueryDataCommand.md +0 -17
- data/docs/IntradayQueue.md +0 -15
- data/docs/IntradayResponse.md +0 -20
- data/docs/IntradayScheduleData.md +0 -14
- data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
- data/docs/ListWrapperWfmForecastModification.md +0 -13
- data/docs/QueueMediaAssociation.md +0 -16
- data/docs/RescheduleRequest.md +0 -20
- data/docs/RescheduleResult.md +0 -13
- data/docs/ReschedulingOptionsResponse.md +0 -22
- data/docs/RouteGroup.md +0 -18
- data/docs/RouteGroupAttributes.md +0 -16
- data/docs/RouteGroupList.md +0 -14
- data/docs/SchedulingRunListResponse.md +0 -13
- data/docs/SchedulingRunResponse.md +0 -28
- data/docs/ServiceGoalGroup.md +0 -18
- data/docs/ServiceGoalGroupGoals.md +0 -15
- data/docs/ServiceGoalGroupList.md +0 -14
- data/docs/ShortTermForecast.md +0 -22
- data/docs/ShortTermForecastListItemResponse.md +0 -18
- data/docs/ShortTermForecastListResponse.md +0 -13
- data/docs/ShortTermForecastResponse.md +0 -15
- data/docs/TimeOffRequestEntityList.md +0 -13
- data/docs/TimeOffRequestLookupList.md +0 -13
- data/docs/UnscheduledAgentWarning.md +0 -14
- data/docs/UpdateWeekScheduleRequest.md +0 -21
- data/docs/UserSchedulesPartialUploadRequest.md +0 -13
- data/docs/WfmAbandonRate.md +0 -14
- data/docs/WfmAverageSpeedOfAnswer.md +0 -14
- data/docs/WfmForecastModification.md +0 -20
- data/docs/WfmForecastModificationAttributes.md +0 -16
- data/docs/WfmIntradayQueueListing.md +0 -14
- data/docs/WfmServiceLevel.md +0 -15
- data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
- data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
- data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
- data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
- data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
- data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
- data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
- data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
- data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
- data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
- data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -17,20 +17,25 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
class
|
21
|
-
# The
|
22
|
-
attr_accessor :category
|
23
|
-
|
24
|
-
# The current version id for this metric category
|
20
|
+
class NluDomainVersionQualityReport
|
21
|
+
# The domain and version details of the quality report
|
25
22
|
attr_accessor :version
|
26
23
|
|
24
|
+
# The confusion matrix for the Domain Version
|
25
|
+
attr_accessor :confusion_matrix
|
26
|
+
|
27
|
+
# The quality report summary for the Domain Version
|
28
|
+
attr_accessor :summary
|
29
|
+
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
|
31
|
-
:'
|
34
|
+
:'version' => :'version',
|
32
35
|
|
33
|
-
:'
|
36
|
+
:'confusion_matrix' => :'confusionMatrix',
|
37
|
+
|
38
|
+
:'summary' => :'summary'
|
34
39
|
|
35
40
|
}
|
36
41
|
end
|
@@ -39,9 +44,11 @@ module PureCloud
|
|
39
44
|
def self.swagger_types
|
40
45
|
{
|
41
46
|
|
42
|
-
:'
|
47
|
+
:'version' => :'NluDomainVersion',
|
48
|
+
|
49
|
+
:'confusion_matrix' => :'Array<NluConfusionMatrixRow>',
|
43
50
|
|
44
|
-
:'
|
51
|
+
:'summary' => :'NluQualityReportSummary'
|
45
52
|
|
46
53
|
}
|
47
54
|
end
|
@@ -55,19 +62,30 @@ module PureCloud
|
|
55
62
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
56
63
|
|
57
64
|
|
58
|
-
if attributes.has_key?(:'
|
65
|
+
if attributes.has_key?(:'version')
|
59
66
|
|
60
67
|
|
61
|
-
self.
|
68
|
+
self.version = attributes[:'version']
|
62
69
|
|
63
70
|
|
64
71
|
end
|
65
72
|
|
66
73
|
|
67
|
-
if attributes.has_key?(:'
|
74
|
+
if attributes.has_key?(:'confusionMatrix')
|
68
75
|
|
76
|
+
if (value = attributes[:'confusionMatrix']).is_a?(Array)
|
77
|
+
self.confusion_matrix = value
|
78
|
+
end
|
69
79
|
|
70
|
-
|
80
|
+
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
|
85
|
+
if attributes.has_key?(:'summary')
|
86
|
+
|
87
|
+
|
88
|
+
self.summary = attributes[:'summary']
|
71
89
|
|
72
90
|
|
73
91
|
end
|
@@ -89,32 +107,42 @@ module PureCloud
|
|
89
107
|
def valid?
|
90
108
|
|
91
109
|
|
110
|
+
if @version.nil?
|
111
|
+
return false
|
112
|
+
end
|
113
|
+
|
92
114
|
|
93
|
-
|
94
|
-
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
if @confusion_matrix.nil?
|
95
120
|
return false
|
96
121
|
end
|
122
|
+
|
97
123
|
|
98
124
|
|
99
125
|
|
100
126
|
|
101
127
|
|
128
|
+
if @summary.nil?
|
129
|
+
return false
|
130
|
+
end
|
131
|
+
|
132
|
+
|
133
|
+
|
102
134
|
|
103
135
|
|
104
136
|
end
|
105
137
|
|
106
138
|
|
107
139
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
end
|
115
|
-
@category = category
|
116
|
-
end
|
117
|
-
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
118
146
|
|
119
147
|
|
120
148
|
|
@@ -128,8 +156,9 @@ module PureCloud
|
|
128
156
|
def ==(o)
|
129
157
|
return true if self.equal?(o)
|
130
158
|
self.class == o.class &&
|
131
|
-
|
132
|
-
|
159
|
+
version == o.version &&
|
160
|
+
confusion_matrix == o.confusion_matrix &&
|
161
|
+
summary == o.summary
|
133
162
|
end
|
134
163
|
|
135
164
|
# @see the `==` method
|
@@ -141,7 +170,7 @@ module PureCloud
|
|
141
170
|
# Calculates hash code according to all attributes.
|
142
171
|
# @return [Fixnum] Hash code
|
143
172
|
def hash
|
144
|
-
[
|
173
|
+
[version, confusion_matrix, summary].hash
|
145
174
|
end
|
146
175
|
|
147
176
|
# build the object from hash
|
@@ -17,16 +17,19 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
class NluDomainVersionTrainingResponse
|
21
|
+
# A message indicating result of the action.
|
22
|
+
attr_accessor :message
|
23
|
+
|
24
|
+
attr_accessor :version
|
24
25
|
|
25
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
27
|
def self.attribute_map
|
27
28
|
{
|
28
29
|
|
29
|
-
:'
|
30
|
+
:'message' => :'message',
|
31
|
+
|
32
|
+
:'version' => :'version'
|
30
33
|
|
31
34
|
}
|
32
35
|
end
|
@@ -35,7 +38,9 @@ module PureCloud
|
|
35
38
|
def self.swagger_types
|
36
39
|
{
|
37
40
|
|
38
|
-
:'
|
41
|
+
:'message' => :'String',
|
42
|
+
|
43
|
+
:'version' => :'NluDomainVersion'
|
39
44
|
|
40
45
|
}
|
41
46
|
end
|
@@ -49,12 +54,19 @@ module PureCloud
|
|
49
54
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
50
55
|
|
51
56
|
|
52
|
-
if attributes.has_key?(:'
|
57
|
+
if attributes.has_key?(:'message')
|
58
|
+
|
59
|
+
|
60
|
+
self.message = attributes[:'message']
|
61
|
+
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
|
66
|
+
if attributes.has_key?(:'version')
|
53
67
|
|
54
|
-
if (value = attributes[:'userSchedules']).is_a?(Array)
|
55
|
-
self.user_schedules = value
|
56
|
-
end
|
57
68
|
|
69
|
+
self.version = attributes[:'version']
|
58
70
|
|
59
71
|
|
60
72
|
end
|
@@ -76,10 +88,9 @@ module PureCloud
|
|
76
88
|
def valid?
|
77
89
|
|
78
90
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
91
|
+
|
92
|
+
|
93
|
+
|
83
94
|
|
84
95
|
|
85
96
|
|
@@ -92,12 +103,18 @@ module PureCloud
|
|
92
103
|
|
93
104
|
|
94
105
|
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
95
111
|
# Checks equality by comparing each attribute.
|
96
112
|
# @param [Object] Object to be compared
|
97
113
|
def ==(o)
|
98
114
|
return true if self.equal?(o)
|
99
115
|
self.class == o.class &&
|
100
|
-
|
116
|
+
message == o.message &&
|
117
|
+
version == o.version
|
101
118
|
end
|
102
119
|
|
103
120
|
# @see the `==` method
|
@@ -109,7 +126,7 @@ module PureCloud
|
|
109
126
|
# Calculates hash code according to all attributes.
|
110
127
|
# @return [Fixnum] Hash code
|
111
128
|
def hash
|
112
|
-
[
|
129
|
+
[message, version].hash
|
113
130
|
end
|
114
131
|
|
115
132
|
# build the object from hash
|
@@ -17,36 +17,50 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
|
21
|
-
|
22
|
-
# Description for the schedule
|
23
|
-
attr_accessor :description
|
20
|
+
class NluFeedbackListing
|
21
|
+
attr_accessor :entities
|
24
22
|
|
25
|
-
|
26
|
-
attr_accessor :user_schedules
|
23
|
+
attr_accessor :page_size
|
27
24
|
|
28
|
-
|
29
|
-
attr_accessor :published
|
25
|
+
attr_accessor :page_number
|
30
26
|
|
31
|
-
|
32
|
-
attr_accessor :short_term_forecast_id
|
27
|
+
attr_accessor :total
|
33
28
|
|
34
|
-
|
35
|
-
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :next_uri
|
34
|
+
|
35
|
+
attr_accessor :last_uri
|
36
|
+
|
37
|
+
attr_accessor :previous_uri
|
38
|
+
|
39
|
+
attr_accessor :page_count
|
36
40
|
|
37
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
42
|
def self.attribute_map
|
39
43
|
{
|
40
44
|
|
41
|
-
:'
|
45
|
+
:'entities' => :'entities',
|
46
|
+
|
47
|
+
:'page_size' => :'pageSize',
|
48
|
+
|
49
|
+
:'page_number' => :'pageNumber',
|
42
50
|
|
43
|
-
:'
|
51
|
+
:'total' => :'total',
|
44
52
|
|
45
|
-
:'
|
53
|
+
:'first_uri' => :'firstUri',
|
46
54
|
|
47
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
48
56
|
|
49
|
-
:'
|
57
|
+
:'next_uri' => :'nextUri',
|
58
|
+
|
59
|
+
:'last_uri' => :'lastUri',
|
60
|
+
|
61
|
+
:'previous_uri' => :'previousUri',
|
62
|
+
|
63
|
+
:'page_count' => :'pageCount'
|
50
64
|
|
51
65
|
}
|
52
66
|
end
|
@@ -55,15 +69,25 @@ module PureCloud
|
|
55
69
|
def self.swagger_types
|
56
70
|
{
|
57
71
|
|
58
|
-
:'
|
72
|
+
:'entities' => :'Array<NluFeedbackResponse>',
|
73
|
+
|
74
|
+
:'page_size' => :'Integer',
|
75
|
+
|
76
|
+
:'page_number' => :'Integer',
|
77
|
+
|
78
|
+
:'total' => :'Integer',
|
59
79
|
|
60
|
-
:'
|
80
|
+
:'first_uri' => :'String',
|
61
81
|
|
62
|
-
:'
|
82
|
+
:'self_uri' => :'String',
|
63
83
|
|
64
|
-
:'
|
84
|
+
:'next_uri' => :'String',
|
65
85
|
|
66
|
-
:'
|
86
|
+
:'last_uri' => :'String',
|
87
|
+
|
88
|
+
:'previous_uri' => :'String',
|
89
|
+
|
90
|
+
:'page_count' => :'Integer'
|
67
91
|
|
68
92
|
}
|
69
93
|
end
|
@@ -77,50 +101,93 @@ module PureCloud
|
|
77
101
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
78
102
|
|
79
103
|
|
80
|
-
if attributes.has_key?(:'
|
104
|
+
if attributes.has_key?(:'entities')
|
81
105
|
|
106
|
+
if (value = attributes[:'entities']).is_a?(Array)
|
107
|
+
self.entities = value
|
108
|
+
end
|
82
109
|
|
83
|
-
self.description = attributes[:'description']
|
84
110
|
|
85
111
|
|
86
112
|
end
|
87
113
|
|
88
114
|
|
89
|
-
if attributes.has_key?(:'
|
115
|
+
if attributes.has_key?(:'pageSize')
|
90
116
|
|
91
|
-
if (value = attributes[:'userSchedules']).is_a?(Array)
|
92
|
-
self.user_schedules = value
|
93
|
-
end
|
94
117
|
|
118
|
+
self.page_size = attributes[:'pageSize']
|
95
119
|
|
96
120
|
|
97
121
|
end
|
98
122
|
|
99
123
|
|
100
|
-
if attributes.has_key?(:'
|
124
|
+
if attributes.has_key?(:'pageNumber')
|
101
125
|
|
102
126
|
|
103
|
-
self.
|
127
|
+
self.page_number = attributes[:'pageNumber']
|
104
128
|
|
105
129
|
|
106
130
|
end
|
107
131
|
|
108
132
|
|
109
|
-
if attributes.has_key?(:'
|
133
|
+
if attributes.has_key?(:'total')
|
110
134
|
|
111
135
|
|
112
|
-
self.
|
136
|
+
self.total = attributes[:'total']
|
113
137
|
|
114
138
|
|
115
139
|
end
|
116
140
|
|
117
141
|
|
118
|
-
if attributes.has_key?(:'
|
142
|
+
if attributes.has_key?(:'firstUri')
|
143
|
+
|
144
|
+
|
145
|
+
self.first_uri = attributes[:'firstUri']
|
146
|
+
|
147
|
+
|
148
|
+
end
|
149
|
+
|
150
|
+
|
151
|
+
if attributes.has_key?(:'selfUri')
|
119
152
|
|
120
|
-
if (value = attributes[:'partialUploadIds']).is_a?(Array)
|
121
|
-
self.partial_upload_ids = value
|
122
|
-
end
|
123
153
|
|
154
|
+
self.self_uri = attributes[:'selfUri']
|
155
|
+
|
156
|
+
|
157
|
+
end
|
158
|
+
|
159
|
+
|
160
|
+
if attributes.has_key?(:'nextUri')
|
161
|
+
|
162
|
+
|
163
|
+
self.next_uri = attributes[:'nextUri']
|
164
|
+
|
165
|
+
|
166
|
+
end
|
167
|
+
|
168
|
+
|
169
|
+
if attributes.has_key?(:'lastUri')
|
170
|
+
|
171
|
+
|
172
|
+
self.last_uri = attributes[:'lastUri']
|
173
|
+
|
174
|
+
|
175
|
+
end
|
176
|
+
|
177
|
+
|
178
|
+
if attributes.has_key?(:'previousUri')
|
179
|
+
|
180
|
+
|
181
|
+
self.previous_uri = attributes[:'previousUri']
|
182
|
+
|
183
|
+
|
184
|
+
end
|
185
|
+
|
186
|
+
|
187
|
+
if attributes.has_key?(:'pageCount')
|
188
|
+
|
189
|
+
|
190
|
+
self.page_count = attributes[:'pageCount']
|
124
191
|
|
125
192
|
|
126
193
|
end
|
@@ -142,10 +209,25 @@ module PureCloud
|
|
142
209
|
def valid?
|
143
210
|
|
144
211
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
149
231
|
|
150
232
|
|
151
233
|
|
@@ -187,6 +269,31 @@ module PureCloud
|
|
187
269
|
|
188
270
|
|
189
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
|
+
|
190
297
|
|
191
298
|
|
192
299
|
|
@@ -199,11 +306,16 @@ module PureCloud
|
|
199
306
|
def ==(o)
|
200
307
|
return true if self.equal?(o)
|
201
308
|
self.class == o.class &&
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
309
|
+
entities == o.entities &&
|
310
|
+
page_size == o.page_size &&
|
311
|
+
page_number == o.page_number &&
|
312
|
+
total == o.total &&
|
313
|
+
first_uri == o.first_uri &&
|
314
|
+
self_uri == o.self_uri &&
|
315
|
+
next_uri == o.next_uri &&
|
316
|
+
last_uri == o.last_uri &&
|
317
|
+
previous_uri == o.previous_uri &&
|
318
|
+
page_count == o.page_count
|
207
319
|
end
|
208
320
|
|
209
321
|
# @see the `==` method
|
@@ -215,7 +327,7 @@ module PureCloud
|
|
215
327
|
# Calculates hash code according to all attributes.
|
216
328
|
# @return [Fixnum] Hash code
|
217
329
|
def hash
|
218
|
-
[
|
330
|
+
[entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
|
219
331
|
end
|
220
332
|
|
221
333
|
# build the object from hash
|