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
@@ -17,20 +17,20 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- class CopyWeekScheduleRequest
21
- # Description of the copied week schedule
22
- attr_accessor :description
20
+ class NluConfusionMatrixColumn
21
+ # The name of the intent for the column.
22
+ attr_accessor :name
23
23
 
24
- # Week in yyyy-MM-dd format to which the schedule is copied
25
- attr_accessor :week_date
24
+ # The confusion value between the intents
25
+ attr_accessor :value
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
30
 
31
- :'description' => :'description',
31
+ :'name' => :'name',
32
32
 
33
- :'week_date' => :'weekDate'
33
+ :'value' => :'value'
34
34
 
35
35
  }
36
36
  end
@@ -39,9 +39,9 @@ module PureCloud
39
39
  def self.swagger_types
40
40
  {
41
41
 
42
- :'description' => :'String',
42
+ :'name' => :'String',
43
43
 
44
- :'week_date' => :'String'
44
+ :'value' => :'Float'
45
45
 
46
46
  }
47
47
  end
@@ -55,19 +55,19 @@ module PureCloud
55
55
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
56
56
 
57
57
 
58
- if attributes.has_key?(:'description')
58
+ if attributes.has_key?(:'name')
59
59
 
60
60
 
61
- self.description = attributes[:'description']
61
+ self.name = attributes[:'name']
62
62
 
63
63
 
64
64
  end
65
65
 
66
66
 
67
- if attributes.has_key?(:'weekDate')
67
+ if attributes.has_key?(:'value')
68
68
 
69
69
 
70
- self.week_date = attributes[:'weekDate']
70
+ self.value = attributes[:'value']
71
71
 
72
72
 
73
73
  end
@@ -89,7 +89,7 @@ module PureCloud
89
89
  def valid?
90
90
 
91
91
 
92
- if @description.nil?
92
+ if @name.nil?
93
93
  return false
94
94
  end
95
95
 
@@ -98,7 +98,7 @@ module PureCloud
98
98
 
99
99
 
100
100
 
101
- if @week_date.nil?
101
+ if @value.nil?
102
102
  return false
103
103
  end
104
104
 
@@ -124,8 +124,8 @@ module PureCloud
124
124
  def ==(o)
125
125
  return true if self.equal?(o)
126
126
  self.class == o.class &&
127
- description == o.description &&
128
- week_date == o.week_date
127
+ name == o.name &&
128
+ value == o.value
129
129
  end
130
130
 
131
131
  # @see the `==` method
@@ -137,7 +137,7 @@ module PureCloud
137
137
  # Calculates hash code according to all attributes.
138
138
  # @return [Fixnum] Hash code
139
139
  def hash
140
- [description, week_date].hash
140
+ [name, value].hash
141
141
  end
142
142
 
143
143
  # build the object from hash
@@ -17,21 +17,20 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Service goal average speed of answer configuration
21
- class WfmAverageSpeedOfAnswer
22
- # Whether to include average speed of answer (ASA) in the associated configuration
23
- attr_accessor :include
20
+ class NluConfusionMatrixRow
21
+ # The name of the intent for the row.
22
+ attr_accessor :name
24
23
 
25
- # The target average speed of answer (ASA) in seconds. Required if include == true
26
- attr_accessor :seconds
24
+ # The columns of confusion matrix for the intent
25
+ attr_accessor :columns
27
26
 
28
27
  # Attribute mapping from ruby-style variable name to JSON key.
29
28
  def self.attribute_map
30
29
  {
31
30
 
32
- :'include' => :'include',
31
+ :'name' => :'name',
33
32
 
34
- :'seconds' => :'seconds'
33
+ :'columns' => :'columns'
35
34
 
36
35
  }
37
36
  end
@@ -40,9 +39,9 @@ module PureCloud
40
39
  def self.swagger_types
41
40
  {
42
41
 
43
- :'include' => :'BOOLEAN',
42
+ :'name' => :'String',
44
43
 
45
- :'seconds' => :'Integer'
44
+ :'columns' => :'Array<NluConfusionMatrixColumn>'
46
45
 
47
46
  }
48
47
  end
@@ -56,19 +55,21 @@ module PureCloud
56
55
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
57
56
 
58
57
 
59
- if attributes.has_key?(:'include')
58
+ if attributes.has_key?(:'name')
60
59
 
61
60
 
62
- self.include = attributes[:'include']
61
+ self.name = attributes[:'name']
63
62
 
64
63
 
65
64
  end
66
65
 
67
66
 
68
- if attributes.has_key?(:'seconds')
67
+ if attributes.has_key?(:'columns')
69
68
 
69
+ if (value = attributes[:'columns']).is_a?(Array)
70
+ self.columns = value
71
+ end
70
72
 
71
- self.seconds = attributes[:'seconds']
72
73
 
73
74
 
74
75
  end
@@ -90,7 +91,7 @@ module PureCloud
90
91
  def valid?
91
92
 
92
93
 
