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,60 +17,64 @@ 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 Coretype
|
21
|
+
# The globally unique identifier for the object.
|
22
|
+
attr_accessor :id
|
23
23
|
|
24
|
-
|
25
|
-
attr_accessor :end_date
|
24
|
+
attr_accessor :name
|
26
25
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
26
|
+
# A positive integer denoting the core type's version
|
27
|
+
attr_accessor :version
|
29
28
|
|
30
|
-
# The
|
31
|
-
attr_accessor :
|
29
|
+
# The date the core type was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
30
|
+
attr_accessor :date_created
|
32
31
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
32
|
+
# The core type's built-in schema
|
33
|
+
attr_accessor :schema
|
35
34
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
35
|
+
# A boolean indicating if the core type's version is the current one in use by the system
|
36
|
+
attr_accessor :current
|
38
37
|
|
39
|
-
#
|
40
|
-
attr_accessor :
|
38
|
+
# An array of strings naming the fields of the core type subject to validation. Validation constraints are specified by a schema author using the core type.
|
39
|
+
attr_accessor :validation_fields
|
41
40
|
|
42
|
-
#
|
43
|
-
attr_accessor :
|
41
|
+
# A structure denoting the system-imposed minimum and maximum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field.
|
42
|
+
attr_accessor :validation_limits
|
44
43
|
|
45
|
-
#
|
46
|
-
attr_accessor :
|
44
|
+
# Specific to the \"tag\" core type, this is an array of strings naming the tag item fields of the core type subject to validation
|
45
|
+
attr_accessor :item_validation_fields
|
47
46
|
|
48
|
-
#
|
49
|
-
attr_accessor :
|
47
|
+
# A structure denoting the system-imposed minimum and maximum string length for string-array based core types such as \"tag\" and \"enum\". Forexample, the validationLimits for a schema field using a tag core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schema author on individual tags. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field's tags.
|
48
|
+
attr_accessor :item_validation_limits
|
49
|
+
|
50
|
+
# The URI for this object
|
51
|
+
attr_accessor :self_uri
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
54
|
def self.attribute_map
|
53
55
|
{
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'id' => :'id',
|
58
|
+
|
59
|
+
:'name' => :'name',
|
56
60
|
|
57
|
-
:'
|
61
|
+
:'version' => :'version',
|
58
62
|
|
59
|
-
:'
|
63
|
+
:'date_created' => :'dateCreated',
|
60
64
|
|
61
|
-
:'
|
65
|
+
:'schema' => :'schema',
|
62
66
|
|
63
|
-
:'
|
67
|
+
:'current' => :'current',
|
64
68
|
|
65
|
-
:'
|
69
|
+
:'validation_fields' => :'validationFields',
|
66
70
|
|
67
|
-
:'
|
71
|
+
:'validation_limits' => :'validationLimits',
|
68
72
|
|
69
|
-
:'
|
73
|
+
:'item_validation_fields' => :'itemValidationFields',
|
70
74
|
|
71
|
-
:'
|
75
|
+
:'item_validation_limits' => :'itemValidationLimits',
|
72
76
|
|
73
|
-
:'
|
77
|
+
:'self_uri' => :'selfUri'
|
74
78
|
|
75
79
|
}
|
76
80
|
end
|
@@ -79,25 +83,27 @@ module PureCloud
|
|
79
83
|
def self.swagger_types
|
80
84
|
{
|
81
85
|
|
82
|
-
:'
|
86
|
+
:'id' => :'String',
|
87
|
+
|
88
|
+
:'name' => :'String',
|
83
89
|
|
84
|
-
:'
|
90
|
+
:'version' => :'Integer',
|
85
91
|
|
86
|
-
:'
|
92
|
+
:'date_created' => :'DateTime',
|
87
93
|
|
88
|
-
:'
|
94
|
+
:'schema' => :'Schema',
|
89
95
|
|
90
|
-
:'
|
96
|
+
:'current' => :'BOOLEAN',
|
91
97
|
|
92
|
-
:'
|
98
|
+
:'validation_fields' => :'Array<String>',
|
93
99
|
|
94
|
-
:'
|
100
|
+
:'validation_limits' => :'ValidationLimits',
|
95
101
|
|
96
|
-
:'
|
102
|
+
:'item_validation_fields' => :'Array<String>',
|
97
103
|
|
98
|
-
:'
|
104
|
+
:'item_validation_limits' => :'ItemValidationLimits',
|
99
105
|
|
100
|
-
:'
|
106
|
+
:'self_uri' => :'String'
|
101
107
|
|
102
108
|
}
|
103
109
|
end
|
@@ -111,95 +117,104 @@ module PureCloud
|
|
111
117
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
112
118
|
|
113
119
|
|
114
|
-
if attributes.has_key?(:'
|
120
|
+
if attributes.has_key?(:'id')
|
115
121
|
|
116
122
|
|
117
|
-
self.
|
123
|
+
self.id = attributes[:'id']
|
118
124
|
|
119
125
|
|
120
126
|
end
|
121
127
|
|
122
128
|
|
123
|
-
if attributes.has_key?(:'
|
129
|
+
if attributes.has_key?(:'name')
|
124
130
|
|
125
131
|
|
126
|
-
self.
|
132
|
+
self.name = attributes[:'name']
|
127
133
|
|
128
134
|
|
129
135
|
end
|
130
136
|
|
131
137
|
|
132
|
-
if attributes.has_key?(:'
|
138
|
+
if attributes.has_key?(:'version')
|
133
139
|
|
134
|
-
if (value = attributes[:'agentIds']).is_a?(Array)
|
135
|
-
self.agent_ids = value
|
136
|
-
end
|
137
140
|
|
141
|
+
self.version = attributes[:'version']
|
138
142
|
|
139
143
|
|
140
144
|
end
|
141
145
|
|
142
146
|
|
143
|
-
if attributes.has_key?(:'
|
147
|
+
if attributes.has_key?(:'dateCreated')
|
144
148
|
|
145
|
-
if (value = attributes[:'activityCodeIds']).is_a?(Array)
|
146
|
-
self.activity_code_ids = value
|
147
|
-
end
|
148
149
|
|
150
|
+
self.date_created = attributes[:'dateCreated']
|
149
151
|
|
150
152
|
|
151
153
|
end
|
152
154
|
|
153
155
|
|
154
|
-
if attributes.has_key?(:'
|
156
|
+
if attributes.has_key?(:'schema')
|
155
157
|
|
156
158
|
|
157
|
-
self.
|
159
|
+
self.schema = attributes[:'schema']
|
158
160
|
|
159
161
|
|
160
162
|
end
|
161
163
|
|
162
164
|
|
163
|
-
if attributes.has_key?(:'
|
165
|
+
if attributes.has_key?(:'current')
|
164
166
|
|
165
167
|
|
166
|
-
self.
|
168
|
+
self.current = attributes[:'current']
|
167
169
|
|
168
170
|
|
169
171
|
end
|
170
172
|
|
171
173
|
|
172
|
-
if attributes.has_key?(:'
|
174
|
+
if attributes.has_key?(:'validationFields')
|
173
175
|
|
176
|
+
if (value = attributes[:'validationFields']).is_a?(Array)
|
177
|
+
self.validation_fields = value
|
178
|
+
end
|
174
179
|
|
175
|
-
self.do_not_change_shift_start_times = attributes[:'doNotChangeShiftStartTimes']
|
176
180
|
|
177
181
|
|
178
182
|
end
|
179
183
|
|
180
184
|
|
181
|
-
if attributes.has_key?(:'
|
185
|
+
if attributes.has_key?(:'validationLimits')
|
182
186
|
|
183
187
|
|
184
|
-
self.
|
188
|
+
self.validation_limits = attributes[:'validationLimits']
|
185
189
|
|
186
190
|
|
187
191
|
end
|
188
192
|
|
189
193
|
|
190
|
-
if attributes.has_key?(:'
|
194
|
+
if attributes.has_key?(:'itemValidationFields')
|
191
195
|
|
196
|
+
if (value = attributes[:'itemValidationFields']).is_a?(Array)
|
197
|
+
self.item_validation_fields = value
|
198
|
+
end
|
192
199
|
|
193
|
-
self.existing_schedule_id = attributes[:'existingScheduleId']
|
194
200
|
|
195
201
|
|
196
202
|
end
|
197
203
|
|
198
204
|
|
199
|
-
if attributes.has_key?(:'
|
205
|
+
if attributes.has_key?(:'itemValidationLimits')
|
200
206
|
|
201
207
|
|
202
|
-
self.
|
208
|
+
self.item_validation_limits = attributes[:'itemValidationLimits']
|
209
|
+
|
210
|
+
|
211
|
+
end
|
212
|
+
|
213
|
+
|
214
|
+
if attributes.has_key?(:'selfUri')
|
215
|
+
|
216
|
+
|
217
|
+
self.self_uri = attributes[:'selfUri']
|
203
218
|
|
204
219
|
|
205
220
|
end
|
@@ -221,20 +236,11 @@ module PureCloud
|
|
221
236
|
def valid?
|
222
237
|
|
223
238
|
|
224
|
-
if @start_date.nil?
|
225
|
-
return false
|
226
|
-
end
|
227
|
-
|
228
239
|
|
229
240
|
|
230
241
|
|
231
242
|
|
232
243
|
|
233
|
-
if @end_date.nil?
|
234
|
-
return false
|
235
|
-
end
|
236
|
-
|
237
|
-
|
238
244
|
|
239
245
|
|
240
246
|
|
@@ -247,37 +253,20 @@ module PureCloud
|
|
247
253
|
|
248
254
|
|
249
255
|
|
250
|
-
if @do_not_change_weekly_paid_time.nil?
|
251
|
-
return false
|
252
|
-
end
|
253
|
-
|
254
|
-
|
255
256
|
|
256
257
|
|
257
258
|
|
258
259
|
|
259
|
-
if @do_not_change_daily_paid_time.nil?
|
260
|
-
return false
|
261
|
-
end
|
262
|
-
|
263
260
|
|
264
261
|
|
265
262
|
|
266
263
|
|
267
264
|
|
268
|
-
if @do_not_change_shift_start_times.nil?
|
269
|
-
return false
|
270
|
-
end
|
271
|
-
|
272
265
|
|
273
266
|
|
274
267
|
|
275
268
|
|
276
269
|
|
277
|
-
if @do_not_change_manually_edited_shifts.nil?
|
278
|
-
return false
|
279
|
-
end
|
280
|
-
|
281
270
|
|
282
271
|
|
283
272
|
|
@@ -337,6 +326,11 @@ module PureCloud
|
|
337
326
|
|
338
327
|
|
339
328
|
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
340
334
|
|
341
335
|
|
342
336
|
|
@@ -348,16 +342,17 @@ module PureCloud
|
|
348
342
|
def ==(o)
|
349
343
|
return true if self.equal?(o)
|
350
344
|
self.class == o.class &&
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
345
|
+
id == o.id &&
|
346
|
+
name == o.name &&
|
347
|
+
version == o.version &&
|
348
|
+
date_created == o.date_created &&
|
349
|
+
schema == o.schema &&
|
350
|
+
current == o.current &&
|
351
|
+
validation_fields == o.validation_fields &&
|
352
|
+
validation_limits == o.validation_limits &&
|
353
|
+
item_validation_fields == o.item_validation_fields &&
|
354
|
+
item_validation_limits == o.item_validation_limits &&
|
355
|
+
self_uri == o.self_uri
|
361
356
|
end
|
362
357
|
|
363
358
|
# @see the `==` method
|
@@ -369,7 +364,7 @@ module PureCloud
|
|
369
364
|
# Calculates hash code according to all attributes.
|
370
365
|
# @return [Fixnum] Hash code
|
371
366
|
def hash
|
372
|
-
[
|
367
|
+
[id, name, version, date_created, schema, current, validation_fields, validation_limits, item_validation_fields, item_validation_limits, self_uri].hash
|
373
368
|
end
|
374
369
|
|
375
370
|
# build the object from hash
|
data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb}
RENAMED
@@ -17,20 +17,22 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
|
17
17
|
require 'date'
|
18
18
|
|
19
19
|
module PureCloud
|
20
|
-
|
21
|
-
|
20
|
+
class CoretypeListing
|
21
|
+
attr_accessor :total
|
22
|
+
|
22
23
|
attr_accessor :entities
|
23
24
|
|
24
|
-
|
25
|
-
attr_accessor :metadata
|
25
|
+
attr_accessor :self_uri
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
28
|
def self.attribute_map
|
29
29
|
{
|
30
30
|
|
31
|
+
:'total' => :'total',
|
32
|
+
|
31
33
|
:'entities' => :'entities',
|
32
34
|
|
33
|
-
:'
|
35
|
+
:'self_uri' => :'selfUri'
|
34
36
|
|
35
37
|
}
|
36
38
|
end
|
@@ -39,9 +41,11 @@ module PureCloud
|
|
39
41
|
def self.swagger_types
|
40
42
|
{
|
41
43
|
|
42
|
-
:'
|
44
|
+
:'total' => :'Integer',
|
45
|
+
|
46
|
+
:'entities' => :'Array<Coretype>',
|
43
47
|
|
44
|
-
:'
|
48
|
+
:'self_uri' => :'String'
|
45
49
|
|
46
50
|
}
|
47
51
|
end
|
@@ -55,6 +59,15 @@ module PureCloud
|
|
55
59
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
56
60
|
|
57
61
|
|
62
|
+
if attributes.has_key?(:'total')
|
63
|
+
|
64
|
+
|
65
|
+
self.total = attributes[:'total']
|
66
|
+
|
67
|
+
|
68
|
+
end
|
69
|
+
|
70
|
+
|
58
71
|
if attributes.has_key?(:'entities')
|
59
72
|
|
60
73
|
if (value = attributes[:'entities']).is_a?(Array)
|
@@ -66,10 +79,10 @@ module PureCloud
|
|
66
79
|
end
|
67
80
|
|
68
81
|
|
69
|
-
if attributes.has_key?(:'
|
82
|
+
if attributes.has_key?(:'selfUri')
|
70
83
|
|
71
84
|
|
72
|
-
self.
|
85
|
+
self.self_uri = attributes[:'selfUri']
|
73
86
|
|
74
87
|
|
75
88
|
end
|
@@ -98,6 +111,10 @@ module PureCloud
|
|
98
111
|
|
99
112
|
|
100
113
|
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
101
118
|
end
|
102
119
|
|
103
120
|
|
@@ -111,13 +128,19 @@ module PureCloud
|
|
111
128
|
|
112
129
|
|
113
130
|
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
114
136
|
# Checks equality by comparing each attribute.
|
115
137
|
# @param [Object] Object to be compared
|
116
138
|
def ==(o)
|
117
139
|
return true if self.equal?(o)
|
118
140
|
self.class == o.class &&
|
141
|
+
total == o.total &&
|
119
142
|
entities == o.entities &&
|
120
|
-
|
143
|
+
self_uri == o.self_uri
|
121
144
|
end
|
122
145
|
|
123
146
|
# @see the `==` method
|
@@ -129,7 +152,7 @@ module PureCloud
|
|
129
152
|
# Calculates hash code according to all attributes.
|
130
153
|
# @return [Fixnum] Hash code
|
131
154
|
def hash
|
132
|
-
[entities,
|
155
|
+
[total, entities, self_uri].hash
|
133
156
|
end
|
134
157
|
|
135
158
|
# build the object from hash
|