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
@@ -0,0 +1,202 @@
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 GoogleDialogflowCustomSettings
21
+ # If set this environment will be used to initiate the dialogflow bot, otherwise the default configuration will be used. See https://cloud.google.com/dialogflow/docs/agents-versions
22
+ attr_accessor :environment
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+
28
+ :'environment' => :'environment'
29
+
30
+ }
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.swagger_types
35
+ {
36
+
37
+ :'environment' => :'String'
38
+
39
+ }
40
+ end
41
+
42
+ # Initializes the object
43
+ # @param [Hash] attributes Model attributes in the form of hash
44
+ def initialize(attributes = {})
45
+ return unless attributes.is_a?(Hash)
46
+
47
+ # convert string to symbol for hash key
48
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
49
+
50
+
51
+ if attributes.has_key?(:'environment')
52
+
53
+
54
+ self.environment = attributes[:'environment']
55
+
56
+
57
+ end
58
+
59
+
60
+ end
61
+
62
+ # Show invalid properties with the reasons. Usually used together with valid?
63
+ # @return Array for valid properies with the reasons
64
+ def list_invalid_properties
65
+ invalid_properties = Array.new
66
+
67
+
68
+ return invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+
75
+
76
+
77
+
78
+
79
+ end
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ environment == o.environment
93
+ end
94
+
95
+ # @see the `==` method
96
+ # @param [Object] Object to be compared
97
+ def eql?(o)
98
+ self == o
99
+ end
100
+
101
+ # Calculates hash code according to all attributes.
102
+ # @return [Fixnum] Hash code
103
+ def hash
104
+ [environment].hash
105
+ end
106
+
107
+ # build the object from hash
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ self.class.swagger_types.each_pair do |key, type|
111
+ if type =~ /^Array<(.*)>/i
112
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
113
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
114
+ else
115
+ #TODO show warning in debug mode
116
+ end
117
+ elsif !attributes[self.class.attribute_map[key]].nil?
118
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
119
+ else
120
+ # data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+ end
123
+
124
+ self
125
+ end
126
+
127
+ def _deserialize(type, value)
128
+ case type.to_sym
129
+ when :DateTime
130
+ DateTime.parse(value)
131
+ when :Date
132
+ Date.parse(value)
133
+ when :String
134
+ value.to_s
135
+ when :Integer
136
+ value.to_i
137
+ when :Float
138
+ value.to_f
139
+ when :BOOLEAN
140
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
141
+ true
142
+ else
143
+ false
144
+ end
145
+ when :Object
146
+ # generic object (usually a Hash), return directly
147
+ value
148
+ when /\AArray<(?<inner_type>.+)>\z/
149
+ inner_type = Regexp.last_match[:inner_type]
150
+ value.map { |v| _deserialize(inner_type, v) }
151
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
152
+ k_type = Regexp.last_match[:k_type]
153
+ v_type = Regexp.last_match[:v_type]
154
+ {}.tap do |hash|
155
+ value.each do |k, v|
156
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
157
+ end
158
+ end
159
+ else # model
160
+ _model = Object.const_get("PureCloud").const_get(type).new
161
+ _model.build_from_hash(value)
162
+ end
163
+ end
164
+
165
+ def to_s
166
+ to_hash.to_s
167
+ end
168
+
169
+ # to_body is an alias to to_body (backward compatibility))
170
+ def to_body
171
+ to_hash
172
+ end
173
+
174
+ # return the object in the form of hash
175
+ def to_hash
176
+ hash = {}
177
+ self.class.attribute_map.each_pair do |attr, param|
178
+ value = self.send(attr)
179
+ next if value.nil?
180
+ hash[param] = _to_hash(value)
181
+ end
182
+ hash
183
+ end
184
+
185
+ # Method to output non-array value in the form of hash
186
+ # For object, use to_hash. Otherwise, just return the value
187
+ def _to_hash(value)
188
+ if value.is_a?(Array)
189
+ value.compact.map{ |v| _to_hash(v) }
190
+ elsif value.is_a?(Hash)
191
+ {}.tap do |hash|
192
+ value.each { |k, v| hash[k] = _to_hash(v) }
193
+ end
194
+ elsif value.respond_to? :to_hash
195
+ value.to_hash
196
+ else
197
+ value
198
+ end
199
+ end
200
+
201
+ end
202
+ end
@@ -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
@@ -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,268 @@
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 HistoricalAdherenceActuals
21
+ # Activity in which the user is actually engaged
22
+ attr_accessor :actual_activity_category
23
+
24
+ # Actual start offset in seconds relative to query start time
25
+ attr_accessor :start_offset_seconds
26
+
27
+ # Actual end offset in seconds relative to query start time
28
+ attr_accessor :end_offset_seconds
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+
34
+ :'actual_activity_category' => :'actualActivityCategory',
35
+
36
+ :'start_offset_seconds' => :'startOffsetSeconds',
37
+
38
+ :'end_offset_seconds' => :'endOffsetSeconds'
39
+
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.swagger_types
45
+ {
46
+
47
+ :'actual_activity_category' => :'String',
48
+
49
+ :'start_offset_seconds' => :'Integer',
50
+
51
+ :'end_offset_seconds' => :'Integer'
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?(:'actualActivityCategory')
66
+
67
+
68
+ self.actual_activity_category = attributes[:'actualActivityCategory']
69
+
70
+
71
+ end
72
+
73
+
74
+ if attributes.has_key?(:'startOffsetSeconds')
75
+
76
+
77
+ self.start_offset_seconds = attributes[:'startOffsetSeconds']
78
+
79
+
80
+ end
81
+
82
+
83
+ if attributes.has_key?(:'endOffsetSeconds')
84
+
85
+
86
+ self.end_offset_seconds = attributes[:'endOffsetSeconds']
87
+
88
+
89
+ end
90
+
91
+
92
+ end
93
+
94
+ # Show invalid properties with the reasons. Usually used together with valid?
95
+ # @return Array for valid properies with the reasons
96
+ def list_invalid_properties
97
+ invalid_properties = Array.new
98
+
99
+
100
+ return invalid_properties
101
+ end
102
+
103
+ # Check to see if the all the properties in the model are valid
104
+ # @return true if the model is valid
105
+ def valid?
106
+
107
+
108
+
109
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", "Unscheduled"]
110
+ if @actual_activity_category && !allowed_values.include?(@actual_activity_category)
111
+ return false
112
+ end
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ end
125
+
126
+
127
+
128
+ # Custom attribute writer method checking allowed values (enum).
129
+ # @param [Object] actual_activity_category Object to be assigned
130
+ def actual_activity_category=(actual_activity_category)
131
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", "Unscheduled"]
132
+ if actual_activity_category && !allowed_values.include?(actual_activity_category)
133
+ fail ArgumentError, "invalid value for 'actual_activity_category', must be one of #{allowed_values}."
134
+ end
135
+ @actual_activity_category = actual_activity_category
136
+ end
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ # Checks equality by comparing each attribute.
152
+ # @param [Object] Object to be compared
153
+ def ==(o)
154
+ return true if self.equal?(o)
155
+ self.class == o.class &&
156
+ actual_activity_category == o.actual_activity_category &&
157
+ start_offset_seconds == o.start_offset_seconds &&
158
+ end_offset_seconds == o.end_offset_seconds
159
+ end
160
+
161
+ # @see the `==` method
162
+ # @param [Object] Object to be compared
163
+ def eql?(o)
164
+ self == o
165
+ end
166
+
167
+ # Calculates hash code according to all attributes.
168
+ # @return [Fixnum] Hash code
169
+ def hash
170
+ [actual_activity_category, start_offset_seconds, end_offset_seconds].hash
171
+ end
172
+
173
+ # build the object from hash
174
+ def build_from_hash(attributes)
175
+ return nil unless attributes.is_a?(Hash)
176
+ self.class.swagger_types.each_pair do |key, type|
177
+ if type =~ /^Array<(.*)>/i
178
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
179
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
180
+ else
181
+ #TODO show warning in debug mode
182
+ end
183
+ elsif !attributes[self.class.attribute_map[key]].nil?
184
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
185
+ else
186
+ # data not found in attributes(hash), not an issue as the data can be optional
187
+ end
188
+ end
189
+
190
+ self
191
+ end
192
+
193
+ def _deserialize(type, value)
194
+ case type.to_sym
195
+ when :DateTime
196
+ DateTime.parse(value)
197
+ when :Date
198
+ Date.parse(value)
199
+ when :String
200
+ value.to_s
201
+ when :Integer
202
+ value.to_i
203
+ when :Float
204
+ value.to_f
205
+ when :BOOLEAN
206
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
207
+ true
208
+ else
209
+ false
210
+ end
211
+ when :Object
212
+ # generic object (usually a Hash), return directly
213
+ value
214
+ when /\AArray<(?<inner_type>.+)>\z/
215
+ inner_type = Regexp.last_match[:inner_type]
216
+ value.map { |v| _deserialize(inner_type, v) }
217
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
218
+ k_type = Regexp.last_match[:k_type]
219
+ v_type = Regexp.last_match[:v_type]
220
+ {}.tap do |hash|
221
+ value.each do |k, v|
222
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
223
+ end
224
+ end
225
+ else # model
226
+ _model = Object.const_get("PureCloud").const_get(type).new
227
+ _model.build_from_hash(value)
228
+ end
229
+ end
230
+
231
+ def to_s
232
+ to_hash.to_s
233
+ end
234
+
235
+ # to_body is an alias to to_body (backward compatibility))
236
+ def to_body
237
+ to_hash
238
+ end
239
+
240
+ # return the object in the form of hash
241
+ def to_hash
242
+ hash = {}
243
+ self.class.attribute_map.each_pair do |attr, param|
244
+ value = self.send(attr)
245
+ next if value.nil?
246
+ hash[param] = _to_hash(value)
247
+ end
248
+ hash
249
+ end
250
+
251
+ # Method to output non-array value in the form of hash
252
+ # For object, use to_hash. Otherwise, just return the value
253
+ def _to_hash(value)
254
+ if value.is_a?(Array)
255
+ value.compact.map{ |v| _to_hash(v) }
256
+ elsif value.is_a?(Hash)
257
+ {}.tap do |hash|
258
+ value.each { |k, v| hash[k] = _to_hash(v) }
259
+ end
260
+ elsif value.respond_to? :to_hash
261
+ value.to_hash
262
+ else
263
+ value
264
+ end
265
+ end
266
+
267
+ end
268
+ end