purecloudplatformclientv2 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AgentActivityEntityListing.md +2 -2
  4. data/docs/AttemptLimitsEntityListing.md +2 -2
  5. data/docs/AttributeEntityListing.md +2 -2
  6. data/docs/CalibrationEntityListing.md +2 -2
  7. data/docs/CallConversationEntityListing.md +2 -2
  8. data/docs/CallableTimeSetEntityListing.md +2 -2
  9. data/docs/CallbackConversationEntityListing.md +2 -2
  10. data/docs/CampaignEntityListing.md +2 -2
  11. data/docs/CampaignRuleEntityListing.md +2 -2
  12. data/docs/CampaignSequenceEntityListing.md +2 -2
  13. data/docs/CertificateAuthorityEntityListing.md +2 -2
  14. data/docs/ChatConversationEntityListing.md +2 -2
  15. data/docs/CobrowseConversationEntityListing.md +2 -2
  16. data/docs/CommandStatusEntityListing.md +2 -2
  17. data/docs/ConsumedResourcesEntityListing.md +2 -2
  18. data/docs/ConsumingResourcesEntityListing.md +2 -2
  19. data/docs/ContactListEntityListing.md +2 -2
  20. data/docs/ContactListing.md +2 -2
  21. data/docs/ConversationEntityListing.md +2 -2
  22. data/docs/ConversationNotificationCall.md +1 -0
  23. data/docs/ConversationNotificationCalls.md +1 -0
  24. data/docs/ConversationNotificationChat.md +1 -0
  25. data/docs/ConversationNotificationChats.md +1 -0
  26. data/docs/ConversationNotificationCobrowse.md +1 -0
  27. data/docs/ConversationNotificationCobrowsesessions.md +1 -0
  28. data/docs/ConversationNotificationEmail.md +1 -0
  29. data/docs/ConversationNotificationEmails.md +1 -0
  30. data/docs/ConversationNotificationScreenshare.md +1 -0
  31. data/docs/ConversationNotificationScreenshares.md +1 -0
  32. data/docs/ConversationNotificationSocialExpression.md +1 -0
  33. data/docs/ConversationNotificationSocialExpressions.md +1 -0
  34. data/docs/ConversationNotificationVideo.md +1 -0
  35. data/docs/ConversationNotificationVideos.md +1 -0
  36. data/docs/DIDEntityListing.md +2 -2
  37. data/docs/DIDPoolEntityListing.md +2 -2
  38. data/docs/DependencyObjectEntityListing.md +2 -2
  39. data/docs/DependencyTypeEntityListing.md +2 -2
  40. data/docs/DncListEntityListing.md +2 -2
  41. data/docs/DocumentAuditEntityListing.md +2 -2
  42. data/docs/DocumentEntityListing.md +2 -2
  43. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  44. data/docs/DomainEntityListing.md +2 -2
  45. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  46. data/docs/DomainEntityListingQueryResult.md +2 -2
  47. data/docs/DomainOrganizationRole.md +1 -1
  48. data/docs/DomainOrganizationRoleCreate.md +1 -1
  49. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  50. data/docs/EdgeEntityListing.md +2 -2
  51. data/docs/EdgeGroupEntityListing.md +2 -2
  52. data/docs/EdgeLineEntityListing.md +2 -2
  53. data/docs/EmailConversationEntityListing.md +2 -2
  54. data/docs/EmailMessageListing.md +2 -2
  55. data/docs/EncryptionKeyEntityListing.md +2 -2
  56. data/docs/EndpointEntityListing.md +2 -2
  57. data/docs/EvaluationEntityListing.md +2 -2
  58. data/docs/EvaluationFormEntityListing.md +2 -2
  59. data/docs/EvaluatorActivityEntityListing.md +2 -2
  60. data/docs/ExtensionEntityListing.md +2 -2
  61. data/docs/ExtensionPoolEntityListing.md +2 -2
  62. data/docs/ExternalOrganizationListing.md +2 -2
  63. data/docs/FaxDocumentEntityListing.md +2 -2
  64. data/docs/FlowEntityListing.md +2 -2
  65. data/docs/FlowVersionEntityListing.md +2 -2
  66. data/docs/GreetingListing.md +2 -2
  67. data/docs/GroupEntityListing.md +2 -2
  68. data/docs/HeartBeatAlertContainer.md +2 -2
  69. data/docs/HeartBeatRuleContainer.md +2 -2
  70. data/docs/InboundDomainEntityListing.md +2 -2
  71. data/docs/InboundRouteEntityListing.md +2 -2
  72. data/docs/InteractionStatsAlertContainer.md +2 -2
  73. data/docs/InteractionStatsRuleContainer.md +2 -2
  74. data/docs/JsonNode.md +5 -5
  75. data/docs/KeywordSetEntityListing.md +2 -2
  76. data/docs/LanguageEntityListing.md +2 -2
  77. data/docs/LibraryEntityListing.md +2 -2
  78. data/docs/LicenseDefinitionListing.md +2 -2
  79. data/docs/LineBaseEntityListing.md +2 -2
  80. data/docs/LineEntityListing.md +2 -2
  81. data/docs/LogicalInterfaceEntityListing.md +2 -2
  82. data/docs/NoteListing.md +2 -2
  83. data/docs/OAuthClientEntityListing.md +2 -2
  84. data/docs/OAuthProviderEntityListing.md +2 -2
  85. data/docs/OrganizationPresenceEntityListing.md +2 -2
  86. data/docs/OrganizationRoleEntityListing.md +2 -2
  87. data/docs/OrphanRecordingListing.md +2 -2
  88. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  89. data/docs/OutboundRouteEntityListing.md +2 -2
  90. data/docs/PermissionCollectionEntityListing.md +2 -2
  91. data/docs/PhoneBaseEntityListing.md +2 -2
  92. data/docs/PhoneEntityListing.md +2 -2
  93. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  94. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  95. data/docs/PolicyEntityListing.md +2 -2
  96. data/docs/PromptAssetEntityListing.md +2 -2
  97. data/docs/PromptEntityListing.md +2 -2
  98. data/docs/QualityAuditPage.md +2 -2
  99. data/docs/QueueEntityListing.md +2 -2
  100. data/docs/QueueMemberEntityListing.md +2 -2
  101. data/docs/RelationshipListing.md +2 -2
  102. data/docs/ReportMetaDataEntityListing.md +2 -2
  103. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  104. data/docs/ReportScheduleEntityListing.md +2 -2
  105. data/docs/ResponseEntityList.md +2 -2
  106. data/docs/ResponseEntityListing.md +2 -2
  107. data/docs/ResponseSetEntityListing.md +2 -2
  108. data/docs/RoutingStatusAlertContainer.md +2 -2
  109. data/docs/RoutingStatusRuleContainer.md +2 -2
  110. data/docs/RuleSetEntityListing.md +2 -2
  111. data/docs/SchemaCategoryEntityListing.md +2 -2
  112. data/docs/SchemaReferenceEntityListing.md +2 -2
  113. data/docs/ScreenRecordingSessionListing.md +2 -2
  114. data/docs/ScriptEntityListing.md +2 -2
  115. data/docs/SecurityProfileEntityListing.md +2 -2
  116. data/docs/ShareEntityListing.md +2 -2
  117. data/docs/SiteEntityListing.md +2 -2
  118. data/docs/SkillEntityListing.md +2 -2
  119. data/docs/StationEntityListing.md +2 -2
  120. data/docs/SystemPromptAssetEntityListing.md +2 -2
  121. data/docs/SystemPromptEntityListing.md +2 -2
  122. data/docs/TagValueEntityListing.md +2 -2
  123. data/docs/TimeZoneEntityListing.md +2 -2
  124. data/docs/TrunkBaseEntityListing.md +2 -2
  125. data/docs/TrunkEntityListing.md +2 -2
  126. data/docs/TrunkMetabaseEntityListing.md +2 -2
  127. data/docs/UserEntityListing.md +2 -2
  128. data/docs/UserPresenceAlertContainer.md +2 -2
  129. data/docs/UserPresenceNotification.md +1 -0
  130. data/docs/UserPresenceRuleContainer.md +2 -2
  131. data/docs/UserQueueEntityListing.md +2 -2
  132. data/docs/UserRecordingEntityListing.md +2 -2
  133. data/docs/UserSkillEntityListing.md +2 -2
  134. data/docs/VoicemailMessageEntityListing.md +2 -2
  135. data/docs/WorkspaceEntityListing.md +2 -2
  136. data/docs/WorkspaceMemberEntityListing.md +2 -2
  137. data/docs/WrapupCodeEntityListing.md +2 -2
  138. data/lib/purecloudplatformclientv2.rb +47 -0
  139. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +19 -19
  140. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +19 -19
  141. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +19 -19
  142. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +19 -19
  143. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +19 -19
  144. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +19 -19
  145. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +19 -19
  146. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +19 -19
  147. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +19 -19
  148. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +19 -19
  149. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +19 -19
  150. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +19 -19
  151. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +19 -19
  152. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +19 -19
  153. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +19 -19
  154. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +19 -19
  155. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +19 -19
  156. data/lib/purecloudplatformclientv2/models/contact_listing.rb +19 -19
  157. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +19 -19
  158. data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +10 -1
  159. data/lib/purecloudplatformclientv2/models/conversation_notification_calls.rb +10 -1
  160. data/lib/purecloudplatformclientv2/models/conversation_notification_chat.rb +10 -1
  161. data/lib/purecloudplatformclientv2/models/conversation_notification_chats.rb +10 -1
  162. data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowse.rb +10 -1
  163. data/lib/purecloudplatformclientv2/models/conversation_notification_cobrowsesessions.rb +10 -1
  164. data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +10 -1
  165. data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +10 -1
  166. data/lib/purecloudplatformclientv2/models/conversation_notification_screenshare.rb +10 -1
  167. data/lib/purecloudplatformclientv2/models/conversation_notification_screenshares.rb +10 -1
  168. data/lib/purecloudplatformclientv2/models/conversation_notification_social_expression.rb +10 -1
  169. data/lib/purecloudplatformclientv2/models/conversation_notification_social_expressions.rb +10 -1
  170. data/lib/purecloudplatformclientv2/models/conversation_notification_video.rb +10 -1
  171. data/lib/purecloudplatformclientv2/models/conversation_notification_videos.rb +10 -1
  172. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +19 -19
  173. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +19 -19
  174. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +19 -19
  175. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +19 -19
  176. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +19 -19
  177. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +19 -19
  178. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +19 -19
  179. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +19 -19
  180. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +19 -19
  181. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +19 -19
  182. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +19 -19
  183. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +10 -10
  184. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +10 -10
  185. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +10 -10
  186. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +19 -19
  187. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +19 -19
  188. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +19 -19
  189. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +19 -19
  190. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +19 -19
  191. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +19 -19
  192. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +19 -19
  193. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +19 -19
  194. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +19 -19
  195. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +19 -19
  196. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +19 -19
  197. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +19 -19
  198. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +19 -19
  199. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +19 -19
  200. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +19 -19
  201. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +19 -19
  202. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +19 -19
  203. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +19 -19
  204. data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +19 -19
  205. data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +19 -19
  206. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +19 -19
  207. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +19 -19
  208. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +19 -19
  209. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +19 -19
  210. data/lib/purecloudplatformclientv2/models/json_node.rb +37 -37
  211. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +19 -19
  212. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +19 -19
  213. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +19 -19
  214. data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +19 -19
  215. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +19 -19
  216. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +19 -19
  217. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +19 -19
  218. data/lib/purecloudplatformclientv2/models/note_listing.rb +19 -19
  219. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +19 -19
  220. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +19 -19
  221. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +19 -19
  222. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +19 -19
  223. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +19 -19
  224. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +19 -19
  225. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +19 -19
  226. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +19 -19
  227. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +19 -19
  228. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +19 -19
  229. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +19 -19
  230. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +19 -19
  231. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +19 -19
  232. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +19 -19
  233. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +19 -19
  234. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +19 -19
  235. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +19 -19
  236. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +19 -19
  237. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +19 -19
  238. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +19 -19
  239. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +19 -19
  240. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +19 -19
  241. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +19 -19
  242. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +19 -19
  243. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +19 -19
  244. data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +19 -19
  245. data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +19 -19
  246. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +19 -19
  247. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +19 -19
  248. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +19 -19
  249. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +19 -19
  250. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +19 -19
  251. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +19 -19
  252. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +19 -19
  253. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +19 -19
  254. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +19 -19
  255. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +19 -19
  256. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +19 -19
  257. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +19 -19
  258. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +19 -19
  259. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +19 -19
  260. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +19 -19
  261. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +19 -19
  262. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +19 -19
  263. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +19 -19
  264. data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +19 -19
  265. data/lib/purecloudplatformclientv2/models/user_presence_notification.rb +13 -4
  266. data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +19 -19
  267. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +19 -19
  268. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +19 -19
  269. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +19 -19
  270. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +19 -19
  271. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +19 -19
  272. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +19 -19
  273. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +19 -19
  274. data/lib/purecloudplatformclientv2/version.rb +1 -1
  275. metadata +2 -2
