purecloudplatformclientv2 95.0.0 → 96.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 (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsProposedAgent.md +14 -0
  4. data/docs/AnalyticsSession.md +2 -0
  5. data/docs/ArrayNode.md +4 -4
  6. data/docs/AuditApi.md +60 -0
  7. data/docs/BuAgentSchedulesQueryResponse.md +1 -0
  8. data/docs/CoachingApi.md +80 -2
  9. data/docs/CoachingAppointmentAggregateRequest.md +16 -0
  10. data/docs/CoachingAppointmentAggregateResponse.md +13 -0
  11. data/docs/CoachingAppointmentResponse.md +1 -0
  12. data/docs/ConversationMetrics.md +15 -0
  13. data/docs/ExternalOrganizationTrustorLink.md +1 -2
  14. data/docs/GenericSAML.md +1 -1
  15. data/docs/JsonNode.md +4 -4
  16. data/docs/OAuthClient.md +1 -0
  17. data/docs/OAuthClientListing.md +1 -0
  18. data/docs/OAuthClientRequest.md +1 -0
  19. data/docs/OrgOAuthClient.md +1 -0
  20. data/docs/Permissions.md +0 -2
  21. data/docs/QueryRequestClause.md +14 -0
  22. data/docs/QueryRequestFilter.md +14 -0
  23. data/docs/QueryRequestPredicate.md +14 -0
  24. data/docs/QueryResponseData.md +14 -0
  25. data/docs/QueryResponseGroupedData.md +14 -0
  26. data/docs/QueryResponseMetric.md +14 -0
  27. data/docs/QueryResponseStats.md +13 -0
  28. data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
  29. data/docs/ReportingExportJobResponse.md +1 -0
  30. data/docs/RoutingApi.md +1 -1
  31. data/docs/SearchApi.md +2 -1
  32. data/docs/SpeechTextAnalyticsApi.md +66 -0
  33. data/docs/StatEventFlowOutcomeTopicDatum.md +14 -0
  34. data/docs/StatEventFlowOutcomeTopicMetric.md +15 -0
  35. data/docs/StatEventFlowOutcomeTopicStatsNotification.md +14 -0
  36. data/docs/StatEventFlowTopicDatum.md +14 -0
  37. data/docs/StatEventFlowTopicMetric.md +15 -0
  38. data/docs/StatEventFlowTopicStatsNotification.md +14 -0
  39. data/docs/StatEventWrapUpCodeTopicDatum.md +14 -0
  40. data/docs/StatEventWrapUpCodeTopicMetric.md +15 -0
  41. data/docs/StatEventWrapUpCodeTopicStatsNotification.md +14 -0
  42. data/docs/UserScheduleAdherence.md +1 -0
  43. data/docs/UserSearchRequest.md +1 -0
  44. data/docs/UsersApi.md +2 -1
  45. data/docs/WemCoachingAppointmentTopicCoachingAppointmentNotification.md +1 -0
  46. data/docs/WfmBusinessUnitReference.md +1 -1
  47. data/docs/WfmScheduleReference.md +3 -3
  48. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUriReference.md +14 -0
  49. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +1 -0
  50. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference.md +13 -0
  51. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUriReference.md +14 -0
  52. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserReference.md +13 -0
  53. data/docs/WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate.md +28 -0
  54. data/docs/WfmUserScheduleAdherenceUpdatedTopicUriReference.md +14 -0
  55. data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
  56. data/lib/purecloudplatformclientv2.rb +26 -0
  57. data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
  58. data/lib/purecloudplatformclientv2/api/coaching_api.rb +127 -0
  59. data/lib/purecloudplatformclientv2/api/routing_api.rb +2 -2
  60. data/lib/purecloudplatformclientv2/api/speech_text_analytics_api.rb +65 -0
  61. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  62. data/lib/purecloudplatformclientv2/models/acw_settings.rb +2 -2
  63. data/lib/purecloudplatformclientv2/models/analytics_proposed_agent.rb +228 -0
  64. data/lib/purecloudplatformclientv2/models/analytics_session.rb +58 -4
  65. data/lib/purecloudplatformclientv2/models/array_node.rb +54 -54
  66. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  67. data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +2 -2
  68. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
  69. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
  70. data/lib/purecloudplatformclientv2/models/audit_query_service.rb +2 -2
  71. data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +2 -2
  72. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_query_response.rb +30 -4
  73. data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_request.rb +294 -0
  74. data/lib/purecloudplatformclientv2/models/coaching_appointment_aggregate_response.rb +204 -0
  75. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +27 -1
  76. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  77. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +2 -2
  78. data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +2 -2
  79. data/lib/purecloudplatformclientv2/models/conversation_metrics.rb +254 -0
  80. data/lib/purecloudplatformclientv2/models/create_outbound_messaging_conversation_request.rb +2 -2
  81. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  82. data/lib/purecloudplatformclientv2/models/external_organization_trustor_link.rb +8 -34
  83. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  84. data/lib/purecloudplatformclientv2/models/generic_saml.rb +12 -12
  85. data/lib/purecloudplatformclientv2/models/ip_address_range.rb +2 -2
  86. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +2 -2
  87. data/lib/purecloudplatformclientv2/models/json_node.rb +54 -54
  88. data/lib/purecloudplatformclientv2/models/message.rb +2 -2
  89. data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
  90. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
  91. data/lib/purecloudplatformclientv2/models/messaging_integration.rb +2 -2
  92. data/lib/purecloudplatformclientv2/models/messaging_sticker.rb +2 -2
  93. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +27 -1
  94. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +27 -1
  95. data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +30 -4
  96. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +27 -1
  97. data/lib/purecloudplatformclientv2/models/participant.rb +2 -2
  98. data/lib/purecloudplatformclientv2/models/participant_basic.rb +2 -2
  99. data/lib/purecloudplatformclientv2/models/permissions.rb +1 -52
  100. data/lib/purecloudplatformclientv2/models/query_request_clause.rb +254 -0
  101. data/lib/purecloudplatformclientv2/models/query_request_filter.rb +254 -0
  102. data/lib/purecloudplatformclientv2/models/query_request_predicate.rb +252 -0
  103. data/lib/purecloudplatformclientv2/models/query_response_data.rb +230 -0
  104. data/lib/purecloudplatformclientv2/models/query_response_grouped_data.rb +232 -0
  105. data/lib/purecloudplatformclientv2/models/query_response_metric.rb +242 -0
  106. data/lib/purecloudplatformclientv2/models/query_response_stats.rb +202 -0
  107. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +2 -2
  108. data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +2 -2
  109. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +2 -2
  110. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +2 -2
  111. data/lib/purecloudplatformclientv2/models/recipient.rb +2 -2
  112. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +26 -1
  113. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +32 -1
  114. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  115. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +2 -2
  116. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +2 -2
  117. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_datum.rb +228 -0
  118. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_metric.rb +253 -0
  119. data/lib/purecloudplatformclientv2/models/stat_event_flow_outcome_topic_stats_notification.rb +230 -0
  120. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_datum.rb +228 -0
  121. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_metric.rb +253 -0
  122. data/lib/purecloudplatformclientv2/models/stat_event_flow_topic_stats_notification.rb +230 -0
  123. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_datum.rb +228 -0
  124. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_metric.rb +253 -0
  125. data/lib/purecloudplatformclientv2/models/stat_event_wrap_up_code_topic_stats_notification.rb +230 -0
  126. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
  127. data/lib/purecloudplatformclientv2/models/user_search_request.rb +30 -4
  128. data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +29 -4
  129. data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +6 -1
  130. data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +16 -1
  131. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_uri_reference.rb +226 -0
  132. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +26 -1
  133. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_queue_reference.rb +201 -0
  134. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_uri_reference.rb +226 -0
  135. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_reference.rb +201 -0
  136. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update.rb +606 -0
  137. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_uri_reference.rb +226 -0
  138. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +26 -1
  139. data/lib/purecloudplatformclientv2/version.rb +1 -1
  140. metadata +55 -3
@@ -496,7 +496,7 @@ module PureCloud
496
496
 
497
497
 
498
498
 
499
- allowed_values = ["sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao"]
499
+ allowed_values = ["unknown", "sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao", "webmessaging"]
500
500
  if @type && !allowed_values.include?(@type)
501
501
  return false
502
502
  end
@@ -638,7 +638,7 @@ module PureCloud
638
638
  # Custom attribute writer method checking allowed values (enum).
639
639
  # @param [Object] type Object to be assigned
640
640
  def type=(type)
641
- allowed_values = ["sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao"]
641
+ allowed_values = ["unknown", "sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao", "webmessaging"]
642
642
  if type && !allowed_values.include?(type)
643
643
  fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
644
644
  end
@@ -323,7 +323,7 @@ module PureCloud
323
323
 
324
324
 
325
325
 
326
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
326
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
327
327
  if @messenger_type && !allowed_values.include?(@messenger_type)
328
328
  return false
329
329
  end
@@ -420,7 +420,7 @@ module PureCloud
420
420
  # Custom attribute writer method checking allowed values (enum).
421
421
  # @param [Object] messenger_type Object to be assigned
422
422
  def messenger_type=(messenger_type)
423
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
423
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
424
424
  if messenger_type && !allowed_values.include?(messenger_type)
425
425
  fail ArgumentError, "invalid value for 'messenger_type', must be one of #{allowed_values}."
426
426
  end
@@ -850,7 +850,7 @@ module PureCloud
850
850
 
851
851
 
852
852
 
853
- allowed_values = ["sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao"]
853
+ allowed_values = ["unknown", "sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao", "webmessaging"]
854
854
  if @type && !allowed_values.include?(@type)
855
855
  return false
856
856
  end
@@ -1088,7 +1088,7 @@ module PureCloud
1088
1088
  # Custom attribute writer method checking allowed values (enum).
1089
1089
  # @param [Object] type Object to be assigned
1090
1090
  def type=(type)
1091
- allowed_values = ["sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao"]
1091
+ allowed_values = ["unknown", "sms", "twitter", "facebook", "line", "whatsapp", "telegram", "kakao", "webmessaging"]
1092
1092
  if type && !allowed_values.include?(type)
1093
1093
  fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
1094
1094
  end
@@ -266,7 +266,7 @@ module PureCloud
266
266
 
267
267
 
268
268
 
269
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
269
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
270
270
  if @messenger_type && !allowed_values.include?(@messenger_type)
271
271
  return false
272
272
  end
@@ -337,7 +337,7 @@ module PureCloud
337
337
  # Custom attribute writer method checking allowed values (enum).
338
338
  # @param [Object] messenger_type Object to be assigned
339
339
  def messenger_type=(messenger_type)
340
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
340
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
341
341
  if messenger_type && !allowed_values.include?(messenger_type)
342
342
  fail ArgumentError, "invalid value for 'messenger_type', must be one of #{allowed_values}."
343
343
  end
@@ -246,7 +246,7 @@ module PureCloud
246
246
 
247
247
 
248
248
 
249
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
249
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
250
250
  if @messenger_type && !allowed_values.include?(@messenger_type)
251
251
  return false
252
252
  end
@@ -311,7 +311,7 @@ module PureCloud
311
311
  # Custom attribute writer method checking allowed values (enum).
312
312
  # @param [Object] messenger_type Object to be assigned
313
313
  def messenger_type=(messenger_type)
314
- allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp"]
314
+ allowed_values = ["sms", "facebook", "twitter", "line", "whatsapp", "webmessaging"]
315
315
  if messenger_type && !allowed_values.include?(messenger_type)
316
316
  fail ArgumentError, "invalid value for 'messenger_type', must be one of #{allowed_values}."
317
317
  end
@@ -62,6 +62,9 @@ module PureCloud
62
62
  # The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted.
63
63
  attr_accessor :state
64
64
 
65
+ # The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
66
+ attr_accessor :date_to_delete
67
+
65
68
  # The URI for this object
66
69
  attr_accessor :self_uri
67
70
 
@@ -99,6 +102,8 @@ module PureCloud
99
102
 
100
103
  :'state' => :'state',
101
104
 
105
+ :'date_to_delete' => :'dateToDelete',
106
+
102
107
  :'self_uri' => :'selfUri'
103
108
 
104
109
  }
