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,23 @@ 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 :
|
20
|
+
class NluDetectionResponse
|
21
|
+
# The NLU domain version which performed the detection.
|
22
|
+
attr_accessor :version
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
attr_accessor :output
|
25
|
+
|
26
|
+
attr_accessor :input
|
26
27
|
|
27
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
29
|
def self.attribute_map
|
29
30
|
{
|
30
31
|
|
31
|
-
:'
|
32
|
+
:'version' => :'version',
|
33
|
+
|
34
|
+
:'output' => :'output',
|
32
35
|
|
33
|
-
:'
|
36
|
+
:'input' => :'input'
|
34
37
|
|
35
38
|
}
|
36
39
|
end
|
@@ -39,9 +42,11 @@ module PureCloud
|
|
39
42
|
def self.swagger_types
|
40
43
|
{
|
41
44
|
|
42
|
-
:'
|
45
|
+
:'version' => :'NluDomainVersion',
|
46
|
+
|
47
|
+
:'output' => :'NluDetectionOutput',
|
43
48
|
|
44
|
-
:'
|
49
|
+
:'input' => :'NluDetectionInput'
|
45
50
|
|
46
51
|
}
|
47
52
|
end
|
@@ -55,21 +60,28 @@ module PureCloud
|
|
55
60
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
56
61
|
|
57
62
|
|
58
|
-
if attributes.has_key?(:'
|
63
|
+
if attributes.has_key?(:'version')
|
59
64
|
|
60
65
|
|
61
|
-
self.
|
66
|
+
self.version = attributes[:'version']
|
62
67
|
|
63
68
|
|
64
69
|
end
|
65
70
|
|
66
71
|
|
67
|
-
if attributes.has_key?(:'
|
72
|
+
if attributes.has_key?(:'output')
|
73
|
+
|
74
|
+
|
75
|
+
self.output = attributes[:'output']
|
76
|
+
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
|
81
|
+
if attributes.has_key?(:'input')
|
68
82
|
|
69
|
-
if (value = attributes[:'routeGroups']).is_a?(Array)
|
70
|
-
self.route_groups = value
|
71
|
-
end
|
72
83
|
|
84
|
+
self.input = attributes[:'input']
|
73
85
|
|
74
86
|
|
75
87
|
end
|
@@ -95,10 +107,9 @@ module PureCloud
|
|
95
107
|
|
96
108
|
|
97
109
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
110
|
+
|
111
|
+
|
112
|
+
|
102
113
|
|
103
114
|
|
104
115
|
|
@@ -116,13 +127,19 @@ module PureCloud
|
|
116
127
|
|
117
128
|
|
118
129
|
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
119
135
|
# Checks equality by comparing each attribute.
|
120
136
|
# @param [Object] Object to be compared
|
121
137
|
def ==(o)
|
122
138
|
return true if self.equal?(o)
|
123
139
|
self.class == o.class &&
|
124
|
-
|
125
|
-
|
140
|
+
version == o.version &&
|
141
|
+
output == o.output &&
|
142
|
+
input == o.input
|
126
143
|
end
|
127
144
|
|
128
145
|
# @see the `==` method
|
@@ -134,7 +151,7 @@ module PureCloud
|
|
134
151
|
# Calculates hash code according to all attributes.
|
135
152
|
# @return [Fixnum] Hash code
|
136
153
|
def hash
|
137
|
-
[
|
154
|
+
[version, output, input].hash
|
138
155
|
end
|
139
156
|
|
140
157
|
# build the object from hash
|
@@ -17,25 +17,27 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
|
21
|
-
class ShortTermForecastListItemResponse
|
20
|
+
class NluDomain
|
22
21
|
# The globally unique identifier for the object.
|
23
22
|
attr_accessor :id
|
24
23
|
|
25
|
-
# The
|
26
|
-
attr_accessor :
|
24
|
+
# The name of the NLU domain.
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# The draft version of that NLU domain.
|
28
|
+
attr_accessor :draft_version
|
27
29
|
|
28
|
-
# The
|
29
|
-
attr_accessor :
|
30
|
+
# The last published version of that NLU domain.
|
31
|
+
attr_accessor :last_published_version
|
30
32
|
|
31
|
-
# The
|
32
|
-
attr_accessor :
|
33
|
+
# The date when the NLU domain was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
34
|
+
attr_accessor :date_created
|
33
35
|
|
34
|
-
# The
|
35
|
-
attr_accessor :
|
36
|
+
# The date when the NLU domain was updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
37
|
+
attr_accessor :date_modified
|
36
38
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
39
|
+
# The URI for this object
|
40
|
+
attr_accessor :self_uri
|
39
41
|
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
43
|
def self.attribute_map
|
@@ -43,15 +45,17 @@ module PureCloud
|
|
43
45
|
|
44
46
|
:'id' => :'id',
|
45
47
|
|
46
|
-
:'
|
48
|
+
:'name' => :'name',
|
47
49
|
|
48
|
-
:'
|
50
|
+
:'draft_version' => :'draftVersion',
|
49
51
|
|
50
|
-
:'
|
52
|
+
:'last_published_version' => :'lastPublishedVersion',
|
51
53
|
|
52
|
-
:'
|
54
|
+
:'date_created' => :'dateCreated',
|
53
55
|
|
54
|
-
:'
|
56
|
+
:'date_modified' => :'dateModified',
|
57
|
+
|
58
|
+
:'self_uri' => :'selfUri'
|
55
59
|
|
56
60
|
}
|
57
61
|
end
|
@@ -62,15 +66,17 @@ module PureCloud
|
|
62
66
|
|
63
67
|
:'id' => :'String',
|
64
68
|
|
65
|
-
:'
|
69
|
+
:'name' => :'String',
|
70
|
+
|
71
|
+
:'draft_version' => :'NluDomainVersion',
|
66
72
|
|
67
|
-
:'
|
73
|
+
:'last_published_version' => :'NluDomainVersion',
|
68
74
|
|
69
|
-
:'
|
75
|
+
:'date_created' => :'DateTime',
|
70
76
|
|
71
|
-
:'
|
77
|
+
:'date_modified' => :'DateTime',
|
72
78
|
|
73
|
-
:'
|
79
|
+
:'self_uri' => :'String'
|
74
80
|
|
75
81
|
}
|
76
82
|
end
|
@@ -93,46 +99,55 @@ module PureCloud
|
|
93
99
|
end
|
94
100
|
|
95
101
|
|
96
|
-
if attributes.has_key?(:'
|
102
|
+
if attributes.has_key?(:'name')
|
97
103
|
|
98
104
|
|
99
|
-
self.
|
105
|
+
self.name = attributes[:'name']
|
106
|
+
|
107
|
+
|
108
|
+
end
|
109
|
+
|
110
|
+
|
111
|
+
if attributes.has_key?(:'draftVersion')
|
112
|
+
|
113
|
+
|
114
|
+
self.draft_version = attributes[:'draftVersion']
|
100
115
|
|
101
116
|
|
102
117
|
end
|
103
118
|
|
104
119
|
|
105
|
-
if attributes.has_key?(:'
|
120
|
+
if attributes.has_key?(:'lastPublishedVersion')
|
106
121
|
|
107
122
|
|
108
|
-
self.
|
123
|
+
self.last_published_version = attributes[:'lastPublishedVersion']
|
109
124
|
|
110
125
|
|
111
126
|
end
|
112
127
|
|
113
128
|
|
114
|
-
if attributes.has_key?(:'
|
129
|
+
if attributes.has_key?(:'dateCreated')
|
115
130
|
|
116
131
|
|
117
|
-
self.
|
132
|
+
self.date_created = attributes[:'dateCreated']
|
118
133
|
|
119
134
|
|
120
135
|
end
|
121
136
|
|
122
137
|
|
123
|
-
if attributes.has_key?(:'
|
138
|
+
if attributes.has_key?(:'dateModified')
|
124
139
|
|
125
140
|
|
126
|
-
self.
|
141
|
+
self.date_modified = attributes[:'dateModified']
|
127
142
|
|
128
143
|
|
129
144
|
end
|
130
145
|
|
131
146
|
|
132
|
-
if attributes.has_key?(:'
|
147
|
+
if attributes.has_key?(:'selfUri')
|
133
148
|
|
134
149
|
|
135
|
-
self.
|
150
|
+
self.self_uri = attributes[:'selfUri']
|
136
151
|
|
137
152
|
|
138
153
|
end
|
@@ -158,14 +173,16 @@ module PureCloud
|
|
158
173
|
|
159
174
|
|
160
175
|
|
176
|
+
if @name.nil?
|
177
|
+
return false
|
178
|
+
end
|
179
|
+
|
180
|
+
|
181
|
+
|
161
182
|
|
162
183
|
|
163
184
|
|
164
185
|
|
165
|
-
if @week_date.nil?
|
166
|
-
return false
|
167
|
-
end
|
168
|
-
|
169
186
|
|
170
187
|
|
171
188
|
|
@@ -176,18 +193,10 @@ module PureCloud
|
|
176
193
|
|
177
194
|
|
178
195
|
|
179
|
-
allowed_values = ["Import", "HistoricalWeightedAverage", "Advanced"]
|
180
|
-
if @creation_method && !allowed_values.include?(@creation_method)
|
181
|
-
return false
|
182
|
-
end
|
183
196
|
|
184
197
|
|
185
198
|
|
186
199
|
|
187
|
-
if @metadata.nil?
|
188
|
-
return false
|
189
|
-
end
|
190
|
-
|
191
200
|
|
192
201
|
|
193
202
|
|
@@ -216,16 +225,12 @@ module PureCloud
|
|
216
225
|
|
217
226
|
|
218
227
|
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
end
|
226
|
-
@creation_method = creation_method
|
227
|
-
end
|
228
|
-
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
229
234
|
|
230
235
|
|
231
236
|
|
@@ -240,11 +245,12 @@ module PureCloud
|
|
240
245
|
return true if self.equal?(o)
|
241
246
|
self.class == o.class &&
|
242
247
|
id == o.id &&
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
+
name == o.name &&
|
249
|
+
draft_version == o.draft_version &&
|
250
|
+
last_published_version == o.last_published_version &&
|
251
|
+
date_created == o.date_created &&
|
252
|
+
date_modified == o.date_modified &&
|
253
|
+
self_uri == o.self_uri
|
248
254
|
end
|
249
255
|
|
250
256
|
# @see the `==` method
|
@@ -256,7 +262,7 @@ module PureCloud
|
|
256
262
|
# Calculates hash code according to all attributes.
|
257
263
|
# @return [Fixnum] Hash code
|
258
264
|
def hash
|
259
|
-
[id,
|
265
|
+
[id, name, draft_version, last_published_version, date_created, date_modified, self_uri].hash
|
260
266
|
end
|
261
267
|
|
262
268
|
# build the object from hash
|
data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb}
RENAMED
@@ -17,35 +17,50 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
class
|
21
|
-
|
22
|
-
attr_accessor :start_date
|
20
|
+
class NluDomainListing
|
21
|
+
attr_accessor :entities
|
23
22
|
|
24
|
-
|
25
|
-
attr_accessor :end_date
|
23
|
+
attr_accessor :page_size
|
26
24
|
|
27
|
-
|
28
|
-
attr_accessor :metrics
|
25
|
+
attr_accessor :page_number
|
29
26
|
|
30
|
-
|
31
|
-
attr_accessor :queue_ids
|
27
|
+
attr_accessor :total
|
32
28
|
|
33
|
-
|
34
|
-
|
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
|
35
40
|
|
36
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
42
|
def self.attribute_map
|
38
43
|
{
|
39
44
|
|
40
|
-
:'
|
45
|
+
:'entities' => :'entities',
|
46
|
+
|
47
|
+
:'page_size' => :'pageSize',
|
48
|
+
|
49
|
+
:'page_number' => :'pageNumber',
|
41
50
|
|
42
|
-
:'
|
51
|
+
:'total' => :'total',
|
43
52
|
|
44
|
-
:'
|
53
|
+
:'first_uri' => :'firstUri',
|
45
54
|
|
46
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
47
56
|
|
48
|
-
:'
|
57
|
+
:'next_uri' => :'nextUri',
|
58
|
+
|
59
|
+
:'last_uri' => :'lastUri',
|
60
|
+
|
61
|
+
:'previous_uri' => :'previousUri',
|
62
|
+
|
63
|
+
:'page_count' => :'pageCount'
|
49
64
|
|
50
65
|
}
|
51
66
|
end
|
@@ -54,15 +69,25 @@ module PureCloud
|
|
54
69
|
def self.swagger_types
|
55
70
|
{
|
56
71
|
|
57
|
-
:'
|
72
|
+
:'entities' => :'Array<NluDomain>',
|
73
|
+
|
74
|
+
:'page_size' => :'Integer',
|
75
|
+
|
76
|
+
:'page_number' => :'Integer',
|
77
|
+
|
78
|
+
:'total' => :'Integer',
|
58
79
|
|
59
|
-
:'
|
80
|
+
:'first_uri' => :'String',
|
60
81
|
|
61
|
-
:'
|
82
|
+
:'self_uri' => :'String',
|
62
83
|
|
63
|
-
:'
|
84
|
+
:'next_uri' => :'String',
|
64
85
|
|
65
|
-
:'
|
86
|
+
:'last_uri' => :'String',
|
87
|
+
|
88
|
+
:'previous_uri' => :'String',
|
89
|
+
|
90
|
+
:'page_count' => :'Integer'
|
66
91
|
|
67
92
|
}
|
68
93
|
end
|
@@ -76,50 +101,93 @@ module PureCloud
|
|
76
101
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
77
102
|
|
78
103
|
|
79
|
-
if attributes.has_key?(:'
|
104
|
+
if attributes.has_key?(:'entities')
|
80
105
|
|
106
|
+
if (value = attributes[:'entities']).is_a?(Array)
|
107
|
+
self.entities = value
|
108
|
+
end
|
81
109
|
|
82
|
-
self.start_date = attributes[:'startDate']
|
83
110
|
|
84
111
|
|
85
112
|
end
|
86
113
|
|
87
114
|
|
88
|
-
if attributes.has_key?(:'
|
115
|
+
if attributes.has_key?(:'pageSize')
|
89
116
|
|
90
117
|
|
91
|
-
self.
|
118
|
+
self.page_size = attributes[:'pageSize']
|
92
119
|
|
93
120
|
|
94
121
|
end
|
95
122
|
|
96
123
|
|
97
|
-
if attributes.has_key?(:'
|
124
|
+
if attributes.has_key?(:'pageNumber')
|
98
125
|
|
99
|
-
if (value = attributes[:'metrics']).is_a?(Array)
|
100
|
-
self.metrics = value
|
101
|
-
end
|
102
126
|
|
127
|
+
self.page_number = attributes[:'pageNumber']
|
103
128
|
|
104
129
|
|
105
130
|
end
|
106
131
|
|
107
132
|
|
108
|
-
if attributes.has_key?(:'
|
133
|
+
if attributes.has_key?(:'total')
|
109
134
|
|
110
|
-
if (value = attributes[:'queueIds']).is_a?(Array)
|
111
|
-
self.queue_ids = value
|
112
|
-
end
|
113
135
|
|
136
|
+
self.total = attributes[:'total']
|
114
137
|
|
115
138
|
|
116
139
|
end
|
117
140
|
|
118
141
|
|
119
|
-
if attributes.has_key?(:'
|
142
|
+
if attributes.has_key?(:'firstUri')
|
120
143
|
|
121
144
|
|
122
|
-
self.
|
145
|
+
self.first_uri = attributes[:'firstUri']
|
146
|
+
|
147
|
+
|
148
|
+
end
|
149
|
+
|
150
|
+
|
151
|
+
if attributes.has_key?(:'selfUri')
|
152
|
+
|
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']
|
123
191
|
|
124
192
|
|
125
193
|
end
|
@@ -141,28 +209,33 @@ module PureCloud
|
|
141
209
|
def valid?
|
142
210
|
|
143
211
|
|
144
|
-
if @start_date.nil?
|
145
|
-
return false
|
146
|
-
end
|
147
|
-
|
148
212
|
|
149
213
|
|
150
214
|
|
151
215
|
|
152
216
|
|
153
|
-
if @end_date.nil?
|
154
|
-
return false
|
155
|
-
end
|
156
|
-
|
157
217
|
|
158
218
|
|
159
219
|
|
160
220
|
|
161
221
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
166
239
|
|
167
240
|
|
168
241
|
|
@@ -196,6 +269,31 @@ module PureCloud
|
|
196
269
|
|
197
270
|
|
198
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
|
+
|
199
297
|
|
200
298
|
|
201
299
|
|
@@ -208,11 +306,16 @@ module PureCloud
|
|
208
306
|
def ==(o)
|
209
307
|
return true if self.equal?(o)
|
210
308
|
self.class == o.class &&
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
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
|
216
319
|
end
|
217
320
|
|
218
321
|
# @see the `==` method
|
@@ -224,7 +327,7 @@ module PureCloud
|
|
224
327
|
# Calculates hash code according to all attributes.
|
225
328
|
# @return [Fixnum] Hash code
|
226
329
|
def hash
|
227
|
-
[
|
330
|
+
[entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
|
228
331
|
end
|
229
332
|
|
230
333
|
# build the object from hash
|