purecloudplatformclientv2 5.0.0 → 5.1.0

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