purecloudplatformclientv2 23.0.0 → 24.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +2 -2
  4. data/docs/AgentActivityEntityListing.md +2 -2
  5. data/docs/AnalyticsConversation.md +2 -1
  6. data/docs/AttemptLimitsEntityListing.md +2 -2
  7. data/docs/AttributeEntityListing.md +2 -2
  8. data/docs/BatchDownloadJobSubmission.md +1 -1
  9. data/docs/CalibrationEntityListing.md +2 -2
  10. data/docs/CallConversationEntityListing.md +2 -2
  11. data/docs/CallHistoryConversationEntityListing.md +2 -2
  12. data/docs/CallableTimeSetEntityListing.md +2 -2
  13. data/docs/CallbackConversationEntityListing.md +2 -2
  14. data/docs/CampaignEntityListing.md +2 -2
  15. data/docs/CampaignRuleEntityListing.md +2 -2
  16. data/docs/CampaignSequenceEntityListing.md +2 -2
  17. data/docs/CertificateAuthorityEntityListing.md +2 -2
  18. data/docs/ChatBadgeNotification.md +15 -0
  19. data/docs/ChatBadgeNotificationBadgeEntity.md +15 -0
  20. data/docs/ChatBadgeNotificationEntity.md +15 -0
  21. data/docs/ChatConversationEntityListing.md +2 -2
  22. data/docs/CobrowseConversationEntityListing.md +2 -2
  23. data/docs/CommandStatusEntityListing.md +2 -2
  24. data/docs/ConsumedResourcesEntityListing.md +2 -2
  25. data/docs/ConsumingResourcesEntityListing.md +2 -2
  26. data/docs/ContactListEntityListing.md +2 -2
  27. data/docs/ContactListFilterEntityListing.md +2 -2
  28. data/docs/ContactListing.md +2 -2
  29. data/docs/ConversationEntityListing.md +2 -2
  30. data/docs/ConversationNotificationMedia.md +14 -0
  31. data/docs/ConversationNotificationMessageDetails.md +1 -0
  32. data/docs/ConversationNotificationMessageMedia.md +14 -0
  33. data/docs/ConversationNotificationMessages.md +1 -0
  34. data/docs/CreateQueueRequest.md +1 -1
  35. data/docs/DIDEntityListing.md +2 -2
  36. data/docs/DIDPoolEntityListing.md +2 -2
  37. data/docs/DependencyObjectEntityListing.md +2 -2
  38. data/docs/DependencyTypeEntityListing.md +2 -2
  39. data/docs/DialerEventEntityListing.md +2 -2
  40. data/docs/DirectoryUserDevicesListing.md +2 -2
  41. data/docs/DncListEntityListing.md +2 -2
  42. data/docs/DocumentAuditEntityListing.md +2 -2
  43. data/docs/DocumentEntityListing.md +2 -2
  44. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  45. data/docs/DomainEntityListing.md +2 -2
  46. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  47. data/docs/DomainEntityListingQueryResult.md +2 -2
  48. data/docs/DomainOrganizationRole.md +1 -1
  49. data/docs/DomainOrganizationRoleCreate.md +1 -1
  50. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  51. data/docs/EdgeEntityListing.md +2 -2
  52. data/docs/EdgeGroupEntityListing.md +2 -2
  53. data/docs/EdgeLineEntityListing.md +2 -2
  54. data/docs/EmailConversationEntityListing.md +2 -2
  55. data/docs/EmailMessageListing.md +2 -2
  56. data/docs/EncryptionKeyEntityListing.md +2 -2
  57. data/docs/EndpointEntityListing.md +2 -2
  58. data/docs/EvaluationEntityListing.md +2 -2
  59. data/docs/EvaluationFormEntityListing.md +2 -2
  60. data/docs/EvaluatorActivityEntityListing.md +2 -2
  61. data/docs/ExportScriptRequest.md +14 -0
  62. data/docs/ExportScriptResponse.md +13 -0
  63. data/docs/ExtensionEntityListing.md +2 -2
  64. data/docs/ExtensionPoolEntityListing.md +2 -2
  65. data/docs/ExternalOrganizationListing.md +2 -2
  66. data/docs/FaxDocumentEntityListing.md +2 -2
  67. data/docs/FlowEntityListing.md +2 -2
  68. data/docs/FlowVersionEntityListing.md +2 -2
  69. data/docs/GreetingListing.md +2 -2
  70. data/docs/GroupEntityListing.md +2 -2
  71. data/docs/IVREntityListing.md +2 -2
  72. data/docs/InboundDomainEntityListing.md +2 -2
  73. data/docs/InboundRouteEntityListing.md +2 -2
  74. data/docs/InteractionStatsAlertContainer.md +2 -2
  75. data/docs/InteractionStatsRuleContainer.md +2 -2
  76. data/docs/JsonNode.md +3 -3
  77. data/docs/KeywordSetEntityListing.md +2 -2
  78. data/docs/LanguageEntityListing.md +2 -2
  79. data/docs/LibraryEntityListing.md +2 -2
  80. data/docs/LineBaseEntityListing.md +2 -2
  81. data/docs/LineEntityListing.md +2 -2
  82. data/docs/LocationEntityListing.md +2 -2
  83. data/docs/LogicalInterfaceEntityListing.md +2 -2
  84. data/docs/ManagementUnitListing.md +2 -2
  85. data/docs/MessageConversationNotificationMessageDetails.md +1 -0
  86. data/docs/MessageConversationNotificationMessageMedia.md +14 -0
  87. data/docs/MessageConversationNotificationMessages.md +1 -0
  88. data/docs/NoteListing.md +2 -2
  89. data/docs/OAuthClientEntityListing.md +2 -2
  90. data/docs/OAuthProviderEntityListing.md +2 -2
  91. data/docs/OrganizationPresenceEntityListing.md +2 -2
  92. data/docs/OrganizationRoleEntityListing.md +2 -2
  93. data/docs/OrphanRecordingListing.md +2 -2
  94. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  95. data/docs/OutboundRouteEntityListing.md +2 -2
  96. data/docs/PermissionCollectionEntityListing.md +2 -2
  97. data/docs/PhoneBaseEntityListing.md +2 -2
  98. data/docs/PhoneEntityListing.md +2 -2
  99. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  100. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  101. data/docs/PolicyEntityListing.md +2 -2
  102. data/docs/PromptAssetEntityListing.md +2 -2
  103. data/docs/PromptEntityListing.md +2 -2
  104. data/docs/QualityAuditPage.md +2 -2
  105. data/docs/Queue.md +1 -1
  106. data/docs/QueueEntityListing.md +2 -2
  107. data/docs/QueueMemberEntityListing.md +2 -2
  108. data/docs/RecordingApi.md +5 -5
  109. data/docs/RelationshipListing.md +2 -2
  110. data/docs/ReportMetaDataEntityListing.md +2 -2
  111. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  112. data/docs/ReportScheduleEntityListing.md +2 -2
  113. data/docs/ResponseEntityList.md +2 -2
  114. data/docs/ResponseEntityListing.md +2 -2
  115. data/docs/ResponseSetEntityListing.md +2 -2
  116. data/docs/RuleSetEntityListing.md +2 -2
  117. data/docs/ScheduleEntityListing.md +2 -2
  118. data/docs/ScheduleGroupEntityListing.md +2 -2
  119. data/docs/SchemaCategoryEntityListing.md +2 -2
  120. data/docs/SchemaReferenceEntityListing.md +2 -2
  121. data/docs/ScreenRecordingSessionListing.md +2 -2
  122. data/docs/ScriptEntityListing.md +2 -2
  123. data/docs/ScriptsApi.md +64 -2
  124. data/docs/SecurityProfileEntityListing.md +2 -2
  125. data/docs/ShareEntityListing.md +2 -2
  126. data/docs/SiteEntityListing.md +2 -2
  127. data/docs/SkillEntityListing.md +2 -2
  128. data/docs/StationEntityListing.md +2 -2
  129. data/docs/SystemPromptAssetEntityListing.md +2 -2
  130. data/docs/SystemPromptEntityListing.md +2 -2
  131. data/docs/TagValueEntityListing.md +2 -2
  132. data/docs/TimeZoneEntityListing.md +2 -2
  133. data/docs/TrunkBaseEntityListing.md +2 -2
  134. data/docs/TrunkEntityListing.md +2 -2
  135. data/docs/TrunkMetabaseEntityListing.md +2 -2
  136. data/docs/TrustEntityListing.md +2 -2
  137. data/docs/TrustUserEntityListing.md +2 -2
  138. data/docs/TrustorEntityListing.md +2 -2
  139. data/docs/UserEntityListing.md +2 -2
  140. data/docs/UserProfileEntityListing.md +2 -2
  141. data/docs/UserQueue.md +1 -1
  142. data/docs/UserQueueEntityListing.md +2 -2
  143. data/docs/UserRecordingEntityListing.md +2 -2
  144. data/docs/UserSkillEntityListing.md +2 -2
  145. data/docs/VoicemailMessageEntityListing.md +2 -2
  146. data/docs/WorkspaceEntityListing.md +2 -2
  147. data/docs/WorkspaceMemberEntityListing.md +2 -2
  148. data/docs/WrapupCodeEntityListing.md +2 -2
  149. data/lib/purecloudplatformclientv2.rb +8 -0
  150. data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
  151. data/lib/purecloudplatformclientv2/api/scripts_api.rb +73 -9
  152. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  153. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +25 -25
  154. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +25 -25
  155. data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +33 -5
  156. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
  157. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +25 -25
  158. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +25 -25
  159. data/lib/purecloudplatformclientv2/models/batch_download_job_submission.rb +1 -1
  160. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +25 -25
  161. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +25 -25
  162. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +25 -25
  163. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +25 -25
  164. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +25 -25
  165. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +25 -25
  166. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +25 -25
  167. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +25 -25
  168. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +25 -25
  169. data/lib/purecloudplatformclientv2/models/chat_badge_notification.rb +251 -0
  170. data/lib/purecloudplatformclientv2/models/chat_badge_notification_badge_entity.rb +265 -0
  171. data/lib/purecloudplatformclientv2/models/chat_badge_notification_entity.rb +265 -0
  172. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +25 -25
  173. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +25 -25
  174. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +25 -25
  175. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +25 -25
  176. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +25 -25
  177. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +25 -25
  178. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +25 -25
  179. data/lib/purecloudplatformclientv2/models/contact_listing.rb +25 -25
  180. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +25 -25
  181. data/lib/purecloudplatformclientv2/models/conversation_notification_media.rb +226 -0
  182. data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +31 -4
  183. data/lib/purecloudplatformclientv2/models/conversation_notification_message_media.rb +226 -0
  184. data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +31 -4
  185. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +8 -8
  186. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +25 -25
  187. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +25 -25
  188. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +25 -25
  189. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +25 -25
  190. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +25 -25
  191. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +25 -25
  192. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +25 -25
  193. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +25 -25
  194. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +25 -25
  195. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +25 -25
  196. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +25 -25
  197. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +25 -25
  198. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +25 -25
  199. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  200. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  201. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  202. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +25 -25
  203. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +25 -25
  204. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +25 -25
  205. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +25 -25
  206. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +25 -25
  207. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +25 -25
  208. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +25 -25
  209. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +25 -25
  210. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +25 -25
  211. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +25 -25
  212. data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
  213. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  214. data/lib/purecloudplatformclientv2/models/export_script_request.rb +229 -0
  215. data/lib/purecloudplatformclientv2/models/export_script_response.rb +201 -0
  216. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +25 -25
  217. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +25 -25
  218. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +25 -25
  219. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +25 -25
  220. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +25 -25
  221. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +25 -25
  222. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +25 -25
  223. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +25 -25
  224. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +25 -25
  225. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +25 -25
  226. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +25 -25
  227. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +25 -25
  228. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +25 -25
  229. data/lib/purecloudplatformclientv2/models/json_node.rb +61 -61
  230. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +25 -25
  231. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +25 -25
  232. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +25 -25
  233. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +25 -25
  234. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +25 -25
  235. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +25 -25
  236. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +25 -25
  237. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +25 -25
  238. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +31 -4
  239. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media.rb +226 -0
  240. data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +31 -4
  241. data/lib/purecloudplatformclientv2/models/note_listing.rb +25 -25
  242. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +25 -25
  243. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +25 -25
  244. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +25 -25
  245. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +25 -25
  246. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +25 -25
  247. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +25 -25
  248. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +25 -25
  249. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +25 -25
  250. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +25 -25
  251. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +25 -25
  252. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +25 -25
  253. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +25 -25
  254. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +25 -25
  255. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +25 -25
  256. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +25 -25
  257. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +25 -25
  258. data/lib/purecloudplatformclientv2/models/queue.rb +8 -8
  259. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +25 -25
  260. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +25 -25
  261. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +25 -25
  262. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +25 -25
  263. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +25 -25
  264. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +25 -25
  265. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +25 -25
  266. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +25 -25
  267. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +25 -25
  268. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +25 -25
  269. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +25 -25
  270. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +25 -25
  271. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +25 -25
  272. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +25 -25
  273. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +25 -25
  274. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +25 -25
  275. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +25 -25
  276. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +25 -25
  277. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +25 -25
  278. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +25 -25
  279. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +25 -25
  280. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +25 -25
  281. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +25 -25
  282. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +25 -25
  283. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +25 -25
  284. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +25 -25
  285. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +25 -25
  286. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +25 -25
  287. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +25 -25
  288. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +25 -25
  289. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +25 -25
  290. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +25 -25
  291. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +25 -25
  292. data/lib/purecloudplatformclientv2/models/user_queue.rb +8 -8
  293. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +25 -25
  294. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +25 -25
  295. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +25 -25
  296. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +25 -25
  297. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +25 -25
  298. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +25 -25
  299. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +25 -25
  300. data/lib/purecloudplatformclientv2/version.rb +1 -1
  301. metadata +18 -2