@@ -138,6 +143,8 @@ module PureCloud
138
143
 
139
144
  :'state' => :'String',
140
145
 
146
+ :'date_to_delete' => :'DateTime',
147
+
141
148
  :'self_uri' => :'String'
142
149
 
143
150
  }
@@ -295,6 +302,15 @@ module PureCloud
295
302
  end
296
303
 
297
304
 
305
+ if attributes.has_key?(:'dateToDelete')
306
+
307
+
308
+ self.date_to_delete = attributes[:'dateToDelete']
309
+
310
+
311
+ end
312
+
313
+
298
314
  if attributes.has_key?(:'selfUri')
299
315
 
300
316
 
@@ -403,6 +419,10 @@ module PureCloud
403
419
 
404
420
 
405
421
 
422
+
423
+
424
+
425
+
406
426
  end
407
427
 
408
428
 
@@ -504,6 +524,11 @@ module PureCloud
504
524
 
505
525
 
506
526
 
527
+
528
+
529
+
530
+
531
+
507
532
  # Checks equality by comparing each attribute.
508
533
  # @param [Object] Object to be compared
509
534
  def ==(o)
@@ -524,6 +549,7 @@ module PureCloud
524
549
  scope == o.scope &&
525
550
  role_divisions == o.role_divisions &&
526
551
  state == o.state &&
552
+ date_to_delete == o.date_to_delete &&
527
553
  self_uri == o.self_uri
528
554
  end
529
555
 
@@ -536,7 +562,7 @@ module PureCloud
536
562
  # Calculates hash code according to all attributes.
537
563
  # @return [Fixnum] Hash code
538
564
  def hash
539
- [id, name, access_token_validity_seconds, description, registered_redirect_uri, secret, role_ids, date_created, date_modified, created_by, modified_by, authorized_grant_type, scope, role_divisions, state, self_uri].hash
565
+ [id, name, access_token_validity_seconds, description, registered_redirect_uri, secret, role_ids, date_created, date_modified, created_by, modified_by, authorized_grant_type, scope, role_divisions, state, date_to_delete, self_uri].hash
540
566
  end
541
567
 
542
568
  # build the object from hash
@@ -59,6 +59,9 @@ module PureCloud
59
59
  # The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted.
60
60
  attr_accessor :state
61
61
 
62
+ # The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
63
+ attr_accessor :date_to_delete
64
+
62
65
  # The URI for this object
63
66
  attr_accessor :self_uri
64
67
 
@@ -94,6 +97,8 @@ module PureCloud
94
97
 
95
98
  :'state' => :'state',
96
99
 
100
+ :'date_to_delete' => :'dateToDelete',
101
+
97
102
  :'self_uri' => :'selfUri'
98
103
 
99
104
  }
@@ -131,6 +136,8 @@ module PureCloud
131
136
 
132
137
  :'state' => :'String',
133
138
 
139
+ :'date_to_delete' => :'DateTime',
140
+
134
141
  :'self_uri' => :'String'
135
142
 
136
143
  }
@@ -279,6 +286,15 @@ module PureCloud
279
286
  end
280
287
 
281
288
 
289
+ if attributes.has_key?(:'dateToDelete')
290
+
291
+
292
+ self.date_to_delete = attributes[:'dateToDelete']
293
+
294
+
295
+ end
296
+
297
+
282
298
  if attributes.has_key?(:'selfUri')
283
299
 
284
300
 
@@ -373,6 +389,10 @@ module PureCloud
373
389
 
374
390
 
375
391
 
392
+
393
+
394
+
395
+
376
396
  end
377
397
 
378
398
 
@@ -460,6 +480,11 @@ module PureCloud
460
480
 
461
481
 
462
482
 
483
+
484
+
485
+
486
+
487
+
463
488
  # Checks equality by comparing each attribute.
464
489
  # @param [Object] Object to be compared
465
490
  def ==(o)
@@ -479,6 +504,7 @@ module PureCloud
479
504
  scope == o.scope &&
480
505
  role_divisions == o.role_divisions &&
481
506
  state == o.state &&
507
+ date_to_delete == o.date_to_delete &&
482
508
  self_uri == o.self_uri
483
509
  end
484
510
 
@@ -491,7 +517,7 @@ module PureCloud
491
517
  # Calculates hash code according to all attributes.
492
518
  # @return [Fixnum] Hash code
493
519
  def hash
494
- [id, name, access_token_validity_seconds, description, registered_redirect_uri, secret, role_ids, date_created, date_modified, created_by, modified_by, scope, role_divisions, state, self_uri].hash
520
+ [id, name, access_token_validity_seconds, description, registered_redirect_uri, secret, role_ids, date_created, date_modified, created_by, modified_by, scope, role_divisions, state, date_to_delete, self_uri].hash
495
521
  end
496
522
 
497
523
  # build the object from hash
@@ -44,6 +44,9 @@ module PureCloud
44
44
  # The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted.
45
45
  attr_accessor :state
46
46
 
47
+ # The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
48
+ attr_accessor :date_to_delete
49
+
47
50
  # Attribute mapping from ruby-style variable name to JSON key.
48
51
  def self.attribute_map
49
52
  {
@@ -64,7 +67,9 @@ module PureCloud
64
67
 
65
68
  :'role_divisions' => :'roleDivisions',
66
69
 
67
- :'state' => :'state'
70
+ :'state' => :'state',
71
+
72
+ :'date_to_delete' => :'dateToDelete'
68
73
 
69
74
  }
70
75
  end
@@ -89,7 +94,9 @@ module PureCloud
89
94
 
90
95
  :'role_divisions' => :'Array<RoleDivision>',
91
96
 
92
- :'state' => :'String'
97
+ :'state' => :'String',
98
+
99
+ :'date_to_delete' => :'DateTime'
93
100
 
94
101
  }
95
102
  end
@@ -192,6 +199,15 @@ module PureCloud
192
199
  end
193
200
 
194
201
 
202
+ if attributes.has_key?(:'dateToDelete')
203
+
204
+
205
+ self.date_to_delete = attributes[:'dateToDelete']
206
+
207
+
208
+ end
209
+
210
+
195
211
  end
196
212
 
197
213
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -263,6 +279,10 @@ module PureCloud
263
279
 
264
280
 
265
281
 
282
+
283
+
284
+
285
+
266
286
  end
267
287
 
268
288
 
@@ -329,6 +349,11 @@ module PureCloud
329
349
 
330
350
 
331
351
 
352
+
353
+
354
+
355
+
356
+
332
357
  # Checks equality by comparing each attribute.
333
358
  # @param [Object] Object to be compared
334
359
  def ==(o)
@@ -342,7 +367,8 @@ module PureCloud
342
367
  authorized_grant_type == o.authorized_grant_type &&
343
368
  scope == o.scope &&
344
369
  role_divisions == o.role_divisions &&
345
- state == o.state
370
+ state == o.state &&
371
+ date_to_delete == o.date_to_delete
346
372
  end
347
373
 
348
374
  # @see the `==` method
@@ -354,7 +380,7 @@ module PureCloud
354
380
  # Calculates hash code according to all attributes.
355
381
  # @return [Fixnum] Hash code
356
382
  def hash
357
- [name, access_token_validity_seconds, description, registered_redirect_uri, role_ids, authorized_grant_type, scope, role_divisions, state].hash
383
+ [name, access_token_validity_seconds, description, registered_redirect_uri, role_ids, authorized_grant_type, scope, role_divisions, state, date_to_delete].hash
358
384
  end
359
385
 
360
386
  # build the object from hash
@@ -48,6 +48,9 @@ module PureCloud
48
48
  # The state of the OAuth client. Active: The OAuth client can be used to create access tokens. This is the default state. Disabled: Access tokens created by the client are invalid and new ones cannot be created. Inactive: Access tokens cannot be created with this OAuth client and it will be deleted.
49
49
  attr_accessor :state
50
50
 
51
+ # The time at which this client will be deleted. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
52
+ attr_accessor :date_to_delete
53
+
51
54
  # The oauth client's organization.
52
55
  attr_accessor :organization
53
56
 
@@ -75,6 +78,8 @@ module PureCloud
75
78
 
76
79
  :'state' => :'state',
77
80
 
81
+ :'date_to_delete' => :'dateToDelete',
82
+
78
83
  :'organization' => :'organization'
79
84
 
80
85
  }
@@ -104,6 +109,8 @@ module PureCloud
104
109
 
105
110
  :'state' => :'String',
106
111
 
112
+ :'date_to_delete' => :'DateTime',
113
+
107
114
  :'organization' => :'NamedEntity'
108
115
 
109
116
  }
@@ -212,6 +219,15 @@ module PureCloud
212
219
  end
213
220
 
214
221
 
222
+ if attributes.has_key?(:'dateToDelete')
223
+
224
+
225
+ self.date_to_delete = attributes[:'dateToDelete']
226
+
227
+
228
+ end
229
+
230
+
215
231
  if attributes.has_key?(:'organization')
216
232
 
217
233
 
@@ -300,6 +316,10 @@ module PureCloud
300
316
 
301
317
 
302
318
 
319
+
320
+
321
+
322
+
303
323
  end
304
324
 
305
325
 
@@ -376,6 +396,11 @@ module PureCloud
376
396
 
377
397
 
378
398
 
399
+
400
+
401
+
402
+
403
+
379
404
  # Checks equality by comparing each attribute.
380
405
  # @param [Object] Object to be compared
381
406
  def ==(o)
@@ -391,6 +416,7 @@ module PureCloud
391
416
  scope == o.scope &&
392
417
  role_divisions == o.role_divisions &&
393
418
  state == o.state &&
419
+ date_to_delete == o.date_to_delete &&
394
420
  organization == o.organization
395
421
  end
396
422
 
@@ -403,7 +429,7 @@ module PureCloud
403
429
  # Calculates hash code according to all attributes.
404
430
  # @return [Fixnum] Hash code
405
431
  def hash
406
- [id, name, date_created, date_modified, created_by, modified_by, authorized_grant_type, scope, role_divisions, state, organization].hash
432
+ [id, name, date_created, date_modified, created_by, modified_by, authorized_grant_type, scope, role_divisions, state, date_to_delete, organization].hash
407
433
  end
408
434
 
409
435
  # build the object from hash
@@ -862,7 +862,7 @@ module PureCloud
862
862
 
863
863
 
864
864
 
865
- allowed_values = ["mandatory", "optional", "timeout", "forcedTimeout"]
865
+ allowed_values = ["mandatory", "optional", "agentRequested", "timeout", "forcedTimeout"]
866
866
  if @wrapup_prompt && !allowed_values.include?(@wrapup_prompt)
867
867
  return false
868
868
  end
@@ -1080,7 +1080,7 @@ module PureCloud
1080
1080
  # Custom attribute writer method checking allowed values (enum).
1081
1081
  # @param [Object] wrapup_prompt Object to be assigned
1082
1082
  def wrapup_prompt=(wrapup_prompt)
1083
- allowed_values = ["mandatory", "optional", "timeout", "forcedTimeout"]
1083
+ allowed_values = ["mandatory", "optional", "agentRequested", "timeout", "forcedTimeout"]
1084
1084
  if wrapup_prompt && !allowed_values.include?(wrapup_prompt)
1085
1085
  fail ArgumentError, "invalid value for 'wrapup_prompt', must be one of #{allowed_values}."
1086
1086
  end
@@ -862,7 +862,7 @@ module PureCloud
862
862
 
863
863
 
864
864
 
865
- allowed_values = ["mandatory", "optional", "timeout", "forcedTimeout"]
865
+ allowed_values = ["mandatory", "optional", "agentRequested", "timeout", "forcedTimeout"]
866
866
  if @wrapup_prompt && !allowed_values.include?(@wrapup_prompt)
867
867
  return false
868
868
  end
@@ -1080,7 +1080,7 @@ module PureCloud
1080
1080
  # Custom attribute writer method checking allowed values (enum).
1081
1081
  # @param [Object] wrapup_prompt Object to be assigned
1082
1082
  def wrapup_prompt=(wrapup_prompt)
1083
- allowed_values = ["mandatory", "optional", "timeout", "forcedTimeout"]
1083
+ allowed_values = ["mandatory", "optional", "agentRequested", "timeout", "forcedTimeout"]
1084
1084
  if wrapup_prompt && !allowed_values.include?(wrapup_prompt)
1085
1085
  fail ArgumentError, "invalid value for 'wrapup_prompt', must be one of #{allowed_values}."
1086
1086
  end