purecloudplatformclientv2 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  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/DIDEntityListing.md +2 -2
  23. data/docs/DIDPoolEntityListing.md +2 -2
  24. data/docs/DependencyObjectEntityListing.md +2 -2
  25. data/docs/DependencyTypeEntityListing.md +2 -2
  26. data/docs/DncListEntityListing.md +2 -2
  27. data/docs/DocumentAuditEntityListing.md +2 -2
  28. data/docs/DocumentEntityListing.md +2 -2
  29. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  30. data/docs/DomainEntityListing.md +2 -2
  31. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  32. data/docs/DomainEntityListingQueryResult.md +2 -2
  33. data/docs/DomainOrganizationRole.md +1 -1
  34. data/docs/DomainOrganizationRoleCreate.md +1 -1
  35. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  36. data/docs/EdgeEntityListing.md +2 -2
  37. data/docs/EdgeGroupEntityListing.md +2 -2
  38. data/docs/EdgeLineEntityListing.md +2 -2
  39. data/docs/EmailConversationEntityListing.md +2 -2
  40. data/docs/EmailMessageListing.md +2 -2
  41. data/docs/EncryptionKeyEntityListing.md +2 -2
  42. data/docs/EndpointEntityListing.md +2 -2
  43. data/docs/EvaluationEntityListing.md +2 -2
  44. data/docs/EvaluationFormEntityListing.md +2 -2
  45. data/docs/EvaluatorActivityEntityListing.md +2 -2
  46. data/docs/ExtensionEntityListing.md +2 -2
  47. data/docs/ExtensionPoolEntityListing.md +2 -2
  48. data/docs/ExternalOrganizationListing.md +2 -2
  49. data/docs/FaxDocumentEntityListing.md +2 -2
  50. data/docs/FlowEntityListing.md +2 -2
  51. data/docs/FlowVersionEntityListing.md +2 -2
  52. data/docs/GreetingListing.md +2 -2
  53. data/docs/GroupEntityListing.md +2 -2
  54. data/docs/HeartBeatAlertContainer.md +2 -2
  55. data/docs/HeartBeatRuleContainer.md +2 -2
  56. data/docs/InboundDomainEntityListing.md +2 -2
  57. data/docs/InboundRouteEntityListing.md +2 -2
  58. data/docs/InteractionStatsAlertContainer.md +2 -2
  59. data/docs/InteractionStatsRuleContainer.md +2 -2
  60. data/docs/JsonNode.md +5 -5
  61. data/docs/KeywordSetEntityListing.md +2 -2
  62. data/docs/LanguageEntityListing.md +2 -2
  63. data/docs/LibraryEntityListing.md +2 -2
  64. data/docs/LicenseDefinitionListing.md +2 -2
  65. data/docs/LineBaseEntityListing.md +2 -2
  66. data/docs/LineEntityListing.md +2 -2
  67. data/docs/LogicalInterfaceEntityListing.md +2 -2
  68. data/docs/NoteListing.md +2 -2
  69. data/docs/OAuthClientEntityListing.md +2 -2
  70. data/docs/OAuthProviderEntityListing.md +2 -2
  71. data/docs/OrganizationPresenceEntityListing.md +2 -2
  72. data/docs/OrganizationRoleEntityListing.md +2 -2
  73. data/docs/OrphanRecordingListing.md +2 -2
  74. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  75. data/docs/OutboundRouteEntityListing.md +2 -2
  76. data/docs/PermissionCollectionEntityListing.md +2 -2
  77. data/docs/PhoneBaseEntityListing.md +2 -2
  78. data/docs/PhoneEntityListing.md +2 -2
  79. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  80. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  81. data/docs/PolicyEntityListing.md +2 -2
  82. data/docs/PromptAssetEntityListing.md +2 -2
  83. data/docs/PromptEntityListing.md +2 -2
  84. data/docs/QualityAuditPage.md +2 -2
  85. data/docs/QueueEntityListing.md +2 -2
  86. data/docs/QueueMemberEntityListing.md +2 -2
  87. data/docs/RelationshipListing.md +2 -2
  88. data/docs/ReportMetaDataEntityListing.md +2 -2
  89. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  90. data/docs/ReportScheduleEntityListing.md +2 -2
  91. data/docs/ResponseEntityList.md +2 -2
  92. data/docs/ResponseEntityListing.md +2 -2
  93. data/docs/ResponseSetEntityListing.md +2 -2
  94. data/docs/RoutingStatusAlertContainer.md +2 -2
  95. data/docs/RoutingStatusRuleContainer.md +2 -2
  96. data/docs/RuleSetEntityListing.md +2 -2
  97. data/docs/SchemaCategoryEntityListing.md +2 -2
  98. data/docs/SchemaReferenceEntityListing.md +2 -2
  99. data/docs/ScreenRecordingSessionListing.md +2 -2
  100. data/docs/ScriptEntityListing.md +2 -2
  101. data/docs/SecurityProfileEntityListing.md +2 -2
  102. data/docs/ShareEntityListing.md +2 -2
  103. data/docs/SiteEntityListing.md +2 -2
  104. data/docs/SkillEntityListing.md +2 -2
  105. data/docs/StationEntityListing.md +2 -2
  106. data/docs/SystemPromptAssetEntityListing.md +2 -2
  107. data/docs/SystemPromptEntityListing.md +2 -2
  108. data/docs/TagValueEntityListing.md +2 -2
  109. data/docs/TimeZoneEntityListing.md +2 -2
  110. data/docs/TrunkBaseEntityListing.md +2 -2
  111. data/docs/TrunkEntityListing.md +2 -2
  112. data/docs/TrunkMetabaseEntityListing.md +2 -2
  113. data/docs/UserEntityListing.md +2 -2
  114. data/docs/UserPresenceAlertContainer.md +2 -2
  115. data/docs/UserPresenceRuleContainer.md +2 -2
  116. data/docs/UserQueueEntityListing.md +2 -2
  117. data/docs/UserRecordingEntityListing.md +2 -2
  118. data/docs/UserSkillEntityListing.md +2 -2
  119. data/docs/VoicemailMessageEntityListing.md +2 -2
  120. data/docs/WorkspaceEntityListing.md +2 -2
  121. data/docs/WorkspaceMemberEntityListing.md +2 -2
  122. data/docs/WrapupCodeEntityListing.md +2 -2
  123. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +16 -16
  124. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +16 -16
  125. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +16 -16
  126. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +16 -16
  127. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +16 -16
  128. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +16 -16
  129. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +16 -16
  130. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +16 -16
  131. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +16 -16
  132. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +16 -16
  133. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +16 -16
  134. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +16 -16
  135. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +16 -16
  136. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +16 -16
  137. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +16 -16
  138. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +16 -16
  139. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +16 -16
  140. data/lib/purecloudplatformclientv2/models/contact_listing.rb +16 -16
  141. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +16 -16
  142. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +16 -16
  143. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +16 -16
  144. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +16 -16
  145. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +16 -16
  146. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +16 -16
  147. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +16 -16
  148. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +16 -16
  149. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +16 -16
  150. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +16 -16
  151. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +16 -16
  152. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +16 -16
  153. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +10 -10
  154. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +10 -10
  155. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +10 -10
  156. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +16 -16
  157. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +16 -16
  158. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +16 -16
  159. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +16 -16
  160. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +16 -16
  161. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +16 -16
  162. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +16 -16
  163. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +16 -16
  164. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +16 -16
  165. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +16 -16
  166. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +16 -16
  167. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +16 -16
  168. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +16 -16
  169. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +16 -16
  170. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +16 -16
  171. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +16 -16
  172. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +16 -16
  173. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +16 -16
  174. data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +16 -16
  175. data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +16 -16
  176. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +16 -16
  177. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +16 -16
  178. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +16 -16
  179. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +16 -16
  180. data/lib/purecloudplatformclientv2/models/json_node.rb +37 -37
  181. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +16 -16
  182. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +16 -16
  183. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +16 -16
  184. data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +16 -16
  185. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +16 -16
  186. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +16 -16
  187. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +16 -16
  188. data/lib/purecloudplatformclientv2/models/note_listing.rb +16 -16
  189. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +16 -16
  190. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +16 -16
  191. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +16 -16
  192. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +16 -16
  193. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +16 -16
  194. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +16 -16
  195. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +16 -16
  196. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +16 -16
  197. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +16 -16
  198. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +16 -16
  199. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +16 -16
  200. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +16 -16
  201. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +16 -16
  202. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +16 -16
  203. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +16 -16
  204. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +16 -16
  205. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +16 -16
  206. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +16 -16
  207. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +16 -16
  208. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +16 -16
  209. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +16 -16
  210. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +16 -16
  211. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +16 -16
  212. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +16 -16
  213. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +16 -16
  214. data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +16 -16
  215. data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +16 -16
  216. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +16 -16
  217. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +16 -16
  218. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +16 -16
  219. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +16 -16
  220. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +16 -16
  221. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +16 -16
  222. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +16 -16
  223. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +16 -16
  224. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +16 -16
  225. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +16 -16
  226. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +16 -16
  227. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +16 -16
  228. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +16 -16
  229. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +16 -16
  230. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +16 -16
  231. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +16 -16
  232. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +16 -16
  233. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +16 -16
  234. data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +16 -16
  235. data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +16 -16
  236. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +16 -16
  237. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +16 -16
  238. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +16 -16
  239. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +16 -16
  240. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +16 -16
  241. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +16 -16
  242. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +16 -16
  243. data/lib/purecloudplatformclientv2/version.rb +1 -1
  244. metadata +1 -1