@@ -26,16 +26,16 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
- attr_accessor :first_uri
32
-
33
29
  attr_accessor :previous_uri
34
30
 
35
31
  attr_accessor :next_uri
36
32
 
37
33
  attr_accessor :last_uri
38
34
 
35
+ attr_accessor :self_uri
36
+
37
+ attr_accessor :first_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -50,16 +50,16 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
- :'first_uri' => :'firstUri',
56
-
57
53
  :'previous_uri' => :'previousUri',
58
54
 
59
55
  :'next_uri' => :'nextUri',
60
56
 
61
57
  :'last_uri' => :'lastUri',
62
58
 
59
+ :'self_uri' => :'selfUri',
60
+
61
+ :'first_uri' => :'firstUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -77,16 +77,16 @@ module PureCloud
77
77
 
78
78
  :'total' => :'Integer',
79
79
 
80
- :'self_uri' => :'String',
81
-
82
- :'first_uri' => :'String',
83
-
84
80
  :'previous_uri' => :'String',
85
81
 
86
82
  :'next_uri' => :'String',
87
83
 
88
84
  :'last_uri' => :'String',
89
85
 
86
+ :'self_uri' => :'String',
87
+
88
+ :'first_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -139,46 +139,46 @@ module PureCloud
139
139
  end
