purecloud 0.32.1 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/config-ruby.json +1 -1
  3. data/lib/purecloud.rb +69 -66
  4. data/lib/purecloud/api/notifications_api.rb +3 -0
  5. data/lib/purecloud/api/recording_api.rb +4 -4
  6. data/lib/purecloud/api/user_recordings_api.rb +2 -2
  7. data/lib/purecloud/api/voicemail_api.rb +2 -2
  8. data/lib/purecloud/models/address_listing.rb +11 -11
  9. data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
  10. data/lib/purecloud/models/aggregation_query.rb +1 -1
  11. data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
  12. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +11 -11
  13. data/lib/purecloud/models/available_additional_service_listing.rb +11 -11
  14. data/lib/purecloud/models/available_topic.rb +26 -4
  15. data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
  16. data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
  17. data/lib/purecloud/models/call.rb +13 -2
  18. data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
  19. data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
  20. data/lib/purecloud/models/callback.rb +16 -5
  21. data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
  22. data/lib/purecloud/models/campaign.rb +11 -1
  23. data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
  24. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
  25. data/lib/purecloud/models/carrier_entity_listing.rb +11 -11
  26. data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
  27. data/lib/purecloud/models/certificate_details.rb +15 -15
  28. data/lib/purecloud/models/channel_entity_listing.rb +11 -11
  29. data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
  30. data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
  31. data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
  32. data/lib/purecloud/models/consumed_resources_entity_listing.rb +11 -11
  33. data/lib/purecloud/models/consuming_resources_entity_listing.rb +11 -11
  34. data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
  35. data/lib/purecloud/models/contact_listing.rb +11 -11
  36. data/lib/purecloud/models/contact_sort.rb +165 -0
  37. data/lib/purecloud/models/conversation_chat.rb +16 -5
  38. data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
  39. data/lib/purecloud/models/conversation_query.rb +1 -1
  40. data/lib/purecloud/models/currency.rb +178 -0
  41. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +11 -11
  42. data/lib/purecloud/models/dependency_object_entity_listing.rb +11 -11
  43. data/lib/purecloud/models/dependency_type_entity_listing.rb +11 -11
  44. data/lib/purecloud/models/did_entity_listing.rb +11 -11
  45. data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
  46. data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
  47. data/lib/purecloud/models/document.rb +11 -11
  48. data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
  49. data/lib/purecloud/models/document_entity_listing.rb +11 -11
  50. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +11 -11
  51. data/lib/purecloud/models/domain_entity_listing.rb +11 -11
  52. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
  53. data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
  54. data/lib/purecloud/models/domain_invoice_entity_listing.rb +11 -11
  55. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +11 -11
  56. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +11 -11
  57. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +11 -11
  58. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +11 -11
  59. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +11 -11
  60. data/lib/purecloud/models/edge_entity_listing.rb +11 -11
  61. data/lib/purecloud/models/edge_group.rb +14 -1
  62. data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
  63. data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
  64. data/lib/purecloud/models/email.rb +16 -5
  65. data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
  66. data/lib/purecloud/models/email_message_listing.rb +11 -11
  67. data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
  68. data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
  69. data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
  70. data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
  71. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
  72. data/lib/purecloud/models/extension_entity_listing.rb +11 -11
  73. data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
  74. data/lib/purecloud/models/external_organization_listing.rb +11 -11
  75. data/lib/purecloud/models/fax_document.rb +11 -11
  76. data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
  77. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +11 -11
  78. data/lib/purecloud/models/flow_entity_listing.rb +11 -11
  79. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +11 -11
  80. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +11 -11
  81. data/lib/purecloud/models/flow_version_entity_listing.rb +11 -11
  82. data/lib/purecloud/models/group_entity_listing.rb +11 -11
  83. data/lib/purecloud/models/hardware_rate_listing.rb +11 -11
  84. data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
  85. data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
  86. data/lib/purecloud/models/integration_type_entity_listing.rb +11 -11
  87. data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
  88. data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
  89. data/lib/purecloud/models/ivr_entity_listing.rb +11 -11
  90. data/lib/purecloud/models/json_node.rb +37 -37
  91. data/lib/purecloud/models/language_entity_listing.rb +11 -11
  92. data/lib/purecloud/models/library_entity_listing.rb +11 -11
  93. data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
  94. data/lib/purecloud/models/line_entity_listing.rb +11 -11
  95. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +11 -11
  96. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +11 -11
  97. data/lib/purecloud/models/location_entity_listing.rb +11 -11
  98. data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
  99. data/lib/purecloud/models/media_policy.rb +1 -14
  100. data/lib/purecloud/models/note_listing.rb +11 -11
  101. data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
  102. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
  103. data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
  104. data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
  105. data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
  106. data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
  107. data/lib/purecloud/models/participant.rb +11 -1
  108. data/lib/purecloud/models/payment_method_listing.rb +11 -11
  109. data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
  110. data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
  111. data/lib/purecloud/models/phone_entity_listing.rb +11 -11
  112. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
  113. data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
  114. data/lib/purecloud/models/policy_entity_listing.rb +11 -11
  115. data/lib/purecloud/models/prompt_asset_entity_listing.rb +11 -11
  116. data/lib/purecloud/models/prompt_entity_listing.rb +11 -11
  117. data/lib/purecloud/models/quality_audit.rb +11 -11
  118. data/lib/purecloud/models/quality_audit_page.rb +11 -11
  119. data/lib/purecloud/models/queue_entity_listing.rb +11 -11
  120. data/lib/purecloud/models/queues_entity_listing.rb +11 -11
  121. data/lib/purecloud/models/quote_listing.rb +11 -11
  122. data/lib/purecloud/models/relationship_listing.rb +11 -11
  123. data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
  124. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
  125. data/lib/purecloud/models/report_schedule.rb +1 -1
  126. data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
  127. data/lib/purecloud/models/response_entity_list.rb +11 -11
  128. data/lib/purecloud/models/response_entity_listing.rb +11 -11
  129. data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
  130. data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
  131. data/lib/purecloud/models/schedule_entity_listing.rb +11 -11
  132. data/lib/purecloud/models/schedule_group_entity_listing.rb +11 -11
  133. data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
  134. data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
  135. data/lib/purecloud/models/script_entity_listing.rb +11 -11
  136. data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
  137. data/lib/purecloud/models/service_entity_listing.rb +11 -11
  138. data/lib/purecloud/models/share_entity_listing.rb +11 -11
  139. data/lib/purecloud/models/site_entity_listing.rb +11 -11
  140. data/lib/purecloud/models/skill_entity_listing.rb +11 -11
  141. data/lib/purecloud/models/snapshot.rb +168 -0
  142. data/lib/purecloud/models/social_conversation_entity_listing.rb +11 -11
  143. data/lib/purecloud/models/social_expression.rb +16 -5
  144. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +11 -11
  145. data/lib/purecloud/models/station_entity_listing.rb +11 -11
  146. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +11 -11
  147. data/lib/purecloud/models/system_prompt_entity_listing.rb +11 -11
  148. data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
  149. data/lib/purecloud/models/template_entity_listing.rb +11 -11
  150. data/lib/purecloud/models/text_table_transform_entity_listing.rb +11 -11
  151. data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
  152. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
  153. data/lib/purecloud/models/user_action_category_entity_listing.rb +11 -11
  154. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  155. data/lib/purecloud/models/user_entity_listing.rb +11 -11
  156. data/lib/purecloud/models/user_me.rb +12 -1
  157. data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
  158. data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
  159. data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
  160. data/lib/purecloud/models/users_entity_listing.rb +11 -11
  161. data/lib/purecloud/models/video.rb +16 -5
  162. data/lib/purecloud/models/video_conversation_entity_listing.rb +11 -11
  163. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +11 -11
  164. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +11 -11
  165. data/lib/purecloud/models/voicemail_message_entity_listing.rb +11 -11
  166. data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
  167. data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
  168. data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
  169. data/lib/purecloud/version.rb +1 -1
  170. data/newVersion.md +1 -1
  171. data/swagger.json +1 -1
  172. data/version.json +1 -1
  173. metadata +5 -2
