purecloudplatformclientv2 75.1.0 → 79.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 (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActivityCode.md +1 -1
  4. data/docs/AnalyticsApi.md +66 -2
  5. data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
  6. data/docs/AnalyticsConversationQueryResponse.md +1 -1
  7. data/docs/AnalyticsParticipant.md +1 -0
  8. data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
  9. data/docs/ArchitectApi.md +345 -0
  10. data/docs/AuditApi.md +3 -1
  11. data/docs/AuditLogMessage.md +1 -1
  12. data/docs/AuthorizationApi.md +154 -9
  13. data/docs/AvailableTopic.md +3 -1
  14. data/docs/BuAgentScheduleActivity.md +18 -0
  15. data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
  16. data/docs/BuAgentScheduleSearchResponse.md +15 -0
  17. data/docs/BuAgentScheduleShift.md +18 -0
  18. data/docs/BuAgentSchedulesSearchResponse.md +15 -0
  19. data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
  20. data/docs/BuFullDayTimeOffMarker.md +18 -0
  21. data/docs/BuScheduleReference.md +15 -0
  22. data/docs/Call.md +1 -1
  23. data/docs/CallBasic.md +1 -1
  24. data/docs/CallMediaParticipant.md +1 -1
  25. data/docs/CallbackMediaParticipant.md +1 -1
  26. data/docs/CampaignProgress.md +2 -1
  27. data/docs/ChatMediaParticipant.md +1 -1
  28. data/docs/CobrowseMediaParticipant.md +1 -1
  29. data/docs/ConversationsApi.md +71 -1
  30. data/docs/CopyAttachmentsRequest.md +14 -0
  31. data/docs/CreateManagementUnitApiRequest.md +3 -2
  32. data/docs/CreateManagementUnitSettingsRequest.md +1 -1
  33. data/docs/CreateWorkPlanShift.md +1 -1
  34. data/docs/DataTableExportJob.md +22 -0
  35. data/docs/DataTableImportJob.md +25 -0
  36. data/docs/DivsPermittedEntityListing.md +23 -0
  37. data/docs/EmailMediaParticipant.md +1 -1
  38. data/docs/EntityListing.md +17 -0
  39. data/docs/ErrorBody.md +2 -2
  40. data/docs/ErrorInfo.md +14 -0
  41. data/docs/Evaluation.md +1 -0
  42. data/docs/EvaluationQuestionGroupScore.md +4 -0
  43. data/docs/EvaluationScoringSet.md +1 -0
  44. data/docs/FacebookIntegrationRequest.md +2 -2
  45. data/docs/GDPRJourneyCustomer.md +2 -2
  46. data/docs/InboundDomain.md +2 -0
  47. data/docs/Library.md +4 -3
  48. data/docs/LicenseApi.md +66 -0
  49. data/docs/MailFromResult.md +15 -0
  50. data/docs/ManagementUnit.md +2 -2
  51. data/docs/ManagementUnitSettingsRequest.md +1 -1
  52. data/docs/MessageMediaParticipant.md +1 -1
  53. data/docs/MessagingApi.md +0 -936
  54. data/docs/MessagingTemplate.md +15 -0
  55. data/docs/Organization.md +1 -0
  56. data/docs/QualityApi.md +5 -6
  57. data/docs/Record.md +15 -0
  58. data/docs/ReportingExportMetadataJobListing.md +22 -0
  59. data/docs/ReportingExportMetadataJobResponse.md +22 -0
  60. data/docs/Response.md +2 -0
  61. data/docs/RoutingApi.md +385 -0
  62. data/docs/RoutingSettings.md +13 -0
  63. data/docs/SCIMApi.md +397 -23
  64. data/docs/ScimUserExtensions.md +14 -0
  65. data/docs/ScimUserRole.md +13 -0
  66. data/docs/ScimUserRoutingLanguage.md +14 -0
  67. data/docs/ScimUserRoutingSkill.md +14 -0
  68. data/docs/ScimV2CreateUser.md +2 -1
  69. data/docs/ScimV2SchemaAttribute.md +24 -0
  70. data/docs/ScimV2SchemaDefinition.md +17 -0
  71. data/docs/ScimV2SchemaListResponse.md +17 -0
  72. data/docs/ScimV2User.md +2 -1
  73. data/docs/ShortTermForecast.md +2 -2
  74. data/docs/ShortTermForecastListItemResponse.md +2 -2
  75. data/docs/ShortTermForecastReference.md +2 -2
  76. data/docs/TimeOffRequestLookup.md +3 -3
  77. data/docs/TimeOffRequestResponse.md +3 -3
  78. data/docs/UserScheduleAdherence.md +1 -1
  79. data/docs/UsersApi.md +358 -10
  80. data/docs/ViewFilter.md +4 -10
  81. data/docs/WeekSchedule.md +1 -1
  82. data/docs/WeekScheduleListItemResponse.md +1 -1
  83. data/docs/WeekScheduleReference.md +1 -1
  84. data/docs/WorkPlanShift.md +1 -1
  85. data/docs/WorkforceManagementApi.md +40 -41
  86. data/lib/purecloudplatformclientv2.rb +27 -0
  87. data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
  88. data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
  89. data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
  90. data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
  91. data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
  92. data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
  93. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
  94. data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
  95. data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
  96. data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
  97. data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
  98. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
  99. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  100. data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
  101. data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
  102. data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
  103. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
  104. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
  105. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
  106. data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
  107. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
  108. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
  110. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
  111. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
  112. data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
  113. data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
  114. data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
  115. data/lib/purecloudplatformclientv2/models/call.rb +1 -1
  116. data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
  117. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
  118. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
  119. data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
  120. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
  121. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
  122. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  123. data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
  124. data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
  125. data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
  126. data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
  127. data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
  128. data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
  129. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
  130. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
  131. data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
  132. data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
  133. data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
  134. data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
  135. data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
  136. data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
  137. data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
  138. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  139. data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
  140. data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
  141. data/lib/purecloudplatformclientv2/models/library.rb +44 -2
  142. data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
  143. data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
  144. data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
  145. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
  146. data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
  147. data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
  148. data/lib/purecloudplatformclientv2/models/record.rb +269 -0
  149. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
  150. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
  151. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
  152. data/lib/purecloudplatformclientv2/models/response.rb +67 -1
  153. data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
  154. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
  155. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
  156. data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
  157. data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
  158. data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
  159. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
  160. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
  161. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
  162. data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
  163. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
  164. data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
  165. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
  166. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  167. data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
  168. data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
  169. data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
  170. data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
  171. data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
  172. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
  173. data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
  174. data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
  175. data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
  176. data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
  177. data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
  178. data/lib/purecloudplatformclientv2/version.rb +1 -1
  179. metadata +56 -2
@@ -61,6 +61,8 @@ module PureCloud
61
61
  # The URI of the schema for the enterprise user.
62
62
  attr_accessor :urnietfparamsscimschemasextensionenterprise2_0_user
63
63
 
64
+ attr_accessor :urnietfparamsscimschemasextensiongenesyspurecloud2_0_user
65
+
64
66
  # The metadata of the SCIM resource.
65
67
  attr_accessor :meta
66
68
 
@@ -96,6 +98,8 @@ module PureCloud
96
98
 
97
99
  :'urnietfparamsscimschemasextensionenterprise2_0_user' => :'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User',
98
100
 
101
+ :'urnietfparamsscimschemasextensiongenesyspurecloud2_0_user' => :'urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User',
102
+
99
103
  :'meta' => :'meta'
100
104
 
101
105
  }
@@ -129,10 +133,12 @@ module PureCloud
129
133
 
130
134
  :'groups' => :'Array<ScimV2GroupReference>',
131
135
 
132
- :'roles' => :'Array<String>',
136
+ :'roles' => :'Array<ScimUserRole>',
133
137
 
134
138
  :'urnietfparamsscimschemasextensionenterprise2_0_user' => :'ScimV2EnterpriseUser',
135
139
 
140
+ :'urnietfparamsscimschemasextensiongenesyspurecloud2_0_user' => :'ScimUserExtensions',
141
+
136
142
  :'meta' => :'ScimMetadata'
137
143
 
138
144
  }
@@ -285,6 +291,15 @@ module PureCloud
285
291
  end
286
292
 
287
293
 
294
+ if attributes.has_key?(:'urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User')
295
+
296
+
297
+ self.urnietfparamsscimschemasextensiongenesyspurecloud2_0_user = attributes[:'urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User']
298
+
299
+
300
+ end
301
+
302
+
288
303
  if attributes.has_key?(:'meta')
289
304
 
290
305
 
@@ -364,6 +379,10 @@ module PureCloud
364
379
 
365
380
 
366
381
 
382
+
383
+
384
+
385
+
367
386
 
368
387
 
369
388
 
@@ -441,6 +460,11 @@ module PureCloud
441
460
 
442
461
 
443
462
 
463
+
464
+
465
+
466
+
467
+
444
468
 
445
469
 
446
470
 
@@ -466,6 +490,7 @@ module PureCloud
466
490
  groups == o.groups &&
467
491
  roles == o.roles &&
468
492
  urnietfparamsscimschemasextensionenterprise2_0_user == o.urnietfparamsscimschemasextensionenterprise2_0_user &&
493
+ urnietfparamsscimschemasextensiongenesyspurecloud2_0_user == o.urnietfparamsscimschemasextensiongenesyspurecloud2_0_user &&
469
494
  meta == o.meta
470
495
  end
471
496
 
@@ -478,7 +503,7 @@ module PureCloud
478
503
  # Calculates hash code according to all attributes.
479
504
  # @return [Fixnum] Hash code
480
505
  def hash
481
- [id, schemas, active, user_name, display_name, password, title, phone_numbers, emails, photos, external_id, groups, roles, urnietfparamsscimschemasextensionenterprise2_0_user, meta].hash
506
+ [id, schemas, active, user_name, display_name, password, title, phone_numbers, emails, photos, external_id, groups, roles, urnietfparamsscimschemasextensionenterprise2_0_user, urnietfparamsscimschemasextensiongenesyspurecloud2_0_user, meta].hash
482
507
  end
483
508
 
484
509
  # build the object from hash
@@ -195,7 +195,7 @@ module PureCloud
195
195
 
196
196
 
197
197
 
198
- allowed_values = ["addressFrom", "addressOther", "addressSelf", "addressTo", "agentScore", "ani", "audioMuted", "callbackNumber", "callbackScheduledTime", "callbackUserName", "cobrowseRole", "cobrowseRoomId", "conference", "destinationConversationId", "destinationSessionId", "direction", "disconnectType", "dispositionAnalyzer", "dispositionName", "dnis", "edgeId", "endingLanguage", "entryReason", "entryType", "errorCode", "exitReason", "externalContactId", "externalOrganizationId", "flaggedReason", "flowId", "flowName", "flowOutcome", "flowOutcomeEndTimestamp", "flowOutcomeId", "flowOutcomeStartTimestamp", "flowOutcomeValue", "flowType", "flowVersion", "groupId", "issuedCallback", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "mediaBridgeId", "mediaCount", "mediaType", "messageType", "monitoredParticipantId", "outboundCampaignId", "outboundContactId", "outboundContactListId", "participantId", "participantName", "peerId", "protocolCallId", "provider", "purpose", "q850ResponseCode", "queueId", "recording", "remote", "remoteNameDisplayable", "requestedLanguageId", "requestedRoutingSkillId", "requestedRoutingUserId", "roomId", "scoredAgentId", "screenShareAddressSelf", "screenShareRoomId", "scriptId", "segmentEnd", "segmentType", "sessionDnis", "sessionId", "sharingScreen", "sipResponseCode", "skipEnabled", "sourceConversationId", "sourceSessionId", "startingLanguage", "subject", "timeoutSeconds", "transferTargetAddress", "transferTargetName", "transferType", "userId", "videoAddressSelf", "videoMuted", "videoRoomId", "wrapUpCode", "wrapUpNote", "wrapUpTag"]
198
+ allowed_values = ["addressFrom", "addressOther", "addressSelf", "addressTo", "agentScore", "ani", "audioMuted", "callbackNumber", "callbackScheduledTime", "callbackUserName", "cobrowseRole", "cobrowseRoomId", "conference", "destinationConversationId", "destinationSessionId", "direction", "disconnectType", "dispositionAnalyzer", "dispositionName", "dnis", "edgeId", "endingLanguage", "entryReason", "entryType", "errorCode", "exitReason", "externalContactId", "externalOrganizationId", "flaggedReason", "flowId", "flowName", "flowOutcome", "flowOutcomeEndTimestamp", "flowOutcomeId", "flowOutcomeStartTimestamp", "flowOutcomeValue", "flowType", "flowVersion", "groupId", "issuedCallback", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "mediaBridgeId", "mediaCount", "mediaType", "messageType", "monitoredParticipantId", "outboundCampaignId", "outboundContactId", "outboundContactListId", "participantId", "participantName", "peerId", "protocolCallId", "provider", "purpose", "q850ResponseCode", "queueId", "recording", "remote", "remoteNameDisplayable", "requestedLanguageId", "requestedRoutingSkillId", "requestedRoutingUserId", "roomId", "scoredAgentId", "screenShareAddressSelf", "screenShareRoomId", "scriptId", "segmentEnd", "segmentType", "sessionDnis", "sessionId", "sharingScreen", "sipResponseCode", "skipEnabled", "sourceConversationId", "sourceSessionId", "startingLanguage", "subject", "teamId", "timeoutSeconds", "transferTargetAddress", "transferTargetName", "transferType", "userId", "videoAddressSelf", "videoMuted", "videoRoomId", "wrapUpCode", "wrapUpNote", "wrapUpTag"]
199
199
  if @dimension && !allowed_values.include?(@dimension)
200
200
  return false
201
201
  end
@@ -262,7 +262,7 @@ module PureCloud
262
262
  # Custom attribute writer method checking allowed values (enum).
263
263
  # @param [Object] dimension Object to be assigned
264
264
  def dimension=(dimension)
265
- allowed_values = ["addressFrom", "addressOther", "addressSelf", "addressTo", "agentScore", "ani", "audioMuted", "callbackNumber", "callbackScheduledTime", "callbackUserName", "cobrowseRole", "cobrowseRoomId", "conference", "destinationConversationId", "destinationSessionId", "direction", "disconnectType", "dispositionAnalyzer", "dispositionName", "dnis", "edgeId", "endingLanguage", "entryReason", "entryType", "errorCode", "exitReason", "externalContactId", "externalOrganizationId", "flaggedReason", "flowId", "flowName", "flowOutcome", "flowOutcomeEndTimestamp", "flowOutcomeId", "flowOutcomeStartTimestamp", "flowOutcomeValue", "flowType", "flowVersion", "groupId", "issuedCallback", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "mediaBridgeId", "mediaCount", "mediaType", "messageType", "monitoredParticipantId", "outboundCampaignId", "outboundContactId", "outboundContactListId", "participantId", "participantName", "peerId", "protocolCallId", "provider", "purpose", "q850ResponseCode", "queueId", "recording", "remote", "remoteNameDisplayable", "requestedLanguageId", "requestedRoutingSkillId", "requestedRoutingUserId", "roomId", "scoredAgentId", "screenShareAddressSelf", "screenShareRoomId", "scriptId", "segmentEnd", "segmentType", "sessionDnis", "sessionId", "sharingScreen", "sipResponseCode", "skipEnabled", "sourceConversationId", "sourceSessionId", "startingLanguage", "subject", "timeoutSeconds", "transferTargetAddress", "transferTargetName", "transferType", "userId", "videoAddressSelf", "videoMuted", "videoRoomId", "wrapUpCode", "wrapUpNote", "wrapUpTag"]
265
+ allowed_values = ["addressFrom", "addressOther", "addressSelf", "addressTo", "agentScore", "ani", "audioMuted", "callbackNumber", "callbackScheduledTime", "callbackUserName", "cobrowseRole", "cobrowseRoomId", "conference", "destinationConversationId", "destinationSessionId", "direction", "disconnectType", "dispositionAnalyzer", "dispositionName", "dnis", "edgeId", "endingLanguage", "entryReason", "entryType", "errorCode", "exitReason", "externalContactId", "externalOrganizationId", "flaggedReason", "flowId", "flowName", "flowOutcome", "flowOutcomeEndTimestamp", "flowOutcomeId", "flowOutcomeStartTimestamp", "flowOutcomeValue", "flowType", "flowVersion", "groupId", "issuedCallback", "journeyActionId", "journeyActionMapId", "journeyActionMapVersion", "journeyCustomerId", "journeyCustomerIdType", "journeyCustomerSessionId", "journeyCustomerSessionIdType", "mediaBridgeId", "mediaCount", "mediaType", "messageType", "monitoredParticipantId", "outboundCampaignId", "outboundContactId", "outboundContactListId", "participantId", "participantName", "peerId", "protocolCallId", "provider", "purpose", "q850ResponseCode", "queueId", "recording", "remote", "remoteNameDisplayable", "requestedLanguageId", "requestedRoutingSkillId", "requestedRoutingUserId", "roomId", "scoredAgentId", "screenShareAddressSelf", "screenShareRoomId", "scriptId", "segmentEnd", "segmentType", "sessionDnis", "sessionId", "sharingScreen", "sipResponseCode", "skipEnabled", "sourceConversationId", "sourceSessionId", "startingLanguage", "subject", "teamId", "timeoutSeconds", "transferTargetAddress", "transferTargetName", "transferType", "userId", "videoAddressSelf", "videoMuted", "videoRoomId", "wrapUpCode", "wrapUpNote", "wrapUpTag"]
266
266
  if dimension && !allowed_values.include?(dimension)
267
267
  fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
268
268
  end
@@ -19,9 +19,12 @@ require 'date'
19
19
  module PureCloud
20
20
  # Short Term Forecast
21
21
  class ShortTermForecast
22
- # The id of the short term forecast
22
+ # The globally unique identifier for the object.
23
23
  attr_accessor :id
24
24
 
25
+ # The URI for this object
26
+ attr_accessor :self_uri
27
+
25
28
  # The weekDate of the short term forecast in yyyy-MM-dd format
26
29
  attr_accessor :week_date
27
30
 
@@ -46,15 +49,14 @@ module PureCloud
46
49
  # Forecast generation results, if applicable
47
50
  attr_accessor :generation_results
48
51
 
49
- # The URI for this object
50
- attr_accessor :self_uri
51
-
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
55
 
56
56
  :'id' => :'id',
57
57
 
58
+ :'self_uri' => :'selfUri',
59
+
58
60
  :'week_date' => :'weekDate',
59
61
 
60
62
  :'description' => :'description',
@@ -69,9 +71,7 @@ module PureCloud
69
71
 
70
72
  :'modifications' => :'modifications',
71
73
 
72
- :'generation_results' => :'generationResults',
73
-
74
- :'self_uri' => :'selfUri'
74
+ :'generation_results' => :'generationResults'
75
75
 
76
76
  }
77
77
  end
@@ -82,6 +82,8 @@ module PureCloud
82
82
 
83
83
  :'id' => :'String',
84
84
 
85
+ :'self_uri' => :'String',
86
+
85
87
  :'week_date' => :'String',
86
88
 
87
89
  :'description' => :'String',
@@ -96,9 +98,7 @@ module PureCloud
96
98
 
97
99
  :'modifications' => :'ListWrapperWfmForecastModification',
98
100
 
99
- :'generation_results' => :'ForecastGenerationResult',
100
-
101
- :'self_uri' => :'String'
101
+ :'generation_results' => :'ForecastGenerationResult'
102
102
 
103
103
  }
104
104
  end
@@ -121,6 +121,15 @@ module PureCloud
121
121
  end
122
122
 
123
123
 
124
+ if attributes.has_key?(:'selfUri')
125
+
126
+
127
+ self.self_uri = attributes[:'selfUri']
128
+
129
+
130
+ end
131
+
132
+
124
133
  if attributes.has_key?(:'weekDate')
125
134
 
126
135
 
@@ -193,15 +202,6 @@ module PureCloud
193
202
  end
194
203
 
195
204
 
196
- if attributes.has_key?(:'selfUri')
197
-
198
-
199
- self.self_uri = attributes[:'selfUri']
200
-
201
-
202
- end
203
-
204
-
205
205
  end
206
206
 
207
207
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -218,10 +218,9 @@ module PureCloud
218
218
  def valid?
219
219
 
220
220
 
221
- if @id.nil?
222
- return false
223
- end
224
-
221
+
222
+
223
+
225
224
 
226
225
 
227
226
 
@@ -268,10 +267,6 @@ module PureCloud
268
267
 
269
268
 
270
269
 
271
-
272
-
273
-
274
-
275
270
 
276
271
 
277
272
 
@@ -293,6 +288,11 @@ module PureCloud
293
288
 
294
289
 
295
290
 
291
+
292
+
293
+
294
+
295
+
296
296
 
297
297
 
298
298
 
@@ -328,11 +328,6 @@ module PureCloud
328
328
 
329
329
 
330
330
 
331
-
332
-
333
-
334
-
335
-
336
331
 
337
332
 
338
333
 
@@ -345,6 +340,7 @@ module PureCloud
345
340
  return true if self.equal?(o)
346
341
  self.class == o.class &&
347
342
  id == o.id &&
343
+ self_uri == o.self_uri &&
348
344
  week_date == o.week_date &&
349
345
  description == o.description &&
350
346
  creation_method == o.creation_method &&
@@ -352,8 +348,7 @@ module PureCloud
352
348
  source_data == o.source_data &&
353
349
  reference_start_date == o.reference_start_date &&
354
350
  modifications == o.modifications &&
355
- generation_results == o.generation_results &&
356
- self_uri == o.self_uri
351
+ generation_results == o.generation_results
357
352
  end
358
353
 
359
354
  # @see the `==` method
@@ -365,7 +360,7 @@ module PureCloud
365
360
  # Calculates hash code according to all attributes.
366
361
  # @return [Fixnum] Hash code
367
362
  def hash
368
- [id, week_date, description, creation_method, metadata, source_data, reference_start_date, modifications, generation_results, self_uri].hash
363
+ [id, self_uri, week_date, description, creation_method, metadata, source_data, reference_start_date, modifications, generation_results].hash
369
364
  end
370
365
 
371
366
  # build the object from hash
@@ -19,9 +19,12 @@ require 'date'
19
19
  module PureCloud
20
20
  # Abbreviated information for a short term forecast to be returned in a list
21
21
  class ShortTermForecastListItemResponse
22
- # The id of the short term forecast
22
+ # The globally unique identifier for the object.
23
23
  attr_accessor :id
24
24
 
25
+ # The URI for this object
26
+ attr_accessor :self_uri
27
+
25
28
  # The weekDate of the short term forecast in yyyy-MM-dd format
26
29
  attr_accessor :week_date
27
30
 
@@ -34,24 +37,21 @@ module PureCloud
34
37
  # Metadata for this forecast
35
38
  attr_accessor :metadata
36
39
 
37
- # The URI for this object
38
- attr_accessor :self_uri
39
-
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
43
 
44
44
  :'id' => :'id',
45
45
 
46
+ :'self_uri' => :'selfUri',
47
+
46
48
  :'week_date' => :'weekDate',
47
49
 
48
50
  :'description' => :'description',
49
51
 
50
52
  :'creation_method' => :'creationMethod',
51
53
 
52
- :'metadata' => :'metadata',
53
-
54
- :'self_uri' => :'selfUri'
54
+ :'metadata' => :'metadata'
55
55
 
56
56
  }
57
57
  end
@@ -62,15 +62,15 @@ module PureCloud
62
62
 
63
63
  :'id' => :'String',
64
64
 
65
+ :'self_uri' => :'String',
66
+
65
67
  :'week_date' => :'String',
66
68
 
67
69
  :'description' => :'String',
68
70
 
69
71
  :'creation_method' => :'String',
70
72
 
71
- :'metadata' => :'WfmVersionedEntityMetadata',
72
-
73
- :'self_uri' => :'String'
73
+ :'metadata' => :'WfmVersionedEntityMetadata'
74
74
 
75
75
  }
76
76
  end
@@ -93,6 +93,15 @@ module PureCloud
93
93
  end
94
94
 
95
95
 
96
+ if attributes.has_key?(:'selfUri')
97
+
98
+
99
+ self.self_uri = attributes[:'selfUri']
100
+
101
+
102
+ end
103
+
104
+
96
105
  if attributes.has_key?(:'weekDate')
97
106
 
98
107
 
@@ -129,15 +138,6 @@ module PureCloud
129
138
  end
130
139
 
131
140
 
132
- if attributes.has_key?(:'selfUri')
133
-
134
-
135
- self.self_uri = attributes[:'selfUri']
136
-
137
-
138
- end
139
-
140
-
141
141
  end
142
142
 
143
143
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -154,10 +154,9 @@ module PureCloud
154
154
  def valid?
155
155
 
156
156
 
157
- if @id.nil?
158
- return false
159
- end
160
-
157
+
158
+
159
+
161
160
 
162
161
 
163
162
 
@@ -193,10 +192,6 @@ module PureCloud
193
192
 
194
193
 
195
194
 
196
-
197
-
198
-
199
-
200
195
  end
201
196
 
202
197
 
@@ -213,6 +208,11 @@ module PureCloud
213
208
 
214
209
 
215
210
 
211
+
212
+
213
+
214
+
215
+
216
216
 
217
217
 
218
218
 
@@ -234,22 +234,17 @@ module PureCloud
234
234
 
235
235
 
236
236
 
237
-
238
-
239
-
240
-
241
-
242
237
  # Checks equality by comparing each attribute.
243
238
  # @param [Object] Object to be compared
244
239
  def ==(o)
245
240
  return true if self.equal?(o)
246
241
  self.class == o.class &&
247
242
  id == o.id &&
243
+ self_uri == o.self_uri &&
248
244
  week_date == o.week_date &&
249
245
  description == o.description &&
250
246
  creation_method == o.creation_method &&
251
- metadata == o.metadata &&
252
- self_uri == o.self_uri
247
+ metadata == o.metadata
253
248
  end
254
249
 
255
250
  # @see the `==` method
@@ -261,7 +256,7 @@ module PureCloud
261
256
  # Calculates hash code according to all attributes.
262
257
  # @return [Fixnum] Hash code
263
258
  def hash
264
- [id, week_date, description, creation_method, metadata, self_uri].hash
259
+ [id, self_uri, week_date, description, creation_method, metadata].hash
265
260
  end
266
261
 
267
262
  # build the object from hash
@@ -19,29 +19,29 @@ require 'date'
19
19
  module PureCloud
20
20
  # A pointer to a short term forecast
21
21
  class ShortTermForecastReference
22
- # The id of the short term forecast
22
+ # The globally unique identifier for the object.
23
23
  attr_accessor :id
24
24
 
25
+ # The URI for this object
26
+ attr_accessor :self_uri
27
+
25
28
  # The weekDate of the short term forecast in yyyy-MM-dd format
26
29
  attr_accessor :week_date
27
30
 
28
31
  # The description of the short term forecast
29
32
  attr_accessor :description
30
33
 
31
- # The URI for this object
32
- attr_accessor :self_uri
33
-
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
37
 
38
38
  :'id' => :'id',
39
39
 
40
- :'week_date' => :'weekDate',
40
+ :'self_uri' => :'selfUri',
41
41
 
42
- :'description' => :'description',
42
+ :'week_date' => :'weekDate',
43
43
 
44
- :'self_uri' => :'selfUri'
44
+ :'description' => :'description'
45
45
 
46
46
  }
47
47
  end
@@ -52,11 +52,11 @@ module PureCloud
52
52
 
53
53
  :'id' => :'String',
54
54
 
55
- :'week_date' => :'String',
55
+ :'self_uri' => :'String',
56
56
 
57
- :'description' => :'String',
57
+ :'week_date' => :'String',
58
58
 
59
- :'self_uri' => :'String'
59
+ :'description' => :'String'
60
60
 
61
61
  }
62
62
  end
@@ -79,28 +79,28 @@ module PureCloud
79
79
  end
80
80
 
81
81
 
82
- if attributes.has_key?(:'weekDate')
82
+ if attributes.has_key?(:'selfUri')
83
83
 
84
84
 
85
- self.week_date = attributes[:'weekDate']
85
+ self.self_uri = attributes[:'selfUri']
86
86
 
87
87
 
88
88
  end
89
89
 
90
90
 
91
- if attributes.has_key?(:'description')
91
+ if attributes.has_key?(:'weekDate')
92
92
 
93
93
 
94
- self.description = attributes[:'description']
94
+ self.week_date = attributes[:'weekDate']
95
95
 
96
96
 
97
97
  end
98
98
 
99
99
 
100
- if attributes.has_key?(:'selfUri')
100
+ if attributes.has_key?(:'description')
101
101
 
102
102
 
103
- self.self_uri = attributes[:'selfUri']
103
+ self.description = attributes[:'description']
104
104
 
105
105
 
106
106
  end
@@ -122,10 +122,9 @@ module PureCloud
122
122
  def valid?
123
123
 
124
124
 
125
- if @id.nil?
126
- return false
127
- end
128
-
125
+
126
+
127
+
129
128
 
130
129
 
131
130
 
@@ -143,10 +142,6 @@ module PureCloud
143
142
 
144
143
 
145
144
 
146
-
147
-
148
-
149
-
150
145
  end
151
146
 
152
147
 
@@ -176,9 +171,9 @@ module PureCloud
176
171
  return true if self.equal?(o)
177
172
  self.class == o.class &&
178
173
  id == o.id &&
174
+ self_uri == o.self_uri &&
179
175
  week_date == o.week_date &&
180
- description == o.description &&
181
- self_uri == o.self_uri
176
+ description == o.description
182
177
  end
183
178
 
184
179
  # @see the `==` method
@@ -190,7 +185,7 @@ module PureCloud
190
185
  # Calculates hash code according to all attributes.
191
186
  # @return [Fixnum] Hash code
192
187
  def hash
193
- [id, week_date, description, self_uri].hash
188
+ [id, self_uri, week_date, description].hash
194
189
  end
195
190
 
196
191
  # build the object from hash