@@ -26,16 +26,16 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :self_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'self_uri' => :'selfUri',
49
48
  :'first_uri' => :'firstUri',
49
+ :'self_uri' => :'selfUri',
50
50
  :'previous_uri' => :'previousUri',
51
- :'last_uri' => :'lastUri',
52
51
  :'next_uri' => :'nextUri',
52
+ :'last_uri' => :'lastUri',
53
53
  :'page_count' => :'pageCount'
54
54
  }
55
55
  end
@@ -61,11 +61,11 @@ module PureCloud
61
61
  :'page_size' => :'Integer',
62
62
  :'page_number' => :'Integer',
63
63
  :'total' => :'Integer',
64
- :'self_uri' => :'String',
65
64
  :'first_uri' => :'String',
65
+ :'self_uri' => :'String',
66
66
  :'previous_uri' => :'String',
67
- :'last_uri' => :'String',
68
67
  :'next_uri' => :'String',
68
+ :'last_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,26 +96,26 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'selfUri')
100
- self.self_uri = attributes[:'selfUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'firstUri')
104
100
  self.first_uri = attributes[:'firstUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'selfUri')
104
+ self.self_uri = attributes[:'selfUri']
109
105
  end
110
106
 
111
- if attributes.has_key?(:'lastUri')
112
- self.last_uri = attributes[:'lastUri']
107
+ if attributes.has_key?(:'previousUri')
108
+ self.previous_uri = attributes[:'previousUri']
113
109
  end
114
110
 
115
111
  if attributes.has_key?(:'nextUri')
116
112
  self.next_uri = attributes[:'nextUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'lastUri')
116
+ self.last_uri = attributes[:'lastUri']
117
+ end
118
+
119
119
  if attributes.has_key?(:'pageCount')
120
120
  self.page_count = attributes[:'pageCount']
121
121
  end
@@ -143,11 +143,11 @@ module PureCloud
143
143
  page_size == o.page_size &&
144
144
  page_number == o.page_number &&
145
145
  total == o.total &&
146
- self_uri == o.self_uri &&
147
146
  first_uri == o.first_uri &&
147
+ self_uri == o.self_uri &&
148
148
  previous_uri == o.previous_uri &&
149
- last_uri == o.last_uri &&
150
149
  next_uri == o.next_uri &&
150
+ last_uri == o.last_uri &&
151
151
  page_count == o.page_count
152
152
  end
153
153
 
@@ -160,7 +160,7 @@ module PureCloud
160
160
  # Calculates hash code according to all attributes.
161
161
  # @return [Fixnum] Hash code
162
162
  def hash
163
- [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
163
+ [entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
164
164
  end
165
165
 
166
166
  # build the object from hash
@@ -18,19 +18,19 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class JsonNode
21
+ attr_accessor :array
22
+
23
+ attr_accessor :null
24
+
21
25
  attr_accessor :node_type
22
26
 
23
27
  attr_accessor :float
24
28
 
25
- attr_accessor :object
26
-
27
29
  attr_accessor :boolean
28
30
 
29
31
  attr_accessor :number
30
32
 
31
- attr_accessor :value_node
32
-
33
- attr_accessor :container_node
33
+ attr_accessor :object
34
34
 
35
35
  attr_accessor :missing_node
36
36
 
@@ -56,20 +56,20 @@ module PureCloud
56
56
 
57
57
  attr_accessor :binary
58
58
 
59
- attr_accessor :array
59
+ attr_accessor :value_node
60
60
 
61
- attr_accessor :null
61
+ attr_accessor :container_node
62
62
 
63
63
  # Attribute mapping from ruby-style variable name to JSON key.
64
64
  def self.attribute_map
65
65
  {
66
+ :'array' => :'array',
67
+ :'null' => :'null',
66
68
  :'node_type' => :'nodeType',
67
69
  :'float' => :'float',
68
- :'object' => :'object',
69
70
  :'boolean' => :'boolean',
70
71
  :'number' => :'number',
71
- :'value_node' => :'valueNode',
72
- :'container_node' => :'containerNode',
72
+ :'object' => :'object',
73
73
  :'missing_node' => :'missingNode',
74
74
  :'pojo' => :'pojo',
75
75
  :'integral_number' => :'integralNumber',
@@ -82,21 +82,21 @@ module PureCloud
82
82
  :'big_integer' => :'bigInteger',
83
83
  :'textual' => :'textual',
84
84
  :'binary' => :'binary',
85
- :'array' => :'array',
86
- :'null' => :'null'
85
+ :'value_node' => :'valueNode',
86
+ :'container_node' => :'containerNode'
87
87
  }
88
88
  end
89
89
 
90
90
  # Attribute type mapping.
91
91
  def self.swagger_types
92
92
  {
93
+ :'array' => :'BOOLEAN',
94
+ :'null' => :'BOOLEAN',
93
95
  :'node_type' => :'String',
94
96
  :'float' => :'BOOLEAN',
95
- :'object' => :'BOOLEAN',
96
97
  :'boolean' => :'BOOLEAN',
97
98
  :'number' => :'BOOLEAN',
98
- :'value_node' => :'BOOLEAN',
99
- :'container_node' => :'BOOLEAN',
99
+ :'object' => :'BOOLEAN',
100
100
  :'missing_node' => :'BOOLEAN',
101
101
  :'pojo' => :'BOOLEAN',
102
102
  :'integral_number' => :'BOOLEAN',
@@ -109,8 +109,8 @@ module PureCloud
109
109
  :'big_integer' => :'BOOLEAN',
110
110
  :'textual' => :'BOOLEAN',
111
111
  :'binary' => :'BOOLEAN',
112
- :'array' => :'BOOLEAN',
113
- :'null' => :'BOOLEAN'
112
+ :'value_node' => :'BOOLEAN',
113
+ :'container_node' => :'BOOLEAN'
114
114
  }
115
115
  end
116
116
 
@@ -122,6 +122,14 @@ module PureCloud
122
122
  # convert string to symbol for hash key
123
123
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
124
124
 
125
+ if attributes.has_key?(:'array')
126
+ self.array = attributes[:'array']
127
+ end
128
+
129
+ if attributes.has_key?(:'null')
130
+ self.null = attributes[:'null']
131
+ end
132
+
125
133
  if attributes.has_key?(:'nodeType')
126
134
  self.node_type = attributes[:'nodeType']
127
135
  end
@@ -130,10 +138,6 @@ module PureCloud
130
138
  self.float = attributes[:'float']
131
139
  end
132
140
 
133
- if attributes.has_key?(:'object')
134
- self.object = attributes[:'object']
135
- end
136
-
137
141
  if attributes.has_key?(:'boolean')
138
142
  self.boolean = attributes[:'boolean']
139
143
  end
@@ -142,12 +146,8 @@ module PureCloud
142
146
  self.number = attributes[:'number']
143
147
  end
144
148
 
145
- if attributes.has_key?(:'valueNode')
146
- self.value_node = attributes[:'valueNode']
147
- end
148
-
149
- if attributes.has_key?(:'containerNode')
150
- self.container_node = attributes[:'containerNode']
149
+ if attributes.has_key?(:'object')
150
+ self.object = attributes[:'object']
151
151
  end
152
152
 
153
153
  if attributes.has_key?(:'missingNode')
@@ -198,12 +198,12 @@ module PureCloud
198
198
  self.binary = attributes[:'binary']
199
199
  end
200
200
 
201
- if attributes.has_key?(:'array')
202
- self.array = attributes[:'array']
201
+ if attributes.has_key?(:'valueNode')
202
+ self.value_node = attributes[:'valueNode']
203
203
  end
204
204
 
205
- if attributes.has_key?(:'null')
206
- self.null = attributes[:'null']
205
+ if attributes.has_key?(:'containerNode')
206
+ self.container_node = attributes[:'containerNode']
207
207
  end
208
208
 
209
209
  end
@@ -239,13 +239,13 @@ module PureCloud
239
239
  def ==(o)
240
240
  return true if self.equal?(o)
241
241
  self.class == o.class &&
242
+ array == o.array &&
243
+ null == o.null &&
242
244
  node_type == o.node_type &&
243
245
  float == o.float &&
244
- object == o.object &&
245
246
  boolean == o.boolean &&
246
247
  number == o.number &&
247
- value_node == o.value_node &&
248
- container_node == o.container_node &&
248
+ object == o.object &&
249
249
  missing_node == o.missing_node &&
250
250
  pojo == o.pojo &&
251
251
  integral_number == o.integral_number &&
@@ -258,8 +258,8 @@ module PureCloud
258
258
  big_integer == o.big_integer &&
259
259
  textual == o.textual &&
260
260
  binary == o.binary &&
261
- array == o.array &&
262
- null == o.null
261
+ value_node == o.value_node &&
262
+ container_node == o.container_node
263
263
  end
264
264
 
265
265
  # @see the `==` method
@@ -271,7 +271,7 @@ module PureCloud
271
271
  # Calculates hash code according to all attributes.
272
272
  # @return [Fixnum] Hash code
273
273
  def hash
274
- [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, array, null].hash
274
+ [array, null, node_type, float, boolean, number, object, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, container_node].hash
275
275
  end
276
276
 
277
277
  # 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
29
  attr_accessor :first_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :self_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'self_uri' => :'selfUri',
49
48
  :'first_uri' => :'firstUri',
49
+ :'self_uri' => :'selfUri',
50
50
  :'previous_uri' => :'previousUri',
51
- :'last_uri' => :'lastUri',
52
51
  :'next_uri' => :'nextUri',
52
+ :'last_uri' => :'lastUri',
53
53
  :'page_count' => :'pageCount'
54
54
  }
55
55
  end
@@ -61,11 +61,11 @@ module PureCloud
61
61
  :'page_size' => :'Integer',
62
62
  :'page_number' => :'Integer',
63
63
  :'total' => :'Integer',
64
- :'self_uri' => :'String',
65
64
  :'first_uri' => :'String',
65
+ :'self_uri' => :'String',
66
66
  :'previous_uri' => :'String',
67
- :'last_uri' => :'String',
68
67
  :'next_uri' => :'String',
68
+ :'last_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,26 +96,26 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'selfUri')
100
- self.self_uri = attributes[:'selfUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'firstUri')
104
100
  self.first_uri = attributes[:'firstUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'selfUri')
104
+ self.self_uri = attributes[:'selfUri']
109
105
  end
110
106
 
111
- if attributes.has_key?(:'lastUri')
112
- self.last_uri = attributes[:'lastUri']
107
+ if attributes.has_key?(:'previousUri')
108
+ self.previous_uri = attributes[:'previousUri']
113
109
  end
114
110
 
115
111
  if attributes.has_key?(:'nextUri')
116
112
  self.next_uri = attributes[:'nextUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'lastUri')
116
+ self.last_uri = attributes[:'lastUri']
117
+ end
118
+
119
119
  if attributes.has_key?(:'pageCount')
120
120
  self.page_count = attributes[:'pageCount']
121
121
  end
@@ -143,11 +143,11 @@ module PureCloud
143
143
  page_size == o.page_size &&
144
144
  page_number == o.page_number &&
145
145
  total == o.total &&
146
- self_uri == o.self_uri &&
147
146
  first_uri == o.first_uri &&
147
+ self_uri == o.self_uri &&
148
148
  previous_uri == o.previous_uri &&
149
- last_uri == o.last_uri &&
150
149
  next_uri == o.next_uri &&
150
+ last_uri == o.last_uri &&
151
151
  page_count == o.page_count
152
152
  end
153
153
 
@@ -160,7 +160,7 @@ module PureCloud
160
160
  # Calculates hash code according to all attributes.
161
161
  # @return [Fixnum] Hash code
162
162
  def hash
163
- [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
163
+ [entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
164
164
  end
165
165
 
166
166
  # 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
29
  attr_accessor :first_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :self_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'self_uri' => :'selfUri',
49
48
  :'first_uri' => :'firstUri',
49
+ :'self_uri' => :'selfUri',
50
50
  :'previous_uri' => :'previousUri',
51
- :'last_uri' => :'lastUri',
52
51
  :'next_uri' => :'nextUri',
52
+ :'last_uri' => :'lastUri',
53
53
  :'page_count' => :'pageCount'
54
54
  }
55
55
  end
@@ -61,11 +61,11 @@ module PureCloud
61
61
  :'page_size' => :'Integer',
62
62
  :'page_number' => :'Integer',
63
63
  :'total' => :'Integer',
64
- :'self_uri' => :'String',
65
64
  :'first_uri' => :'String',
65
+ :'self_uri' => :'String',
66
66
  :'previous_uri' => :'String',
67
- :'last_uri' => :'String',
68
67
  :'next_uri' => :'String',
68
+ :'last_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,26 +96,26 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'selfUri')
100
- self.self_uri = attributes[:'selfUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'firstUri')
104
100
  self.first_uri = attributes[:'firstUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'selfUri')
104
+ self.self_uri = attributes[:'selfUri']
109
105
  end
110
106
 
111
- if attributes.has_key?(:'lastUri')
112
- self.last_uri = attributes[:'lastUri']
107
+ if attributes.has_key?(:'previousUri')
108
+ self.previous_uri = attributes[:'previousUri']
113
109
  end
114
110
 
115
111
  if attributes.has_key?(:'nextUri')
116
112
  self.next_uri = attributes[:'nextUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'lastUri')
116
+ self.last_uri = attributes[:'lastUri']
117
+ end
118
+
119
119
  if attributes.has_key?(:'pageCount')
120
120
  self.page_count = attributes[:'pageCount']
121
121
  end
@@ -143,11 +143,11 @@ module PureCloud
143
143
  page_size == o.page_size &&
144
144
  page_number == o.page_number &&
145
145
  total == o.total &&
146
- self_uri == o.self_uri &&
147
146
  first_uri == o.first_uri &&
147
+ self_uri == o.self_uri &&
148
148
  previous_uri == o.previous_uri &&
149
- last_uri == o.last_uri &&
150
149
  next_uri == o.next_uri &&
150
+ last_uri == o.last_uri &&
151
151
  page_count == o.page_count
152
152
  end
153
153
 
@@ -160,7 +160,7 @@ module PureCloud
160
160
  # Calculates hash code according to all attributes.
161
161
  # @return [Fixnum] Hash code
162
162
  def hash
163
- [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
163
+ [entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
164
164
  end
165
165
 
166
166
  # build the object from hash