purecloudplatformclientv2 88.0.0 → 93.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (631) 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/AmazonLexRequest.md +14 -0
  6. data/docs/AnalyticsEvaluation.md +1 -1
  7. data/docs/AnalyticsSession.md +4 -0
  8. data/docs/ApiUsageQuery.md +16 -0
  9. data/docs/ApiUsageQueryResult.md +14 -0
  10. data/docs/ApiUsageRow.md +25 -0
  11. data/docs/ArchitectApi.md +183 -49
  12. data/docs/AttemptLimitsEntityListing.md +1 -1
  13. data/docs/AuditApi.md +130 -0
  14. data/docs/AuditQueryEntity.md +14 -0
  15. data/docs/AuditQueryExecutionStatusResponse.md +1 -0
  16. data/docs/AuditQueryRequest.md +1 -0
  17. data/docs/AuditQueryService.md +14 -0
  18. data/docs/AuditQueryServiceMapping.md +13 -0
  19. data/docs/AuditQuerySort.md +14 -0
  20. data/docs/AuditRealtimeQueryRequest.md +18 -0
  21. data/docs/AuditRealtimeQueryResultsResponse.md +17 -0
  22. data/docs/AuthzDivisionEntityListing.md +1 -1
  23. data/docs/BuAgentScheduleActivity.md +2 -0
  24. data/docs/BuRescheduleRequest.md +2 -2
  25. data/docs/ButtonComponent.md +16 -0
  26. data/docs/CalibrationEntityListing.md +1 -1
  27. data/docs/CallConversationEntityListing.md +1 -1
  28. data/docs/CallHistoryConversationEntityListing.md +1 -1
  29. data/docs/CallableTimeSetEntityListing.md +1 -1
  30. data/docs/CallbackConversationEntityListing.md +1 -1
  31. data/docs/CampaignDivisionViewListing.md +1 -1
  32. data/docs/CampaignEntityListing.md +1 -1
  33. data/docs/CampaignRuleEntityListing.md +1 -1
  34. data/docs/CampaignSequenceEntityListing.md +1 -1
  35. data/docs/CertificateAuthorityEntityListing.md +1 -1
  36. data/docs/ChatConversationEntityListing.md +1 -1
  37. data/docs/ClientAppEntityListing.md +1 -1
  38. data/docs/CoachingAnnotationList.md +1 -1
  39. data/docs/CoachingApi.md +9 -8
  40. data/docs/CoachingAppointmentResponseList.md +1 -1
  41. data/docs/CoachingNotificationList.md +1 -1
  42. data/docs/CobrowseConversationEntityListing.md +1 -1
  43. data/docs/CommandStatusEntityListing.md +1 -1
  44. data/docs/CommonCampaign.md +17 -0
  45. data/docs/CommonCampaignDivisionView.md +17 -0
  46. data/docs/CommonCampaignDivisionViewEntityListing.md +22 -0
  47. data/docs/CommonCampaignEntityListing.md +22 -0
  48. data/docs/ConsumedResourcesEntityListing.md +1 -1
  49. data/docs/ConsumingResourcesEntityListing.md +1 -1
  50. data/docs/ContactListDivisionViewListing.md +1 -1
  51. data/docs/ContactListEntityListing.md +1 -1
  52. data/docs/ContactListFilterEntityListing.md +1 -1
  53. data/docs/ContactListing.md +1 -1
  54. data/docs/ContentActions.md +17 -0
  55. data/docs/ContentAttachment.md +19 -0
  56. data/docs/ContentGeneric.md +19 -0
  57. data/docs/ContentList.md +19 -0
  58. data/docs/ContentLocation.md +17 -0
  59. data/docs/ContentNotificationTemplate.md +17 -0
  60. data/docs/ContentQuickReply.md +16 -0
  61. data/docs/ConversationAggregationQuery.md +1 -1
  62. data/docs/ConversationAssociation.md +1 -1
  63. data/docs/ConversationEntityListing.md +1 -1
  64. data/docs/ConversationEventTopicMessage.md +1 -0
  65. data/docs/ConversationsApi.md +4 -4
  66. data/docs/CreateQueueRequest.md +1 -0
  67. data/docs/CredentialInfoListing.md +1 -1
  68. data/docs/CredentialTypeListing.md +1 -1
  69. data/docs/DIDEntityListing.md +1 -1
  70. data/docs/DIDPoolEntityListing.md +1 -1
  71. data/docs/DataTableRowEntityListing.md +1 -1
  72. data/docs/DataTablesDomainEntityListing.md +1 -1
  73. data/docs/DependencyObjectEntityListing.md +1 -1
  74. data/docs/DependencyTypeEntityListing.md +1 -1
  75. data/docs/DialerEventEntityListing.md +1 -1
  76. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  77. data/docs/DirectoryUserDevicesListing.md +1 -1
  78. data/docs/DivsPermittedEntityListing.md +1 -1
  79. data/docs/DncListDivisionViewListing.md +1 -1
  80. data/docs/DncListEntityListing.md +1 -1
  81. data/docs/DocumentAuditEntityListing.md +1 -1
  82. data/docs/DocumentEntityListing.md +1 -1
  83. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  84. data/docs/DomainEntityListing.md +1 -1
  85. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  86. data/docs/DomainEntityListingQueryResult.md +1 -1
  87. data/docs/DomainEntityListingSurveyForm.md +1 -1
  88. data/docs/DomainOrganizationRole.md +1 -1
  89. data/docs/DomainOrganizationRoleCreate.md +1 -1
  90. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  91. data/docs/EdgeEntityListing.md +1 -1
  92. data/docs/EdgeGroup.md +1 -0
  93. data/docs/EdgeGroupEntityListing.md +1 -1
  94. data/docs/EdgeLineEntityListing.md +1 -1
  95. data/docs/EmailConversationEntityListing.md +1 -1
  96. data/docs/EmailMessageListing.md +1 -1
  97. data/docs/EmergencyGroupListing.md +1 -1
  98. data/docs/EncryptionKeyEntityListing.md +1 -1
  99. data/docs/EvaluationAggregationQuery.md +1 -1
  100. data/docs/EvaluationEntityListing.md +1 -1
  101. data/docs/EvaluationFormEntityListing.md +1 -1
  102. data/docs/EvaluatorActivityEntityListing.md +1 -1
  103. data/docs/ExtensionEntityListing.md +1 -1
  104. data/docs/ExtensionPoolEntityListing.md +1 -1
  105. data/docs/ExternalContact.md +2 -0
  106. data/docs/ExternalContactsApi.md +4 -4
  107. data/docs/ExternalOrganization.md +2 -0
  108. data/docs/ExternalOrganizationListing.md +1 -1
  109. data/docs/FacebookIntegrationEntityListing.md +1 -1
  110. data/docs/FaxDocumentEntityListing.md +1 -1
  111. data/docs/FlowAggregationQuery.md +1 -1
  112. data/docs/FlowDivisionViewEntityListing.md +1 -1
  113. data/docs/FlowEntityListing.md +1 -1
  114. data/docs/FlowExecutionLaunchRequest.md +16 -0
  115. data/docs/FlowExecutionLaunchResponse.md +16 -0
  116. data/docs/FlowOutcomeListing.md +1 -1
  117. data/docs/FlowRuntimeExecution.md +23 -0
  118. data/docs/FlowVersionEntityListing.md +1 -1
  119. data/docs/GDPRRequestEntityListing.md +1 -1
  120. data/docs/GDPRSubjectEntityListing.md +1 -1
  121. data/docs/GenericSAML.md +22 -0
  122. data/docs/GoogleDialogflowCustomSettings.md +13 -0
  123. data/docs/GreetingListing.md +1 -1
  124. data/docs/GroupEntityListing.md +1 -1
  125. data/docs/GroupProfileEntityListing.md +1 -1
  126. data/docs/GroupsApi.md +4 -4
  127. data/docs/HistoricalAdherenceActuals.md +15 -0
  128. data/docs/HistoricalAdherenceDayMetrics.md +23 -0
  129. data/docs/HistoricalAdherenceExceptionInfo.md +21 -0
  130. data/docs/HistoricalAdherenceQueryResult.md +21 -0
  131. data/docs/IVREntityListing.md +1 -1
  132. data/docs/IdentityProviderApi.md +187 -0
  133. data/docs/InboundDomainEntityListing.md +1 -1
  134. data/docs/InboundRouteEntityListing.md +1 -1
  135. data/docs/IntegrationEntityListing.md +1 -1
  136. data/docs/IntegrationEventEntityListing.md +1 -1
  137. data/docs/IntegrationTypeEntityListing.md +1 -1
  138. data/docs/InteractionStatsAlertContainer.md +1 -1
  139. data/docs/InteractionStatsRuleContainer.md +1 -1
  140. data/docs/IpAddressAuthentication.md +13 -0
  141. data/docs/KeywordSetEntityListing.md +1 -1
  142. data/docs/KnowledgeSearchRequest.md +3 -3
  143. data/docs/KnowledgeSearchResponse.md +1 -1
  144. data/docs/LanguageEntityListing.md +1 -1
  145. data/docs/LanguageUnderstandingApi.md +164 -30
  146. data/docs/LexBotAliasEntityListing.md +1 -1
  147. data/docs/LexBotEntityListing.md +1 -1
  148. data/docs/LibraryEntityListing.md +1 -1
  149. data/docs/LineBaseEntityListing.md +1 -1
  150. data/docs/LineEntityListing.md +1 -1
  151. data/docs/LineIntegrationEntityListing.md +1 -1
  152. data/docs/ListItemComponent.md +19 -0
  153. data/docs/LocationEntityListing.md +1 -1
  154. data/docs/LogicalInterfaceEntityListing.md +1 -1
  155. data/docs/ManagementUnitListing.md +1 -1
  156. data/docs/MessageContent.md +19 -0
  157. data/docs/MessageConversationEntityListing.md +1 -1
  158. data/docs/MessagingCampaign.md +28 -0
  159. data/docs/MessagingCampaignDivisionView.md +16 -0
  160. data/docs/MessagingCampaignDivisionViewEntityListing.md +22 -0
  161. data/docs/MessagingCampaignEntityListing.md +22 -0
  162. data/docs/MessagingIntegrationEntityListing.md +1 -1
  163. data/docs/MessagingStickerEntityListing.md +1 -1
  164. data/docs/NluDomainListing.md +1 -1
  165. data/docs/NluDomainVersion.md +3 -1
  166. data/docs/NluDomainVersionListing.md +1 -1
  167. data/docs/NluFeedbackListing.md +1 -1
  168. data/docs/NoteListing.md +1 -1
  169. data/docs/NotificationTemplateBody.md +14 -0
  170. data/docs/NotificationTemplateFooter.md +13 -0
  171. data/docs/NotificationTemplateHeader.md +16 -0
  172. data/docs/NotificationTemplateParameter.md +14 -0
  173. data/docs/OAuthApi.md +208 -0
  174. data/docs/OAuthClientEntityListing.md +1 -1
  175. data/docs/OAuthProviderEntityListing.md +1 -1
  176. data/docs/ObservationValue.md +3 -1
  177. data/docs/OrganizationApi.md +126 -0
  178. data/docs/OrganizationPresenceEntityListing.md +1 -1
  179. data/docs/OrganizationRoleEntityListing.md +1 -1
  180. data/docs/OrphanRecordingListing.md +1 -1
  181. data/docs/OutboundApi.md +881 -76
  182. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  183. data/docs/OutboundRouteEntityListing.md +1 -1
  184. data/docs/PermissionCollectionEntityListing.md +1 -1
  185. data/docs/PhoneBaseEntityListing.md +1 -1
  186. data/docs/PhoneEntityListing.md +1 -1
  187. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  188. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  189. data/docs/PolicyEntityListing.md +1 -1
  190. data/docs/PostTextMessage.md +15 -0
  191. data/docs/PostTextRequest.md +23 -0
  192. data/docs/PostTextResponse.md +20 -0
  193. data/docs/Prompt.md +2 -2
  194. data/docs/PromptAssetEntityListing.md +1 -1
  195. data/docs/PromptEntityListing.md +1 -1
  196. data/docs/QualityAuditPage.md +1 -1
  197. data/docs/Queue.md +1 -0
  198. data/docs/QueueConversationEventTopicMessage.md +1 -0
  199. data/docs/QueueConversationSocialExpressionEventTopicMessage.md +1 -0
  200. data/docs/QueueConversationVideoEventTopicMessage.md +1 -0
  201. data/docs/QueueEntityListing.md +1 -1
  202. data/docs/QueueMemberEntityListing.md +1 -1
  203. data/docs/QueueRequest.md +1 -0
  204. data/docs/RecipientListing.md +1 -1
  205. data/docs/RecordingApi.md +12 -0
  206. data/docs/RecordingJobEntityListing.md +1 -1
  207. data/docs/RelationshipListing.md +1 -1
  208. data/docs/ReportMetaDataEntityListing.md +1 -1
  209. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  210. data/docs/ReportScheduleEntityListing.md +1 -1
  211. data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
  212. data/docs/ReportingExportJobListing.md +1 -1
  213. data/docs/ReportingExportJobRequest.md +2 -0
  214. data/docs/ReportingExportJobResponse.md +3 -0
  215. data/docs/ReportingExportMetadataJobListing.md +1 -1
  216. data/docs/ResponseEntityList.md +1 -1
  217. data/docs/ResponseEntityListing.md +1 -1
  218. data/docs/ResponseSetEntityListing.md +1 -1
  219. data/docs/RuleSetEntityListing.md +1 -1
  220. data/docs/SCIMApi.md +96 -108
  221. data/docs/ScheduleEntityListing.md +1 -1
  222. data/docs/ScheduleGroupEntityListing.md +1 -1
  223. data/docs/SchemaCategoryEntityListing.md +1 -1
  224. data/docs/SchemaReferenceEntityListing.md +1 -1
  225. data/docs/ScimConfigResourceType.md +1 -1
  226. data/docs/ScimEmail.md +1 -1
  227. data/docs/ScimUserExtensions.md +2 -2
  228. data/docs/ScimUserRole.md +1 -1
  229. data/docs/ScimUserRoutingLanguage.md +2 -2
  230. data/docs/ScimUserRoutingSkill.md +2 -2
  231. data/docs/ScimV2CreateUser.md +3 -3
  232. data/docs/ScimV2Group.md +1 -1
  233. data/docs/ScimV2SchemaAttribute.md +11 -11
  234. data/docs/ScimV2SchemaDefinition.md +4 -4
  235. data/docs/ScimV2SchemaListResponse.md +1 -1
  236. data/docs/ScimV2User.md +4 -4
  237. data/docs/ScreenRecordingSessionListing.md +1 -1
  238. data/docs/ScriptEntityListing.md +1 -1
  239. data/docs/SecurityProfileEntityListing.md +1 -1
  240. data/docs/ShareEntityListing.md +1 -1
  241. data/docs/SiteEntityListing.md +1 -1
  242. data/docs/SkillEntityListing.md +1 -1
  243. data/docs/SmsAddressEntityListing.md +1 -1
  244. data/docs/SmsConfig.md +15 -0
  245. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  246. data/docs/SmsPhoneNumberRef.md +14 -0
  247. data/docs/StationEntityListing.md +1 -1
  248. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  249. data/docs/SurveyAggregationQuery.md +1 -1
  250. data/docs/SurveyForm.md +0 -2
  251. data/docs/SurveyFormEntityListing.md +1 -1
  252. data/docs/SystemPromptAssetEntityListing.md +1 -1
  253. data/docs/SystemPromptEntityListing.md +1 -1
  254. data/docs/TagValueEntityListing.md +1 -1
  255. data/docs/TextMessageListing.md +1 -1
  256. data/docs/TextbotsApi.md +78 -0
  257. data/docs/TimeZoneEntityListing.md +1 -1
  258. data/docs/TrunkBaseEntityListing.md +1 -1
  259. data/docs/TrunkEntityListing.md +1 -1
  260. data/docs/TrunkMetabaseEntityListing.md +1 -1
  261. data/docs/TrustEntityListing.md +1 -1
  262. data/docs/TrustUserEntityListing.md +1 -1
  263. data/docs/TrustorEntityListing.md +1 -1
  264. data/docs/TtsEngineEntityListing.md +1 -1
  265. data/docs/TtsVoiceEntityListing.md +1 -1
  266. data/docs/TwitterIntegrationEntityListing.md +1 -1
  267. data/docs/UploadUrlRequest.md +1 -0
  268. data/docs/UsageApi.md +144 -0
  269. data/docs/UsageExecutionResult.md +14 -0
  270. data/docs/UserActionCategoryEntityListing.md +1 -1
  271. data/docs/UserAggregationQuery.md +1 -1
  272. data/docs/UserAppEntityListing.md +1 -1
  273. data/docs/UserEntityListing.md +1 -1
  274. data/docs/UserLanguageEntityListing.md +1 -1
  275. data/docs/UserProfileEntityListing.md +1 -1
  276. data/docs/UserQueue.md +1 -0
  277. data/docs/UserQueueEntityListing.md +1 -1
  278. data/docs/UserRecordingEntityListing.md +1 -1
  279. data/docs/UserRoutingLanguage.md +3 -3
  280. data/docs/UserRoutingLanguagePost.md +1 -1
  281. data/docs/UserRoutingSkill.md +1 -1
  282. data/docs/UserSkillEntityListing.md +1 -1
  283. data/docs/UsersApi.md +5 -5
  284. data/docs/ViewFilter.md +2 -0
  285. data/docs/VoicemailMessageEntityListing.md +1 -1
  286. data/docs/VoicemailMessagesTopicOwner.md +13 -0
  287. data/docs/VoicemailMessagesTopicVoicemailCopyRecord.md +14 -0
  288. data/docs/VoicemailMessagesTopicVoicemailMessage.md +2 -0
  289. data/docs/VoicemailUserPolicy.md +1 -0
  290. data/docs/WebChatMemberInfoEntityList.md +1 -1
  291. data/docs/WfmBuShortTermForecastImportCompleteTopicBuForecastModification.md +23 -0
  292. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecast.md +24 -0
  293. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecastNotification.md +15 -0
  294. data/docs/WfmBuShortTermForecastImportCompleteTopicForecastSourceDayPointer.md +17 -0
  295. data/docs/WfmBuShortTermForecastImportCompleteTopicModificationIntervalOffsetValue.md +14 -0
  296. data/docs/WfmBuShortTermForecastImportCompleteTopicUserReference.md +13 -0
  297. data/docs/WfmBuShortTermForecastImportCompleteTopicWfmVersionedEntityMetadata.md +15 -0
  298. data/docs/WfmBusinessUnitReference.md +14 -0
  299. data/docs/WfmHistoricalAdherenceResponse.md +1 -0
  300. data/docs/WfmHistoricalAdherenceResultWrapper.md +15 -0
  301. data/docs/WfmHistoricalDataUploadRequestStatusTopicDateTime.md +16 -0
  302. data/docs/WfmHistoricalDataUploadRequestStatusTopicHistoricalDataUploadRequestUpdate.md +20 -0
  303. data/docs/WfmScheduleReference.md +16 -0
  304. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  305. data/docs/WorkforceManagementApi.md +3 -3
  306. data/docs/WorkspaceEntityListing.md +1 -1
  307. data/docs/WorkspaceMemberEntityListing.md +1 -1
  308. data/docs/WrapupCodeEntityListing.md +1 -1
  309. data/lib/purecloudplatformclientv2.rb +64 -0
  310. data/lib/purecloudplatformclientv2/api/architect_api.rb +145 -6
  311. data/lib/purecloudplatformclientv2/api/audit_api.rb +129 -0
  312. data/lib/purecloudplatformclientv2/api/coaching_api.rb +10 -9
  313. data/lib/purecloudplatformclientv2/api/conversations_api.rb +4 -4
  314. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +4 -4
  315. data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
  316. data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
  317. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +189 -30
  318. data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
  319. data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
  320. data/lib/purecloudplatformclientv2/api/outbound_api.rb +1215 -155
  321. data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
  322. data/lib/purecloudplatformclientv2/api/scim_api.rb +88 -88
  323. data/lib/purecloudplatformclientv2/api/textbots_api.rb +92 -0
  324. data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
  325. data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
  326. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +6 -6
  327. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  328. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  329. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  330. data/lib/purecloudplatformclientv2/models/amazon_lex_request.rb +232 -0
  331. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  332. data/lib/purecloudplatformclientv2/models/analytics_session.rb +124 -4
  333. data/lib/purecloudplatformclientv2/models/api_usage_query.rb +303 -0
  334. data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
  335. data/lib/purecloudplatformclientv2/models/api_usage_row.rb +514 -0
  336. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  338. data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +244 -0
  339. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +34 -6
  340. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +34 -6
  341. data/lib/purecloudplatformclientv2/models/audit_query_service.rb +244 -0
  342. data/lib/purecloudplatformclientv2/models/audit_query_service_mapping.rb +204 -0
  343. data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
  344. data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +360 -0
  345. data/lib/purecloudplatformclientv2/models/audit_realtime_query_results_response.rb +303 -0
  346. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  347. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +70 -4
  348. data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
  349. data/lib/purecloudplatformclientv2/models/button_component.rb +281 -0
  350. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  354. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  355. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  356. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  361. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  362. data/lib/purecloudplatformclientv2/models/coaching_annotation_list.rb +12 -12
  363. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +2 -2
  364. data/lib/purecloudplatformclientv2/models/coaching_appointment_response_list.rb +12 -12
  365. data/lib/purecloudplatformclientv2/models/coaching_notification.rb +2 -2
  366. data/lib/purecloudplatformclientv2/models/coaching_notification_list.rb +12 -12
  367. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  369. data/lib/purecloudplatformclientv2/models/common_campaign.rb +320 -0
  370. data/lib/purecloudplatformclientv2/models/common_campaign_division_view.rb +320 -0
  371. data/lib/purecloudplatformclientv2/models/common_campaign_division_view_entity_listing.rb +428 -0
  372. data/lib/purecloudplatformclientv2/models/common_campaign_entity_listing.rb +428 -0
  373. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  375. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  376. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  377. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  378. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  379. data/lib/purecloudplatformclientv2/models/content_actions.rb +309 -0
  380. data/lib/purecloudplatformclientv2/models/content_attachment.rb +378 -0
  381. data/lib/purecloudplatformclientv2/models/content_generic.rb +361 -0
  382. data/lib/purecloudplatformclientv2/models/content_list.rb +375 -0
  383. data/lib/purecloudplatformclientv2/models/content_location.rb +307 -0
  384. data/lib/purecloudplatformclientv2/models/content_notification_template.rb +312 -0
  385. data/lib/purecloudplatformclientv2/models/content_quick_reply.rb +300 -0
  386. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  387. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +1 -1
  388. data/lib/purecloudplatformclientv2/models/conversation_association.rb +1 -1
  389. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  390. data/lib/purecloudplatformclientv2/models/conversation_event_topic_message.rb +26 -1
  391. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
  392. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  393. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  394. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  396. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  397. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  398. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  399. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  407. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  409. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  412. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  413. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  414. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  415. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  416. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  417. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  418. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  419. data/lib/purecloudplatformclientv2/models/edge_group.rb +27 -1
  420. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  421. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  422. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  423. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  424. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  425. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  426. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +1 -1
  427. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  428. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  431. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  432. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
  434. data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
  435. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  436. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  437. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  438. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  439. data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +1 -1
  440. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  441. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  442. data/lib/purecloudplatformclientv2/models/flow_execution_launch_request.rb +288 -0
  443. data/lib/purecloudplatformclientv2/models/flow_execution_launch_response.rb +281 -0
  444. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  445. data/lib/purecloudplatformclientv2/models/flow_runtime_execution.rb +494 -0
  446. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  447. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  448. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  449. data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
  450. data/lib/purecloudplatformclientv2/models/google_dialogflow_custom_settings.rb +202 -0
  451. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  452. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  453. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  454. data/lib/purecloudplatformclientv2/models/historical_adherence_actuals.rb +268 -0
  455. data/lib/purecloudplatformclientv2/models/historical_adherence_day_metrics.rb +462 -0
  456. data/lib/purecloudplatformclientv2/models/historical_adherence_exception_info.rb +466 -0
  457. data/lib/purecloudplatformclientv2/models/historical_adherence_query_result.rb +430 -0
  458. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  459. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  460. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  462. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  463. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  464. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
  466. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  467. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  468. data/lib/purecloudplatformclientv2/models/knowledge_search_request.rb +0 -15
  469. data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
  470. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  471. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  472. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  473. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  474. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  475. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  476. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  477. data/lib/purecloudplatformclientv2/models/list_item_component.rb +373 -0
  478. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  479. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  480. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  481. data/lib/purecloudplatformclientv2/models/message_content.rb +378 -0
  482. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  483. data/lib/purecloudplatformclientv2/models/messaging_campaign.rb +621 -0
  484. data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view.rb +279 -0
  485. data/lib/purecloudplatformclientv2/models/messaging_campaign_division_view_entity_listing.rb +428 -0
  486. data/lib/purecloudplatformclientv2/models/messaging_campaign_entity_listing.rb +428 -0
  487. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  488. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  489. data/lib/purecloudplatformclientv2/models/nlu_domain_listing.rb +12 -12
  490. data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +72 -1
  491. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +12 -12
  492. data/lib/purecloudplatformclientv2/models/nlu_feedback_listing.rb +12 -12
  493. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  494. data/lib/purecloudplatformclientv2/models/notification_template_body.rb +236 -0
  495. data/lib/purecloudplatformclientv2/models/notification_template_footer.rb +203 -0
  496. data/lib/purecloudplatformclientv2/models/notification_template_header.rb +302 -0
  497. data/lib/purecloudplatformclientv2/models/notification_template_parameter.rb +234 -0
  498. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  499. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  500. data/lib/purecloudplatformclientv2/models/observation_value.rb +70 -2
  501. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  502. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  503. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  504. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  505. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  506. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  507. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  508. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  509. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  510. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  511. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  512. data/lib/purecloudplatformclientv2/models/post_text_message.rb +275 -0
  513. data/lib/purecloudplatformclientv2/models/post_text_request.rb +482 -0
  514. data/lib/purecloudplatformclientv2/models/post_text_response.rb +413 -0
  515. data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
  516. data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
  517. data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
  518. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  519. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  520. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  521. data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
  522. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_message.rb +26 -1
  523. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_message.rb +26 -1
  524. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_message.rb +26 -1
  525. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  526. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  527. data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
  528. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  529. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  530. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  531. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  532. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  533. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  534. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +31 -4
  535. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  536. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +53 -1
  537. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +78 -1
  538. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +12 -12
  539. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  540. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  541. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  542. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  543. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  544. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  545. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  546. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  547. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +1 -1
  548. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  549. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +3 -3
  550. data/lib/purecloudplatformclientv2/models/scim_user_role.rb +1 -1
  551. data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +3 -3
  552. data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +3 -3
  553. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +3 -2
  554. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
  555. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +1 -1
  556. data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +5 -5
  558. data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +2 -2
  559. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +4 -3
  560. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  561. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  562. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  563. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  564. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  565. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  566. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  567. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  568. data/lib/purecloudplatformclientv2/models/sms_config.rb +269 -0
  569. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  570. data/lib/purecloudplatformclientv2/models/sms_phone_number_ref.rb +232 -0
  571. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  572. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  573. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +1 -1
  574. data/lib/purecloudplatformclientv2/models/survey_form.rb +1 -53
  575. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  576. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  577. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  578. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  579. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  580. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  581. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  582. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  583. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  584. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  585. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  586. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  587. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  588. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  589. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  590. data/lib/purecloudplatformclientv2/models/upload_url_request.rb +43 -4
  591. data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
  592. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  593. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +1 -1
  594. data/lib/purecloudplatformclientv2/models/user_app_entity_listing.rb +12 -12
  595. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  596. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  597. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  598. data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
  599. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  600. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  601. data/lib/purecloudplatformclientv2/models/user_routing_language.rb +4 -4
  602. data/lib/purecloudplatformclientv2/models/user_routing_language_post.rb +1 -1
  603. data/lib/purecloudplatformclientv2/models/user_routing_skill.rb +1 -1
  604. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  605. data/lib/purecloudplatformclientv2/models/view_filter.rb +58 -4
  606. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  607. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_owner.rb +201 -0
  608. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_copy_record.rb +226 -0
  609. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_message.rb +56 -4
  610. data/lib/purecloudplatformclientv2/models/voicemail_user_policy.rb +30 -4
  611. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  612. data/lib/purecloudplatformclientv2/models/wem_coaching_appointment_topic_coaching_appointment_notification.rb +4 -4
  613. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_forecast_modification.rb +497 -0
  614. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast.rb +494 -0
  615. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast_notification.rb +265 -0
  616. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_forecast_source_day_pointer.rb +315 -0
  617. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_modification_interval_offset_value.rb +226 -0
  618. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_user_reference.rb +201 -0
  619. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_wfm_versioned_entity_metadata.rb +251 -0
  620. data/lib/purecloudplatformclientv2/models/wfm_business_unit_reference.rb +228 -0
  621. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_response.rb +27 -1
  622. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_result_wrapper.rb +258 -0
  623. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_date_time.rb +276 -0
  624. data/lib/purecloudplatformclientv2/models/wfm_historical_data_upload_request_status_topic_historical_data_upload_request_update.rb +390 -0
  625. data/lib/purecloudplatformclientv2/models/wfm_schedule_reference.rb +280 -0
  626. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  627. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  628. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  629. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  630. data/lib/purecloudplatformclientv2/version.rb +1 -1
  631. metadata +131 -3
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :next_uri
34
34
 
