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.
Files changed (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -1
  4. data/docs/Call.md +1 -0
  5. data/docs/CallBasic.md +1 -0
  6. data/docs/Callback.md +1 -0
  7. data/docs/CallbackBasic.md +1 -0
  8. data/docs/Cobrowsesession.md +1 -0
  9. data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
  10. data/docs/ContextIntent.md +13 -0
  11. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  12. data/docs/ConversationChat.md +1 -0
  13. data/docs/ConversationEventTopicCallback.md +1 -0
  14. data/docs/Coretype.md +23 -0
  15. data/docs/CoretypeListing.md +15 -0
  16. data/docs/DataExtensionsApi.md +198 -0
  17. data/docs/DataSchemaListing.md +15 -0
  18. data/docs/DetectedDialogAct.md +14 -0
  19. data/docs/DetectedIntent.md +15 -0
  20. data/docs/DetectedNamedEntity.md +16 -0
  21. data/docs/DetectedNamedEntityValue.md +14 -0
  22. data/docs/DialogflowAgent.md +3 -2
  23. data/docs/Edge.md +1 -1
  24. data/docs/Email.md +1 -0
  25. data/docs/EntityListing.md +1 -5
  26. data/docs/ExternalContactsApi.md +1001 -144
  27. data/docs/FlowDivisionView.md +2 -0
  28. data/docs/IntentDefinition.md +15 -0
  29. data/docs/IntentFeedback.md +16 -0
  30. data/docs/ItemValidationLimits.md +14 -0
  31. data/docs/Items.md +14 -0
  32. data/docs/LanguageUnderstandingApi.md +1160 -0
  33. data/docs/MaxLength.md +14 -0
  34. data/docs/Message.md +1 -0
  35. data/docs/MinLength.md +14 -0
  36. data/docs/NamedEntityAnnotation.md +13 -0
  37. data/docs/NamedEntityTypeBinding.md +14 -0
  38. data/docs/NamedEntityTypeDefinition.md +15 -0
  39. data/docs/NamedEntityTypeItem.md +14 -0
  40. data/docs/NamedEntityTypeMechanism.md +15 -0
  41. data/docs/NluConfusionMatrixColumn.md +14 -0
  42. data/docs/NluConfusionMatrixRow.md +14 -0
  43. data/docs/NluDetectionContext.md +14 -0
  44. data/docs/NluDetectionInput.md +13 -0
  45. data/docs/NluDetectionOutput.md +14 -0
  46. data/docs/NluDetectionRequest.md +14 -0
  47. data/docs/NluDetectionResponse.md +15 -0
  48. data/docs/NluDomain.md +19 -0
  49. data/docs/NluDomainListing.md +22 -0
  50. data/docs/NluDomainVersion.md +24 -0
  51. data/docs/NluDomainVersionListing.md +22 -0
  52. data/docs/NluDomainVersionQualityReport.md +15 -0
  53. data/docs/NluDomainVersionTrainingResponse.md +14 -0
  54. data/docs/NluFeedbackListing.md +22 -0
  55. data/docs/NluFeedbackRequest.md +15 -0
  56. data/docs/NluFeedbackResponse.md +18 -0
  57. data/docs/NluQualityReportSummary.md +13 -0
  58. data/docs/NluQualityReportSummaryMetric.md +14 -0
  59. data/docs/NluUtterance.md +13 -0
  60. data/docs/NluUtteranceSegment.md +14 -0
  61. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  62. data/docs/QueueConversationEventTopicCallback.md +1 -0
  63. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
  64. data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
  65. data/docs/ReportingExportJobRequest.md +1 -0
  66. data/docs/ReportingExportJobResponse.md +2 -0
  67. data/docs/RoutingApi.md +65 -0
  68. data/docs/SCIMApi.md +12 -12
  69. data/docs/Schema.md +17 -0
  70. data/docs/SchemaQuantityLimits.md +26 -0
  71. data/docs/ScimV2EnterpriseUser.md +1 -0
  72. data/docs/Screenshare.md +1 -0
  73. data/docs/SocialExpression.md +1 -0
  74. data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
  75. data/docs/TimeOffRequestListing.md +13 -0
  76. data/docs/UploadUrlRequest.md +15 -0
  77. data/docs/UploadUrlResponse.md +14 -0
  78. data/docs/UploadsApi.md +78 -0
  79. data/docs/ValidationLimits.md +18 -0
  80. data/docs/Video.md +1 -0
  81. data/docs/WorkforceManagementApi.md +297 -448
  82. data/lib/purecloudplatformclientv2.rb +50 -57
  83. data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
  84. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
  85. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
  86. data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
  87. data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
  88. data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
  89. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
  90. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  91. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  92. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
  93. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  94. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  95. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  96. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  97. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  98. data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
  99. data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
  100. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
  101. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
  102. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
  103. data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
  104. data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
  105. data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
  106. data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
  107. data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
  108. data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
  110. data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
  111. data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
  112. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  113. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  114. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
  115. data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
  116. data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
  117. data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
  118. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
  119. data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
  120. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  121. data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
  122. data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
  123. data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
  124. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
  125. data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
  126. data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
  127. data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
  128. data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
  129. data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
  130. data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
  131. data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
  132. data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
  133. data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
  134. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
  135. data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
  136. data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
  137. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
  138. data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
  139. data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
  140. data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
  141. data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
  142. data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
  143. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
  144. data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
  145. data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
  146. data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
  147. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
  148. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
  149. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
  150. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
  151. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
  152. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
  153. data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
  154. data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
  155. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
  156. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  157. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
  158. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  159. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
  160. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
  161. data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
  162. data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
  163. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
  164. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  165. data/lib/purecloudplatformclientv2/version.rb +1 -1
  166. metadata +102 -116
  167. data/docs/AsyncWeekScheduleResponse.md +0 -16
  168. data/docs/CopyShortTermForecastRequest.md +0 -14
  169. data/docs/CopyWeekScheduleRequest.md +0 -14
  170. data/docs/CreateQueueMediaAssociationRequest.md +0 -15
  171. data/docs/CreateServiceGoalGroupRequest.md +0 -15
  172. data/docs/ForecastGenerationResult.md +0 -13
  173. data/docs/ForecastGenerationRouteGroupResult.md +0 -14
  174. data/docs/ForecastResultResponse.md +0 -14
  175. data/docs/ForecastTimeSeriesResult.md +0 -14
  176. data/docs/GenerateShortTermForecastRequest.md +0 -13
  177. data/docs/GenerateShortTermForecastResponse.md +0 -16
  178. data/docs/GenerateWeekScheduleRequest.md +0 -14
  179. data/docs/GenerateWeekScheduleResponse.md +0 -15
  180. data/docs/ImportShortTermForecastRequest.md +0 -16
  181. data/docs/ImportWeekScheduleRequest.md +0 -17
  182. data/docs/IntradayDataGroup.md +0 -19
  183. data/docs/IntradayForecastData.md +0 -15
  184. data/docs/IntradayHistoricalAgentData.md +0 -14
  185. data/docs/IntradayHistoricalQueueData.md +0 -20
  186. data/docs/IntradayMetric.md +0 -14
  187. data/docs/IntradayPerformancePredictionAgentData.md +0 -13
  188. data/docs/IntradayPerformancePredictionQueueData.md +0 -15
  189. data/docs/IntradayQueryDataCommand.md +0 -17
  190. data/docs/IntradayQueue.md +0 -15
  191. data/docs/IntradayResponse.md +0 -20
  192. data/docs/IntradayScheduleData.md +0 -14
  193. data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
  194. data/docs/ListWrapperWfmForecastModification.md +0 -13
  195. data/docs/QueueMediaAssociation.md +0 -16
  196. data/docs/RescheduleRequest.md +0 -20
  197. data/docs/RescheduleResult.md +0 -13
  198. data/docs/ReschedulingOptionsResponse.md +0 -22
  199. data/docs/RouteGroup.md +0 -18
  200. data/docs/RouteGroupAttributes.md +0 -16
  201. data/docs/RouteGroupList.md +0 -14
  202. data/docs/SchedulingRunListResponse.md +0 -13
  203. data/docs/SchedulingRunResponse.md +0 -28
  204. data/docs/ServiceGoalGroup.md +0 -18
  205. data/docs/ServiceGoalGroupGoals.md +0 -15
  206. data/docs/ServiceGoalGroupList.md +0 -14
  207. data/docs/ShortTermForecast.md +0 -22
  208. data/docs/ShortTermForecastListItemResponse.md +0 -18
  209. data/docs/ShortTermForecastListResponse.md +0 -13
  210. data/docs/ShortTermForecastResponse.md +0 -15
  211. data/docs/TimeOffRequestEntityList.md +0 -13
  212. data/docs/TimeOffRequestLookupList.md +0 -13
  213. data/docs/UnscheduledAgentWarning.md +0 -14
  214. data/docs/UpdateWeekScheduleRequest.md +0 -21
  215. data/docs/UserSchedulesPartialUploadRequest.md +0 -13
  216. data/docs/WfmAbandonRate.md +0 -14
  217. data/docs/WfmAverageSpeedOfAnswer.md +0 -14
  218. data/docs/WfmForecastModification.md +0 -20
  219. data/docs/WfmForecastModificationAttributes.md +0 -16
  220. data/docs/WfmIntradayQueueListing.md +0 -14
  221. data/docs/WfmServiceLevel.md +0 -15
  222. data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
  223. data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
  224. data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
  225. data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
  226. data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
  227. data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
  228. data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
  229. data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
  230. data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
  231. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
  232. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
  233. data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
  234. data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
  235. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
  236. data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
  237. data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
  238. data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
  239. data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
  240. data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
  241. data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
  242. data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
  243. data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
  244. 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 ReschedulingOptionsResponse
21
- # The start date of the range to reschedule in ISO-8601 format
22
- attr_accessor :start_date
20
+ class Coretype
21
+ # The globally unique identifier for the object.
22
+ attr_accessor :id
23
23
 
24
- # The end date of the range to reschedule in ISO-8601 format
25
- attr_accessor :end_date
24
+ attr_accessor :name
26
25
 
27
- # The IDs of the agents to reschedule. Null or empty means all agents on the schedule
28
- attr_accessor :agent_ids
26
+ # A positive integer denoting the core type's version
27
+ attr_accessor :version
29
28
 
30
- # The IDs of the activity codes to reschedule. Null or empty means all activity codes will be considered
31
- attr_accessor :activity_code_ids
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
- # Whether to prevent changes to weekly paid time
34
- attr_accessor :do_not_change_weekly_paid_time
32
+ # The core type's built-in schema
33
+ attr_accessor :schema
35
34
 
36
- # Whether to prevent changes to daily paid time
37
- attr_accessor :do_not_change_daily_paid_time
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
- # Whether to prevent changes to shift start times
40
- attr_accessor :do_not_change_shift_start_times
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
- # Whether to prevent changes to manually edited shifts
43
- attr_accessor :do_not_change_manually_edited_shifts
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
- # The schedule ID of the schedule to which the results will be applied
46
- attr_accessor :existing_schedule_id
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
- # The version of the schedule at the time the rescheduling was initiated
49
- attr_accessor :existing_schedule_version
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
- :'start_date' => :'startDate',
57
+ :'id' => :'id',
58
+
59
+ :'name' => :'name',
56
60
 
57
- :'end_date' => :'endDate',
61
+ :'version' => :'version',
58
62
 
59
- :'agent_ids' => :'agentIds',
63
+ :'date_created' => :'dateCreated',
60
64
 
61
- :'activity_code_ids' => :'activityCodeIds',
65
+ :'schema' => :'schema',
62
66
 
63
- :'do_not_change_weekly_paid_time' => :'doNotChangeWeeklyPaidTime',
67
+ :'current' => :'current',
64
68
 
65
- :'do_not_change_daily_paid_time' => :'doNotChangeDailyPaidTime',
69
+ :'validation_fields' => :'validationFields',
66
70
 
67
- :'do_not_change_shift_start_times' => :'doNotChangeShiftStartTimes',
71
+ :'validation_limits' => :'validationLimits',
68
72
 
69
- :'do_not_change_manually_edited_shifts' => :'doNotChangeManuallyEditedShifts',
73
+ :'item_validation_fields' => :'itemValidationFields',
70
74
 
71
- :'existing_schedule_id' => :'existingScheduleId',
75
+ :'item_validation_limits' => :'itemValidationLimits',
72
76
 
73
- :'existing_schedule_version' => :'existingScheduleVersion'
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
- :'start_date' => :'DateTime',
86
+ :'id' => :'String',
87
+
88
+ :'name' => :'String',
83
89
 
84
- :'end_date' => :'DateTime',
90
+ :'version' => :'Integer',
85
91
 
86
- :'agent_ids' => :'Array<String>',
92
+ :'date_created' => :'DateTime',
87
93
 
88
- :'activity_code_ids' => :'Array<String>',
94
+ :'schema' => :'Schema',
89
95
 
90
- :'do_not_change_weekly_paid_time' => :'BOOLEAN',
96
+ :'current' => :'BOOLEAN',
91
97
 
92
- :'do_not_change_daily_paid_time' => :'BOOLEAN',
98
+ :'validation_fields' => :'Array<String>',
93
99
 
94
- :'do_not_change_shift_start_times' => :'BOOLEAN',
100
+ :'validation_limits' => :'ValidationLimits',
95
101
 
96
- :'do_not_change_manually_edited_shifts' => :'BOOLEAN',
102
+ :'item_validation_fields' => :'Array<String>',
97
103
 
98
- :'existing_schedule_id' => :'String',
104
+ :'item_validation_limits' => :'ItemValidationLimits',
99
105
 
100
- :'existing_schedule_version' => :'Integer'
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?(:'startDate')
120
+ if attributes.has_key?(:'id')
115
121
 
116
122
 
117
- self.start_date = attributes[:'startDate']
123
+ self.id = attributes[:'id']
118
124
 
119
125
 
120
126
  end
121
127
 
122
128
 
123
- if attributes.has_key?(:'endDate')
129
+ if attributes.has_key?(:'name')
124
130
 
125
131
 
126
- self.end_date = attributes[:'endDate']
132
+ self.name = attributes[:'name']
127
133
 
128
134
 
129
135
  end
130
136
 
131
137
 
132
- if attributes.has_key?(:'agentIds')
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?(:'activityCodeIds')
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?(:'doNotChangeWeeklyPaidTime')
156
+ if attributes.has_key?(:'schema')
155
157
 
156
158
 
157
- self.do_not_change_weekly_paid_time = attributes[:'doNotChangeWeeklyPaidTime']
159
+ self.schema = attributes[:'schema']
158
160
 
159
161
 
160
162
  end
161
163
 
162
164
 
163
- if attributes.has_key?(:'doNotChangeDailyPaidTime')
165
+ if attributes.has_key?(:'current')
164
166
 
165
167
 
166
- self.do_not_change_daily_paid_time = attributes[:'doNotChangeDailyPaidTime']
168
+ self.current = attributes[:'current']
167
169
 
168
170
 
169
171
  end
170
172
 
171
173
 
172
- if attributes.has_key?(:'doNotChangeShiftStartTimes')
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?(:'doNotChangeManuallyEditedShifts')
185
+ if attributes.has_key?(:'validationLimits')
182
186
 
183
187
 
184
- self.do_not_change_manually_edited_shifts = attributes[:'doNotChangeManuallyEditedShifts']
188
+ self.validation_limits = attributes[:'validationLimits']
185
189
 
186
190
 
187
191
  end
188
192
 
189
193
 
190
- if attributes.has_key?(:'existingScheduleId')
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?(:'existingScheduleVersion')
205
+ if attributes.has_key?(:'itemValidationLimits')
200
206
 
201
207
 
202
- self.existing_schedule_version = attributes[:'existingScheduleVersion']
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
- start_date == o.start_date &&
352
- end_date == o.end_date &&
353
- agent_ids == o.agent_ids &&
354
- activity_code_ids == o.activity_code_ids &&
355
- do_not_change_weekly_paid_time == o.do_not_change_weekly_paid_time &&
356
- do_not_change_daily_paid_time == o.do_not_change_daily_paid_time &&
357
- do_not_change_shift_start_times == o.do_not_change_shift_start_times &&
358
- do_not_change_manually_edited_shifts == o.do_not_change_manually_edited_shifts &&
359
- existing_schedule_id == o.existing_schedule_id &&
360
- existing_schedule_version == o.existing_schedule_version
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
- [start_date, end_date, agent_ids, activity_code_ids, do_not_change_weekly_paid_time, do_not_change_daily_paid_time, do_not_change_shift_start_times, do_not_change_manually_edited_shifts, existing_schedule_id, existing_schedule_version].hash
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
@@ -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
- # List of service goal groups
21
- class ServiceGoalGroupList
20
+ class CoretypeListing
21
+ attr_accessor :total
22
+
22
23
  attr_accessor :entities
23
24
 
24
- # Version metadata for the list of service goal groups for the associated management unit
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
- :'metadata' => :'metadata'
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
- :'entities' => :'Array<ServiceGoalGroup>',
44
+ :'total' => :'Integer',
45
+
46
+ :'entities' => :'Array<Coretype>',
43
47
 
44
- :'metadata' => :'WfmVersionedEntityMetadata'
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?(:'metadata')
82
+ if attributes.has_key?(:'selfUri')
70
83
 
71
84
 
72
- self.metadata = attributes[:'metadata']
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
- metadata == o.metadata
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, metadata].hash
155
+ [total, entities, self_uri].hash
133
156
  end
134
157
 
135
158
  # build the object from hash