140
140
 
141
141
 
142
- if attributes.has_key?(:'selfUri')
142
+ if attributes.has_key?(:'previousUri')
143
143
 
144
144
 
145
- self.self_uri = attributes[:'selfUri']
145
+ self.previous_uri = attributes[:'previousUri']
146
146
 
147
147
 
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'firstUri')
151
+ if attributes.has_key?(:'nextUri')
152
152
 
153
153
 
154
- self.first_uri = attributes[:'firstUri']
154
+ self.next_uri = attributes[:'nextUri']
155
155
 
156
156
 
157
157
  end
158
158
 
159
159
 
160
- if attributes.has_key?(:'previousUri')
160
+ if attributes.has_key?(:'lastUri')
161
161
 
162
162
 
163
- self.previous_uri = attributes[:'previousUri']
163
+ self.last_uri = attributes[:'lastUri']
164
164
 
165
165
 
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'nextUri')
169
+ if attributes.has_key?(:'selfUri')
170
170
 
171
171
 
172
- self.next_uri = attributes[:'nextUri']
172
+ self.self_uri = attributes[:'selfUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'lastUri')
178
+ if attributes.has_key?(:'firstUri')
179
179
 
180
180
 
181
- self.last_uri = attributes[:'lastUri']
181
+ self.first_uri = attributes[:'firstUri']
182
182
 
183
183
 
184
184
  end
@@ -310,11 +310,11 @@ module PureCloud
310
310
  page_size == o.page_size &&
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
- self_uri == o.self_uri &&
314
- first_uri == o.first_uri &&
315
313
  previous_uri == o.previous_uri &&
316
314
  next_uri == o.next_uri &&
317
315
  last_uri == o.last_uri &&
316
+ self_uri == o.self_uri &&
317
+ first_uri == o.first_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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
330
+ [entities, page_size, page_number, total, previous_uri, next_uri, last_uri, self_uri, first_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -18,10 +18,6 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class JsonNode
21
- attr_accessor :array
22
-
23
- attr_accessor :null
24
-
25
21
  attr_accessor :node_type
26
22
 
27
23
  attr_accessor :float
@@ -32,10 +28,10 @@ module PureCloud
32
28
 
33
29
  attr_accessor :number
34
30
 
35
- attr_accessor :value_node
36
-
37
31
  attr_accessor :container_node
38
32
 
33
+ attr_accessor :value_node
34
+
39
35
  attr_accessor :missing_node
40
36
 
41
37
  attr_accessor :pojo
@@ -60,14 +56,14 @@ module PureCloud
60
56
 
61
57
  attr_accessor :binary
62
58
 
59
+ attr_accessor :array
60
+
61
+ attr_accessor :null
62
+
63
63
  # Attribute mapping from ruby-style variable name to JSON key.
64
64
  def self.attribute_map
65
65
  {
66
66
 
67
- :'array' => :'array',
68
-
69
- :'null' => :'null',
70
-
71
67
  :'node_type' => :'nodeType',
72
68
 
73
69
  :'float' => :'float',
@@ -78,10 +74,10 @@ module PureCloud
78
74
 
79
75
  :'number' => :'number',
80
76
 
81
- :'value_node' => :'valueNode',
82
-
83
77
  :'container_node' => :'containerNode',
84
78
 
79
+ :'value_node' => :'valueNode',
80
+
85
81
  :'missing_node' => :'missingNode',
86
82
 
87
83
  :'pojo' => :'pojo',
@@ -104,7 +100,11 @@ module PureCloud
104
100
 
105
101
  :'textual' => :'textual',
106
102
 
107
- :'binary' => :'binary'
103
+ :'binary' => :'binary',
104
+
105
+ :'array' => :'array',
106
+
107
+ :'null' => :'null'
108
108
 
109
109
  }
110
110
  end
@@ -113,10 +113,6 @@ module PureCloud
113
113
  def self.swagger_types
114
114
  {
115
115
 
116
- :'array' => :'BOOLEAN',
117
-
118
- :'null' => :'BOOLEAN',
119
-
120
116
  :'node_type' => :'String',
121
117
 
122
118
  :'float' => :'BOOLEAN',
@@ -127,10 +123,10 @@ module PureCloud
127
123
 
128
124
  :'number' => :'BOOLEAN',
129
125
 
130
- :'value_node' => :'BOOLEAN',
131
-
132
126
  :'container_node' => :'BOOLEAN',
133
127
 
128
+ :'value_node' => :'BOOLEAN',
129
+
134
130
  :'missing_node' => :'BOOLEAN',
135
131
 
136
132
  :'pojo' => :'BOOLEAN',
@@ -153,7 +149,11 @@ module PureCloud
153
149
 
154
150
  :'textual' => :'BOOLEAN',
155
151
 
156
- :'binary' => :'BOOLEAN'
152
+ :'binary' => :'BOOLEAN',
153
+
154
+ :'array' => :'BOOLEAN',
155
+
156
+ :'null' => :'BOOLEAN'
157
157
 
158
158
  }
159
159
  end
@@ -167,24 +167,6 @@ module PureCloud
167
167
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
168
168
 
169
169
 
170
- if attributes.has_key?(:'array')
171
-
172
-
173
- self.array = attributes[:'array']
174
-
175
-
176
- end
177
-
178
-
179
- if attributes.has_key?(:'null')
180
-
181
-
182
- self.null = attributes[:'null']
183
-
184
-
185
- end
186
-
187
-
188
170
  if attributes.has_key?(:'nodeType')
189
171
 
190
172
 
@@ -230,19 +212,19 @@ module PureCloud
230
212
  end
231
213
 
232
214
 
233
- if attributes.has_key?(:'valueNode')
215
+ if attributes.has_key?(:'containerNode')
234
216
 
235
217
 
236
- self.value_node = attributes[:'valueNode']
218
+ self.container_node = attributes[:'containerNode']
237
219
 
238
220
 
239
221
  end
240
222
 
241
223
 
242
- if attributes.has_key?(:'containerNode')
224
+ if attributes.has_key?(:'valueNode')
243
225
 
244
226
 
245
- self.container_node = attributes[:'containerNode']
227
+ self.value_node = attributes[:'valueNode']
246
228
 
247
229
 
248
230
  end
@@ -356,6 +338,24 @@ module PureCloud
356
338
  end
357
339
 
358
340
 
341
+ if attributes.has_key?(:'array')
342
+
343
+
344
+ self.array = attributes[:'array']
345
+
346
+
347
+ end
348
+
349
+
350
+ if attributes.has_key?(:'null')
351
+
352
+
353
+ self.null = attributes[:'null']
354
+
355
+
356
+ end
357
+
358
+
359
359
  end
360
360
 
361
361
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -373,6 +373,10 @@ module PureCloud
373
373
 
374
374
 
375
375
 
376
+ allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
377
+ if @node_type && !allowed_values.include?(@node_type)
378
+ return false
379
+ end
376
380
 
377
381
 
378
382
 
@@ -381,10 +385,6 @@ module PureCloud
381
385
 
382
386
 
383
387
 
384
- allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
385
- if @node_type && !allowed_values.include?(@node_type)
386
- return false
387
- end
388
388
 
389
389
 
390
390
 
@@ -464,16 +464,6 @@ module PureCloud
464
464
 
465
465
 
466
466
 
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
467
  # Custom attribute writer method checking allowed values (enum).
478
468
  # @param [Object] node_type Object to be assigned
479
469
  def node_type=(node_type)
@@ -566,6 +556,16 @@ module PureCloud
566
556
 
567
557
 
568
558
 
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
569
 
570
570
 
571
571
 
@@ -582,15 +582,13 @@ module PureCloud
582
582
  def ==(o)
583
583
  return true if self.equal?(o)
584
584
  self.class == o.class &&
585
- array == o.array &&
586
- null == o.null &&
587
585
  node_type == o.node_type &&
588
586
  float == o.float &&
589
587
  object == o.object &&
590
588
  boolean == o.boolean &&
591
589
  number == o.number &&
592
- value_node == o.value_node &&
593
590
  container_node == o.container_node &&
591
+ value_node == o.value_node &&
594
592
  missing_node == o.missing_node &&
595
593
  pojo == o.pojo &&
596
594
  integral_number == o.integral_number &&
@@ -602,7 +600,9 @@ module PureCloud
602
600
  big_decimal == o.big_decimal &&
603
601
  big_integer == o.big_integer &&
604
602
  textual == o.textual &&
605
- binary == o.binary
603
+ binary == o.binary &&
604
+ array == o.array &&
605
+ null == o.null
606
606
  end
607
607
 
608
608
  # @see the `==` method
@@ -614,7 +614,7 @@ module PureCloud
614
614
  # Calculates hash code according to all attributes.
615
615
  # @return [Fixnum] Hash code
616
616
  def hash
617
- [array, null, node_type, float, object, boolean, number, value_node, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary].hash
617
+ [node_type, float, object, boolean, number, container_node, value_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
618
618
  end
619
619
 
620
620
  # build the object from hash
@@ -26,16 +26,16 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
- attr_accessor :first_uri
32
-
33
29
  attr_accessor :previous_uri
34
30
 
35
31
  attr_accessor :next_uri
36
32
 
37
33
  attr_accessor :last_uri
38
34
 
35
+ attr_accessor :self_uri
36
+
37
+ attr_accessor :first_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -50,16 +50,16 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
- :'first_uri' => :'firstUri',
56
-
57
53
  :'previous_uri' => :'previousUri',
58
54
 
59
55
  :'next_uri' => :'nextUri',
60
56
 
61
57
  :'last_uri' => :'lastUri',
62
58
 
59
+ :'self_uri' => :'selfUri',
60
+
61
+ :'first_uri' => :'firstUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -77,16 +77,16 @@ module PureCloud
77
77
 
78
78
  :'total' => :'Integer',
79
79
 
80
- :'self_uri' => :'String',
81
-
82
- :'first_uri' => :'String',
83
-
84
80
  :'previous_uri' => :'String',
85
81
 
86
82
  :'next_uri' => :'String',
87
83
 
88
84
  :'last_uri' => :'String',
89
85
 
86
+ :'self_uri' => :'String',
87
+
88
+ :'first_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -139,46 +139,46 @@ module PureCloud
139
139
  end
140
140
 
141
141
 
142
- if attributes.has_key?(:'selfUri')
142
+ if attributes.has_key?(:'previousUri')
143
143
 
144
144
 
145
- self.self_uri = attributes[:'selfUri']
145
+ self.previous_uri = attributes[:'previousUri']
146
146
 
147
147
 
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'firstUri')
151
+ if attributes.has_key?(:'nextUri')
152
152
 
153
153
 
154
- self.first_uri = attributes[:'firstUri']
154
+ self.next_uri = attributes[:'nextUri']
155
155
 
156
156
 
157
157
  end
158
158
 
159
159
 
160
- if attributes.has_key?(:'previousUri')
160
+ if attributes.has_key?(:'lastUri')
161
161
 
162
162
 
163
- self.previous_uri = attributes[:'previousUri']
163
+ self.last_uri = attributes[:'lastUri']
164
164
 
165
165
 
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'nextUri')
169
+ if attributes.has_key?(:'selfUri')
170
170
 
171
171
 
172
- self.next_uri = attributes[:'nextUri']
172
+ self.self_uri = attributes[:'selfUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'lastUri')
178
+ if attributes.has_key?(:'firstUri')
179
179
 
180
180
 
181
- self.last_uri = attributes[:'lastUri']
181
+ self.first_uri = attributes[:'firstUri']
182
182
 
183
183
 
184
184
  end
@@ -310,11 +310,11 @@ module PureCloud
310
310
  page_size == o.page_size &&
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
- self_uri == o.self_uri &&
314
- first_uri == o.first_uri &&
315
313
  previous_uri == o.previous_uri &&
316
314
  next_uri == o.next_uri &&
317
315
  last_uri == o.last_uri &&
316
+ self_uri == o.self_uri &&
317
+ first_uri == o.first_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, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
330
+ [entities, page_size, page_number, total, previous_uri, next_uri, last_uri, self_uri, first_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash