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,14 +17,15 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
class
|
21
|
-
|
20
|
+
class NamedEntityAnnotation
|
21
|
+
# The name of the annotated named entity.
|
22
|
+
attr_accessor :name
|
22
23
|
|
23
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
25
|
def self.attribute_map
|
25
26
|
{
|
26
27
|
|
27
|
-
:'
|
28
|
+
:'name' => :'name'
|
28
29
|
|
29
30
|
}
|
30
31
|
end
|
@@ -33,7 +34,7 @@ module PureCloud
|
|
33
34
|
def self.swagger_types
|
34
35
|
{
|
35
36
|
|
36
|
-
:'
|
37
|
+
:'name' => :'String'
|
37
38
|
|
38
39
|
}
|
39
40
|
end
|
@@ -47,12 +48,10 @@ module PureCloud
|
|
47
48
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
48
49
|
|
49
50
|
|
50
|
-
if attributes.has_key?(:'
|
51
|
+
if attributes.has_key?(:'name')
|
51
52
|
|
52
|
-
if (value = attributes[:'values']).is_a?(Array)
|
53
|
-
self.values = value
|
54
|
-
end
|
55
53
|
|
54
|
+
self.name = attributes[:'name']
|
56
55
|
|
57
56
|
|
58
57
|
end
|
@@ -74,6 +73,11 @@ module PureCloud
|
|
74
73
|
def valid?
|
75
74
|
|
76
75
|
|
76
|
+
if @name.nil?
|
77
|
+
return false
|
78
|
+
end
|
79
|
+
|
80
|
+
|
77
81
|
|
78
82
|
|
79
83
|
|
@@ -90,7 +94,7 @@ module PureCloud
|
|
90
94
|
def ==(o)
|
91
95
|
return true if self.equal?(o)
|
92
96
|
self.class == o.class &&
|
93
|
-
|
97
|
+
name == o.name
|
94
98
|
end
|
95
99
|
|
96
100
|
# @see the `==` method
|
@@ -102,7 +106,7 @@ module PureCloud
|
|
102
106
|
# Calculates hash code according to all attributes.
|
103
107
|
# @return [Fixnum] Hash code
|
104
108
|
def hash
|
105
|
-
[
|
109
|
+
[name].hash
|
106
110
|
end
|
107
111
|
|
108
112
|
# build the object from hash
|
@@ -17,21 +17,20 @@ 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
|
-
attr_accessor :week_date
|
20
|
+
class NamedEntityTypeBinding
|
21
|
+
# The named entity type of the binding. It can be a built-in one such as builtin:number or a custom entity type such as BeverageType.
|
22
|
+
attr_accessor :entity_type
|
24
23
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
24
|
+
# The name that this named entity type is bound to.
|
25
|
+
attr_accessor :entity_name
|
27
26
|
|
28
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
28
|
def self.attribute_map
|
30
29
|
{
|
31
30
|
|
32
|
-
:'
|
31
|
+
:'entity_type' => :'entityType',
|
33
32
|
|
34
|
-
:'
|
33
|
+
:'entity_name' => :'entityName'
|
35
34
|
|
36
35
|
}
|
37
36
|
end
|
@@ -40,9 +39,9 @@ module PureCloud
|
|
40
39
|
def self.swagger_types
|
41
40
|
{
|
42
41
|
|
43
|
-
:'
|
42
|
+
:'entity_type' => :'String',
|
44
43
|
|
45
|
-
:'
|
44
|
+
:'entity_name' => :'String'
|
46
45
|
|
47
46
|
}
|
48
47
|
end
|
@@ -56,19 +55,19 @@ module PureCloud
|
|
56
55
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
57
56
|
|
58
57
|
|
59
|
-
if attributes.has_key?(:'
|
58
|
+
if attributes.has_key?(:'entityType')
|
60
59
|
|
61
60
|
|
62
|
-
self.
|
61
|
+
self.entity_type = attributes[:'entityType']
|
63
62
|
|
64
63
|
|
65
64
|
end
|
66
65
|
|
67
66
|
|
68
|
-
if attributes.has_key?(:'
|
67
|
+
if attributes.has_key?(:'entityName')
|
69
68
|
|
70
69
|
|
71
|
-
self.
|
70
|
+
self.entity_name = attributes[:'entityName']
|
72
71
|
|
73
72
|
|
74
73
|
end
|
@@ -90,7 +89,7 @@ module PureCloud
|
|
90
89
|
def valid?
|
91
90
|
|
92
91
|
|
93
|
-
if @
|
92
|
+
if @entity_type.nil?
|
94
93
|
return false
|
95
94
|
end
|
96
95
|
|
@@ -99,7 +98,7 @@ module PureCloud
|
|
99
98
|
|
100
99
|
|
101
100
|
|
102
|
-
if @
|
101
|
+
if @entity_name.nil?
|
103
102
|
return false
|
104
103
|
end
|
105
104
|
|
@@ -125,8 +124,8 @@ module PureCloud
|
|
125
124
|
def ==(o)
|
126
125
|
return true if self.equal?(o)
|
127
126
|
self.class == o.class &&
|
128
|
-
|
129
|
-
|
127
|
+
entity_type == o.entity_type &&
|
128
|
+
entity_name == o.entity_name
|
130
129
|
end
|
131
130
|
|
132
131
|
# @see the `==` method
|
@@ -138,7 +137,7 @@ module PureCloud
|
|
138
137
|
# Calculates hash code according to all attributes.
|
139
138
|
# @return [Fixnum] Hash code
|
140
139
|
def hash
|
141
|
-
[
|
140
|
+
[entity_type, entity_name].hash
|
142
141
|
end
|
143
142
|
|
144
143
|
# build the object from hash
|
@@ -17,21 +17,25 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
class NamedEntityTypeDefinition
|
21
|
+
# The name of the entity type.
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# Description of the of the named entity type.
|
23
25
|
attr_accessor :description
|
24
26
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
27
|
+
# The mechanism enabling detection of the named entity type.
|
28
|
+
attr_accessor :mechanism
|
27
29
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
31
33
|
|
34
|
+
:'name' => :'name',
|
35
|
+
|
32
36
|
:'description' => :'description',
|
33
37
|
|
34
|
-
:'
|
38
|
+
:'mechanism' => :'mechanism'
|
35
39
|
|
36
40
|
}
|
37
41
|
end
|
@@ -40,9 +44,11 @@ module PureCloud
|
|
40
44
|
def self.swagger_types
|
41
45
|
{
|
42
46
|
|
47
|
+
:'name' => :'String',
|
48
|
+
|
43
49
|
:'description' => :'String',
|
44
50
|
|
45
|
-
:'
|
51
|
+
:'mechanism' => :'NamedEntityTypeMechanism'
|
46
52
|
|
47
53
|
}
|
48
54
|
end
|
@@ -56,6 +62,15 @@ module PureCloud
|
|
56
62
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
57
63
|
|
58
64
|
|
65
|
+
if attributes.has_key?(:'name')
|
66
|
+
|
67
|
+
|
68
|
+
self.name = attributes[:'name']
|
69
|
+
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
|
59
74
|
if attributes.has_key?(:'description')
|
60
75
|
|
61
76
|
|
@@ -65,10 +80,10 @@ module PureCloud
|
|
65
80
|
end
|
66
81
|
|
67
82
|
|
68
|
-
if attributes.has_key?(:'
|
83
|
+
if attributes.has_key?(:'mechanism')
|
69
84
|
|
70
85
|
|
71
|
-
self.
|
86
|
+
self.mechanism = attributes[:'mechanism']
|
72
87
|
|
73
88
|
|
74
89
|
end
|
@@ -90,7 +105,7 @@ module PureCloud
|
|
90
105
|
def valid?
|
91
106
|
|
92
107
|
|
93
|
-
if @
|
108
|
+
if @name.nil?
|
94
109
|
return false
|
95
110
|
end
|
96
111
|
|
@@ -99,7 +114,11 @@ module PureCloud
|
|
99
114
|
|
100
115
|
|
101
116
|
|
102
|
-
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
if @mechanism.nil?
|
103
122
|
return false
|
104
123
|
end
|
105
124
|
|
@@ -120,13 +139,19 @@ module PureCloud
|
|
120
139
|
|
121
140
|
|
122
141
|
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
123
147
|
# Checks equality by comparing each attribute.
|
124
148
|
# @param [Object] Object to be compared
|
125
149
|
def ==(o)
|
126
150
|
return true if self.equal?(o)
|
127
151
|
self.class == o.class &&
|
152
|
+
name == o.name &&
|
128
153
|
description == o.description &&
|
129
|
-
|
154
|
+
mechanism == o.mechanism
|
130
155
|
end
|
131
156
|
|
132
157
|
# @see the `==` method
|
@@ -138,7 +163,7 @@ module PureCloud
|
|
138
163
|
# Calculates hash code according to all attributes.
|
139
164
|
# @return [Fixnum] Hash code
|
140
165
|
def hash
|
141
|
-
[description,
|
166
|
+
[name, description, mechanism].hash
|
142
167
|
end
|
143
168
|
|
144
169
|
# build the object from hash
|
@@ -17,21 +17,20 @@ 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
|
-
attr_accessor :include
|
20
|
+
class NamedEntityTypeItem
|
21
|
+
# A value for an named entity type definition.
|
22
|
+
attr_accessor :value
|
24
23
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
24
|
+
# Synonyms for the given named entity value.
|
25
|
+
attr_accessor :synonyms
|
27
26
|
|
28
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
28
|
def self.attribute_map
|
30
29
|
{
|
31
30
|
|
32
|
-
:'
|
31
|
+
:'value' => :'value',
|
33
32
|
|
34
|
-
:'
|
33
|
+
:'synonyms' => :'synonyms'
|
35
34
|
|
36
35
|
}
|
37
36
|
end
|
@@ -40,9 +39,9 @@ module PureCloud
|
|
40
39
|
def self.swagger_types
|
41
40
|
{
|
42
41
|
|
43
|
-
:'
|
42
|
+
:'value' => :'String',
|
44
43
|
|
45
|
-
:'
|
44
|
+
:'synonyms' => :'Array<String>'
|
46
45
|
|
47
46
|
}
|
48
47
|
end
|
@@ -56,19 +55,21 @@ module PureCloud
|
|
56
55
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
57
56
|
|
58
57
|
|
59
|
-
if attributes.has_key?(:'
|
58
|
+
if attributes.has_key?(:'value')
|
60
59
|
|
61
60
|
|
62
|
-
self.
|
61
|
+
self.value = attributes[:'value']
|
63
62
|
|
64
63
|
|
65
64
|
end
|
66
65
|
|
67
66
|
|
68
|
-
if attributes.has_key?(:'
|
67
|
+
if attributes.has_key?(:'synonyms')
|
69
68
|
|
69
|
+
if (value = attributes[:'synonyms']).is_a?(Array)
|
70
|
+
self.synonyms = value
|
71
|
+
end
|
70
72
|
|
71
|
-
self.percent = attributes[:'percent']
|
72
73
|
|
73
74
|
|
74
75
|
end
|
@@ -90,7 +91,7 @@ module PureCloud
|
|
90
91
|
def valid?
|
91
92
|
|
92
93
|
|
93
|
-
if @
|
94
|
+
if @value.nil?
|
94
95
|
return false
|
95
96
|
end
|
96
97
|
|
@@ -120,8 +121,8 @@ module PureCloud
|
|
120
121
|
def ==(o)
|
121
122
|
return true if self.equal?(o)
|
122
123
|
self.class == o.class &&
|
123
|
-
|
124
|
-
|
124
|
+
value == o.value &&
|
125
|
+
synonyms == o.synonyms
|
125
126
|
end
|
126
127
|
|
127
128
|
# @see the `==` method
|
@@ -133,7 +134,7 @@ module PureCloud
|
|
133
134
|
# Calculates hash code according to all attributes.
|
134
135
|
# @return [Fixnum] Hash code
|
135
136
|
def hash
|
136
|
-
[
|
137
|
+
[value, synonyms].hash
|
137
138
|
end
|
138
139
|
|
139
140
|
# build the object from hash
|
@@ -17,25 +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 :
|
20
|
+
class NamedEntityTypeMechanism
|
21
|
+
# The items that define the named entity type.
|
22
|
+
attr_accessor :items
|
23
23
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
24
|
+
# Whether the named entity type is restricted to the items provided. Default: false
|
25
|
+
attr_accessor :restricted
|
26
26
|
|
27
|
-
# The
|
28
|
-
attr_accessor :
|
27
|
+
# The type of the mechanism.
|
28
|
+
attr_accessor :type
|
29
29
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
33
|
|
34
|
-
:'
|
34
|
+
:'items' => :'items',
|
35
35
|
|
36
|
-
:'
|
36
|
+
:'restricted' => :'restricted',
|
37
37
|
|
38
|
-
:'
|
38
|
+
:'type' => :'type'
|
39
39
|
|
40
40
|
}
|
41
41
|
end
|
@@ -44,11 +44,11 @@ module PureCloud
|
|
44
44
|
def self.swagger_types
|
45
45
|
{
|
46
46
|
|
47
|
-
:'
|
47
|
+
:'items' => :'Array<NamedEntityTypeItem>',
|
48
48
|
|
49
|
-
:'
|
49
|
+
:'restricted' => :'BOOLEAN',
|
50
50
|
|
51
|
-
:'
|
51
|
+
:'type' => :'String'
|
52
52
|
|
53
53
|
}
|
54
54
|
end
|
@@ -62,28 +62,30 @@ module PureCloud
|
|
62
62
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
63
63
|
|
64
64
|
|
65
|
-
if attributes.has_key?(:'
|
65
|
+
if attributes.has_key?(:'items')
|
66
66
|
|
67
|
+
if (value = attributes[:'items']).is_a?(Array)
|
68
|
+
self.items = value
|
69
|
+
end
|
67
70
|
|
68
|
-
self.status = attributes[:'status']
|
69
71
|
|
70
72
|
|
71
73
|
end
|
72
74
|
|
73
75
|
|
74
|
-
if attributes.has_key?(:'
|
76
|
+
if attributes.has_key?(:'restricted')
|
75
77
|
|
76
78
|
|
77
|
-
self.
|
79
|
+
self.restricted = attributes[:'restricted']
|
78
80
|
|
79
81
|
|
80
82
|
end
|
81
83
|
|
82
84
|
|
83
|
-
if attributes.has_key?(:'
|
85
|
+
if attributes.has_key?(:'type')
|
84
86
|
|
85
87
|
|
86
|
-
self.
|
88
|
+
self.type = attributes[:'type']
|
87
89
|
|
88
90
|
|
89
91
|
end
|
@@ -105,11 +107,12 @@ module PureCloud
|
|
105
107
|
def valid?
|
106
108
|
|
107
109
|
|
108
|
-
|
109
|
-
allowed_values = ["Processing", "Complete", "Canceled", "Error"]
|
110
|
-
if @status && !allowed_values.include?(@status)
|
110
|
+
if @items.nil?
|
111
111
|
return false
|
112
112
|
end
|
113
|
+
|
114
|
+
|
115
|
+
|
113
116
|
|
114
117
|
|
115
118
|
|
@@ -117,24 +120,23 @@ module PureCloud
|
|
117
120
|
|
118
121
|
|
119
122
|
|
123
|
+
if @type.nil?
|
124
|
+
return false
|
125
|
+
end
|
126
|
+
|
120
127
|
|
121
128
|
|
129
|
+
allowed_values = ["List", "Regex", "Unknown"]
|
130
|
+
if @type && !allowed_values.include?(@type)
|
131
|
+
return false
|
132
|
+
end
|
133
|
+
|
122
134
|
|
123
135
|
|
124
136
|
end
|
125
137
|
|
126
138
|
|
127
139
|
|
128
|
-
# Custom attribute writer method checking allowed values (enum).
|
129
|
-
# @param [Object] status Object to be assigned
|
130
|
-
def status=(status)
|
131
|
-
allowed_values = ["Processing", "Complete", "Canceled", "Error"]
|
132
|
-
if status && !allowed_values.include?(status)
|
133
|
-
fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
|
134
|
-
end
|
135
|
-
@status = status
|
136
|
-
end
|
137
|
-
|
138
140
|
|
139
141
|
|
140
142
|
|
@@ -145,6 +147,16 @@ module PureCloud
|
|
145
147
|
|
146
148
|
|
147
149
|
|
150
|
+
# Custom attribute writer method checking allowed values (enum).
|
151
|
+
# @param [Object] type Object to be assigned
|
152
|
+
def type=(type)
|
153
|
+
allowed_values = ["List", "Regex", "Unknown"]
|
154
|
+
if type && !allowed_values.include?(type)
|
155
|
+
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
156
|
+
end
|
157
|
+
@type = type
|
158
|
+
end
|
159
|
+
|
148
160
|
|
149
161
|
|
150
162
|
|
@@ -153,9 +165,9 @@ module PureCloud
|
|
153
165
|
def ==(o)
|
154
166
|
return true if self.equal?(o)
|
155
167
|
self.class == o.class &&
|
156
|
-
|
157
|
-
|
158
|
-
|
168
|
+
items == o.items &&
|
169
|
+
restricted == o.restricted &&
|
170
|
+
type == o.type
|
159
171
|
end
|
160
172
|
|
161
173
|
# @see the `==` method
|
@@ -167,7 +179,7 @@ module PureCloud
|
|
167
179
|
# Calculates hash code according to all attributes.
|
168
180
|
# @return [Fixnum] Hash code
|
169
181
|
def hash
|
170
|
-
[
|
182
|
+
[items, restricted, type].hash
|
171
183
|
end
|
172
184
|
|
173
185
|
# build the object from hash
|