93
- if @include.nil?
94
+ if @name.nil?
94
95
  return false
95
96
  end
96
97
 
@@ -99,6 +100,11 @@ module PureCloud
99
100
 
100
101
 
101
102
 
103
+ if @columns.nil?
104
+ return false
105
+ end
106
+
107
+
102
108
 
103
109
 
104
110
 
@@ -120,8 +126,8 @@ module PureCloud
120
126
  def ==(o)
121
127
  return true if self.equal?(o)
122
128
  self.class == o.class &&
123
- include == o.include &&
124
- seconds == o.seconds
129
+ name == o.name &&
130
+ columns == o.columns
125
131
  end
126
132
 
127
133
  # @see the `==` method
@@ -133,7 +139,7 @@ module PureCloud
133
139
  # Calculates hash code according to all attributes.
134
140
  # @return [Fixnum] Hash code
135
141
  def hash
136
- [include, seconds].hash
142
+ [name, columns].hash
137
143
  end
138
144
 
139
145
  # build the object from hash
@@ -0,0 +1,228 @@
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 NluDetectionContext
21
+ # Restrict detection to this intent.
22
+ attr_accessor :intent
23
+
24
+ # Use this entity to restrict detection.
25
+ attr_accessor :entity
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+
31
+ :'intent' => :'intent',
32
+
33
+ :'entity' => :'entity'
34
+
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+
42
+ :'intent' => :'ContextIntent',
43
+
44
+ :'entity' => :'ContextEntity'
45
+
46
+ }
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ return unless attributes.is_a?(Hash)
53
+
54
+ # convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
56
+
57
+
58
+ if attributes.has_key?(:'intent')
59
+
60
+
61
+ self.intent = attributes[:'intent']
62
+
63
+
64
+ end
65
+
66
+
67
+ if attributes.has_key?(:'entity')
68
+
69
+
70
+ self.entity = attributes[:'entity']
71
+
72
+
73
+ end
74
+
75
+
76
+ end
77
+
78
+ # Show invalid properties with the reasons. Usually used together with valid?
79
+ # @return Array for valid properies with the reasons
80
+ def list_invalid_properties
81
+ invalid_properties = Array.new
82
+
83
+
84
+ return invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ end
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ # Checks equality by comparing each attribute.
113
+ # @param [Object] Object to be compared
114
+ def ==(o)
115
+ return true if self.equal?(o)
116
+ self.class == o.class &&
117
+ intent == o.intent &&
118
+ entity == o.entity
119
+ end
120
+
121
+ # @see the `==` method
122
+ # @param [Object] Object to be compared
123
+ def eql?(o)
124
+ self == o
125
+ end
126
+
127
+ # Calculates hash code according to all attributes.
128
+ # @return [Fixnum] Hash code
129
+ def hash
130
+ [intent, entity].hash
131
+ end
132
+
133
+ # build the object from hash
134
+ def build_from_hash(attributes)
135
+ return nil unless attributes.is_a?(Hash)
136
+ self.class.swagger_types.each_pair do |key, type|
137
+ if type =~ /^Array<(.*)>/i
138
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
139
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
140
+ else
141
+ #TODO show warning in debug mode
142
+ end
143
+ elsif !attributes[self.class.attribute_map[key]].nil?
144
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
145
+ else
146
+ # data not found in attributes(hash), not an issue as the data can be optional
147
+ end
148
+ end
149
+
150
+ self
151
+ end
152
+
153
+ def _deserialize(type, value)
154
+ case type.to_sym
155
+ when :DateTime
156
+ DateTime.parse(value)
157
+ when :Date
158
+ Date.parse(value)
159
+ when :String
160
+ value.to_s
161
+ when :Integer
162
+ value.to_i
163
+ when :Float
164
+ value.to_f
165
+ when :BOOLEAN
166
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
167
+ true
168
+ else
169
+ false
170
+ end
171
+ when :Object
172
+ # generic object (usually a Hash), return directly
173
+ value
174
+ when /\AArray<(?<inner_type>.+)>\z/
175
+ inner_type = Regexp.last_match[:inner_type]
176
+ value.map { |v| _deserialize(inner_type, v) }
177
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
178
+ k_type = Regexp.last_match[:k_type]
179
+ v_type = Regexp.last_match[:v_type]
180
+ {}.tap do |hash|
181
+ value.each do |k, v|
182
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
183
+ end
184
+ end
185
+ else # model
186
+ _model = Object.const_get("PureCloud").const_get(type).new
187
+ _model.build_from_hash(value)
188
+ end
189
+ end
190
+
191
+ def to_s
192
+ to_hash.to_s
193
+ end
194
+
195
+ # to_body is an alias to to_body (backward compatibility))
196
+ def to_body
197
+ to_hash
198
+ end
199
+
200
+ # return the object in the form of hash
201
+ def to_hash
202
+ hash = {}
203
+ self.class.attribute_map.each_pair do |attr, param|
204
+ value = self.send(attr)
205
+ next if value.nil?
206
+ hash[param] = _to_hash(value)
207
+ end
208
+ hash
209
+ end
210
+
211
+ # Method to output non-array value in the form of hash
212
+ # For object, use to_hash. Otherwise, just return the value
213
+ def _to_hash(value)
214
+ if value.is_a?(Array)
215
+ value.compact.map{ |v| _to_hash(v) }
216
+ elsif value.is_a?(Hash)
217
+ {}.tap do |hash|
218
+ value.each { |k, v| hash[k] = _to_hash(v) }
219
+ end
220
+ elsif value.respond_to? :to_hash
221
+ value.to_hash
222
+ else
223
+ value
224
+ end
225
+ end
226
+
227
+ end
228
+ end
@@ -0,0 +1,207 @@
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 NluDetectionInput
21
+ # The text to perform NLU detection on.
22
+ attr_accessor :text
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+
28
+ :'text' => :'text'
29
+
30
+ }
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.swagger_types
35
+ {
36
+
37
+ :'text' => :'String'
38
+
39
+ }
40
+ end
41
+
42
+ # Initializes the object
43
+ # @param [Hash] attributes Model attributes in the form of hash
44
+ def initialize(attributes = {})
45
+ return unless attributes.is_a?(Hash)
46
+
47
+ # convert string to symbol for hash key
48
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
49
+
50
+
51
+ if attributes.has_key?(:'text')
52
+
53
+
54
+ self.text = attributes[:'text']
55
+
56
+
57
+ end
58
+
59
+
60
+ end
61
+
62
+ # Show invalid properties with the reasons. Usually used together with valid?
63
+ # @return Array for valid properies with the reasons
64
+ def list_invalid_properties
65
+ invalid_properties = Array.new
66
+
67
+
68
+ return invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+
75
+
76
+ if @text.nil?
77
+ return false
78
+ end
79
+
80
+
81
+
82
+
83
+
84
+ end
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+ # Checks equality by comparing each attribute.
93
+ # @param [Object] Object to be compared
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ text == o.text
98
+ end
99
+
100
+ # @see the `==` method
101
+ # @param [Object] Object to be compared
102
+ def eql?(o)
103
+ self == o
104
+ end
105
+
106
+ # Calculates hash code according to all attributes.
107
+ # @return [Fixnum] Hash code
108
+ def hash
109
+ [text].hash
110
+ end
111
+
112
+ # build the object from hash
113
+ def build_from_hash(attributes)
114
+ return nil unless attributes.is_a?(Hash)
115
+ self.class.swagger_types.each_pair do |key, type|
116
+ if type =~ /^Array<(.*)>/i
117
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
118
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
119
+ else
120
+ #TODO show warning in debug mode
121
+ end
122
+ elsif !attributes[self.class.attribute_map[key]].nil?
123
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
124
+ else
125
+ # data not found in attributes(hash), not an issue as the data can be optional
126
+ end
127
+ end
128
+
129
+ self
130
+ end
131
+
132
+ def _deserialize(type, value)
133
+ case type.to_sym
134
+ when :DateTime
135
+ DateTime.parse(value)
136
+ when :Date
137
+ Date.parse(value)
138
+ when :String
139
+ value.to_s
140
+ when :Integer
141
+ value.to_i
142
+ when :Float
143
+ value.to_f
144
+ when :BOOLEAN
145
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
146
+ true
147
+ else
148
+ false
149
+ end
150
+ when :Object
151
+ # generic object (usually a Hash), return directly
152
+ value
153
+ when /\AArray<(?<inner_type>.+)>\z/
154
+ inner_type = Regexp.last_match[:inner_type]
155
+ value.map { |v| _deserialize(inner_type, v) }
156
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
157
+ k_type = Regexp.last_match[:k_type]
158
+ v_type = Regexp.last_match[:v_type]
159
+ {}.tap do |hash|
160
+ value.each do |k, v|
161
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
162
+ end
163
+ end
164
+ else # model
165
+ _model = Object.const_get("PureCloud").const_get(type).new
166
+ _model.build_from_hash(value)
167
+ end
168
+ end
169
+
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_body (backward compatibility))
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # return the object in the form of hash
180
+ def to_hash
181
+ hash = {}
182
+ self.class.attribute_map.each_pair do |attr, param|
183
+ value = self.send(attr)
184
+ next if value.nil?
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ # Method to output non-array value in the form of hash
191
+ # For object, use to_hash. Otherwise, just return the value
192
+ def _to_hash(value)
193
+ if value.is_a?(Array)
194
+ value.compact.map{ |v| _to_hash(v) }
195
+ elsif value.is_a?(Hash)
196
+ {}.tap do |hash|
197
+ value.each { |k, v| hash[k] = _to_hash(v) }
198
+ end
199
+ elsif value.respond_to? :to_hash
200
+ value.to_hash
201
+ else
202
+ value
203
+ end
204
+ end
205
+
206
+ end
207
+ end