purecloudplatformclientv2 19.0.0 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/AnalyticsSession.md +3 -0
  6. data/docs/ArchitectApi.md +272 -2
  7. data/docs/AttemptLimitsEntityListing.md +1 -1
  8. data/docs/AttributeEntityListing.md +1 -1
  9. data/docs/CalibrationEntityListing.md +1 -1
  10. data/docs/CallConversationEntityListing.md +1 -1
  11. data/docs/CallHistoryConversationEntityListing.md +1 -1
  12. data/docs/CallHistoryParticipant.md +2 -0
  13. data/docs/CallableTimeSetEntityListing.md +1 -1
  14. data/docs/CallbackConversationEntityListing.md +1 -1
  15. data/docs/CampaignEntityListing.md +1 -1
  16. data/docs/CampaignRuleEntityListing.md +1 -1
  17. data/docs/CampaignSequenceEntityListing.md +1 -1
  18. data/docs/CertificateAuthorityEntityListing.md +1 -1
  19. data/docs/ChatConversationEntityListing.md +1 -1
  20. data/docs/CobrowseConversationEntityListing.md +1 -1
  21. data/docs/CommandStatusEntityListing.md +1 -1
  22. data/docs/ConsumedResourcesEntityListing.md +1 -1
  23. data/docs/ConsumingResourcesEntityListing.md +1 -1
  24. data/docs/ContactListEntityListing.md +1 -1
  25. data/docs/ContactListFilterEntityListing.md +1 -1
  26. data/docs/ContactListing.md +1 -1
  27. data/docs/ConversationEntityListing.md +1 -1
  28. data/docs/ConversationNotificationEmail.md +1 -0
  29. data/docs/ConversationNotificationEmails.md +1 -0
  30. data/docs/ConversationNotificationMessage.md +27 -0
  31. data/docs/ConversationNotificationMessageDetails.md +14 -0
  32. data/docs/ConversationNotificationMessages.md +14 -0
  33. data/docs/ConversationNotificationMessages1.md +27 -0
  34. data/docs/ConversationNotificationParticipant.md +1 -0
  35. data/docs/ConversationNotificationParticipants.md +1 -0
  36. data/docs/DIDEntityListing.md +1 -1
  37. data/docs/DIDPoolEntityListing.md +1 -1
  38. data/docs/DependencyObjectEntityListing.md +1 -1
  39. data/docs/DependencyTypeEntityListing.md +1 -1
  40. data/docs/DialerEventEntityListing.md +1 -1
  41. data/docs/DirectoryUserDevicesListing.md +1 -1
  42. data/docs/DncListEntityListing.md +1 -1
  43. data/docs/DocumentAuditEntityListing.md +1 -1
  44. data/docs/DocumentEntityListing.md +1 -1
  45. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  46. data/docs/DomainEntityListing.md +1 -1
  47. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  48. data/docs/DomainEntityListingQueryResult.md +1 -1
  49. data/docs/DomainOrganizationRole.md +1 -1
  50. data/docs/DomainOrganizationRoleCreate.md +1 -1
  51. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  52. data/docs/EdgeEntityListing.md +1 -1
  53. data/docs/EdgeGroupEntityListing.md +1 -1
  54. data/docs/EdgeLineEntityListing.md +1 -1
  55. data/docs/EmailConversationEntityListing.md +1 -1
  56. data/docs/EmailMessageListing.md +1 -1
  57. data/docs/EncryptionKeyEntityListing.md +1 -1
  58. data/docs/EndpointEntityListing.md +1 -1
  59. data/docs/EvaluationEntityListing.md +1 -1
  60. data/docs/EvaluationFormEntityListing.md +1 -1
  61. data/docs/EvaluatorActivityEntityListing.md +1 -1
  62. data/docs/ExtensionEntityListing.md +1 -1
  63. data/docs/ExtensionPoolEntityListing.md +1 -1
  64. data/docs/ExternalOrganizationListing.md +1 -1
  65. data/docs/FaxDocumentEntityListing.md +1 -1
  66. data/docs/FlowEntityListing.md +1 -1
  67. data/docs/FlowVersionEntityListing.md +1 -1
  68. data/docs/GreetingListing.md +1 -1
  69. data/docs/GroupEntityListing.md +1 -1
  70. data/docs/IVREntityListing.md +1 -1
  71. data/docs/InboundDomainEntityListing.md +1 -1
  72. data/docs/InboundRouteEntityListing.md +1 -1
  73. data/docs/IntegrationsApi.md +4 -0
  74. data/docs/InteractionStatsAlertContainer.md +1 -1
  75. data/docs/InteractionStatsRuleContainer.md +1 -1
  76. data/docs/JsonNode.md +2 -2
  77. data/docs/KeywordSetEntityListing.md +1 -1
  78. data/docs/LanguageEntityListing.md +1 -1
  79. data/docs/LibraryEntityListing.md +1 -1
  80. data/docs/LineBaseEntityListing.md +1 -1
  81. data/docs/LineEntityListing.md +1 -1
  82. data/docs/LocationEntityListing.md +1 -1
  83. data/docs/LogicalInterfaceEntityListing.md +1 -1
  84. data/docs/ManagementUnitListing.md +1 -1
  85. data/docs/Message.md +29 -0
  86. data/docs/MessageConversationNotification.md +16 -0
  87. data/docs/MessageConversationNotificationDetail.md +16 -0
  88. data/docs/MessageConversationNotificationErrorBody.md +22 -0
  89. data/docs/MessageConversationNotificationErrorInfo.md +22 -0
  90. data/docs/MessageConversationNotificationMessageDetails.md +14 -0
  91. data/docs/MessageConversationNotificationMessageMediaParticipant.md +40 -0
  92. data/docs/MessageConversationNotificationMessages.md +14 -0
  93. data/docs/MessageConversationNotificationParticipants.md +40 -0
  94. data/docs/MessageConversationNotificationUriReference.md +14 -0
  95. data/docs/MessageConversationNotificationWrapup.md +18 -0
  96. data/docs/MessageDetails.md +15 -0
  97. data/docs/NoteListing.md +1 -1
  98. data/docs/OAuthClientEntityListing.md +1 -1
  99. data/docs/OAuthProviderEntityListing.md +1 -1
  100. data/docs/OrganizationPresenceEntityListing.md +1 -1
  101. data/docs/OrganizationRoleEntityListing.md +1 -1
  102. data/docs/OrphanRecordingListing.md +1 -1
  103. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  104. data/docs/OutboundRouteEntityListing.md +1 -1
  105. data/docs/Participant.md +1 -0
  106. data/docs/ParticipantBasic.md +1 -0
  107. data/docs/PermissionCollectionEntityListing.md +1 -1
  108. data/docs/PhoneBaseEntityListing.md +1 -1
  109. data/docs/PhoneEntityListing.md +1 -1
  110. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  111. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  112. data/docs/PolicyEntityListing.md +1 -1
  113. data/docs/PromptAssetEntityListing.md +1 -1
  114. data/docs/PromptEntityListing.md +1 -1
  115. data/docs/QualityApi.md +2 -2
  116. data/docs/QualityAuditPage.md +1 -1
  117. data/docs/QueueEntityListing.md +1 -1
  118. data/docs/QueueMemberEntityListing.md +1 -1
  119. data/docs/RelationshipListing.md +1 -1
  120. data/docs/ReportMetaDataEntityListing.md +1 -1
  121. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  122. data/docs/ReportScheduleEntityListing.md +1 -1
  123. data/docs/ResponseEntityList.md +1 -1
  124. data/docs/ResponseEntityListing.md +1 -1
  125. data/docs/ResponseSetEntityListing.md +1 -1
  126. data/docs/RuleSetEntityListing.md +1 -1
  127. data/docs/ScheduleEntityListing.md +1 -1
  128. data/docs/ScheduleGroupEntityListing.md +1 -1
  129. data/docs/SchemaCategoryEntityListing.md +1 -1
  130. data/docs/SchemaReferenceEntityListing.md +1 -1
  131. data/docs/ScreenRecordingSessionListing.md +1 -1
  132. data/docs/ScriptEntityListing.md +1 -1
  133. data/docs/ScriptsApi.md +46 -15
  134. data/docs/SecurityProfileEntityListing.md +1 -1
  135. data/docs/ShareEntityListing.md +1 -1
  136. data/docs/SiteEntityListing.md +1 -1
  137. data/docs/SkillEntityListing.md +1 -1
  138. data/docs/StationEntityListing.md +1 -1
  139. data/docs/SystemPromptAssetEntityListing.md +1 -1
  140. data/docs/SystemPromptEntityListing.md +1 -1
  141. data/docs/TagValueEntityListing.md +1 -1
  142. data/docs/TelephonyProvidersEdgeApi.md +10 -10
  143. data/docs/TimeZoneEntityListing.md +1 -1
  144. data/docs/TrunkBaseEntityListing.md +1 -1
  145. data/docs/TrunkEntityListing.md +1 -1
  146. data/docs/TrunkMetabaseEntityListing.md +1 -1
  147. data/docs/TrustEntityListing.md +1 -1
  148. data/docs/TrustUserEntityListing.md +1 -1
  149. data/docs/TrustorEntityListing.md +1 -1
  150. data/docs/UserEntityListing.md +1 -1
  151. data/docs/UserQueueEntityListing.md +1 -1
  152. data/docs/UserRecordingEntityListing.md +1 -1
  153. data/docs/UserSkillEntityListing.md +1 -1
  154. data/docs/VoicemailMessageEntityListing.md +1 -1
  155. data/docs/WorkspaceEntityListing.md +1 -1
  156. data/docs/WorkspaceMemberEntityListing.md +1 -1
  157. data/docs/WrapupCodeEntityListing.md +1 -1
  158. data/lib/purecloudplatformclientv2.rb +16 -0
  159. data/lib/purecloudplatformclientv2/api/architect_api.rb +380 -2
  160. data/lib/purecloudplatformclientv2/api/integrations_api.rb +26 -0
  161. data/lib/purecloudplatformclientv2/api/quality_api.rb +2 -2
  162. data/lib/purecloudplatformclientv2/api/scripts_api.rb +95 -4
  163. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +15 -15
  164. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  165. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +14 -14
  166. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +14 -14
  167. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
  168. data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +2 -2
  169. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +2 -2
  170. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
  171. data/lib/purecloudplatformclientv2/models/analytics_session.rb +79 -3
  172. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +14 -14
  173. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +14 -14
  174. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +14 -14
  175. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +14 -14
  176. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +14 -14
  177. data/lib/purecloudplatformclientv2/models/call_history_participant.rb +58 -4
  178. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +14 -14
  179. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +14 -14
  180. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +14 -14
  181. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +14 -14
  182. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +14 -14
  183. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +14 -14
  184. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +14 -14
  185. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +14 -14
  186. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +14 -14
  187. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +14 -14
  188. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +14 -14
  189. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +14 -14
  190. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +14 -14
  191. data/lib/purecloudplatformclientv2/models/contact_listing.rb +14 -14
  192. data/lib/purecloudplatformclientv2/models/conversation_association.rb +2 -2
  193. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +14 -14
  194. data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +40 -1
  195. data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +40 -1
  196. data/lib/purecloudplatformclientv2/models/conversation_notification_message.rb +581 -0
  197. data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +226 -0
  198. data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +226 -0
  199. data/lib/purecloudplatformclientv2/models/conversation_notification_messages_1.rb +581 -0
  200. data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +30 -3
  201. data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +30 -3
  202. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +14 -14
  203. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +14 -14
  204. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +14 -14
  205. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +14 -14
  206. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +14 -14
  207. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +14 -14
  208. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +14 -14
  209. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +14 -14
  210. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +14 -14
  211. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +14 -14
  212. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +14 -14
  213. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +14 -14
  214. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +14 -14
  215. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  218. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +14 -14
  219. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +14 -14
  220. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +14 -14
  221. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +14 -14
  222. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +14 -14
  223. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +14 -14
  224. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +14 -14
  225. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +14 -14
  226. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +14 -14
  227. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +14 -14
  228. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +14 -14
  229. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +14 -14
  230. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +14 -14
  231. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +14 -14
  232. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +14 -14
  233. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +14 -14
  234. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +14 -14
  235. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +14 -14
  236. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +14 -14
  237. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +14 -14
  238. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +14 -14
  239. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +14 -14
  240. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +14 -14
  241. data/lib/purecloudplatformclientv2/models/json_node.rb +50 -50
  242. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +14 -14
  243. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +14 -14
  244. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +14 -14
  245. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +14 -14
  246. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +14 -14
  247. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +14 -14
  248. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +14 -14
  249. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +14 -14
  250. data/lib/purecloudplatformclientv2/models/message.rb +663 -0
  251. data/lib/purecloudplatformclientv2/models/message_conversation_notification.rb +280 -0
  252. data/lib/purecloudplatformclientv2/models/message_conversation_notification_detail.rb +276 -0
  253. data/lib/purecloudplatformclientv2/models/message_conversation_notification_error_body.rb +432 -0
  254. data/lib/purecloudplatformclientv2/models/message_conversation_notification_error_info.rb +432 -0
  255. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +226 -0
  256. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +922 -0
  257. data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +226 -0
  258. data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +922 -0
  259. data/lib/purecloudplatformclientv2/models/message_conversation_notification_uri_reference.rb +226 -0
  260. data/lib/purecloudplatformclientv2/models/message_conversation_notification_wrapup.rb +328 -0
  261. data/lib/purecloudplatformclientv2/models/message_details.rb +254 -0
  262. data/lib/purecloudplatformclientv2/models/note_listing.rb +14 -14
  263. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +14 -14
  264. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +14 -14
  265. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +14 -14
  266. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +14 -14
  267. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +14 -14
  268. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +14 -14
  269. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +14 -14
  270. data/lib/purecloudplatformclientv2/models/participant.rb +28 -1
  271. data/lib/purecloudplatformclientv2/models/participant_basic.rb +28 -1
  272. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +14 -14
  273. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +14 -14
  274. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +14 -14
  275. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +14 -14
  276. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +14 -14
  277. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +14 -14
  278. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +14 -14
  279. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +14 -14
  280. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +14 -14
  281. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +14 -14
  282. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +14 -14
  283. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +14 -14
  284. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +14 -14
  285. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +14 -14
  286. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +14 -14
  287. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +14 -14
  288. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +14 -14
  289. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +14 -14
  290. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +14 -14
  291. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +14 -14
  292. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +14 -14
  293. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +14 -14
  294. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +14 -14
  295. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +14 -14
  296. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +14 -14
  297. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +14 -14
  298. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +14 -14
  299. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +14 -14
  300. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +14 -14
  301. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +14 -14
  302. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +14 -14
  303. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +14 -14
  304. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +14 -14
  305. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +14 -14
  306. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +14 -14
  307. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +14 -14
  308. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +14 -14
  309. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +14 -14
  310. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +14 -14
  311. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +14 -14
  312. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +14 -14
  313. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +14 -14
  314. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +14 -14
  315. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +14 -14
  316. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +14 -14
  317. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +14 -14
  318. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +14 -14
  319. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +14 -14
  320. data/lib/purecloudplatformclientv2/version.rb +1 -1
  321. metadata +34 -2
@@ -0,0 +1,280 @@
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: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class MessageConversationNotification
21
+ attr_accessor :id
22
+
23
+ attr_accessor :name
24
+
25
+ attr_accessor :participants
26
+
27
+ attr_accessor :other_media_uris
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+
33
+ :'id' => :'id',
34
+
35
+ :'name' => :'name',
36
+
37
+ :'participants' => :'participants',
38
+
39
+ :'other_media_uris' => :'otherMediaUris'
40
+
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+
48
+ :'id' => :'String',
49
+
50
+ :'name' => :'String',
51
+
52
+ :'participants' => :'Array<MessageConversationNotificationParticipants>',
53
+
54
+ :'other_media_uris' => :'Array<String>'
55
+
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+
68
+ if attributes.has_key?(:'id')
69
+
70
+
71
+ self.id = attributes[:'id']
72
+
73
+
74
+ end
75
+
76
+
77
+ if attributes.has_key?(:'name')
78
+
79
+
80
+ self.name = attributes[:'name']
81
+
82
+
83
+ end
84
+
85
+
86
+ if attributes.has_key?(:'participants')
87
+
88
+ if (value = attributes[:'participants']).is_a?(Array)
89
+ self.participants = value
90
+ end
91
+
92
+
93
+
94
+ end
95
+
96
+
97
+ if attributes.has_key?(:'otherMediaUris')
98
+
99
+ if (value = attributes[:'otherMediaUris']).is_a?(Array)
100
+ self.other_media_uris = value
101
+ end
102
+
103
+
104
+
105
+ end
106
+
107
+
108
+ end
109
+
110
+ # Show invalid properties with the reasons. Usually used together with valid?
111
+ # @return Array for valid properies with the reasons
112
+ def list_invalid_properties
113
+ invalid_properties = Array.new
114
+
115
+
116
+ return invalid_properties
117
+ end
118
+
119
+ # Check to see if the all the properties in the model are valid
120
+ # @return true if the model is valid
121
+ def valid?
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ end
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ # Checks equality by comparing each attribute.
163
+ # @param [Object] Object to be compared
164
+ def ==(o)
165
+ return true if self.equal?(o)
166
+ self.class == o.class &&
167
+ id == o.id &&
168
+ name == o.name &&
169
+ participants == o.participants &&
170
+ other_media_uris == o.other_media_uris
171
+ end
172
+
173
+ # @see the `==` method
174
+ # @param [Object] Object to be compared
175
+ def eql?(o)
176
+ self == o
177
+ end
178
+
179
+ # Calculates hash code according to all attributes.
180
+ # @return [Fixnum] Hash code
181
+ def hash
182
+ [id, name, participants, other_media_uris].hash
183
+ end
184
+
185
+ # build the object from hash
186
+ def build_from_hash(attributes)
187
+ return nil unless attributes.is_a?(Hash)
188
+ self.class.swagger_types.each_pair do |key, type|
189
+ if type =~ /^Array<(.*)>/i
190
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
191
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
192
+ else
193
+ #TODO show warning in debug mode
194
+ end
195
+ elsif !attributes[self.class.attribute_map[key]].nil?
196
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
197
+ else
198
+ # data not found in attributes(hash), not an issue as the data can be optional
199
+ end
200
+ end
201
+
202
+ self
203
+ end
204
+
205
+ def _deserialize(type, value)
206
+ case type.to_sym
207
+ when :DateTime
208
+ DateTime.parse(value)
209
+ when :Date
210
+ Date.parse(value)
211
+ when :String
212
+ value.to_s
213
+ when :Integer
214
+ value.to_i
215
+ when :Float
216
+ value.to_f
217
+ when :BOOLEAN
218
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
219
+ true
220
+ else
221
+ false
222
+ end
223
+ when :Object
224
+ # generic object (usually a Hash), return directly
225
+ value
226
+ when /\AArray<(?<inner_type>.+)>\z/
227
+ inner_type = Regexp.last_match[:inner_type]
228
+ value.map { |v| _deserialize(inner_type, v) }
229
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
230
+ k_type = Regexp.last_match[:k_type]
231
+ v_type = Regexp.last_match[:v_type]
232
+ {}.tap do |hash|
233
+ value.each do |k, v|
234
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
235
+ end
236
+ end
237
+ else # model
238
+ _model = Object.const_get("PureCloud").const_get(type).new
239
+ _model.build_from_hash(value)
240
+ end
241
+ end
242
+
243
+ def to_s
244
+ to_hash.to_s
245
+ end
246
+
247
+ # to_body is an alias to to_body (backward compatibility))
248
+ def to_body
249
+ to_hash
250
+ end
251
+
252
+ # return the object in the form of hash
253
+ def to_hash
254
+ hash = {}
255
+ self.class.attribute_map.each_pair do |attr, param|
256
+ value = self.send(attr)
257
+ next if value.nil?
258
+ hash[param] = _to_hash(value)
259
+ end
260
+ hash
261
+ end
262
+
263
+ # Method to output non-array value in the form of hash
264
+ # For object, use to_hash. Otherwise, just return the value
265
+ def _to_hash(value)
266
+ if value.is_a?(Array)
267
+ value.compact.map{ |v| _to_hash(v) }
268
+ elsif value.is_a?(Hash)
269
+ {}.tap do |hash|
270
+ value.each { |k, v| hash[k] = _to_hash(v) }
271
+ end
272
+ elsif value.respond_to? :to_hash
273
+ value.to_hash
274
+ else
275
+ value
276
+ end
277
+ end
278
+
279
+ end
280
+ end
@@ -0,0 +1,276 @@
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: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class MessageConversationNotificationDetail
21
+ attr_accessor :error_code
22
+
23
+ attr_accessor :field_name
24
+
25
+ attr_accessor :entity_id
26
+
27
+ attr_accessor :entity_name
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+
33
+ :'error_code' => :'errorCode',
34
+
35
+ :'field_name' => :'fieldName',
36
+
37
+ :'entity_id' => :'entityId',
38
+
39
+ :'entity_name' => :'entityName'
40
+
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+
48
+ :'error_code' => :'String',
49
+
50
+ :'field_name' => :'String',
51
+
52
+ :'entity_id' => :'String',
53
+
54
+ :'entity_name' => :'String'
55
+
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+
68
+ if attributes.has_key?(:'errorCode')
69
+
70
+
71
+ self.error_code = attributes[:'errorCode']
72
+
73
+
74
+ end
75
+
76
+
77
+ if attributes.has_key?(:'fieldName')
78
+
79
+
80
+ self.field_name = attributes[:'fieldName']
81
+
82
+
83
+ end
84
+
85
+
86
+ if attributes.has_key?(:'entityId')
87
+
88
+
89
+ self.entity_id = attributes[:'entityId']
90
+
91
+
92
+ end
93
+
94
+
95
+ if attributes.has_key?(:'entityName')
96
+
97
+
98
+ self.entity_name = attributes[:'entityName']
99
+
100
+
101
+ end
102
+
103
+
104
+ end
105
+
106
+ # Show invalid properties with the reasons. Usually used together with valid?
107
+ # @return Array for valid properies with the reasons
108
+ def list_invalid_properties
109
+ invalid_properties = Array.new
110
+
111
+
112
+ return invalid_properties
113
+ end
114
+
115
+ # Check to see if the all the properties in the model are valid
116
+ # @return true if the model is valid
117
+ def valid?
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+ end
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
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
+ error_code == o.error_code &&
164
+ field_name == o.field_name &&
165
+ entity_id == o.entity_id &&
166
+ entity_name == o.entity_name
167
+ end
168
+
169
+ # @see the `==` method
170
+ # @param [Object] Object to be compared
171
+ def eql?(o)
172
+ self == o
173
+ end
174
+
175
+ # Calculates hash code according to all attributes.
176
+ # @return [Fixnum] Hash code
177
+ def hash
178
+ [error_code, field_name, entity_id, entity_name].hash
179
+ end
180
+
181
+ # build the object from hash
182
+ def build_from_hash(attributes)
183
+ return nil unless attributes.is_a?(Hash)
184
+ self.class.swagger_types.each_pair do |key, type|
185
+ if type =~ /^Array<(.*)>/i
186
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
187
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
188
+ else
189
+ #TODO show warning in debug mode
190
+ end
191
+ elsif !attributes[self.class.attribute_map[key]].nil?
192
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
193
+ else
194
+ # data not found in attributes(hash), not an issue as the data can be optional
195
+ end
196
+ end
197
+
198
+ self
199
+ end
200
+
201
+ def _deserialize(type, value)
202
+ case type.to_sym
203
+ when :DateTime
204
+ DateTime.parse(value)
205
+ when :Date
206
+ Date.parse(value)
207
+ when :String
208
+ value.to_s
209
+ when :Integer
210
+ value.to_i
211
+ when :Float
212
+ value.to_f
213
+ when :BOOLEAN
214
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
215
+ true
216
+ else
217
+ false
218
+ end
219
+ when :Object
220
+ # generic object (usually a Hash), return directly
221
+ value
222
+ when /\AArray<(?<inner_type>.+)>\z/
223
+ inner_type = Regexp.last_match[:inner_type]
224
+ value.map { |v| _deserialize(inner_type, v) }
225
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
226
+ k_type = Regexp.last_match[:k_type]
227
+ v_type = Regexp.last_match[:v_type]
228
+ {}.tap do |hash|
229
+ value.each do |k, v|
230
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
231
+ end
232
+ end
233
+ else # model
234
+ _model = Object.const_get("PureCloud").const_get(type).new
235
+ _model.build_from_hash(value)
236
+ end
237
+ end
238
+
239
+ def to_s
240
+ to_hash.to_s
241
+ end
242
+
243
+ # to_body is an alias to to_body (backward compatibility))
244
+ def to_body
245
+ to_hash
246
+ end
247
+
248
+ # return the object in the form of hash
249
+ def to_hash
250
+ hash = {}
251
+ self.class.attribute_map.each_pair do |attr, param|
252
+ value = self.send(attr)
253
+ next if value.nil?
254
+ hash[param] = _to_hash(value)
255
+ end
256
+ hash
257
+ end
258
+
259
+ # Method to output non-array value in the form of hash
260
+ # For object, use to_hash. Otherwise, just return the value
261
+ def _to_hash(value)
262
+ if value.is_a?(Array)
263
+ value.compact.map{ |v| _to_hash(v) }
264
+ elsif value.is_a?(Hash)
265
+ {}.tap do |hash|
266
+ value.each { |k, v| hash[k] = _to_hash(v) }
267
+ end
268
+ elsif value.respond_to? :to_hash
269
+ value.to_hash
270
+ else
271
+ value
272
+ end
273
+ end
274
+
275
+ end
276
+ end