purecloudplatformclientv2 89.0.0 → 94.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (753) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AfterCallWork.md +15 -0
  5. data/docs/AgentActivityEntityListing.md +1 -1
  6. data/docs/AmazonLexRequest.md +14 -0
  7. data/docs/AnalyticsApi.md +67 -1
  8. data/docs/AnalyticsEvaluation.md +1 -1
  9. data/docs/AnalyticsParticipant.md +1 -0
  10. data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
  11. data/docs/AnalyticsSession.md +4 -0
  12. data/docs/ArchitectApi.md +51 -49
  13. data/docs/AttemptLimitsEntityListing.md +1 -1
  14. data/docs/AuditApi.md +70 -0
  15. data/docs/AuditRealtimeQueryRequest.md +18 -0
  16. data/docs/AuditRealtimeQueryResultsResponse.md +17 -0
  17. data/docs/AuthorizationApi.md +12 -12
  18. data/docs/AuthzDivisionEntityListing.md +1 -1
  19. data/docs/Biography.md +1 -0
  20. data/docs/BuAgentScheduleActivity.md +2 -0
  21. data/docs/BuRescheduleRequest.md +2 -2
  22. data/docs/ButtonComponent.md +16 -0
  23. data/docs/CalibrationEntityListing.md +1 -1
  24. data/docs/Call.md +1 -0
  25. data/docs/CallBasic.md +1 -0
  26. data/docs/CallConversationEntityListing.md +1 -1
  27. data/docs/CallHistoryConversationEntityListing.md +1 -1
  28. data/docs/CallableTimeSetEntityListing.md +1 -1
  29. data/docs/Callback.md +1 -0
  30. data/docs/CallbackBasic.md +1 -0
  31. data/docs/CallbackConversationEntityListing.md +1 -1
  32. data/docs/CampaignDivisionViewListing.md +1 -1
  33. data/docs/CampaignEntityListing.md +1 -1
  34. data/docs/CampaignRuleEntityListing.md +1 -1
  35. data/docs/CampaignSequenceEntityListing.md +1 -1
  36. data/docs/CertificateAuthorityEntityListing.md +1 -1
  37. data/docs/CertificateDetails.md +1 -1
  38. data/docs/ChatConversationEntityListing.md +1 -1
  39. data/docs/ClientAppEntityListing.md +1 -1
  40. data/docs/CoachingAnnotationList.md +1 -1
  41. data/docs/CoachingApi.md +27 -26
  42. data/docs/CoachingAppointmentResponseList.md +1 -1
  43. data/docs/CoachingNotificationList.md +1 -1
  44. data/docs/CobrowseConversationEntityListing.md +1 -1
  45. data/docs/Cobrowsesession.md +1 -0
  46. data/docs/CommandStatusEntityListing.md +1 -1
  47. data/docs/CommonCampaign.md +17 -0
  48. data/docs/CommonCampaignDivisionView.md +17 -0
  49. data/docs/CommonCampaignDivisionViewEntityListing.md +22 -0
  50. data/docs/CommonCampaignEntityListing.md +22 -0
  51. data/docs/ConsumedResourcesEntityListing.md +1 -1
  52. data/docs/ConsumingResourcesEntityListing.md +1 -1
  53. data/docs/Contact.md +1 -0
  54. data/docs/ContactListDivisionViewListing.md +1 -1
  55. data/docs/ContactListEntityListing.md +1 -1
  56. data/docs/ContactListFilterEntityListing.md +1 -1
  57. data/docs/ContactListing.md +1 -1
  58. data/docs/ContentActions.md +17 -0
  59. data/docs/ContentAttachment.md +19 -0
  60. data/docs/ContentGeneric.md +19 -0
  61. data/docs/ContentList.md +19 -0
  62. data/docs/ContentLocation.md +17 -0
  63. data/docs/ContentNotificationTemplate.md +17 -0
  64. data/docs/ContentQuickReply.md +16 -0
  65. data/docs/ConversationAggregationQuery.md +1 -1
  66. data/docs/ConversationAssociation.md +1 -1
  67. data/docs/ConversationChat.md +1 -0
  68. data/docs/ConversationEntityListing.md +1 -1
  69. data/docs/ConversationEventTopicAfterCallWork.md +15 -0
  70. data/docs/ConversationEventTopicCall.md +1 -0
  71. data/docs/ConversationEventTopicCallback.md +1 -0
  72. data/docs/ConversationEventTopicChat.md +1 -0
  73. data/docs/ConversationEventTopicCobrowse.md +1 -0
  74. data/docs/ConversationEventTopicEmail.md +1 -0
  75. data/docs/ConversationEventTopicMessage.md +2 -0
  76. data/docs/ConversationEventTopicScreenshare.md +1 -0
  77. data/docs/ConversationEventTopicSocialExpression.md +1 -0
  78. data/docs/ConversationEventTopicVideo.md +1 -0
  79. data/docs/ConversationsApi.md +73 -4
  80. data/docs/CredentialInfoListing.md +1 -1
  81. data/docs/CredentialTypeListing.md +1 -1
  82. data/docs/CursorContactListing.md +16 -0
  83. data/docs/CursorNoteListing.md +16 -0
  84. data/docs/CursorOrganizationListing.md +16 -0
  85. data/docs/CursorRelationshipListing.md +16 -0
  86. data/docs/DIDEntityListing.md +1 -1
  87. data/docs/DIDPoolEntityListing.md +1 -1
  88. data/docs/DataTableRowEntityListing.md +1 -1
  89. data/docs/DataTablesDomainEntityListing.md +1 -1
  90. data/docs/DependencyObjectEntityListing.md +1 -1
  91. data/docs/DependencyTypeEntityListing.md +1 -1
  92. data/docs/DialerEventEntityListing.md +1 -1
  93. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  94. data/docs/DirectoryUserDevicesListing.md +1 -1
  95. data/docs/DivsPermittedEntityListing.md +1 -1
  96. data/docs/DncListDivisionViewListing.md +1 -1
  97. data/docs/DncListEntityListing.md +1 -1
  98. data/docs/DocumentAuditEntityListing.md +1 -1
  99. data/docs/DocumentEntityListing.md +1 -1
  100. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  101. data/docs/DomainEntityListing.md +1 -1
  102. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  103. data/docs/DomainEntityListingQueryResult.md +1 -1
  104. data/docs/DomainEntityListingSurveyForm.md +1 -1
  105. data/docs/EdgeEntityListing.md +1 -1
  106. data/docs/EdgeGroup.md +1 -0
  107. data/docs/EdgeGroupEntityListing.md +1 -1
  108. data/docs/EdgeLineEntityListing.md +1 -1
  109. data/docs/Education.md +17 -0
  110. data/docs/Email.md +1 -0
  111. data/docs/EmailConversationEntityListing.md +1 -1
  112. data/docs/EmailMessageListing.md +1 -1
  113. data/docs/EmergencyGroupListing.md +1 -1
  114. data/docs/EncryptionKeyEntityListing.md +1 -1
  115. data/docs/EntityListing.md +1 -5
  116. data/docs/EvaluationAggregationQuery.md +1 -1
  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/ExternalContactsApi.md +285 -9
  123. data/docs/ExternalOrganizationListing.md +1 -1
  124. data/docs/FacebookIntegrationEntityListing.md +1 -1
  125. data/docs/FacebookIntegrationUpdateRequest.md +14 -0
  126. data/docs/FaxDocumentEntityListing.md +1 -1
  127. data/docs/FlowAggregationQuery.md +1 -1
  128. data/docs/FlowDivisionViewEntityListing.md +1 -1
  129. data/docs/FlowEntityListing.md +1 -1
  130. data/docs/FlowOutcomeListing.md +1 -1
  131. data/docs/FlowVersionEntityListing.md +1 -1
  132. data/docs/GDPRRequestEntityListing.md +1 -1
  133. data/docs/GDPRSubjectEntityListing.md +1 -1
  134. data/docs/GoogleDialogflowCustomSettings.md +13 -0
  135. data/docs/GreetingListing.md +1 -1
  136. data/docs/GroupEntityListing.md +1 -1
  137. data/docs/GroupProfileEntityListing.md +1 -1
  138. data/docs/GroupsApi.md +4 -4
  139. data/docs/HistoricalAdherenceActuals.md +15 -0
  140. data/docs/HistoricalAdherenceDayMetrics.md +23 -0
  141. data/docs/HistoricalAdherenceExceptionInfo.md +21 -0
  142. data/docs/HistoricalAdherenceQueryResult.md +21 -0
  143. data/docs/HistoryListing.md +1 -1
  144. data/docs/IVREntityListing.md +1 -1
  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/IntegrationsApi.md +14 -14
  151. data/docs/InteractionStatsAlertContainer.md +1 -1
  152. data/docs/InteractionStatsRuleContainer.md +1 -1
  153. data/docs/JourneyAggregateDataContainer.md +14 -0
  154. data/docs/JourneyAggregateQueryClause.md +14 -0
  155. data/docs/JourneyAggregateQueryFilter.md +15 -0
  156. data/docs/JourneyAggregateQueryPredicate.md +17 -0
  157. data/docs/JourneyAggregateQueryResponse.md +13 -0
  158. data/docs/JourneyAggregationQuery.md +21 -0
  159. data/docs/JourneyAggregationView.md +16 -0
  160. data/docs/JourneyApi.md +78 -0
  161. data/docs/KeywordSetEntityListing.md +1 -1
  162. data/docs/KnowledgeSearchRequest.md +3 -3
  163. data/docs/LanguageEntityListing.md +1 -1
  164. data/docs/LanguageUnderstandingApi.md +164 -30
  165. data/docs/LexBotAliasEntityListing.md +1 -1
  166. data/docs/LexBotEntityListing.md +1 -1
  167. data/docs/LibraryEntityListing.md +1 -1
  168. data/docs/LineBaseEntityListing.md +1 -1
  169. data/docs/LineEntityListing.md +1 -1
  170. data/docs/LineIntegrationEntityListing.md +1 -1
  171. data/docs/ListItemComponent.md +19 -0
  172. data/docs/LocationEntityListing.md +1 -1
  173. data/docs/LogicalInterfaceEntityListing.md +1 -1
  174. data/docs/ManagementUnitListing.md +1 -1
  175. data/docs/Message.md +1 -0
  176. data/docs/MessageContent.md +19 -0
  177. data/docs/MessageConversationEntityListing.md +1 -1
  178. data/docs/MessagingCampaign.md +28 -0
  179. data/docs/MessagingCampaignDivisionView.md +16 -0
  180. data/docs/MessagingCampaignDivisionViewEntityListing.md +22 -0
  181. data/docs/MessagingCampaignEntityListing.md +22 -0
  182. data/docs/MessagingIntegrationEntityListing.md +1 -1
  183. data/docs/MessagingStickerEntityListing.md +1 -1
  184. data/docs/NluDomainListing.md +1 -1
  185. data/docs/NluDomainVersion.md +2 -1
  186. data/docs/NluDomainVersionListing.md +1 -1
  187. data/docs/NluFeedbackListing.md +1 -1
  188. data/docs/NoteListing.md +1 -1
  189. data/docs/NotificationTemplateBody.md +14 -0
  190. data/docs/NotificationTemplateFooter.md +13 -0
  191. data/docs/NotificationTemplateHeader.md +16 -0
  192. data/docs/NotificationTemplateParameter.md +14 -0
  193. data/docs/OAuthClient.md +1 -0
  194. data/docs/OAuthClientEntityListing.md +1 -1
  195. data/docs/OAuthClientListing.md +1 -0
  196. data/docs/OAuthClientRequest.md +1 -0
  197. data/docs/OAuthProviderEntityListing.md +1 -1
  198. data/docs/ObjectsApi.md +4 -4
  199. data/docs/ObservationValue.md +3 -1
  200. data/docs/OrgOAuthClient.md +1 -0
  201. data/docs/OrganizationPresenceEntityListing.md +1 -1
  202. data/docs/OrganizationRoleEntityListing.md +1 -1
  203. data/docs/OrphanRecordingListing.md +1 -1
  204. data/docs/OutboundApi.md +881 -76
  205. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  206. data/docs/OutboundRouteEntityListing.md +1 -1
  207. data/docs/PermissionCollectionEntityListing.md +1 -1
  208. data/docs/PhoneBaseEntityListing.md +1 -1
  209. data/docs/PhoneCapabilities.md +1 -0
  210. data/docs/PhoneEntityListing.md +1 -1
  211. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  212. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  213. data/docs/PolicyEntityListing.md +1 -1
  214. data/docs/PostTextMessage.md +15 -0
  215. data/docs/PostTextRequest.md +23 -0
  216. data/docs/PostTextResponse.md +20 -0
  217. data/docs/PresenceApi.md +206 -6
  218. data/docs/PresenceExpand.md +17 -0
  219. data/docs/PromptAssetEntityListing.md +1 -1
  220. data/docs/PromptEntityListing.md +1 -1
  221. data/docs/QualityApi.md +18 -18
  222. data/docs/QualityAuditPage.md +1 -1
  223. data/docs/QueueConversationEventTopicAfterCallWork.md +15 -0
  224. data/docs/QueueConversationEventTopicCall.md +1 -0
  225. data/docs/QueueConversationEventTopicCallback.md +1 -0
  226. data/docs/QueueConversationEventTopicChat.md +1 -0
  227. data/docs/QueueConversationEventTopicCobrowse.md +1 -0
  228. data/docs/QueueConversationEventTopicEmail.md +1 -0
  229. data/docs/QueueConversationEventTopicMessage.md +2 -0
  230. data/docs/QueueConversationEventTopicScreenshare.md +1 -0
  231. data/docs/QueueConversationEventTopicSocialExpression.md +1 -0
  232. data/docs/QueueConversationEventTopicVideo.md +1 -0
  233. data/docs/QueueConversationSocialExpressionEventTopicAfterCallWork.md +15 -0
  234. data/docs/QueueConversationSocialExpressionEventTopicCall.md +1 -0
  235. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
  236. data/docs/QueueConversationSocialExpressionEventTopicChat.md +1 -0
  237. data/docs/QueueConversationSocialExpressionEventTopicCobrowse.md +1 -0
  238. data/docs/QueueConversationSocialExpressionEventTopicEmail.md +1 -0
  239. data/docs/QueueConversationSocialExpressionEventTopicMessage.md +2 -0
  240. data/docs/QueueConversationSocialExpressionEventTopicScreenshare.md +1 -0
  241. data/docs/QueueConversationSocialExpressionEventTopicSocialExpression.md +1 -0
  242. data/docs/QueueConversationSocialExpressionEventTopicVideo.md +1 -0
  243. data/docs/QueueConversationVideoEventTopicAfterCallWork.md +15 -0
  244. data/docs/QueueConversationVideoEventTopicCall.md +1 -0
  245. data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
  246. data/docs/QueueConversationVideoEventTopicChat.md +1 -0
  247. data/docs/QueueConversationVideoEventTopicCobrowse.md +1 -0
  248. data/docs/QueueConversationVideoEventTopicEmail.md +1 -0
  249. data/docs/QueueConversationVideoEventTopicMessage.md +2 -0
  250. data/docs/QueueConversationVideoEventTopicScreenshare.md +1 -0
  251. data/docs/QueueConversationVideoEventTopicSocialExpression.md +1 -0
  252. data/docs/QueueConversationVideoEventTopicVideo.md +1 -0
  253. data/docs/QueueEntityListing.md +1 -1
  254. data/docs/QueueMemberEntityListing.md +1 -1
  255. data/docs/RecipientListing.md +1 -1
  256. data/docs/RecordingApi.md +4 -4
  257. data/docs/RecordingJobEntityListing.md +1 -1
  258. data/docs/RelationshipListing.md +1 -1
  259. data/docs/ReportMetaDataEntityListing.md +1 -1
  260. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  261. data/docs/ReportScheduleEntityListing.md +1 -1
  262. data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
  263. data/docs/ReportingExportJobListing.md +1 -1
  264. data/docs/ReportingExportJobRequest.md +2 -0
  265. data/docs/ReportingExportJobResponse.md +3 -0
  266. data/docs/ReportingExportMetadataJobListing.md +1 -1
  267. data/docs/ResponseEntityList.md +1 -1
  268. data/docs/ResponseEntityListing.md +1 -1
  269. data/docs/ResponseSetEntityListing.md +1 -1
  270. data/docs/RuleSetEntityListing.md +1 -1
  271. data/docs/SCIMApi.md +156 -156
  272. data/docs/ScheduleEntityListing.md +1 -1
  273. data/docs/ScheduleGroupEntityListing.md +1 -1
  274. data/docs/SchemaCategoryEntityListing.md +1 -1
  275. data/docs/SchemaReferenceEntityListing.md +1 -1
  276. data/docs/ScimConfigResourceType.md +1 -2
  277. data/docs/ScimEmail.md +1 -1
  278. data/docs/ScimGenesysUserExternalId.md +14 -0
  279. data/docs/ScimServiceProviderConfig.md +0 -1
  280. data/docs/ScimUserExtensions.md +3 -2
  281. data/docs/ScimUserRole.md +1 -1
  282. data/docs/ScimUserRoutingLanguage.md +2 -2
  283. data/docs/ScimUserRoutingSkill.md +2 -2
  284. data/docs/ScimV2CreateUser.md +3 -3
  285. data/docs/ScimV2Group.md +1 -2
  286. data/docs/ScimV2SchemaAttribute.md +11 -11
  287. data/docs/ScimV2SchemaDefinition.md +4 -5
  288. data/docs/ScimV2SchemaListResponse.md +1 -1
  289. data/docs/ScimV2User.md +4 -5
  290. data/docs/ScreenRecordingSessionListing.md +1 -1
  291. data/docs/Screenshare.md +1 -0
  292. data/docs/ScriptEntityListing.md +1 -1
  293. data/docs/SearchApi.md +3 -1
  294. data/docs/SecurityProfileEntityListing.md +1 -1
  295. data/docs/ShareEntityListing.md +1 -1
  296. data/docs/SiteEntityListing.md +1 -1
  297. data/docs/SkillEntityListing.md +1 -1
  298. data/docs/SmsAddressEntityListing.md +1 -1
  299. data/docs/SmsConfig.md +15 -0
  300. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  301. data/docs/SmsPhoneNumberRef.md +14 -0
  302. data/docs/SocialExpression.md +1 -0
  303. data/docs/StationEntityListing.md +1 -1
  304. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  305. data/docs/SurveyAggregationQuery.md +1 -1
  306. data/docs/SurveyForm.md +0 -2
  307. data/docs/SurveyFormEntityListing.md +1 -1
  308. data/docs/SystemPromptAssetEntityListing.md +1 -1
  309. data/docs/SystemPromptEntityListing.md +1 -1
  310. data/docs/TagValueEntityListing.md +1 -1
  311. data/docs/TelephonyProvidersEdgeApi.md +6 -2
  312. data/docs/TextMessageListing.md +1 -1
  313. data/docs/TextbotsApi.md +78 -0
  314. data/docs/TimeZoneEntityListing.md +1 -1
  315. data/docs/TrunkBaseEntityListing.md +1 -1
  316. data/docs/TrunkEntityListing.md +1 -1
  317. data/docs/TrunkMetabaseEntityListing.md +1 -1
  318. data/docs/TrustEntityListing.md +1 -1
  319. data/docs/TrustUserEntityListing.md +1 -1
  320. data/docs/TrustorEntityListing.md +1 -1
  321. data/docs/TtsEngineEntityListing.md +1 -1
  322. data/docs/TtsVoiceEntityListing.md +1 -1
  323. data/docs/TwitterIntegrationEntityListing.md +1 -1
  324. data/docs/UpdateCoachingAppointmentRequest.md +1 -0
  325. data/docs/UserActionCategoryEntityListing.md +1 -1
  326. data/docs/UserAggregationQuery.md +1 -1
  327. data/docs/UserAppEntityListing.md +1 -1
  328. data/docs/UserEntityListing.md +1 -1
  329. data/docs/UserLanguageEntityListing.md +1 -1
  330. data/docs/UserProfileEntityListing.md +1 -1
  331. data/docs/UserQueueEntityListing.md +1 -1
  332. data/docs/UserRecordingEntityListing.md +1 -1
  333. data/docs/UserRoutingLanguage.md +3 -3
  334. data/docs/UserRoutingLanguagePost.md +1 -1
  335. data/docs/UserRoutingSkill.md +1 -1
  336. data/docs/UserSearchRequest.md +1 -0
  337. data/docs/UserSkillEntityListing.md +1 -1
  338. data/docs/UsersApi.md +21 -9
  339. data/docs/Video.md +1 -0
  340. data/docs/ViewFilter.md +2 -0
  341. data/docs/VoicemailMessageEntityListing.md +1 -1
  342. data/docs/VoicemailMessagesTopicOwner.md +13 -0
  343. data/docs/VoicemailMessagesTopicVoicemailCopyRecord.md +14 -0
  344. data/docs/VoicemailMessagesTopicVoicemailMessage.md +2 -0
  345. data/docs/VoicemailUserPolicy.md +1 -0
  346. data/docs/WebChatMemberInfoEntityList.md +1 -1
  347. data/docs/WfmBuShortTermForecastImportCompleteTopicBuForecastModification.md +23 -0
  348. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecast.md +24 -0
  349. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecastNotification.md +15 -0
  350. data/docs/WfmBuShortTermForecastImportCompleteTopicForecastSourceDayPointer.md +17 -0
  351. data/docs/WfmBuShortTermForecastImportCompleteTopicModificationIntervalOffsetValue.md +14 -0
  352. data/docs/WfmBuShortTermForecastImportCompleteTopicUserReference.md +13 -0
  353. data/docs/WfmBuShortTermForecastImportCompleteTopicWfmVersionedEntityMetadata.md +15 -0
  354. data/docs/WfmBusinessUnitReference.md +14 -0
  355. data/docs/WfmHistoricalAdherenceResponse.md +1 -0
  356. data/docs/WfmHistoricalAdherenceResultWrapper.md +15 -0
  357. data/docs/WfmHistoricalDataUploadPurgeRequestStatusTopicHistoricalDataUploadPurgeRequestUpdate.md +13 -0
  358. data/docs/WfmHistoricalDataUploadRequestStatusTopicDateTime.md +16 -0
  359. data/docs/WfmHistoricalDataUploadRequestStatusTopicHistoricalDataUploadRequestUpdate.md +20 -0
  360. data/docs/WfmScheduleReference.md +16 -0
  361. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  362. data/docs/WorkforceManagementApi.md +3 -3
  363. data/docs/WorkspaceEntityListing.md +1 -1
  364. data/docs/WorkspaceMemberEntityListing.md +1 -1
  365. data/docs/WrapupCodeEntityListing.md +1 -1
  366. data/lib/purecloudplatformclientv2.rb +72 -1
  367. data/lib/purecloudplatformclientv2/api/analytics_api.rb +67 -2
  368. data/lib/purecloudplatformclientv2/api/architect_api.rb +15 -6
  369. data/lib/purecloudplatformclientv2/api/audit_api.rb +74 -0
  370. data/lib/purecloudplatformclientv2/api/authorization_api.rb +12 -12
  371. data/lib/purecloudplatformclientv2/api/coaching_api.rb +10 -9
  372. data/lib/purecloudplatformclientv2/api/conversations_api.rb +79 -4
  373. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +305 -13
  374. data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
  375. data/lib/purecloudplatformclientv2/api/integrations_api.rb +14 -14
  376. data/lib/purecloudplatformclientv2/api/journey_api.rb +92 -0
  377. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +189 -30
  378. data/lib/purecloudplatformclientv2/api/objects_api.rb +4 -4
  379. data/lib/purecloudplatformclientv2/api/outbound_api.rb +1215 -155
  380. data/lib/purecloudplatformclientv2/api/presence_api.rb +213 -8
  381. data/lib/purecloudplatformclientv2/api/quality_api.rb +18 -18
  382. data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
  383. data/lib/purecloudplatformclientv2/api/scim_api.rb +142 -142
  384. data/lib/purecloudplatformclientv2/api/search_api.rb +13 -0
  385. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +18 -0
  386. data/lib/purecloudplatformclientv2/api/textbots_api.rb +92 -0
  387. data/lib/purecloudplatformclientv2/api/users_api.rb +82 -4
  388. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +6 -6
  389. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  390. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
  391. data/lib/purecloudplatformclientv2/models/after_call_work.rb +267 -0
  392. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
  393. data/lib/purecloudplatformclientv2/models/amazon_lex_request.rb +232 -0
  394. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  395. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +29 -1
  396. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +29 -1
  397. data/lib/purecloudplatformclientv2/models/analytics_session.rb +124 -4
  398. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
  399. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  400. data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +2 -2
  401. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
  402. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
  403. data/lib/purecloudplatformclientv2/models/audit_query_service.rb +2 -2
  404. data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +360 -0
  405. data/lib/purecloudplatformclientv2/models/audit_realtime_query_results_response.rb +303 -0
  406. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +14 -14
  407. data/lib/purecloudplatformclientv2/models/biography.rb +32 -4
  408. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +70 -4
  409. data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
  410. data/lib/purecloudplatformclientv2/models/button_component.rb +281 -0
  411. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
  412. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  413. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  414. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
  415. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
  416. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
  417. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  418. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  419. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
  420. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +14 -14
  421. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
  422. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
  423. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
  424. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
  425. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  426. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
  427. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +14 -14
  428. data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +14 -14
  429. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +2 -2
  430. data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +14 -14
  431. data/lib/purecloudplatformclientv2/models/coaching_notification.rb +2 -2
  432. data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +14 -14
  433. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
  434. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  435. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
  436. data/lib/purecloudplatformclientv2/models/{scim_metadata.rb → common_campaign.rb} +70 -45
  437. data/lib/purecloudplatformclientv2/models/common_campaign_division_view.rb +320 -0
  438. data/lib/purecloudplatformclientv2/models/common_campaign_division_view_entity_listing.rb +428 -0
  439. data/lib/purecloudplatformclientv2/models/common_campaign_entity_listing.rb +428 -0
  440. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
  441. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
  442. data/lib/purecloudplatformclientv2/models/contact.rb +29 -4
  443. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +14 -14
  444. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
  445. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
  446. data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
  447. data/lib/purecloudplatformclientv2/models/content_actions.rb +309 -0
  448. data/lib/purecloudplatformclientv2/models/content_attachment.rb +378 -0
  449. data/lib/purecloudplatformclientv2/models/content_generic.rb +361 -0
  450. data/lib/purecloudplatformclientv2/models/content_list.rb +375 -0
  451. data/lib/purecloudplatformclientv2/models/content_location.rb +307 -0
  452. data/lib/purecloudplatformclientv2/models/content_notification_template.rb +312 -0
  453. data/lib/purecloudplatformclientv2/models/content_quick_reply.rb +300 -0
  454. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  455. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +1 -1
  456. data/lib/purecloudplatformclientv2/models/conversation_association.rb +1 -1
  457. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
  458. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
  459. data/lib/purecloudplatformclientv2/models/conversation_event_topic_after_call_work.rb +265 -0
  460. data/lib/purecloudplatformclientv2/models/conversation_event_topic_call.rb +26 -1
  461. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
  462. data/lib/purecloudplatformclientv2/models/conversation_event_topic_chat.rb +26 -1
  463. data/lib/purecloudplatformclientv2/models/conversation_event_topic_cobrowse.rb +26 -1
  464. data/lib/purecloudplatformclientv2/models/conversation_event_topic_email.rb +26 -1
  465. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +51 -1
  466. data/lib/purecloudplatformclientv2/models/conversation_event_topic_screenshare.rb +26 -1
  467. data/lib/purecloudplatformclientv2/models/conversation_event_topic_social_expression.rb +26 -1
  468. data/lib/purecloudplatformclientv2/models/conversation_event_topic_video.rb +26 -1
  469. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +14 -14
  470. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +14 -14
  471. data/lib/purecloudplatformclientv2/models/cursor_contact_listing.rb +278 -0
  472. data/lib/purecloudplatformclientv2/models/cursor_note_listing.rb +278 -0
  473. data/lib/purecloudplatformclientv2/models/cursor_organization_listing.rb +278 -0
  474. data/lib/purecloudplatformclientv2/models/cursor_relationship_listing.rb +278 -0
  475. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +14 -14
  476. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +14 -14
  477. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  478. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  479. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
  480. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
  481. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
  482. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +14 -14
  483. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
  484. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
  485. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
  486. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +14 -14
  487. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +14 -14
  488. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
  489. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
  490. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
  491. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
  492. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
  493. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
  494. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
  495. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +14 -14
  496. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
  497. data/lib/purecloudplatformclientv2/models/edge_group.rb +27 -1
  498. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
  499. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
  500. data/lib/purecloudplatformclientv2/models/education.rb +304 -0
  501. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  502. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
  503. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
  504. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +14 -14
  505. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
  506. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  507. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +1 -1
  508. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
  509. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
  510. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
  511. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  512. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
  513. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
  514. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
  515. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +14 -14
  516. data/lib/purecloudplatformclientv2/models/facebook_integration_update_request.rb +228 -0
  517. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
  518. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  519. data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +1 -1
  520. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +14 -14
  521. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
  522. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +14 -14
  523. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
  524. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +14 -14
  525. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +14 -14
  526. data/lib/purecloudplatformclientv2/models/google_dialogflow_custom_settings.rb +202 -0
  527. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
  528. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
  529. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +14 -14
  530. data/lib/purecloudplatformclientv2/models/historical_adherence_actuals.rb +268 -0
  531. data/lib/purecloudplatformclientv2/models/historical_adherence_day_metrics.rb +462 -0
  532. data/lib/purecloudplatformclientv2/models/historical_adherence_exception_info.rb +466 -0
  533. data/lib/purecloudplatformclientv2/models/historical_adherence_query_result.rb +430 -0
  534. data/lib/purecloudplatformclientv2/models/history_listing.rb +12 -12
  535. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
  536. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
  537. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +14 -14
  538. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +14 -14
  539. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +14 -14
  540. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
  541. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
  542. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
  543. data/lib/purecloudplatformclientv2/models/journey_aggregate_data_container.rb +231 -0
  544. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_clause.rb +254 -0
  545. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_filter.rb +277 -0
  546. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_predicate.rb +348 -0
  547. data/lib/purecloudplatformclientv2/models/journey_aggregate_query_response.rb +203 -0
  548. data/lib/purecloudplatformclientv2/models/journey_aggregation_query.rb +435 -0
  549. data/lib/purecloudplatformclientv2/models/journey_aggregation_view.rb +323 -0
  550. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
  551. data/lib/purecloudplatformclientv2/models/knowledge_search_request.rb +0 -15
  552. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
  553. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +14 -14
  554. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +14 -14
  555. data/lib/purecloudplatformclientv2/models/library.rb +2 -2
  556. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
  557. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
  558. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
  559. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +14 -14
  560. data/lib/purecloudplatformclientv2/models/list_item_component.rb +373 -0
  561. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
  562. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
  563. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
  564. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  565. data/lib/purecloudplatformclientv2/models/message_content.rb +378 -0
  566. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +14 -14
  567. data/lib/purecloudplatformclientv2/models/messaging_campaign.rb +621 -0
  568. data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view.rb +279 -0
  569. data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view_entity_listing.rb +428 -0
  570. data/lib/purecloudplatformclientv2/models/messaging_campaign_entity_listing.rb +428 -0
  571. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +14 -14
  572. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +14 -14
  573. data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +14 -14
  574. data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +32 -1
  575. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +14 -14
  576. data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +14 -14
  577. data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
  578. data/lib/purecloudplatformclientv2/models/notification_template_body.rb +236 -0
  579. data/lib/purecloudplatformclientv2/models/notification_template_footer.rb +203 -0
  580. data/lib/purecloudplatformclientv2/models/notification_template_header.rb +302 -0
  581. data/lib/purecloudplatformclientv2/models/notification_template_parameter.rb +234 -0
  582. data/lib/purecloudplatformclientv2/models/o_auth_client.rb +41 -1
  583. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
  584. data/lib/purecloudplatformclientv2/models/o_auth_client_listing.rb +41 -1
  585. data/lib/purecloudplatformclientv2/models/o_auth_client_request.rb +44 -4
  586. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
  587. data/lib/purecloudplatformclientv2/models/observation_value.rb +70 -2
  588. data/lib/purecloudplatformclientv2/models/org_o_auth_client.rb +41 -1
  589. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
  590. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
  591. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
  592. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
  593. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
  594. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
  595. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
  596. data/lib/purecloudplatformclientv2/models/phone_capabilities.rb +29 -4
  597. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
  598. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
  599. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
  600. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
  601. data/lib/purecloudplatformclientv2/models/post_text_message.rb +275 -0
  602. data/lib/purecloudplatformclientv2/models/post_text_request.rb +482 -0
  603. data/lib/purecloudplatformclientv2/models/post_text_response.rb +413 -0
  604. data/lib/purecloudplatformclientv2/models/presence_expand.rb +309 -0
  605. data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
  606. data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
  607. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
  608. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
  609. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
  610. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_after_call_work.rb +265 -0
  611. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_call.rb +26 -1
  612. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
  613. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_chat.rb +26 -1
  614. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_cobrowse.rb +26 -1
  615. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_email.rb +26 -1
  616. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +51 -1
  617. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_screenshare.rb +26 -1
  618. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_social_expression.rb +26 -1
  619. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_video.rb +26 -1
  620. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_after_call_work.rb +265 -0
  621. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_call.rb +26 -1
  622. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
  623. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_chat.rb +26 -1
  624. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_cobrowse.rb +26 -1
  625. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_email.rb +26 -1
  626. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +51 -1
  627. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_screenshare.rb +26 -1
  628. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_social_expression.rb +26 -1
  629. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_video.rb +26 -1
  630. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_after_call_work.rb +265 -0
  631. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_call.rb +26 -1
  632. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
  633. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_chat.rb +26 -1
  634. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_cobrowse.rb +26 -1
  635. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_email.rb +26 -1
  636. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +51 -1
  637. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_screenshare.rb +26 -1
  638. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_social_expression.rb +26 -1
  639. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_video.rb +26 -1
  640. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
  641. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
  642. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +14 -14
  643. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +14 -14
  644. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
  645. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
  646. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
  647. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
  648. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +31 -4
  649. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +14 -14
  650. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +53 -1
  651. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +78 -1
  652. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +14 -14
  653. data/lib/purecloudplatformclientv2/models/response.rb +2 -2
  654. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
  655. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
  656. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
  657. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
  658. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
  659. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
  660. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
  661. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
  662. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +5 -31
  663. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  664. data/lib/purecloudplatformclientv2/models/scim_genesys_user_external_id.rb +229 -0
  665. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
  666. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +4 -30
  667. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +35 -7
  668. data/lib/purecloudplatformclientv2/models/scim_user_role.rb +1 -1
  669. data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +3 -3
  670. data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +3 -3
  671. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +3 -2
  672. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
  673. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +5 -31
  674. data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +12 -12
  675. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +9 -35
  676. data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +2 -2
  677. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +8 -33
  678. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
  679. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  680. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
  681. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
  682. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  683. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
  684. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
  685. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
  686. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +14 -14
  687. data/lib/purecloudplatformclientv2/models/sms_config.rb +269 -0
  688. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +14 -14
  689. data/lib/purecloudplatformclientv2/models/sms_phone_number_ref.rb +232 -0
  690. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  691. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
  692. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +14 -14
  693. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +1 -1
  694. data/lib/purecloudplatformclientv2/models/survey_form.rb +1 -53
  695. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +14 -14
  696. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
  697. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
  698. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
  699. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +14 -14
  700. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
  701. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
  702. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
  703. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
  704. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
  705. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
  706. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
  707. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +14 -14
  708. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +14 -14
  709. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +14 -14
  710. data/lib/purecloudplatformclientv2/models/update_coaching_appointment_request.rb +44 -4
  711. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +14 -14
  712. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +1 -1
  713. data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +14 -14
  714. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
  715. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +14 -14
  716. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +14 -14
  717. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
  718. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
  719. data/lib/purecloudplatformclientv2/models/user_routing_language.rb +4 -4
  720. data/lib/purecloudplatformclientv2/models/user_routing_language_post.rb +1 -1
  721. data/lib/purecloudplatformclientv2/models/user_routing_skill.rb +1 -1
  722. data/lib/purecloudplatformclientv2/models/user_search_request.rb +44 -4
  723. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
  724. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  725. data/lib/purecloudplatformclientv2/models/view_filter.rb +58 -4
  726. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
  727. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_owner.rb +201 -0
  728. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_copy_record.rb +226 -0
  729. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_message.rb +56 -4
  730. data/lib/purecloudplatformclientv2/models/voicemail_user_policy.rb +30 -4
  731. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +14 -14
  732. data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +4 -4
  733. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_forecast_modification.rb +497 -0
  734. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast.rb +494 -0
  735. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast_notification.rb +265 -0
  736. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_forecast_source_day_pointer.rb +315 -0
  737. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_modification_interval_offset_value.rb +226 -0
  738. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_user_reference.rb +201 -0
  739. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_wfm_versioned_entity_metadata.rb +251 -0
  740. data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +228 -0
  741. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_response.rb +27 -1
  742. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_result_wrapper.rb +258 -0
  743. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_purge_request_status_topic_historical_data_upload_purge_request_update.rb +215 -0
  744. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_date_time.rb +276 -0
  745. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_historical_data_upload_request_update.rb +390 -0
  746. data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +280 -0
  747. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +14 -14
  748. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
  749. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
  750. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
  751. data/lib/purecloudplatformclientv2/version.rb +1 -1
  752. metadata +147 -5
  753. data/docs/ScimMetadata.md +0 -16
@@ -0,0 +1,312 @@
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
+ # Template notification object
21
+ class ContentNotificationTemplate
22
+ # The messaging channel template id. For WhatsApp, 'namespace@name'
23
+ attr_accessor :id
24
+
25
+ # Template language
26
+ attr_accessor :language
27
+
28
+ # Template header object
29
+ attr_accessor :header
30
+
31
+ # Template body object
32
+ attr_accessor :body
33
+
34
+ # Template footer object
35
+ attr_accessor :footer
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+
41
+ :'id' => :'id',
42
+
43
+ :'language' => :'language',
44
+
45
+ :'header' => :'header',
46
+
47
+ :'body' => :'body',
48
+
49
+ :'footer' => :'footer'
50
+
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+
58
+ :'id' => :'String',
59
+
60
+ :'language' => :'String',
61
+
62
+ :'header' => :'NotificationTemplateHeader',
63
+
64
+ :'body' => :'NotificationTemplateBody',
65
+
66
+ :'footer' => :'NotificationTemplateFooter'
67
+
68
+ }
69
+ end
70
+
71
+ # Initializes the object
72
+ # @param [Hash] attributes Model attributes in the form of hash
73
+ def initialize(attributes = {})
74
+ return unless attributes.is_a?(Hash)
75
+
76
+ # convert string to symbol for hash key
77
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
78
+
79
+
80
+ if attributes.has_key?(:'id')
81
+
82
+
83
+ self.id = attributes[:'id']
84
+
85
+
86
+ end
87
+
88
+
89
+ if attributes.has_key?(:'language')
90
+
91
+
92
+ self.language = attributes[:'language']
93
+
94
+
95
+ end
96
+
97
+
98
+ if attributes.has_key?(:'header')
99
+
100
+
101
+ self.header = attributes[:'header']
102
+
103
+
104
+ end
105
+
106
+
107
+ if attributes.has_key?(:'body')
108
+
109
+
110
+ self.body = attributes[:'body']
111
+
112
+
113
+ end
114
+
115
+
116
+ if attributes.has_key?(:'footer')
117
+
118
+
119
+ self.footer = attributes[:'footer']
120
+
121
+
122
+ end
123
+
124
+
125
+ end
126
+
127
+ # Show invalid properties with the reasons. Usually used together with valid?
128
+ # @return Array for valid properies with the reasons
129
+ def list_invalid_properties
130
+ invalid_properties = Array.new
131
+
132
+
133
+ return invalid_properties
134
+ end
135
+
136
+ # Check to see if the all the properties in the model are valid
137
+ # @return true if the model is valid
138
+ def valid?
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ if @body.nil?
154
+ return false
155
+ end
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ end
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+ # Checks equality by comparing each attribute.
194
+ # @param [Object] Object to be compared
195
+ def ==(o)
196
+ return true if self.equal?(o)
197
+ self.class == o.class &&
198
+ id == o.id &&
199
+ language == o.language &&
200
+ header == o.header &&
201
+ body == o.body &&
202
+ footer == o.footer
203
+ end
204
+
205
+ # @see the `==` method
206
+ # @param [Object] Object to be compared
207
+ def eql?(o)
208
+ self == o
209
+ end
210
+
211
+ # Calculates hash code according to all attributes.
212
+ # @return [Fixnum] Hash code
213
+ def hash
214
+ [id, language, header, body, footer].hash
215
+ end
216
+
217
+ # build the object from hash
218
+ def build_from_hash(attributes)
219
+ return nil unless attributes.is_a?(Hash)
220
+ self.class.swagger_types.each_pair do |key, type|
221
+ if type =~ /^Array<(.*)>/i
222
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
223
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
224
+ else
225
+ #TODO show warning in debug mode
226
+ end
227
+ elsif !attributes[self.class.attribute_map[key]].nil?
228
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
229
+ else
230
+ # data not found in attributes(hash), not an issue as the data can be optional
231
+ end
232
+ end
233
+
234
+ self
235
+ end
236
+
237
+ def _deserialize(type, value)
238
+ case type.to_sym
239
+ when :DateTime
240
+ DateTime.parse(value)
241
+ when :Date
242
+ Date.parse(value)
243
+ when :String
244
+ value.to_s
245
+ when :Integer
246
+ value.to_i
247
+ when :Float
248
+ value.to_f
249
+ when :BOOLEAN
250
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
251
+ true
252
+ else
253
+ false
254
+ end
255
+ when :Object
256
+ # generic object (usually a Hash), return directly
257
+ value
258
+ when /\AArray<(?<inner_type>.+)>\z/
259
+ inner_type = Regexp.last_match[:inner_type]
260
+ value.map { |v| _deserialize(inner_type, v) }
261
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
262
+ k_type = Regexp.last_match[:k_type]
263
+ v_type = Regexp.last_match[:v_type]
264
+ {}.tap do |hash|
265
+ value.each do |k, v|
266
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
267
+ end
268
+ end
269
+ else # model
270
+ _model = Object.const_get("PureCloud").const_get(type).new
271
+ _model.build_from_hash(value)
272
+ end
273
+ end
274
+
275
+ def to_s
276
+ to_hash.to_s
277
+ end
278
+
279
+ # to_body is an alias to to_body (backward compatibility))
280
+ def to_body
281
+ to_hash
282
+ end
283
+
284
+ # return the object in the form of hash
285
+ def to_hash
286
+ hash = {}
287
+ self.class.attribute_map.each_pair do |attr, param|
288
+ value = self.send(attr)
289
+ next if value.nil?
290
+ hash[param] = _to_hash(value)
291
+ end
292
+ hash
293
+ end
294
+
295
+ # Method to output non-array value in the form of hash
296
+ # For object, use to_hash. Otherwise, just return the value
297
+ def _to_hash(value)
298
+ if value.is_a?(Array)
299
+ value.compact.map{ |v| _to_hash(v) }
300
+ elsif value.is_a?(Hash)
301
+ {}.tap do |hash|
302
+ value.each { |k, v| hash[k] = _to_hash(v) }
303
+ end
304
+ elsif value.respond_to? :to_hash
305
+ value.to_hash
306
+ else
307
+ value
308
+ end
309
+ end
310
+
311
+ end
312
+ end
@@ -0,0 +1,300 @@
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
+ # Quick reply object
21
+ class ContentQuickReply
22
+ # An ID assigned to the quick reply. Each object inside the content array has a unique ID.
23
+ attr_accessor :id
24
+
25
+ # Text to show inside the quick reply. This is also used as the response text after clicking on the quick reply.
26
+ attr_accessor :text
27
+
28
+ # Image associated with quick reply
29
+ attr_accessor :image
30
+
31
+ # Specifies the type of action that is triggered upon clicking the quick reply. Currently, the only supported action is \"Message\" which sends a message using the quick reply text.
32
+ attr_accessor :action
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+
38
+ :'id' => :'id',
39
+
40
+ :'text' => :'text',
41
+
42
+ :'image' => :'image',
43
+
44
+ :'action' => :'action'
45
+
46
+ }
47
+ end
48
+
49
+ # Attribute type mapping.
50
+ def self.swagger_types
51
+ {
52
+
53
+ :'id' => :'String',
54
+
55
+ :'text' => :'String',
56
+
57
+ :'image' => :'String',
58
+
59
+ :'action' => :'String'
60
+
61
+ }
62
+ end
63
+
64
+ # Initializes the object
65
+ # @param [Hash] attributes Model attributes in the form of hash
66
+ def initialize(attributes = {})
67
+ return unless attributes.is_a?(Hash)
68
+
69
+ # convert string to symbol for hash key
70
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
71
+
72
+
73
+ if attributes.has_key?(:'id')
74
+
75
+
76
+ self.id = attributes[:'id']
77
+
78
+
79
+ end
80
+
81
+
82
+ if attributes.has_key?(:'text')
83
+
84
+
85
+ self.text = attributes[:'text']
86
+
87
+
88
+ end
89
+
90
+
91
+ if attributes.has_key?(:'image')
92
+
93
+
94
+ self.image = attributes[:'image']
95
+
96
+
97
+ end
98
+
99
+
100
+ if attributes.has_key?(:'action')
101
+
102
+
103
+ self.action = attributes[:'action']
104
+
105
+
106
+ end
107
+
108
+
109
+ end
110
+
111
+ # Show invalid properties with the reasons. Usually used together with valid?
112
+ # @return Array for valid properies with the reasons
113
+ def list_invalid_properties
114
+ invalid_properties = Array.new
115
+
116
+
117
+ return invalid_properties
118
+ end
119
+
120
+ # Check to see if the all the properties in the model are valid
121
+ # @return true if the model is valid
122
+ def valid?
123
+
124
+
125
+
126
+
127
+
128
+
129
+ if @text.nil?
130
+ return false
131
+ end
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+ allowed_values = ["Message"]
144
+ if @action && !allowed_values.include?(@action)
145
+ return false
146
+ end
147
+
148
+
149
+
150
+ end
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ # Custom attribute writer method checking allowed values (enum).
170
+ # @param [Object] action Object to be assigned
171
+ def action=(action)
172
+ allowed_values = ["Message"]
173
+ if action && !allowed_values.include?(action)
174
+ fail ArgumentError, "invalid value for 'action', must be one of #{allowed_values}."
175
+ end
176
+ @action = action
177
+ end
178
+
179
+
180
+
181
+
182
+ # Checks equality by comparing each attribute.
183
+ # @param [Object] Object to be compared
184
+ def ==(o)
185
+ return true if self.equal?(o)
186
+ self.class == o.class &&
187
+ id == o.id &&
188
+ text == o.text &&
189
+ image == o.image &&
190
+ action == o.action
191
+ end
192
+
193
+ # @see the `==` method
194
+ # @param [Object] Object to be compared
195
+ def eql?(o)
196
+ self == o
197
+ end
198
+
199
+ # Calculates hash code according to all attributes.
200
+ # @return [Fixnum] Hash code
201
+ def hash
202
+ [id, text, image, action].hash
203
+ end
204
+
205
+ # build the object from hash
206
+ def build_from_hash(attributes)
207
+ return nil unless attributes.is_a?(Hash)
208
+ self.class.swagger_types.each_pair do |key, type|
209
+ if type =~ /^Array<(.*)>/i
210
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
211
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
212
+ else
213
+ #TODO show warning in debug mode
214
+ end
215
+ elsif !attributes[self.class.attribute_map[key]].nil?
216
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
217
+ else
218
+ # data not found in attributes(hash), not an issue as the data can be optional
219
+ end
220
+ end
221
+
222
+ self
223
+ end
224
+
225
+ def _deserialize(type, value)
226
+ case type.to_sym
227
+ when :DateTime
228
+ DateTime.parse(value)
229
+ when :Date
230
+ Date.parse(value)
231
+ when :String
232
+ value.to_s
233
+ when :Integer
234
+ value.to_i
235
+ when :Float
236
+ value.to_f
237
+ when :BOOLEAN
238
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
239
+ true
240
+ else
241
+ false
242
+ end
243
+ when :Object
244
+ # generic object (usually a Hash), return directly
245
+ value
246
+ when /\AArray<(?<inner_type>.+)>\z/
247
+ inner_type = Regexp.last_match[:inner_type]
248
+ value.map { |v| _deserialize(inner_type, v) }
249
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
250
+ k_type = Regexp.last_match[:k_type]
251
+ v_type = Regexp.last_match[:v_type]
252
+ {}.tap do |hash|
253
+ value.each do |k, v|
254
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
255
+ end
256
+ end
257
+ else # model
258
+ _model = Object.const_get("PureCloud").const_get(type).new
259
+ _model.build_from_hash(value)
260
+ end
261
+ end
262
+
263
+ def to_s
264
+ to_hash.to_s
265
+ end
266
+
267
+ # to_body is an alias to to_body (backward compatibility))
268
+ def to_body
269
+ to_hash
270
+ end
271
+
272
+ # return the object in the form of hash
273
+ def to_hash
274
+ hash = {}
275
+ self.class.attribute_map.each_pair do |attr, param|
276
+ value = self.send(attr)
277
+ next if value.nil?
278
+ hash[param] = _to_hash(value)
279
+ end
280
+ hash
281
+ end
282
+
283
+ # Method to output non-array value in the form of hash
284
+ # For object, use to_hash. Otherwise, just return the value
285
+ def _to_hash(value)
286
+ if value.is_a?(Array)
287
+ value.compact.map{ |v| _to_hash(v) }
288
+ elsif value.is_a?(Hash)
289
+ {}.tap do |hash|
290
+ value.each { |k, v| hash[k] = _to_hash(v) }
291
+ end
292
+ elsif value.respond_to? :to_hash
293
+ value.to_hash
294
+ else
295
+ value
296
+ end
297
+ end
298
+
299
+ end
300
+ end