35
- attr_accessor :previous_uri
36
-
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :previous_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
- :'previous_uri' => :'previousUri',
60
-
61
59
  :'last_uri' => :'lastUri',
62
60
 
61
+ :'previous_uri' => :'previousUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -83,10 +83,10 @@ module PureCloud
83
83
 
84
84
  :'next_uri' => :'String',
85
85
 
86
- :'previous_uri' => :'String',
87
-
88
86
  :'last_uri' => :'String',
89
87
 
88
+ :'previous_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -166,19 +166,19 @@ module PureCloud
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'previousUri')
169
+ if attributes.has_key?(:'lastUri')
170
170
 
171
171
 
172
- self.previous_uri = attributes[:'previousUri']
172
+ self.last_uri = attributes[:'lastUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'lastUri')
178
+ if attributes.has_key?(:'previousUri')
179
179
 
180
180
 
181
- self.last_uri = attributes[:'lastUri']
181
+ self.previous_uri = attributes[:'previousUri']
182
182
 
183
183
 
184
184
  end
@@ -313,8 +313,8 @@ module PureCloud
313
313
  first_uri == o.first_uri &&
314
314
  self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
- previous_uri == o.previous_uri &&
317
316
  last_uri == o.last_uri &&
317
+ previous_uri == o.previous_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :next_uri
34
34
 
35
- attr_accessor :previous_uri
36
-
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :previous_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
- :'previous_uri' => :'previousUri',
60
-
61
59
  :'last_uri' => :'lastUri',
62
60
 
61
+ :'previous_uri' => :'previousUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -83,10 +83,10 @@ module PureCloud
83
83
 
84
84
  :'next_uri' => :'String',
85
85
 
86
- :'previous_uri' => :'String',
87
-
88
86
  :'last_uri' => :'String',
89
87
 
88
+ :'previous_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -166,19 +166,19 @@ module PureCloud
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'previousUri')
169
+ if attributes.has_key?(:'lastUri')
170
170
 
171
171
 
172
- self.previous_uri = attributes[:'previousUri']
172
+ self.last_uri = attributes[:'lastUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'lastUri')
178
+ if attributes.has_key?(:'previousUri')
179
179
 
180
180
 
181
- self.last_uri = attributes[:'lastUri']
181
+ self.previous_uri = attributes[:'previousUri']
182
182
 
183
183
 
184
184
  end
@@ -313,8 +313,8 @@ module PureCloud
313
313
  first_uri == o.first_uri &&
314
314
  self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
- previous_uri == o.previous_uri &&
317
316
  last_uri == o.last_uri &&
317
+ previous_uri == o.previous_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, first_uri, self_uri, next_uri, previous_uri, last_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -0,0 +1,275 @@
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 PostTextMessage
21
+ # Message type
22
+ attr_accessor :type
23
+
24
+ # Message text. If type is structured, used as fallback for clients that do not support particular structured content
25
+ attr_accessor :text
26
+
27
+ # A list of content elements in message
28
+ attr_accessor :content
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+
34
+ :'type' => :'type',
35
+
36
+ :'text' => :'text',
37
+
38
+ :'content' => :'content'
39
+
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.swagger_types
45
+ {
46
+
47
+ :'type' => :'String',
48
+
49
+ :'text' => :'String',
50
+
51
+ :'content' => :'Array<MessageContent>'
52
+
53
+ }
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ return unless attributes.is_a?(Hash)
60
+
61
+ # convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
63
+
64
+
65
+ if attributes.has_key?(:'type')
66
+
67
+
68
+ self.type = attributes[:'type']
69
+
70
+
71
+ end
72
+
73
+
74
+ if attributes.has_key?(:'text')
75
+
76
+
77
+ self.text = attributes[:'text']
78
+
79
+
80
+ end
81
+
82
+
83
+ if attributes.has_key?(:'content')
84
+
85
+ if (value = attributes[:'content']).is_a?(Array)
86
+ self.content = value
87
+ end
88
+
89
+
90
+
91
+ end
92
+
93
+
94
+ end
95
+
96
+ # Show invalid properties with the reasons. Usually used together with valid?
97
+ # @return Array for valid properies with the reasons
98
+ def list_invalid_properties
99
+ invalid_properties = Array.new
100
+
101
+
102
+ return invalid_properties
103
+ end
104
+
105
+ # Check to see if the all the properties in the model are valid
106
+ # @return true if the model is valid
107
+ def valid?
108
+
109
+
110
+ if @type.nil?
111
+ return false
112
+ end
113
+
114
+
115
+
116
+ allowed_values = ["Text", "Structured", "Receipt"]
117
+ if @type && !allowed_values.include?(@type)
118
+ return false
119
+ end
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ end
132
+
133
+
134
+
135
+ # Custom attribute writer method checking allowed values (enum).
136
+ # @param [Object] type Object to be assigned
137
+ def type=(type)
138
+ allowed_values = ["Text", "Structured", "Receipt"]
139
+ if type && !allowed_values.include?(type)
140
+ fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
141
+ end
142
+ @type = type
143
+ end
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ # Checks equality by comparing each attribute.
159
+ # @param [Object] Object to be compared
160
+ def ==(o)
161
+ return true if self.equal?(o)
162
+ self.class == o.class &&
163
+ type == o.type &&
164
+ text == o.text &&
165
+ content == o.content
166
+ end
167
+
168
+ # @see the `==` method
169
+ # @param [Object] Object to be compared
170
+ def eql?(o)
171
+ self == o
172
+ end
173
+
174
+ # Calculates hash code according to all attributes.
175
+ # @return [Fixnum] Hash code
176
+ def hash
177
+ [type, text, content].hash
178
+ end
179
+
180
+ # build the object from hash
181
+ def build_from_hash(attributes)
182
+ return nil unless attributes.is_a?(Hash)
183
+ self.class.swagger_types.each_pair do |key, type|
184
+ if type =~ /^Array<(.*)>/i
185
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
186
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
187
+ else
188
+ #TODO show warning in debug mode
189
+ end
190
+ elsif !attributes[self.class.attribute_map[key]].nil?
191
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
192
+ else
193
+ # data not found in attributes(hash), not an issue as the data can be optional
194
+ end
195
+ end
196
+
197
+ self
198
+ end
199
+
200
+ def _deserialize(type, value)
201
+ case type.to_sym
202
+ when :DateTime
203
+ DateTime.parse(value)
204
+ when :Date
205
+ Date.parse(value)
206
+ when :String
207
+ value.to_s
208
+ when :Integer
209
+ value.to_i
210
+ when :Float
211
+ value.to_f
212
+ when :BOOLEAN
213
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
214
+ true
215
+ else
216
+ false
217
+ end
218
+ when :Object
219
+ # generic object (usually a Hash), return directly
220
+ value
221
+ when /\AArray<(?<inner_type>.+)>\z/
222
+ inner_type = Regexp.last_match[:inner_type]
223
+ value.map { |v| _deserialize(inner_type, v) }
224
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
225
+ k_type = Regexp.last_match[:k_type]
226
+ v_type = Regexp.last_match[:v_type]
227
+ {}.tap do |hash|
228
+ value.each do |k, v|
229
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
230
+ end
231
+ end
232
+ else # model
233
+ _model = Object.const_get("PureCloud").const_get(type).new
234
+ _model.build_from_hash(value)
235
+ end
236
+ end
237
+
238
+ def to_s
239
+ to_hash.to_s
240
+ end
241
+
242
+ # to_body is an alias to to_body (backward compatibility))
243
+ def to_body
244
+ to_hash
245
+ end
246
+
247
+ # return the object in the form of hash
248
+ def to_hash
249
+ hash = {}
250
+ self.class.attribute_map.each_pair do |attr, param|
251
+ value = self.send(attr)
252
+ next if value.nil?
253
+ hash[param] = _to_hash(value)
254
+ end
255
+ hash
256
+ end
257
+
258
+ # Method to output non-array value in the form of hash
259
+ # For object, use to_hash. Otherwise, just return the value
260
+ def _to_hash(value)
261
+ if value.is_a?(Array)
262
+ value.compact.map{ |v| _to_hash(v) }
263
+ elsif value.is_a?(Hash)
264
+ {}.tap do |hash|
265
+ value.each { |k, v| hash[k] = _to_hash(v) }
266
+ end
267
+ elsif value.respond_to? :to_hash
268
+ value.to_hash
269
+ else
270
+ value
271
+ end
272
+ end
273
+
274
+ end
275
+ end
@@ -0,0 +1,482 @@
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 PostTextRequest
21
+ # ID of the bot to send the text to.
22
+ attr_accessor :bot_id
23
+
24
+ # Alias/Version of the bot
25
+ attr_accessor :bot_alias
26
+
27
+ # the integration service id for the bot's credentials
28
+ attr_accessor :integration_id
29
+
30
+ # GUID for this bot's session
31
+ attr_accessor :bot_session_id
32
+
33
+ # Message to send to the bot
34
+ attr_accessor :post_text_message
35
+
36
+ # The launguage code the bot will run under
37
+ attr_accessor :language_code
38
+
39
+ # Override timeout for the bot session. This should be greater than 10 minutes.
40
+ attr_accessor :bot_session_timeout_minutes
41
+
42
+ # The channels this bot is utilizing
43
+ attr_accessor :bot_channels
44
+
45
+ # Id for tracking the activity - this will be returned in the response
46
+ attr_accessor :bot_correlation_id
47
+
48
+ attr_accessor :amazon_lex_request
49
+
50
+ attr_accessor :google_dialogflow
51
+
52
+ # Attribute mapping from ruby-style variable name to JSON key.
53
+ def self.attribute_map
54
+ {
55
+
56
+ :'bot_id' => :'botId',
57
+
58
+ :'bot_alias' => :'botAlias',
59
+
60
+ :'integration_id' => :'integrationId',
61
+
62
+ :'bot_session_id' => :'botSessionId',
63
+
64
+ :'post_text_message' => :'postTextMessage',
65
+
66
+ :'language_code' => :'languageCode',
67
+
68
+ :'bot_session_timeout_minutes' => :'botSessionTimeoutMinutes',
69
+
70
+ :'bot_channels' => :'botChannels',
71
+
72
+ :'bot_correlation_id' => :'botCorrelationId',
73
+
74
+ :'amazon_lex_request' => :'amazonLexRequest',
75
+
76
+ :'google_dialogflow' => :'googleDialogflow'
77
+
78
+ }
79
+ end
80
+
81
+ # Attribute type mapping.
82
+ def self.swagger_types
83
+ {
84
+
85
+ :'bot_id' => :'String',
86
+
87
+ :'bot_alias' => :'String',
88
+
89
+ :'integration_id' => :'String',
90
+
91
+ :'bot_session_id' => :'String',
92
+
93
+ :'post_text_message' => :'PostTextMessage',
94
+
95
+ :'language_code' => :'String',
96
+
97
+ :'bot_session_timeout_minutes' => :'Integer',
98
+
99
+ :'bot_channels' => :'Array<String>',
100
+
101
+ :'bot_correlation_id' => :'String',
102
+
103
+ :'amazon_lex_request' => :'AmazonLexRequest',
104
+
105
+ :'google_dialogflow' => :'GoogleDialogflowCustomSettings'
106
+
107
+ }
108
+ end
109
+
110
+ # Initializes the object
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ def initialize(attributes = {})
113
+ return unless attributes.is_a?(Hash)
114
+
115
+ # convert string to symbol for hash key
116
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
117
+
118
+
119
+ if attributes.has_key?(:'botId')
120
+
121
+
122
+ self.bot_id = attributes[:'botId']
123
+
124
+
125
+ end
126
+
127
+
128
+ if attributes.has_key?(:'botAlias')
129
+
130
+
131
+ self.bot_alias = attributes[:'botAlias']
132
+
133
+
134
+ end
135
+
136
+
137
+ if attributes.has_key?(:'integrationId')
138
+
139
+
140
+ self.integration_id = attributes[:'integrationId']
141
+
142
+
143
+ end
144
+
145
+
146
+ if attributes.has_key?(:'botSessionId')
147
+
148
+
149
+ self.bot_session_id = attributes[:'botSessionId']
150
+
151
+
152
+ end
153
+
154
+
155
+ if attributes.has_key?(:'postTextMessage')
156
+
157
+
158
+ self.post_text_message = attributes[:'postTextMessage']
159
+
160
+
161
+ end
162
+
163
+
164
+ if attributes.has_key?(:'languageCode')
165
+
166
+
167
+ self.language_code = attributes[:'languageCode']
168
+
169
+
170
+ end
171
+
172
+
173
+ if attributes.has_key?(:'botSessionTimeoutMinutes')
174
+
175
+
176
+ self.bot_session_timeout_minutes = attributes[:'botSessionTimeoutMinutes']
177
+
178
+
179
+ end
180
+
181
+
182
+ if attributes.has_key?(:'botChannels')
183
+
184
+ if (value = attributes[:'botChannels']).is_a?(Array)
185
+ self.bot_channels = value
186
+ end
187
+
188
+
189
+
190
+ end
191
+
192
+
193
+ if attributes.has_key?(:'botCorrelationId')
194
+
195
+
196
+ self.bot_correlation_id = attributes[:'botCorrelationId']
197
+
198
+
199
+ end
200
+
201
+
202
+ if attributes.has_key?(:'amazonLexRequest')
203
+
204
+
205
+ self.amazon_lex_request = attributes[:'amazonLexRequest']
206
+
207
+
208
+ end
209
+
210
+
211
+ if attributes.has_key?(:'googleDialogflow')
212
+
213
+
214
+ self.google_dialogflow = attributes[:'googleDialogflow']
215
+
216
+
217
+ end
218
+
219
+
220
+ end
221
+
222
+ # Show invalid properties with the reasons. Usually used together with valid?
223
+ # @return Array for valid properies with the reasons
224
+ def list_invalid_properties
225
+ invalid_properties = Array.new
226
+
227
+
228
+ return invalid_properties
229
+ end
230
+
231
+ # Check to see if the all the properties in the model are valid
232
+ # @return true if the model is valid
233
+ def valid?
234
+
235
+
236
+ if @bot_id.nil?
237
+ return false
238
+ end
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+ if @integration_id.nil?
250
+ return false
251
+ end
252
+
253
+
254
+
255
+
256
+
257
+
258
+ if @bot_session_id.nil?
259
+ return false
260
+ end
261
+
262
+
263
+
264
+
265
+
266
+
267
+ if @post_text_message.nil?
268
+ return false
269
+ end
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+ end
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+ # Checks equality by comparing each attribute.
358
+ # @param [Object] Object to be compared
359
+ def ==(o)
360
+ return true if self.equal?(o)
361
+ self.class == o.class &&
362
+ bot_id == o.bot_id &&
363
+ bot_alias == o.bot_alias &&
364
+ integration_id == o.integration_id &&
365
+ bot_session_id == o.bot_session_id &&
366
+ post_text_message == o.post_text_message &&
367
+ language_code == o.language_code &&
368
+ bot_session_timeout_minutes == o.bot_session_timeout_minutes &&
369
+ bot_channels == o.bot_channels &&
370
+ bot_correlation_id == o.bot_correlation_id &&
371
+ amazon_lex_request == o.amazon_lex_request &&
372
+ google_dialogflow == o.google_dialogflow
373
+ end
374
+
375
+ # @see the `==` method
376
+ # @param [Object] Object to be compared
377
+ def eql?(o)
378
+ self == o
379
+ end
380
+
381
+ # Calculates hash code according to all attributes.
382
+ # @return [Fixnum] Hash code
383
+ def hash
384
+ [bot_id, bot_alias, integration_id, bot_session_id, post_text_message, language_code, bot_session_timeout_minutes, bot_channels, bot_correlation_id, amazon_lex_request, google_dialogflow].hash
385
+ end
386
+
387
+ # build the object from hash
388
+ def build_from_hash(attributes)
389
+ return nil unless attributes.is_a?(Hash)
390
+ self.class.swagger_types.each_pair do |key, type|
391
+ if type =~ /^Array<(.*)>/i
392
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
393
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
394
+ else
395
+ #TODO show warning in debug mode
396
+ end
397
+ elsif !attributes[self.class.attribute_map[key]].nil?
398
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
399
+ else
400
+ # data not found in attributes(hash), not an issue as the data can be optional
401
+ end
402
+ end
403
+
404
+ self
405
+ end
406
+
407
+ def _deserialize(type, value)
408
+ case type.to_sym
409
+ when :DateTime
410
+ DateTime.parse(value)
411
+ when :Date
412
+ Date.parse(value)
413
+ when :String
414
+ value.to_s
415
+ when :Integer
416
+ value.to_i
417
+ when :Float
418
+ value.to_f
419
+ when :BOOLEAN
420
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
421
+ true
422
+ else
423
+ false
424
+ end
425
+ when :Object
426
+ # generic object (usually a Hash), return directly
427
+ value
428
+ when /\AArray<(?<inner_type>.+)>\z/
429
+ inner_type = Regexp.last_match[:inner_type]
430
+ value.map { |v| _deserialize(inner_type, v) }
431
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
432
+ k_type = Regexp.last_match[:k_type]
433
+ v_type = Regexp.last_match[:v_type]
434
+ {}.tap do |hash|
435
+ value.each do |k, v|
436
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
437
+ end
438
+ end
439
+ else # model
440
+ _model = Object.const_get("PureCloud").const_get(type).new
441
+ _model.build_from_hash(value)
442
+ end
443
+ end
444
+
445
+ def to_s
446
+ to_hash.to_s
447
+ end
448
+
449
+ # to_body is an alias to to_body (backward compatibility))
450
+ def to_body
451
+ to_hash
452
+ end
453
+
454
+ # return the object in the form of hash
455
+ def to_hash
456
+ hash = {}
457
+ self.class.attribute_map.each_pair do |attr, param|
458
+ value = self.send(attr)
459
+ next if value.nil?
460
+ hash[param] = _to_hash(value)
461
+ end
462
+ hash
463
+ end
464
+
465
+ # Method to output non-array value in the form of hash
466
+ # For object, use to_hash. Otherwise, just return the value
467
+ def _to_hash(value)
468
+ if value.is_a?(Array)
469
+ value.compact.map{ |v| _to_hash(v) }
470
+ elsif value.is_a?(Hash)
471
+ {}.tap do |hash|
472
+ value.each { |k, v| hash[k] = _to_hash(v) }
473
+ end
474
+ elsif value.respond_to? :to_hash
475
+ value.to_hash
476
+ else
477
+ value
478
+ end
479
+ end
480
+
481
+ end
482
+ end