@@ -12,12 +12,12 @@ module PureCloud
12
12
 
13
13
  attr_accessor :self_uri
14
14
 
15
- attr_accessor :first_uri
16
-
17
15
  attr_accessor :previous_uri
18
16
 
19
17
  attr_accessor :next_uri
20
18
 
19
+ attr_accessor :first_uri
20
+
21
21
  attr_accessor :last_uri
22
22
 
23
23
  attr_accessor :page_count
@@ -36,12 +36,12 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
41
  :'next_uri' => :'nextUri',
44
42
 
43
+ :'first_uri' => :'firstUri',
44
+
45
45
  :'last_uri' => :'lastUri',
46
46
 
47
47
  :'page_count' => :'pageCount'
@@ -57,9 +57,9 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<Conversation>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
61
  :'next_uri' => :'String',
62
+ :'first_uri' => :'String',
63
63
  :'last_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
@@ -95,10 +95,6 @@ module PureCloud
95
95
  self.self_uri = attributes[:'selfUri']
96
96
  end
97
97
 
98
- if attributes[:'firstUri']
99
- self.first_uri = attributes[:'firstUri']
100
- end
101
-
102
98
  if attributes[:'previousUri']
103
99
  self.previous_uri = attributes[:'previousUri']
104
100
  end
@@ -107,6 +103,10 @@ module PureCloud
107
103
  self.next_uri = attributes[:'nextUri']
108
104
  end
109
105
 
106
+ if attributes[:'firstUri']
107
+ self.first_uri = attributes[:'firstUri']
108
+ end
109
+
110
110
  if attributes[:'lastUri']
111
111
  self.last_uri = attributes[:'lastUri']
112
112
  end
@@ -126,9 +126,9 @@ module PureCloud
126
126
  total == o.total &&
127
127
  entities == o.entities &&
128
128
  self_uri == o.self_uri &&
129
- first_uri == o.first_uri &&
130
129
  previous_uri == o.previous_uri &&
131
130
  next_uri == o.next_uri &&
131
+ first_uri == o.first_uri &&
132
132
  last_uri == o.last_uri &&
133
133
  page_count == o.page_count
134
134
  end
@@ -140,7 +140,7 @@ module PureCloud
140
140
 
141
141
  # Calculate hash code according to all attributes.
142
142
  def hash
143
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
143
+ [page_size, page_number, total, entities, self_uri, previous_uri, next_uri, first_uri, last_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -52,7 +52,7 @@ module PureCloud
52
52
  # Attribute type mapping.
53
53
  def self.swagger_types
54
54
  {
55
- :'interval' => :'DateTime',
55
+ :'interval' => :'String',
56
56
  :'conversation_filters' => :'Array<AnalyticsQueryFilter>',
57
57
  :'evaluation_filters' => :'Array<AnalyticsQueryFilter>',
58
58
  :'segment_filters' => :'Array<AnalyticsQueryFilter>',
@@ -0,0 +1,178 @@
1
+ require 'date'
2
+
3
+ module PureCloud
4
+ class Currency
5
+ # The globally unique identifier for the object.
6
+ attr_accessor :id
7
+
8
+ attr_accessor :name
9
+
10
+ attr_accessor :decimal_places
11
+
12
+ # The URI for this object
13
+ attr_accessor :self_uri
14
+
15
+ # Attribute mapping from ruby-style variable name to JSON key.
16
+ def self.attribute_map
17
+ {
18
+
19
+ :'id' => :'id',
20
+
21
+ :'name' => :'name',
22
+
23
+ :'decimal_places' => :'decimalPlaces',
24
+
25
+ :'self_uri' => :'selfUri'
26
+
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.swagger_types
32
+ {
33
+ :'id' => :'String',
34
+ :'name' => :'String',
35
+ :'decimal_places' => :'Integer',
36
+ :'self_uri' => :'String'
37
+
38
+ }
39
+ end
40
+
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
46
+
47
+
48
+ if attributes[:'id']
49
+ self.id = attributes[:'id']
50
+ end
51
+
52
+ if attributes[:'name']
53
+ self.name = attributes[:'name']
54
+ end
55
+
56
+ if attributes[:'decimalPlaces']
57
+ self.decimal_places = attributes[:'decimalPlaces']
58
+ end
59
+
60
+ if attributes[:'selfUri']
61
+ self.self_uri = attributes[:'selfUri']
62
+ end
63
+
64
+ end
65
+
66
+ # Check equality by comparing each attribute.
67
+ def ==(o)
68
+ return true if self.equal?(o)
69
+ self.class == o.class &&
70
+ id == o.id &&
71
+ name == o.name &&
72
+ decimal_places == o.decimal_places &&
73
+ self_uri == o.self_uri
74
+ end
75
+
76
+ # @see the `==` method
77
+ def eql?(o)
78
+ self == o
79
+ end
80
+
81
+ # Calculate hash code according to all attributes.
82
+ def hash
83
+ [id, name, decimal_places, self_uri].hash
84
+ end
85
+
86
+ # build the object from hash
87
+ def build_from_hash(attributes)
88
+ return nil unless attributes.is_a?(Hash)
89
+ self.class.swagger_types.each_pair do |key, type|
90
+ if type =~ /^Array<(.*)>/i
91
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
92
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
93
+ else
94
+ #TODO show warning in debug mode
95
+ end
96
+ elsif !attributes[self.class.attribute_map[key]].nil?
97
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
98
+ else
99
+ # data not found in attributes(hash), not an issue as the data can be optional
100
+ end
101
+ end
102
+
103
+ self
104
+ end
105
+
106
+ def _deserialize(type, value)
107
+ case type.to_sym
108
+ when :DateTime
109
+ DateTime.parse(value)
110
+ when :Date
111
+ Date.parse(value)
112
+ when :String
113
+ value.to_s
114
+ when :Integer
115
+ value.to_i
116
+ when :Float
117
+ value.to_f
118
+ when :BOOLEAN
119
+ if value =~ /^(true|t|yes|y|1)$/i
120
+ true
121
+ else
122
+ false
123
+ end
124
+ when /\AArray<(?<inner_type>.+)>\z/
125
+ inner_type = Regexp.last_match[:inner_type]
126
+ value.map { |v| _deserialize(inner_type, v) }
127
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
128
+ k_type = Regexp.last_match[:k_type]
129
+ v_type = Regexp.last_match[:v_type]
130
+ {}.tap do |hash|
131
+ value.each do |k, v|
132
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
133
+ end
134
+ end
135
+ else # model
136
+ _model = Object.const_get("PureCloud").const_get(type).new
137
+ _model.build_from_hash(value)
138
+ end
139
+ end
140
+
141
+ def to_s
142
+ to_hash.to_s
143
+ end
144
+
145
+ # to_body is an alias to to_body (backward compatibility))
146
+ def to_body
147
+ to_hash
148
+ end
149
+
150
+ # return the object in the form of hash
151
+ def to_hash
152
+ hash = {}
153
+ self.class.attribute_map.each_pair do |attr, param|
154
+ value = self.send(attr)
155
+ next if value.nil?
156
+ hash[param] = _to_hash(value)
157
+ end
158
+ hash
159
+ end
160
+
161
+ # Method to output non-array value in the form of hash
162
+ # For object, use to_hash. Otherwise, just return the value
163
+ def _to_hash(value)
164
+ if value.is_a?(Array)
165
+ value.compact.map{ |v| _to_hash(v) }
166
+ elsif value.is_a?(Hash)
167
+ {}.tap do |hash|
168
+ value.each { |k, v| hash[k] = _to_hash(v) }
169
+ end
170
+ elsif value.respond_to? :to_hash
171
+ value.to_hash
172
+ else
173
+ value
174
+ end
175
+ end
176
+
177
+ end
178
+ end
@@ -12,12 +12,12 @@ module PureCloud
12
12
 
13
13
  attr_accessor :self_uri
14
14
 
15
- attr_accessor :first_uri
16
-
17
15
  attr_accessor :previous_uri
18
16
 
19
17
  attr_accessor :next_uri
20
18
 
19
+ attr_accessor :first_uri
20
+
21
21
  attr_accessor :last_uri
22
22
 
23
23
  attr_accessor :page_count
@@ -36,12 +36,12 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
41
  :'next_uri' => :'nextUri',
44
42
 
43
+ :'first_uri' => :'firstUri',
44
+
45
45
  :'last_uri' => :'lastUri',
46
46
 
47
47
  :'page_count' => :'pageCount'
@@ -57,9 +57,9 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<DependencyObject>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
61
  :'next_uri' => :'String',
62
+ :'first_uri' => :'String',
63
63
  :'last_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
@@ -95,10 +95,6 @@ module PureCloud
95
95
  self.self_uri = attributes[:'selfUri']
96
96
  end
97
97
 
98
- if attributes[:'firstUri']
99
- self.first_uri = attributes[:'firstUri']
100
- end
101
-
102
98
  if attributes[:'previousUri']
103
99
  self.previous_uri = attributes[:'previousUri']
104
100
  end
@@ -107,6 +103,10 @@ module PureCloud
107
103
  self.next_uri = attributes[:'nextUri']
108
104
  end
109
105
 
106
+ if attributes[:'firstUri']
107
+ self.first_uri = attributes[:'firstUri']
108
+ end
109
+
110
110
  if attributes[:'lastUri']
111
111
  self.last_uri = attributes[:'lastUri']
112
112
  end
@@ -126,9 +126,9 @@ module PureCloud
126
126
  total == o.total &&
127
127
  entities == o.entities &&
128
128
  self_uri == o.self_uri &&
129
- first_uri == o.first_uri &&
130
129
  previous_uri == o.previous_uri &&
131
130
  next_uri == o.next_uri &&
131
+ first_uri == o.first_uri &&
132
132
  last_uri == o.last_uri &&
133
133
  page_count == o.page_count
134
134
  end
@@ -140,7 +140,7 @@ module PureCloud
140
140
 
141
141
  # Calculate hash code according to all attributes.
142
142
  def hash
143
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
143
+ [page_size, page_number, total, entities, self_uri, previous_uri, next_uri, first_uri, last_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,12 +12,12 @@ module PureCloud
12
12
 
13
13
  attr_accessor :self_uri
14
14
 
15
- attr_accessor :first_uri
16
-
17
15
  attr_accessor :previous_uri
18
16
 
19
17
  attr_accessor :next_uri
20
18
 
19
+ attr_accessor :first_uri
20
+
21
21
  attr_accessor :last_uri
22
22
 
23
23
  attr_accessor :page_count
@@ -36,12 +36,12 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
41
  :'next_uri' => :'nextUri',
44
42
 
43
+ :'first_uri' => :'firstUri',
44
+
45
45
  :'last_uri' => :'lastUri',
46
46
 
47
47
  :'page_count' => :'pageCount'
@@ -57,9 +57,9 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<DependencyObject>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
61
  :'next_uri' => :'String',
62
+ :'first_uri' => :'String',
63
63
  :'last_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
@@ -95,10 +95,6 @@ module PureCloud
95
95
  self.self_uri = attributes[:'selfUri']
96
96
  end
97
97
 
98
- if attributes[:'firstUri']
99
- self.first_uri = attributes[:'firstUri']
100
- end
101
-
102
98
  if attributes[:'previousUri']
103
99
  self.previous_uri = attributes[:'previousUri']
104
100
  end
@@ -107,6 +103,10 @@ module PureCloud
107
103
  self.next_uri = attributes[:'nextUri']
108
104
  end
109
105
 
106
+ if attributes[:'firstUri']
107
+ self.first_uri = attributes[:'firstUri']
108
+ end
109
+
110
110
  if attributes[:'lastUri']
111
111
  self.last_uri = attributes[:'lastUri']
112
112
  end
@@ -126,9 +126,9 @@ module PureCloud
126
126
  total == o.total &&
127
127
  entities == o.entities &&
128
128
  self_uri == o.self_uri &&
129
- first_uri == o.first_uri &&
130
129
  previous_uri == o.previous_uri &&
131
130
  next_uri == o.next_uri &&
131
+ first_uri == o.first_uri &&
132
132
  last_uri == o.last_uri &&
133
133
  page_count == o.page_count
134
134
  end
@@ -140,7 +140,7 @@ module PureCloud
140
140
 
141
141
  # Calculate hash code according to all attributes.
142
142
  def hash
143
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
143
+ [page_size, page_number, total, entities, self_uri, previous_uri, next_uri, first_uri, last_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,12 +12,12 @@ module PureCloud
12
12
 
13
13
  attr_accessor :self_uri
14
14
 
15
- attr_accessor :first_uri
16
-
17
15
  attr_accessor :previous_uri
18
16
 
19
17
  attr_accessor :next_uri
20
18
 
19
+ attr_accessor :first_uri
20
+
21
21
  attr_accessor :last_uri
22
22
 
23
23
  attr_accessor :page_count
@@ -36,12 +36,12 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
41
  :'next_uri' => :'nextUri',
44
42
 
43
+ :'first_uri' => :'firstUri',
44
+
45
45
  :'last_uri' => :'lastUri',
46
46
 
47
47
  :'page_count' => :'pageCount'
@@ -57,9 +57,9 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<DependencyType>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
61
  :'next_uri' => :'String',
62
+ :'first_uri' => :'String',
63
63
  :'last_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
@@ -95,10 +95,6 @@ module PureCloud
95
95
  self.self_uri = attributes[:'selfUri']
96
96
  end
97
97
 
98
- if attributes[:'firstUri']
99
- self.first_uri = attributes[:'firstUri']
100
- end
101
-
102
98
  if attributes[:'previousUri']
103
99
  self.previous_uri = attributes[:'previousUri']
104
100
  end
@@ -107,6 +103,10 @@ module PureCloud
107
103
  self.next_uri = attributes[:'nextUri']
108
104
  end
109
105
 
106
+ if attributes[:'firstUri']
107
+ self.first_uri = attributes[:'firstUri']
108
+ end
109
+
110
110
  if attributes[:'lastUri']
111
111
  self.last_uri = attributes[:'lastUri']
112
112
  end
@@ -126,9 +126,9 @@ module PureCloud
126
126
  total == o.total &&
127
127
  entities == o.entities &&
128
128
  self_uri == o.self_uri &&
129
- first_uri == o.first_uri &&
130
129
  previous_uri == o.previous_uri &&
131
130
  next_uri == o.next_uri &&
131
+ first_uri == o.first_uri &&
132
132
  last_uri == o.last_uri &&
133
133
  page_count == o.page_count
134
134
  end
@@ -140,7 +140,7 @@ module PureCloud
140
140
 
141
141
  # Calculate hash code according to all attributes.
142
142
  def hash
143
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
143
+ [page_size, page_number, total, entities, self_uri, previous_uri, next_uri, first_uri, last_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash