purecloudplatformclientv2 85.0.1 → 90.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (752) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/ApiUsageQuery.md +16 -0
  6. data/docs/ApiUsageQueryResult.md +14 -0
  7. data/docs/ApiUsageRow.md +25 -0
  8. data/docs/ArchitectApi.md +132 -0
  9. data/docs/ArrayNode.md +5 -5
  10. data/docs/AttemptLimitsEntityListing.md +1 -1
  11. data/docs/AuditApi.md +60 -0
  12. data/docs/AuditQueryEntity.md +14 -0
  13. data/docs/AuditQueryExecutionStatusResponse.md +1 -0
  14. data/docs/AuditQueryRequest.md +1 -0
  15. data/docs/AuditQueryService.md +14 -0
  16. data/docs/AuditQueryServiceMapping.md +13 -0
  17. data/docs/AuditQuerySort.md +14 -0
  18. data/docs/AuthzDivisionEntityListing.md +1 -1
  19. data/docs/BuRescheduleRequest.md +2 -2
  20. data/docs/CalibrationEntityListing.md +1 -1
  21. data/docs/Call.md +1 -0
  22. data/docs/CallBasic.md +1 -0
  23. data/docs/CallConversationEntityListing.md +1 -1
  24. data/docs/CallHistoryConversationEntityListing.md +1 -1
  25. data/docs/CallableTimeSetEntityListing.md +1 -1
  26. data/docs/Callback.md +1 -0
  27. data/docs/CallbackBasic.md +1 -0
  28. data/docs/CallbackConversationEntityListing.md +1 -1
  29. data/docs/CampaignDivisionViewListing.md +1 -1
  30. data/docs/CampaignEntityListing.md +1 -1
  31. data/docs/CampaignRuleEntityListing.md +1 -1
  32. data/docs/CampaignSequenceEntityListing.md +1 -1
  33. data/docs/CertificateAuthorityEntityListing.md +1 -1
  34. data/docs/ChatConversationEntityListing.md +1 -1
  35. data/docs/ClientAppEntityListing.md +1 -1
  36. data/docs/CoachingAnnotation.md +21 -0
  37. data/docs/CoachingAnnotationCreateRequest.md +14 -0
  38. data/docs/CoachingAnnotationList.md +22 -0
  39. data/docs/CoachingApi.md +1132 -0
  40. data/docs/CoachingAppointmentReference.md +14 -0
  41. data/docs/CoachingAppointmentResponse.md +27 -0
  42. data/docs/CoachingAppointmentResponseList.md +22 -0
  43. data/docs/CoachingAppointmentStatusDto.md +16 -0
  44. data/docs/CoachingAppointmentStatusDtoList.md +17 -0
  45. data/docs/CoachingNotification.md +23 -0
  46. data/docs/CoachingNotificationList.md +22 -0
  47. data/docs/CobrowseConversationEntityListing.md +1 -1
  48. data/docs/Cobrowsesession.md +1 -0
  49. data/docs/CommandStatusEntityListing.md +1 -1
  50. data/docs/ConsumedResourcesEntityListing.md +1 -1
  51. data/docs/ConsumingResourcesEntityListing.md +1 -1
  52. data/docs/ContactListDivisionViewListing.md +1 -1
  53. data/docs/ContactListEntityListing.md +1 -1
  54. data/docs/ContactListFilterEntityListing.md +1 -1
  55. data/docs/ContactListing.md +1 -1
  56. data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
  57. data/docs/ContextIntent.md +13 -0
  58. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  59. data/docs/ConversationChat.md +1 -0
  60. data/docs/ConversationEntityListing.md +1 -1
  61. data/docs/ConversationEventTopicCall.md +1 -0
  62. data/docs/ConversationEventTopicCallback.md +2 -0
  63. data/docs/ConversationEventTopicChat.md +1 -0
  64. data/docs/ConversationEventTopicCobrowse.md +1 -0
  65. data/docs/ConversationEventTopicEmail.md +1 -0
  66. data/docs/ConversationEventTopicMessage.md +1 -0
  67. data/docs/ConversationEventTopicScreenshare.md +1 -0
  68. data/docs/ConversationEventTopicSocialExpression.md +1 -0
  69. data/docs/ConversationEventTopicVideo.md +1 -0
  70. data/docs/ConversationReference.md +14 -0
  71. data/docs/Coretype.md +23 -0
  72. data/docs/CoretypeListing.md +15 -0
  73. data/docs/CreateCoachingAppointmentRequest.md +20 -0
  74. data/docs/CreateQueueRequest.md +1 -0
  75. data/docs/CredentialInfoListing.md +1 -1
  76. data/docs/CredentialTypeListing.md +1 -1
  77. data/docs/DIDEntityListing.md +1 -1
  78. data/docs/DIDPoolEntityListing.md +1 -1
  79. data/docs/DataExtensionsApi.md +198 -0
  80. data/docs/DataSchemaListing.md +15 -0
  81. data/docs/DataTableRowEntityListing.md +1 -1
  82. data/docs/DataTablesDomainEntityListing.md +1 -1
  83. data/docs/DependencyObjectEntityListing.md +1 -1
  84. data/docs/DependencyTypeEntityListing.md +1 -1
  85. data/docs/DetectedDialogAct.md +14 -0
  86. data/docs/DetectedIntent.md +15 -0
  87. data/docs/DetectedNamedEntity.md +16 -0
  88. data/docs/DetectedNamedEntityValue.md +14 -0
  89. data/docs/DialerEventEntityListing.md +1 -1
  90. data/docs/DialogflowAgent.md +3 -2
  91. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  92. data/docs/DirectoryUserDevicesListing.md +1 -1
  93. data/docs/DivsPermittedEntityListing.md +1 -1
  94. data/docs/DncListDivisionViewListing.md +1 -1
  95. data/docs/DncListEntityListing.md +1 -1
  96. data/docs/DocumentAuditEntityListing.md +1 -1
  97. data/docs/DocumentEntityListing.md +1 -1
  98. data/docs/DocumentReference.md +14 -0
  99. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  100. data/docs/DomainEntityListing.md +1 -1
  101. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  102. data/docs/DomainEntityListingQueryResult.md +1 -1
  103. data/docs/DomainEntityListingSurveyForm.md +1 -1
  104. data/docs/DomainOrganizationRole.md +1 -1
  105. data/docs/DomainOrganizationRoleCreate.md +1 -1
  106. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  107. data/docs/Edge.md +1 -1
  108. data/docs/EdgeEntityListing.md +1 -1
  109. data/docs/EdgeGroupEntityListing.md +1 -1
  110. data/docs/EdgeLineEntityListing.md +1 -1
  111. data/docs/Email.md +1 -0
  112. data/docs/EmailConversationEntityListing.md +1 -1
  113. data/docs/EmailMessageListing.md +1 -1
  114. data/docs/EmergencyGroupListing.md +1 -1
  115. data/docs/EncryptionKeyEntityListing.md +1 -1
  116. data/docs/EntityListing.md +1 -5
  117. data/docs/EvaluationEntityListing.md +1 -1
  118. data/docs/EvaluationFormEntityListing.md +1 -1
  119. data/docs/EvaluatorActivityEntityListing.md +1 -1
  120. data/docs/ExtensionEntityListing.md +1 -1
  121. data/docs/ExtensionPoolEntityListing.md +1 -1
  122. data/docs/ExternalContact.md +2 -0
  123. data/docs/ExternalContactsApi.md +1001 -144
  124. data/docs/ExternalOrganization.md +2 -0
  125. data/docs/ExternalOrganizationListing.md +1 -1
  126. data/docs/FacebookIntegrationEntityListing.md +1 -1
  127. data/docs/FaxDocumentEntityListing.md +1 -1
  128. data/docs/FlowDivisionView.md +2 -0
  129. data/docs/FlowDivisionViewEntityListing.md +1 -1
  130. data/docs/FlowEntityListing.md +1 -1
  131. data/docs/FlowExecutionLaunchRequest.md +16 -0
  132. data/docs/FlowExecutionLaunchResponse.md +16 -0
  133. data/docs/FlowOutcomeListing.md +1 -1
  134. data/docs/FlowRuntimeExecution.md +23 -0
  135. data/docs/FlowVersionEntityListing.md +1 -1
  136. data/docs/GDPRRequestEntityListing.md +1 -1
  137. data/docs/GDPRSubjectEntityListing.md +1 -1
  138. data/docs/GenericSAML.md +22 -0
  139. data/docs/GreetingListing.md +1 -1
  140. data/docs/GroupEntityListing.md +1 -1
  141. data/docs/GroupProfileEntityListing.md +1 -1
  142. data/docs/GroupsApi.md +4 -4
  143. data/docs/IVREntityListing.md +1 -1
  144. data/docs/IdentityProviderApi.md +187 -0
  145. data/docs/InboundDomainEntityListing.md +1 -1
  146. data/docs/InboundRouteEntityListing.md +1 -1
  147. data/docs/IntegrationEntityListing.md +1 -1
  148. data/docs/IntegrationEventEntityListing.md +1 -1
  149. data/docs/IntegrationTypeEntityListing.md +1 -1
  150. data/docs/IntentDefinition.md +15 -0
  151. data/docs/IntentFeedback.md +16 -0
  152. data/docs/InteractionStatsAlertContainer.md +1 -1
  153. data/docs/InteractionStatsRuleContainer.md +1 -1
  154. data/docs/IpAddressAuthentication.md +13 -0
  155. data/docs/ItemValidationLimits.md +14 -0
  156. data/docs/Items.md +14 -0
  157. data/docs/JsonNode.md +5 -5
  158. data/docs/KeywordSetEntityListing.md +1 -1
  159. data/docs/KnowledgeSearchResponse.md +1 -1
  160. data/docs/LanguageEntityListing.md +1 -1
  161. data/docs/LanguageUnderstandingApi.md +1160 -0
  162. data/docs/LexBotAliasEntityListing.md +1 -1
  163. data/docs/LexBotEntityListing.md +1 -1
  164. data/docs/LibraryEntityListing.md +1 -1
  165. data/docs/LineBaseEntityListing.md +1 -1
  166. data/docs/LineEntityListing.md +1 -1
  167. data/docs/LineIntegrationEntityListing.md +1 -1
  168. data/docs/LocationEntityListing.md +1 -1
  169. data/docs/LogicalInterfaceEntityListing.md +1 -1
  170. data/docs/MaxLength.md +14 -0
  171. data/docs/Message.md +1 -0
  172. data/docs/MessageConversationEntityListing.md +1 -1
  173. data/docs/MessagingIntegrationEntityListing.md +1 -1
  174. data/docs/MessagingStickerEntityListing.md +1 -1
  175. data/docs/MinLength.md +14 -0
  176. data/docs/NamedEntityAnnotation.md +13 -0
  177. data/docs/NamedEntityTypeBinding.md +14 -0
  178. data/docs/NamedEntityTypeDefinition.md +15 -0
  179. data/docs/NamedEntityTypeItem.md +14 -0
  180. data/docs/NamedEntityTypeMechanism.md +15 -0
  181. data/docs/NluConfusionMatrixColumn.md +14 -0
  182. data/docs/NluConfusionMatrixRow.md +14 -0
  183. data/docs/NluDetectionContext.md +14 -0
  184. data/docs/NluDetectionInput.md +13 -0
  185. data/docs/NluDetectionOutput.md +14 -0
  186. data/docs/NluDetectionRequest.md +14 -0
  187. data/docs/NluDetectionResponse.md +15 -0
  188. data/docs/NluDomain.md +19 -0
  189. data/docs/NluDomainListing.md +22 -0
  190. data/docs/NluDomainVersion.md +25 -0
  191. data/docs/NluDomainVersionListing.md +22 -0
  192. data/docs/NluDomainVersionQualityReport.md +15 -0
  193. data/docs/NluDomainVersionTrainingResponse.md +14 -0
  194. data/docs/NluFeedbackListing.md +22 -0
  195. data/docs/NluFeedbackRequest.md +15 -0
  196. data/docs/NluFeedbackResponse.md +18 -0
  197. data/docs/NluQualityReportSummary.md +13 -0
  198. data/docs/NluQualityReportSummaryMetric.md +14 -0
  199. data/docs/NluUtterance.md +13 -0
  200. data/docs/NluUtteranceSegment.md +14 -0
  201. data/docs/NoteListing.md +1 -1
  202. data/docs/OAuthApi.md +208 -0
  203. data/docs/OAuthClientEntityListing.md +1 -1
  204. data/docs/OAuthProviderEntityListing.md +1 -1
  205. data/docs/OrganizationApi.md +126 -0
  206. data/docs/OrganizationPresenceEntityListing.md +1 -1
  207. data/docs/OrganizationRoleEntityListing.md +1 -1
  208. data/docs/OrphanRecordingListing.md +1 -1
  209. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  210. data/docs/OutboundRouteEntityListing.md +1 -1
  211. data/docs/PermissionCollectionEntityListing.md +1 -1
  212. data/docs/PhoneBaseEntityListing.md +1 -1
  213. data/docs/PhoneEntityListing.md +1 -1
  214. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  215. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  216. data/docs/PolicyEntityListing.md +1 -1
  217. data/docs/Prompt.md +2 -2
  218. data/docs/PromptAssetEntityListing.md +1 -1
  219. data/docs/PromptEntityListing.md +1 -1
  220. data/docs/QualityAuditPage.md +1 -1
  221. data/docs/Queue.md +1 -0
  222. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  223. data/docs/QueueConversationEventTopicCall.md +1 -0
  224. data/docs/QueueConversationEventTopicCallback.md +2 -0
  225. data/docs/QueueConversationEventTopicChat.md +1 -0
  226. data/docs/QueueConversationEventTopicCobrowse.md +1 -0
  227. data/docs/QueueConversationEventTopicEmail.md +1 -0
  228. data/docs/QueueConversationEventTopicMessage.md +1 -0
  229. data/docs/QueueConversationEventTopicScreenshare.md +1 -0
  230. data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
  231. data/docs/QueueConversationEventTopicVideo.md +1 -0
  232. data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
  233. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +2 -0
  234. data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
  235. data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
  236. data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
  237. data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
  238. data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
  239. data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
  240. data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
  241. data/docs/QueueConversationVideoEventTopicCall.md +1 -0
  242. data/docs/QueueConversationVideoEventTopicCallback.md +2 -0
  243. data/docs/QueueConversationVideoEventTopicChat.md +1 -0
  244. data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
  245. data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
  246. data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
  247. data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
  248. data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
  249. data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
  250. data/docs/QueueEntityListing.md +1 -1
  251. data/docs/QueueMemberEntityListing.md +1 -1
  252. data/docs/QueueRequest.md +1 -0
  253. data/docs/RecipientListing.md +1 -1
  254. data/docs/RecordingApi.md +12 -0
  255. data/docs/RecordingJobEntityListing.md +1 -1
  256. data/docs/RelationshipListing.md +1 -1
  257. data/docs/ReportMetaDataEntityListing.md +1 -1
  258. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  259. data/docs/ReportScheduleEntityListing.md +1 -1
  260. data/docs/ReportingExportJobListing.md +1 -1
  261. data/docs/ReportingExportJobRequest.md +1 -0
  262. data/docs/ReportingExportJobResponse.md +2 -0
  263. data/docs/ReportingExportMetadataJobListing.md +1 -1
  264. data/docs/ResponseEntityList.md +1 -1
  265. data/docs/ResponseEntityListing.md +1 -1
  266. data/docs/ResponseSetEntityListing.md +1 -1
  267. data/docs/RoutingApi.md +65 -0
  268. data/docs/RuleSetEntityListing.md +1 -1
  269. data/docs/SCIMApi.md +12 -12
  270. data/docs/ScheduleEntityListing.md +1 -1
  271. data/docs/ScheduleGroupEntityListing.md +1 -1
  272. data/docs/Schema.md +17 -0
  273. data/docs/SchemaCategoryEntityListing.md +1 -1
  274. data/docs/SchemaQuantityLimits.md +26 -0
  275. data/docs/SchemaReferenceEntityListing.md +1 -1
  276. data/docs/ScimEmail.md +1 -1
  277. data/docs/ScimV2EnterpriseUser.md +1 -0
  278. data/docs/ScreenRecordingSessionListing.md +1 -1
  279. data/docs/Screenshare.md +1 -0
  280. data/docs/ScriptEntityListing.md +1 -1
  281. data/docs/SecurityProfileEntityListing.md +1 -1
  282. data/docs/ShareEntityListing.md +1 -1
  283. data/docs/SiteEntityListing.md +1 -1
  284. data/docs/SkillEntityListing.md +1 -1
  285. data/docs/SmsAddressEntityListing.md +1 -1
  286. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  287. data/docs/SocialExpression.md +1 -0
  288. data/docs/StationEntityListing.md +1 -1
  289. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  290. data/docs/SurveyFormEntityListing.md +1 -1
  291. data/docs/SystemPromptAssetEntityListing.md +1 -1
  292. data/docs/SystemPromptEntityListing.md +1 -1
  293. data/docs/TagValueEntityListing.md +1 -1
  294. data/docs/TextMessageListing.md +1 -1
  295. data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
  296. data/docs/TimeOffRequestListing.md +13 -0
  297. data/docs/TimeZoneEntityListing.md +1 -1
  298. data/docs/TrunkBaseEntityListing.md +1 -1
  299. data/docs/TrunkEntityListing.md +1 -1
  300. data/docs/TrunkMetabaseEntityListing.md +1 -1
  301. data/docs/TrustEntityListing.md +1 -1
  302. data/docs/TrustUserEntityListing.md +1 -1
  303. data/docs/TrustorEntityListing.md +1 -1
  304. data/docs/TtsEngineEntityListing.md +1 -1
  305. data/docs/TtsVoiceEntityListing.md +1 -1
  306. data/docs/TwitterIntegrationEntityListing.md +1 -1
  307. data/docs/UpdateCoachingAppointmentRequest.md +18 -0
  308. data/docs/UploadUrlRequest.md +16 -0
  309. data/docs/UploadUrlResponse.md +14 -0
  310. data/docs/UploadsApi.md +78 -0
  311. data/docs/UsageApi.md +144 -0
  312. data/docs/UsageExecutionResult.md +14 -0
  313. data/docs/UserActionCategoryEntityListing.md +1 -1
  314. data/docs/UserAppEntityListing.md +1 -1
  315. data/docs/UserEntityListing.md +1 -1
  316. data/docs/UserLanguageEntityListing.md +1 -1
  317. data/docs/UserProfileEntityListing.md +1 -1
  318. data/docs/UserQueue.md +1 -0
  319. data/docs/UserQueueEntityListing.md +1 -1
  320. data/docs/UserRecordingEntityListing.md +1 -1
  321. data/docs/UserSkillEntityListing.md +1 -1
  322. data/docs/UsersApi.md +5 -5
  323. data/docs/ValidationLimits.md +18 -0
  324. data/docs/Video.md +1 -0
  325. data/docs/VoicemailMessageEntityListing.md +1 -1
  326. data/docs/WebChatMemberInfoEntityList.md +1 -1
  327. data/docs/WemLearningAssignmentRuleRunTopicLearningAssignmentRuleRunNotification.md +14 -0
  328. data/docs/WemLearningAssignmentRuleRunTopicLearningModuleReference.md +14 -0
  329. data/docs/WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated.md +13 -0
  330. data/docs/WemLearningAssignmentTopicLearningAssignmentNotification.md +22 -0
  331. data/docs/WemLearningAssignmentTopicLearningModuleReference.md +14 -0
  332. data/docs/WemLearningAssignmentTopicUserReference.md +13 -0
  333. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  334. data/docs/WorkforceManagementApi.md +297 -448
  335. data/docs/WorkspaceEntityListing.md +1 -1
  336. data/docs/WorkspaceMemberEntityListing.md +1 -1
  337. data/docs/WrapupCodeEntityListing.md +1 -1
  338. data/lib/purecloudplatformclientv2.rb +85 -57
  339. data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
  340. data/lib/purecloudplatformclientv2/api/audit_api.rb +55 -0
  341. data/lib/purecloudplatformclientv2/api/coaching_api.rb +1296 -0
  342. data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
  343. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
  344. data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
  345. data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
  346. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
  347. data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
  348. data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
  349. data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
  350. data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
  351. data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
  352. data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
  353. data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
  354. data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
  355. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
  356. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  357. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → api_usage_query.rb} +45 -67
  360. data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
  361. data/lib/purecloudplatformclientv2/models/{reschedule_request.rb → api_usage_row.rb} +182 -86
  362. data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
  363. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  364. data/lib/purecloudplatformclientv2/models/{unscheduled_agent_warning.rb → audit_query_entity.rb} +32 -30
  365. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +32 -4
  366. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +32 -4
  367. data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → audit_query_service.rb} +32 -31
  368. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → audit_query_service_mapping.rb} +10 -9
  369. data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
  370. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  371. data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
  372. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
  373. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  375. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  376. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  377. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  378. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  379. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  380. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  381. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  382. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  383. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  384. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  385. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  386. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  387. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  388. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  389. data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → coaching_annotation.rb} +73 -105
  390. data/lib/purecloudplatformclientv2/models/coaching_annotation_create_request.rb +252 -0
  391. data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +428 -0
  392. data/lib/purecloudplatformclientv2/models/coaching_appointment_reference.rb +228 -0
  393. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +587 -0
  394. data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +428 -0
  395. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_response.rb → coaching_appointment_status_dto.rb} +49 -44
  396. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → coaching_appointment_status_dto_list.rb} +52 -37
  397. data/lib/purecloudplatformclientv2/models/coaching_notification.rb +504 -0
  398. data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +428 -0
  399. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  401. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  407. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_entity.rb} +14 -10
  409. data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → context_intent.rb} +14 -10
  410. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  411. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
  412. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +32 -6
  413. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  414. data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
  415. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +51 -1
  416. data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
  417. data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
  418. data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
  419. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
  420. data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
  421. data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
  422. data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
  423. data/lib/purecloudplatformclientv2/models/conversation_reference.rb +228 -0
  424. data/lib/purecloudplatformclientv2/models/coretype.rb +465 -0
  425. data/lib/purecloudplatformclientv2/models/coretype_listing.rb +253 -0
  426. data/lib/purecloudplatformclientv2/models/{intraday_historical_queue_data.rb → create_coaching_appointment_request.rb} +100 -58
  427. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
  428. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
  431. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  432. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  434. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  435. data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
  436. data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
  437. data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → detected_named_entity.rb} +49 -26
  438. data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
  439. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  440. data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
  441. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  442. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  443. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  444. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  445. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +12 -12
  446. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  447. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  448. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  449. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  450. data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → document_reference.rb} +34 -16
  451. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  452. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  453. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  454. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  455. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  456. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  457. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  458. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  459. data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
  460. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  462. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  463. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  464. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  466. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  467. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  468. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  469. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  470. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  471. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  472. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  473. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  474. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  475. data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
  476. data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
  477. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  478. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  479. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  480. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  481. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
  482. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  483. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  484. data/lib/purecloudplatformclientv2/models/{queue_media_association.rb → flow_execution_launch_request.rb} +37 -32
  485. data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → flow_execution_launch_response.rb} +43 -24
  486. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  487. data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → flow_runtime_execution.rb} +120 -96
  488. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  489. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  490. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  491. data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
  492. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  493. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  494. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  495. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  496. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  497. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  498. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  499. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  500. data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → intent_definition.rb} +34 -26
  501. data/lib/purecloudplatformclientv2/models/intent_feedback.rb +296 -0
  502. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  503. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  504. data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
  505. data/lib/purecloudplatformclientv2/models/item_validation_limits.rb +238 -0
  506. data/lib/purecloudplatformclientv2/models/{time_off_request_entity_list.rb → items.rb} +33 -10
  507. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  508. data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
  509. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  510. data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
  511. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  512. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  513. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  514. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  515. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  516. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  517. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  518. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  519. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  520. data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
  521. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  522. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  523. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  524. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  525. data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
  526. data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → named_entity_annotation.rb} +14 -10
  527. data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
  528. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
  529. data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
  530. data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
  531. data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
  532. data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
  533. data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
  534. data/lib/purecloudplatformclientv2/models/nlu_detection_input.rb +207 -0
  535. data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
  536. data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
  537. data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
  538. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
  539. data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +428 -0
  540. data/lib/purecloudplatformclientv2/models/{update_week_schedule_request.rb → nlu_domain_version.rb} +187 -79
  541. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
  542. data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
  543. data/lib/purecloudplatformclientv2/models/nlu_domain_version_training_response.rb +227 -0
  544. data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +428 -0
  545. data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
  546. data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
  547. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
  548. data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
  549. data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
  550. data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
  551. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  552. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  553. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  554. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  555. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  556. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  558. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  559. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  560. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  561. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  562. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  563. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  564. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  565. data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
  566. data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
  567. data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
  568. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  569. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  570. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  571. data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
  572. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
  573. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
  574. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +51 -1
  575. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
  576. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
  577. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
  578. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
  579. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
  580. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
  581. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
  582. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
  583. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +51 -1
  584. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
  585. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
  586. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
  587. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
  588. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
  589. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
  590. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
  591. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
  592. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +51 -1
  593. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
  594. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
  595. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
  596. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
  597. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
  598. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
  599. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
  600. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  601. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  602. data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
  603. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  604. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  605. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  606. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  607. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  608. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  609. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  610. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
  611. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
  612. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +12 -12
  613. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  614. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  615. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  616. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  617. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  618. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  619. data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
  620. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  621. data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
  622. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  623. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  624. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
  625. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  626. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  627. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  628. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  629. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  630. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
  631. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  632. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  633. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  634. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  635. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  636. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  637. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  638. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  639. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  640. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  641. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  642. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  643. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
  644. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
  645. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  646. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  647. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  648. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  649. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  650. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  651. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  652. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  653. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  654. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  655. data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → update_coaching_appointment_request.rb} +60 -39
  656. data/lib/purecloudplatformclientv2/models/{route_group_attributes.rb → upload_url_request.rb} +43 -57
  657. data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
  658. data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
  659. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  660. data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +12 -12
  661. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  662. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  663. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  664. data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
  665. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  666. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  667. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  668. data/lib/purecloudplatformclientv2/models/validation_limits.rb +326 -0
  669. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  670. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  671. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  672. data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → wem_learning_assignment_rule_run_topic_learning_assignment_rule_run_notification.rb} +9 -11
  673. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_learning_module_reference.rb +226 -0
  674. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_rule_run_topic_wem_learning_assignments_created.rb +201 -0
  675. data/lib/purecloudplatformclientv2/models/wem_learning_assignment_topic_learning_assignment_notification.rb +440 -0
  676. data/lib/purecloudplatformclientv2/models/{intraday_performance_prediction_agent_data.rb → wem_learning_assignment_topic_learning_module_reference.rb} +33 -9
  677. data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → wem_learning_assignment_topic_user_reference.rb} +1 -2
  678. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  679. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  680. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  681. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  682. data/lib/purecloudplatformclientv2/version.rb +1 -1
  683. metadata +172 -116
  684. data/docs/AsyncWeekScheduleResponse.md +0 -16
  685. data/docs/CopyShortTermForecastRequest.md +0 -14
  686. data/docs/CopyWeekScheduleRequest.md +0 -14
  687. data/docs/CreateQueueMediaAssociationRequest.md +0 -15
  688. data/docs/CreateServiceGoalGroupRequest.md +0 -15
  689. data/docs/ForecastGenerationResult.md +0 -13
  690. data/docs/ForecastGenerationRouteGroupResult.md +0 -14
  691. data/docs/ForecastResultResponse.md +0 -14
  692. data/docs/ForecastTimeSeriesResult.md +0 -14
  693. data/docs/GenerateShortTermForecastRequest.md +0 -13
  694. data/docs/GenerateShortTermForecastResponse.md +0 -16
  695. data/docs/GenerateWeekScheduleRequest.md +0 -14
  696. data/docs/GenerateWeekScheduleResponse.md +0 -15
  697. data/docs/ImportShortTermForecastRequest.md +0 -16
  698. data/docs/ImportWeekScheduleRequest.md +0 -17
  699. data/docs/IntradayDataGroup.md +0 -19
  700. data/docs/IntradayForecastData.md +0 -15
  701. data/docs/IntradayHistoricalAgentData.md +0 -14
  702. data/docs/IntradayHistoricalQueueData.md +0 -20
  703. data/docs/IntradayMetric.md +0 -14
  704. data/docs/IntradayPerformancePredictionAgentData.md +0 -13
  705. data/docs/IntradayPerformancePredictionQueueData.md +0 -15
  706. data/docs/IntradayQueryDataCommand.md +0 -17
  707. data/docs/IntradayQueue.md +0 -15
  708. data/docs/IntradayResponse.md +0 -20
  709. data/docs/IntradayScheduleData.md +0 -14
  710. data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
  711. data/docs/ListWrapperWfmForecastModification.md +0 -13
  712. data/docs/QueueMediaAssociation.md +0 -16
  713. data/docs/RescheduleRequest.md +0 -20
  714. data/docs/RescheduleResult.md +0 -13
  715. data/docs/ReschedulingOptionsResponse.md +0 -22
  716. data/docs/RouteGroup.md +0 -18
  717. data/docs/RouteGroupAttributes.md +0 -16
  718. data/docs/RouteGroupList.md +0 -14
  719. data/docs/SchedulingRunListResponse.md +0 -13
  720. data/docs/SchedulingRunResponse.md +0 -28
  721. data/docs/ServiceGoalGroup.md +0 -18
  722. data/docs/ServiceGoalGroupGoals.md +0 -15
  723. data/docs/ServiceGoalGroupList.md +0 -14
  724. data/docs/ShortTermForecast.md +0 -22
  725. data/docs/ShortTermForecastListItemResponse.md +0 -18
  726. data/docs/ShortTermForecastListResponse.md +0 -13
  727. data/docs/ShortTermForecastResponse.md +0 -15
  728. data/docs/TimeOffRequestEntityList.md +0 -13
  729. data/docs/TimeOffRequestLookupList.md +0 -13
  730. data/docs/UnscheduledAgentWarning.md +0 -14
  731. data/docs/UpdateWeekScheduleRequest.md +0 -21
  732. data/docs/UserSchedulesPartialUploadRequest.md +0 -13
  733. data/docs/WfmAbandonRate.md +0 -14
  734. data/docs/WfmAverageSpeedOfAnswer.md +0 -14
  735. data/docs/WfmForecastModification.md +0 -20
  736. data/docs/WfmForecastModificationAttributes.md +0 -16
  737. data/docs/WfmIntradayQueueListing.md +0 -14
  738. data/docs/WfmServiceLevel.md +0 -15
  739. data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
  740. data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
  741. data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
  742. data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
  743. data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
  744. data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
  745. data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
  746. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
  747. data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
  748. data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
  749. data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
  750. data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
  751. data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
  752. data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -0,0 +1,201 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class WemLearningAssignmentRuleRunTopicWemLearningAssignmentsCreated
21
+ attr_accessor :_module
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+
27
+ :'_module' => :'module'
28
+
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.swagger_types
34
+ {
35
+
36
+ :'_module' => :'WemLearningAssignmentRuleRunTopicLearningModuleReference'
37
+
38
+ }
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
48
+
49
+
50
+ if attributes.has_key?(:'module')
51
+
52
+
53
+ self._module = attributes[:'module']
54
+
55
+
56
+ end
57
+
58
+
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properies with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+
66
+
67
+ return invalid_properties
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+
74
+
75
+
76
+
77
+
78
+ end
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+ # Checks equality by comparing each attribute.
87
+ # @param [Object] Object to be compared
88
+ def ==(o)
89
+ return true if self.equal?(o)
90
+ self.class == o.class &&
91
+ _module == o._module
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Fixnum] Hash code
102
+ def hash
103
+ [_module].hash
104
+ end
105
+
106
+ # build the object from hash
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.swagger_types.each_pair do |key, type|
110
+ if type =~ /^Array<(.*)>/i
111
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
112
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
113
+ else
114
+ #TODO show warning in debug mode
115
+ end
116
+ elsif !attributes[self.class.attribute_map[key]].nil?
117
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
118
+ else
119
+ # data not found in attributes(hash), not an issue as the data can be optional
120
+ end
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ def _deserialize(type, value)
127
+ case type.to_sym
128
+ when :DateTime
129
+ DateTime.parse(value)
130
+ when :Date
131
+ Date.parse(value)
132
+ when :String
133
+ value.to_s
134
+ when :Integer
135
+ value.to_i
136
+ when :Float
137
+ value.to_f
138
+ when :BOOLEAN
139
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
140
+ true
141
+ else
142
+ false
143
+ end
144
+ when :Object
145
+ # generic object (usually a Hash), return directly
146
+ value
147
+ when /\AArray<(?<inner_type>.+)>\z/
148
+ inner_type = Regexp.last_match[:inner_type]
149
+ value.map { |v| _deserialize(inner_type, v) }
150
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
151
+ k_type = Regexp.last_match[:k_type]
152
+ v_type = Regexp.last_match[:v_type]
153
+ {}.tap do |hash|
154
+ value.each do |k, v|
155
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
156
+ end
157
+ end
158
+ else # model
159
+ _model = Object.const_get("PureCloud").const_get(type).new
160
+ _model.build_from_hash(value)
161
+ end
162
+ end
163
+
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_body (backward compatibility))
169
+ def to_body
170
+ to_hash
171
+ end
172
+
173
+ # return the object in the form of hash
174
+ def to_hash
175
+ hash = {}
176
+ self.class.attribute_map.each_pair do |attr, param|
177
+ value = self.send(attr)
178
+ next if value.nil?
179
+ hash[param] = _to_hash(value)
180
+ end
181
+ hash
182
+ end
183
+
184
+ # Method to output non-array value in the form of hash
185
+ # For object, use to_hash. Otherwise, just return the value
186
+ def _to_hash(value)
187
+ if value.is_a?(Array)
188
+ value.compact.map{ |v| _to_hash(v) }
189
+ elsif value.is_a?(Hash)
190
+ {}.tap do |hash|
191
+ value.each { |k, v| hash[k] = _to_hash(v) }
192
+ end
193
+ elsif value.respond_to? :to_hash
194
+ value.to_hash
195
+ else
196
+ value
197
+ end
198
+ end
199
+
200
+ end
201
+ end
@@ -0,0 +1,440 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class WemLearningAssignmentTopicLearningAssignmentNotification
21
+ attr_accessor :id
22
+
23
+ attr_accessor :user
24
+
25
+ attr_accessor :_module
26
+
27
+ attr_accessor :version
28
+
29
+ attr_accessor :state
30
+
31
+ attr_accessor :date_recommended_for_completion
32
+
33
+ attr_accessor :created_by
34
+
35
+ attr_accessor :date_created
36
+
37
+ attr_accessor :modified_by
38
+
39
+ attr_accessor :date_modified
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+
45
+ :'id' => :'id',
46
+
47
+ :'user' => :'user',
48
+
49
+ :'_module' => :'module',
50
+
51
+ :'version' => :'version',
52
+
53
+ :'state' => :'state',
54
+
55
+ :'date_recommended_for_completion' => :'dateRecommendedForCompletion',
56
+
57
+ :'created_by' => :'createdBy',
58
+
59
+ :'date_created' => :'dateCreated',
60
+
61
+ :'modified_by' => :'modifiedBy',
62
+
63
+ :'date_modified' => :'dateModified'
64
+
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+
72
+ :'id' => :'String',
73
+
74
+ :'user' => :'WemLearningAssignmentTopicUserReference',
75
+
76
+ :'_module' => :'WemLearningAssignmentTopicLearningModuleReference',
77
+
78
+ :'version' => :'Integer',
79
+
80
+ :'state' => :'String',
81
+
82
+ :'date_recommended_for_completion' => :'DateTime',
83
+
84
+ :'created_by' => :'WemLearningAssignmentTopicUserReference',
85
+
86
+ :'date_created' => :'DateTime',
87
+
88
+ :'modified_by' => :'WemLearningAssignmentTopicUserReference',
89
+
90
+ :'date_modified' => :'DateTime'
91
+
92
+ }
93
+ end
94
+
95
+ # Initializes the object
96
+ # @param [Hash] attributes Model attributes in the form of hash
97
+ def initialize(attributes = {})
98
+ return unless attributes.is_a?(Hash)
99
+
100
+ # convert string to symbol for hash key
101
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
102
+
103
+
104
+ if attributes.has_key?(:'id')
105
+
106
+
107
+ self.id = attributes[:'id']
108
+
109
+
110
+ end
111
+
112
+
113
+ if attributes.has_key?(:'user')
114
+
115
+
116
+ self.user = attributes[:'user']
117
+
118
+
119
+ end
120
+
121
+
122
+ if attributes.has_key?(:'module')
123
+
124
+
125
+ self._module = attributes[:'module']
126
+
127
+
128
+ end
129
+
130
+
131
+ if attributes.has_key?(:'version')
132
+
133
+
134
+ self.version = attributes[:'version']
135
+
136
+
137
+ end
138
+
139
+
140
+ if attributes.has_key?(:'state')
141
+
142
+
143
+ self.state = attributes[:'state']
144
+
145
+
146
+ end
147
+
148
+
149
+ if attributes.has_key?(:'dateRecommendedForCompletion')
150
+
151
+
152
+ self.date_recommended_for_completion = attributes[:'dateRecommendedForCompletion']
153
+
154
+
155
+ end
156
+
157
+
158
+ if attributes.has_key?(:'createdBy')
159
+
160
+
161
+ self.created_by = attributes[:'createdBy']
162
+
163
+
164
+ end
165
+
166
+
167
+ if attributes.has_key?(:'dateCreated')
168
+
169
+
170
+ self.date_created = attributes[:'dateCreated']
171
+
172
+
173
+ end
174
+
175
+
176
+ if attributes.has_key?(:'modifiedBy')
177
+
178
+
179
+ self.modified_by = attributes[:'modifiedBy']
180
+
181
+
182
+ end
183
+
184
+
185
+ if attributes.has_key?(:'dateModified')
186
+
187
+
188
+ self.date_modified = attributes[:'dateModified']
189
+
190
+
191
+ end
192
+
193
+
194
+ end
195
+
196
+ # Show invalid properties with the reasons. Usually used together with valid?
197
+ # @return Array for valid properies with the reasons
198
+ def list_invalid_properties
199
+ invalid_properties = Array.new
200
+
201
+
202
+ return invalid_properties
203
+ end
204
+
205
+ # Check to see if the all the properties in the model are valid
206
+ # @return true if the model is valid
207
+ def valid?
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ allowed_values = ["Assigned", "InProgress", "Completed"]
228
+ if @state && !allowed_values.include?(@state)
229
+ return false
230
+ end
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+ end
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+ # Custom attribute writer method checking allowed values (enum).
279
+ # @param [Object] state Object to be assigned
280
+ def state=(state)
281
+ allowed_values = ["Assigned", "InProgress", "Completed"]
282
+ if state && !allowed_values.include?(state)
283
+ fail ArgumentError, "invalid value for 'state', must be one of #{allowed_values}."
284
+ end
285
+ @state = state
286
+ end
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ # Checks equality by comparing each attribute.
317
+ # @param [Object] Object to be compared
318
+ def ==(o)
319
+ return true if self.equal?(o)
320
+ self.class == o.class &&
321
+ id == o.id &&
322
+ user == o.user &&
323
+ _module == o._module &&
324
+ version == o.version &&
325
+ state == o.state &&
326
+ date_recommended_for_completion == o.date_recommended_for_completion &&
327
+ created_by == o.created_by &&
328
+ date_created == o.date_created &&
329
+ modified_by == o.modified_by &&
330
+ date_modified == o.date_modified
331
+ end
332
+
333
+ # @see the `==` method
334
+ # @param [Object] Object to be compared
335
+ def eql?(o)
336
+ self == o
337
+ end
338
+
339
+ # Calculates hash code according to all attributes.
340
+ # @return [Fixnum] Hash code
341
+ def hash
342
+ [id, user, _module, version, state, date_recommended_for_completion, created_by, date_created, modified_by, date_modified].hash
343
+ end
344
+
345
+ # build the object from hash
346
+ def build_from_hash(attributes)
347
+ return nil unless attributes.is_a?(Hash)
348
+ self.class.swagger_types.each_pair do |key, type|
349
+ if type =~ /^Array<(.*)>/i
350
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
351
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
352
+ else
353
+ #TODO show warning in debug mode
354
+ end
355
+ elsif !attributes[self.class.attribute_map[key]].nil?
356
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
357
+ else
358
+ # data not found in attributes(hash), not an issue as the data can be optional
359
+ end
360
+ end
361
+
362
+ self
363
+ end
364
+
365
+ def _deserialize(type, value)
366
+ case type.to_sym
367
+ when :DateTime
368
+ DateTime.parse(value)
369
+ when :Date
370
+ Date.parse(value)
371
+ when :String
372
+ value.to_s
373
+ when :Integer
374
+ value.to_i
375
+ when :Float
376
+ value.to_f
377
+ when :BOOLEAN
378
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
379
+ true
380
+ else
381
+ false
382
+ end
383
+ when :Object
384
+ # generic object (usually a Hash), return directly
385
+ value
386
+ when /\AArray<(?<inner_type>.+)>\z/
387
+ inner_type = Regexp.last_match[:inner_type]
388
+ value.map { |v| _deserialize(inner_type, v) }
389
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
390
+ k_type = Regexp.last_match[:k_type]
391
+ v_type = Regexp.last_match[:v_type]
392
+ {}.tap do |hash|
393
+ value.each do |k, v|
394
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
395
+ end
396
+ end
397
+ else # model
398
+ _model = Object.const_get("PureCloud").const_get(type).new
399
+ _model.build_from_hash(value)
400
+ end
401
+ end
402
+
403
+ def to_s
404
+ to_hash.to_s
405
+ end
406
+
407
+ # to_body is an alias to to_body (backward compatibility))
408
+ def to_body
409
+ to_hash
410
+ end
411
+
412
+ # return the object in the form of hash
413
+ def to_hash
414
+ hash = {}
415
+ self.class.attribute_map.each_pair do |attr, param|
416
+ value = self.send(attr)
417
+ next if value.nil?
418
+ hash[param] = _to_hash(value)
419
+ end
420
+ hash
421
+ end
422
+
423
+ # Method to output non-array value in the form of hash
424
+ # For object, use to_hash. Otherwise, just return the value
425
+ def _to_hash(value)
426
+ if value.is_a?(Array)
427
+ value.compact.map{ |v| _to_hash(v) }
428
+ elsif value.is_a?(Hash)
429
+ {}.tap do |hash|
430
+ value.each { |k, v| hash[k] = _to_hash(v) }
431
+ end
432
+ elsif value.respond_to? :to_hash
433
+ value.to_hash
434
+ else
435
+ value
436
+ end
437
+ end
438
+
439
+ end
440
+ end