@@ -26,16 +26,16 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :first_uri
30
-
31
29
  attr_accessor :self_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :next_uri
36
34
 
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :previous_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'first_uri' => :'firstUri',
49
48
  :'self_uri' => :'selfUri',
50
- :'previous_uri' => :'previousUri',
49
+ :'first_uri' => :'firstUri',
51
50
  :'next_uri' => :'nextUri',
52
51
  :'last_uri' => :'lastUri',
52
+ :'previous_uri' => :'previousUri',
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
- :'first_uri' => :'String',
65
64
  :'self_uri' => :'String',
66
- :'previous_uri' => :'String',
65
+ :'first_uri' => :'String',
67
66
  :'next_uri' => :'String',
68
67
  :'last_uri' => :'String',
68
+ :'previous_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,16 +96,12 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'firstUri')
100
- self.first_uri = attributes[:'firstUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'selfUri')
104
100
  self.self_uri = attributes[:'selfUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'firstUri')
104
+ self.first_uri = attributes[:'firstUri']
109
105
  end
110
106
 
111
107
  if attributes.has_key?(:'nextUri')
@@ -116,6 +112,10 @@ module PureCloud
116
112
  self.last_uri = attributes[:'lastUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'previousUri')
116
+ self.previous_uri = attributes[:'previousUri']
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
- first_uri == o.first_uri &&
147
146
  self_uri == o.self_uri &&
148
- previous_uri == o.previous_uri &&
147
+ first_uri == o.first_uri &&
149
148
  next_uri == o.next_uri &&
150
149
  last_uri == o.last_uri &&
150
+ previous_uri == o.previous_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, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
163
+ [entities, page_size, page_number, total, self_uri, first_uri, next_uri, last_uri, previous_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 :first_uri
30
-
31
29
  attr_accessor :self_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :next_uri
36
34
 
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :previous_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'first_uri' => :'firstUri',
49
48
  :'self_uri' => :'selfUri',
50
- :'previous_uri' => :'previousUri',
49
+ :'first_uri' => :'firstUri',
51
50
  :'next_uri' => :'nextUri',
52
51
  :'last_uri' => :'lastUri',
52
+ :'previous_uri' => :'previousUri',
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
- :'first_uri' => :'String',
65
64
  :'self_uri' => :'String',
66
- :'previous_uri' => :'String',
65
+ :'first_uri' => :'String',
67
66
  :'next_uri' => :'String',
68
67
  :'last_uri' => :'String',
68
+ :'previous_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,16 +96,12 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'firstUri')
100
- self.first_uri = attributes[:'firstUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'selfUri')
104
100
  self.self_uri = attributes[:'selfUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'firstUri')
104
+ self.first_uri = attributes[:'firstUri']
109
105
  end
110
106
 
111
107
  if attributes.has_key?(:'nextUri')
@@ -116,6 +112,10 @@ module PureCloud
116
112
  self.last_uri = attributes[:'lastUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'previousUri')
116
+ self.previous_uri = attributes[:'previousUri']
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
- first_uri == o.first_uri &&
147
146
  self_uri == o.self_uri &&
148
- previous_uri == o.previous_uri &&
147
+ first_uri == o.first_uri &&
149
148
  next_uri == o.next_uri &&
150
149
  last_uri == o.last_uri &&
150
+ previous_uri == o.previous_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, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
163
+ [entities, page_size, page_number, total, self_uri, first_uri, next_uri, last_uri, previous_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 :first_uri
30
-
31
29
  attr_accessor :self_uri
32
30
 
33
- attr_accessor :previous_uri
31
+ attr_accessor :first_uri
34
32
 
35
33
  attr_accessor :next_uri
36
34
 
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :previous_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,11 +45,11 @@ module PureCloud
45
45
  :'page_size' => :'pageSize',
46
46
  :'page_number' => :'pageNumber',
47
47
  :'total' => :'total',
48
- :'first_uri' => :'firstUri',
49
48
  :'self_uri' => :'selfUri',
50
- :'previous_uri' => :'previousUri',
49
+ :'first_uri' => :'firstUri',
51
50
  :'next_uri' => :'nextUri',
52
51
  :'last_uri' => :'lastUri',
52
+ :'previous_uri' => :'previousUri',
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
- :'first_uri' => :'String',
65
64
  :'self_uri' => :'String',
66
- :'previous_uri' => :'String',
65
+ :'first_uri' => :'String',
67
66
  :'next_uri' => :'String',
68
67
  :'last_uri' => :'String',
68
+ :'previous_uri' => :'String',
69
69
  :'page_count' => :'Integer'
70
70
  }
71
71
  end
@@ -96,16 +96,12 @@ module PureCloud
96
96
  self.total = attributes[:'total']
97
97
  end
98
98
 
99
- if attributes.has_key?(:'firstUri')
100
- self.first_uri = attributes[:'firstUri']
101
- end
102
-
103
99
  if attributes.has_key?(:'selfUri')
104
100
  self.self_uri = attributes[:'selfUri']
105
101
  end
106
102
 
107
- if attributes.has_key?(:'previousUri')
108
- self.previous_uri = attributes[:'previousUri']
103
+ if attributes.has_key?(:'firstUri')
104
+ self.first_uri = attributes[:'firstUri']
109
105
  end
110
106
 
111
107
  if attributes.has_key?(:'nextUri')
@@ -116,6 +112,10 @@ module PureCloud
116
112
  self.last_uri = attributes[:'lastUri']
117
113
  end
118
114
 
115
+ if attributes.has_key?(:'previousUri')
116
+ self.previous_uri = attributes[:'previousUri']
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
- first_uri == o.first_uri &&
147
146
  self_uri == o.self_uri &&
148
- previous_uri == o.previous_uri &&
147
+ first_uri == o.first_uri &&
149
148
  next_uri == o.next_uri &&
150
149
  last_uri == o.last_uri &&
150
+ previous_uri == o.previous_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, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
163
+ [entities, page_size, page_number, total, self_uri, first_uri, next_uri, last_uri, previous_uri, page_count].hash
164
164
  end
165
165
 
166
166
  # build the object from hash