purecloud 0.30.1 → 0.31.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 (181) hide show
  1. checksums.yaml +4 -4
  2. data/config-ruby.json +1 -1
  3. data/lib/purecloud/api/configuration_api.rb +4 -814
  4. data/lib/purecloud/api/conversations_api.rb +1035 -1763
  5. data/lib/purecloud/api/organization_api.rb +0 -58
  6. data/lib/purecloud/api/quality_api.rb +629 -0
  7. data/lib/purecloud/api/telephony_providers_edge_api.rb +1033 -677
  8. data/lib/purecloud/api/users_api.rb +311 -0
  9. data/lib/purecloud/api/voicemail_api.rb +176 -176
  10. data/lib/purecloud/models/address_listing.rb +17 -17
  11. data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
  12. data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
  13. data/lib/purecloud/models/analytics_conversation_segment.rb +18 -235
  14. data/lib/purecloud/models/analytics_participant.rb +40 -1
  15. data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
  16. data/lib/purecloud/models/analytics_session.rb +150 -1
  17. data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
  18. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +17 -17
  19. data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
  20. data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
  21. data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
  22. data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
  23. data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
  24. data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
  25. data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
  26. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
  27. data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
  28. data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
  29. data/lib/purecloud/models/channel_entity_listing.rb +17 -17
  30. data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
  31. data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
  32. data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
  33. data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
  34. data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
  35. data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
  36. data/lib/purecloud/models/contact_listing.rb +17 -17
  37. data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
  38. data/lib/purecloud/models/create_user.rb +1 -11
  39. data/lib/purecloud/models/data_item.rb +23 -19
  40. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +17 -17
  41. data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
  42. data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
  43. data/lib/purecloud/models/did_entity_listing.rb +17 -17
  44. data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
  45. data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
  46. data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
  47. data/lib/purecloud/models/document_entity_listing.rb +17 -17
  48. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
  49. data/lib/purecloud/models/domain_entity_listing.rb +17 -17
  50. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
  51. data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
  52. data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
  53. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
  54. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
  55. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
  56. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
  57. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
  58. data/lib/purecloud/models/edge_entity_listing.rb +17 -17
  59. data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
  60. data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
  61. data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
  62. data/lib/purecloud/models/email_message_listing.rb +17 -17
  63. data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
  64. data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
  65. data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
  66. data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
  67. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
  68. data/lib/purecloud/models/extension_entity_listing.rb +17 -17
  69. data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
  70. data/lib/purecloud/models/external_organization_listing.rb +17 -17
  71. data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
  72. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
  73. data/lib/purecloud/models/flow_entity_listing.rb +17 -17
  74. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +17 -17
  75. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
  76. data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
  77. data/lib/purecloud/models/group_entity_listing.rb +17 -17
  78. data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
  79. data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
  80. data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
  81. data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
  82. data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
  83. data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
  84. data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
  85. data/lib/purecloud/models/json_node.rb +32 -32
  86. data/lib/purecloud/models/language_entity_listing.rb +17 -17
  87. data/lib/purecloud/models/library_entity_listing.rb +17 -17
  88. data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
  89. data/lib/purecloud/models/line_entity_listing.rb +17 -17
  90. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
  91. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
  92. data/lib/purecloud/models/location_entity_listing.rb +17 -17
  93. data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
  94. data/lib/purecloud/models/note_listing.rb +17 -17
  95. data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
  96. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
  97. data/lib/purecloud/models/organization.rb +1 -0
  98. data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
  99. data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
  100. data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
  101. data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
  102. data/lib/purecloud/models/payment_method_listing.rb +17 -17
  103. data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
  104. data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
  105. data/lib/purecloud/models/phone_entity_listing.rb +17 -17
  106. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
  107. data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
  108. data/lib/purecloud/models/policy_entity_listing.rb +17 -17
  109. data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
  110. data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
  111. data/lib/purecloud/models/property_index_request.rb +1 -12
  112. data/lib/purecloud/models/quality_audit_page.rb +17 -17
  113. data/lib/purecloud/models/queue_entity_listing.rb +17 -17
  114. data/lib/purecloud/models/queues_entity_listing.rb +17 -17
  115. data/lib/purecloud/models/quote_listing.rb +17 -17
  116. data/lib/purecloud/models/relationship_listing.rb +17 -17
  117. data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
  118. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
  119. data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
  120. data/lib/purecloud/models/response_entity_list.rb +17 -17
  121. data/lib/purecloud/models/response_entity_listing.rb +17 -17
  122. data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
  123. data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
  124. data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
  125. data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
  126. data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
  127. data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
  128. data/lib/purecloud/models/script_entity_listing.rb +17 -17
  129. data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
  130. data/lib/purecloud/models/service_entity_listing.rb +17 -17
  131. data/lib/purecloud/models/share_entity_listing.rb +17 -17
  132. data/lib/purecloud/models/site.rb +1 -1
  133. data/lib/purecloud/models/site_entity_listing.rb +17 -17
  134. data/lib/purecloud/models/skill_entity_listing.rb +17 -17
  135. data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
  136. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
  137. data/lib/purecloud/models/station_entity_listing.rb +17 -17
  138. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
  139. data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
  140. data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
  141. data/lib/purecloud/models/template_entity_listing.rb +17 -17
  142. data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
  143. data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
  144. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
  145. data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
  146. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  147. data/lib/purecloud/models/user_entity_listing.rb +17 -17
  148. data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
  149. data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
  150. data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
  151. data/lib/purecloud/models/users_entity_listing.rb +17 -17
  152. data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
  153. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
  154. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
  155. data/lib/purecloud/models/voicemail_message_entity_listing.rb +17 -17
  156. data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
  157. data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
  158. data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
  159. data/lib/purecloud/version.rb +1 -1
  160. data/lib/purecloud.rb +83 -100
  161. data/newVersion.md +1 -1
  162. data/swagger.json +1 -1
  163. data/version.json +1 -1
  164. metadata +2 -19
  165. data/lib/purecloud/api/callbacks_api.rb +0 -483
  166. data/lib/purecloud/api/calls_api.rb +0 -1088
  167. data/lib/purecloud/api/chats_api.rb +0 -483
  168. data/lib/purecloud/api/compliance_api.rb +0 -129
  169. data/lib/purecloud/api/downloads_api.rb +0 -140
  170. data/lib/purecloud/api/emails_api.rb +0 -1013
  171. data/lib/purecloud/api/evaluations_api.rb +0 -73
  172. data/lib/purecloud/api/faxes_api.rb +0 -73
  173. data/lib/purecloud/api/integrations_api.rb +0 -150
  174. data/lib/purecloud/api/integrations_workforce_management_api.rb +0 -73
  175. data/lib/purecloud/api/licensing_api.rb +0 -428
  176. data/lib/purecloud/api/scripts_api.rb +0 -718
  177. data/lib/purecloud/api/socials_api.rb +0 -483
  178. data/lib/purecloud/api/videos_api.rb +0 -483
  179. data/lib/purecloud/models/body.rb +0 -136
  180. data/lib/purecloud/models/organization_address.rb +0 -194
  181. data/lib/purecloud/models/participant_request.rb +0 -242
@@ -12,14 +12,14 @@ 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
- attr_accessor :next_uri
17
+ attr_accessor :first_uri
20
18
 
21
19
  attr_accessor :last_uri
22
20
 
21
+ attr_accessor :next_uri
22
+
23
23
  attr_accessor :page_count
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,14 +36,14 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
- :'next_uri' => :'nextUri',
41
+ :'first_uri' => :'firstUri',
44
42
 
45
43
  :'last_uri' => :'lastUri',
46
44
 
45
+ :'next_uri' => :'nextUri',
46
+
47
47
  :'page_count' => :'pageCount'
48
48
 
49
49
  }
@@ -57,10 +57,10 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<Dependency>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
- :'next_uri' => :'String',
61
+ :'first_uri' => :'String',
63
62
  :'last_uri' => :'String',
63
+ :'next_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
66
66
  }
@@ -95,22 +95,22 @@ 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
105
101
 
106
- if attributes[:'nextUri']
107
- self.next_uri = attributes[:'nextUri']
102
+ if attributes[:'firstUri']
103
+ self.first_uri = attributes[:'firstUri']
108
104
  end
109
105
 
110
106
  if attributes[:'lastUri']
111
107
  self.last_uri = attributes[:'lastUri']
112
108
  end
113
109
 
110
+ if attributes[:'nextUri']
111
+ self.next_uri = attributes[:'nextUri']
112
+ end
113
+
114
114
  if attributes[:'pageCount']
115
115
  self.page_count = attributes[:'pageCount']
116
116
  end
@@ -126,10 +126,10 @@ 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
- next_uri == o.next_uri &&
130
+ first_uri == o.first_uri &&
132
131
  last_uri == o.last_uri &&
132
+ next_uri == o.next_uri &&
133
133
  page_count == o.page_count
134
134
  end
135
135
 
@@ -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, first_uri, last_uri, next_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,14 +12,14 @@ 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
- attr_accessor :next_uri
17
+ attr_accessor :first_uri
20
18
 
21
19
  attr_accessor :last_uri
22
20
 
21
+ attr_accessor :next_uri
22
+
23
23
  attr_accessor :page_count
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,14 +36,14 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
- :'next_uri' => :'nextUri',
41
+ :'first_uri' => :'firstUri',
44
42
 
45
43
  :'last_uri' => :'lastUri',
46
44
 
45
+ :'next_uri' => :'nextUri',
46
+
47
47
  :'page_count' => :'pageCount'
48
48
 
49
49
  }
@@ -57,10 +57,10 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<ContactList>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
- :'next_uri' => :'String',
61
+ :'first_uri' => :'String',
63
62
  :'last_uri' => :'String',
63
+ :'next_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
66
66
  }
@@ -95,22 +95,22 @@ 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
105
101
 
106
- if attributes[:'nextUri']
107
- self.next_uri = attributes[:'nextUri']
102
+ if attributes[:'firstUri']
103
+ self.first_uri = attributes[:'firstUri']
108
104
  end
109
105
 
110
106
  if attributes[:'lastUri']
111
107
  self.last_uri = attributes[:'lastUri']
112
108
  end
113
109
 
110
+ if attributes[:'nextUri']
111
+ self.next_uri = attributes[:'nextUri']
112
+ end
113
+
114
114
  if attributes[:'pageCount']
115
115
  self.page_count = attributes[:'pageCount']
116
116
  end
@@ -126,10 +126,10 @@ 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
- next_uri == o.next_uri &&
130
+ first_uri == o.first_uri &&
132
131
  last_uri == o.last_uri &&
132
+ next_uri == o.next_uri &&
133
133
  page_count == o.page_count
134
134
  end
135
135
 
@@ -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, first_uri, last_uri, next_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,14 +12,14 @@ 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
- attr_accessor :next_uri
17
+ attr_accessor :first_uri
20
18
 
21
19
  attr_accessor :last_uri
22
20
 
21
+ attr_accessor :next_uri
22
+
23
23
  attr_accessor :page_count
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,14 +36,14 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
- :'next_uri' => :'nextUri',
41
+ :'first_uri' => :'firstUri',
44
42
 
45
43
  :'last_uri' => :'lastUri',
46
44
 
45
+ :'next_uri' => :'nextUri',
46
+
47
47
  :'page_count' => :'pageCount'
48
48
 
49
49
  }
@@ -57,10 +57,10 @@ module PureCloud
57
57
  :'total' => :'Integer',
58
58
  :'entities' => :'Array<ExternalContact>',
59
59
  :'self_uri' => :'String',
60
- :'first_uri' => :'String',
61
60
  :'previous_uri' => :'String',
62
- :'next_uri' => :'String',
61
+ :'first_uri' => :'String',
63
62
  :'last_uri' => :'String',
63
+ :'next_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
66
66
  }
@@ -95,22 +95,22 @@ 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
105
101
 
106
- if attributes[:'nextUri']
107
- self.next_uri = attributes[:'nextUri']
102
+ if attributes[:'firstUri']
103
+ self.first_uri = attributes[:'firstUri']
108
104
  end
109
105
 
110
106
  if attributes[:'lastUri']
111
107
  self.last_uri = attributes[:'lastUri']
112
108
  end
113
109
 
110
+ if attributes[:'nextUri']
111
+ self.next_uri = attributes[:'nextUri']
112
+ end
113
+
114
114
  if attributes[:'pageCount']
115
115
  self.page_count = attributes[:'pageCount']
116
116
  end
@@ -126,10 +126,10 @@ 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
- next_uri == o.next_uri &&
130
+ first_uri == o.first_uri &&
132
131
  last_uri == o.last_uri &&
132
+ next_uri == o.next_uri &&
133
133
  page_count == o.page_count
134
134
  end
135
135
 
@@ -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, first_uri, last_uri, next_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,14 +12,14 @@ 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
- attr_accessor :next_uri
17
+ attr_accessor :first_uri
20
18
 
21
19
  attr_accessor :last_uri
22
20
 
21
+ attr_accessor :next_uri
22
+
23
23
  attr_accessor :page_count
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,14 +36,14 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
- :'next_uri' => :'nextUri',
41
+ :'first_uri' => :'firstUri',
44
42
 
45
43
  :'last_uri' => :'lastUri',
46
44
 
45
+ :'next_uri' => :'nextUri',
46
+
47
47
  :'page_count' => :'pageCount'
48
48
 
49
49
  }
@@ -57,10 +57,10 @@ 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
- :'next_uri' => :'String',
61
+ :'first_uri' => :'String',
63
62
  :'last_uri' => :'String',
63
+ :'next_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
66
66
  }
@@ -95,22 +95,22 @@ 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
105
101
 
106
- if attributes[:'nextUri']
107
- self.next_uri = attributes[:'nextUri']
102
+ if attributes[:'firstUri']
103
+ self.first_uri = attributes[:'firstUri']
108
104
  end
109
105
 
110
106
  if attributes[:'lastUri']
111
107
  self.last_uri = attributes[:'lastUri']
112
108
  end
113
109
 
110
+ if attributes[:'nextUri']
111
+ self.next_uri = attributes[:'nextUri']
112
+ end
113
+
114
114
  if attributes[:'pageCount']
115
115
  self.page_count = attributes[:'pageCount']
116
116
  end
@@ -126,10 +126,10 @@ 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
- next_uri == o.next_uri &&
130
+ first_uri == o.first_uri &&
132
131
  last_uri == o.last_uri &&
132
+ next_uri == o.next_uri &&
133
133
  page_count == o.page_count
134
134
  end
135
135
 
@@ -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, first_uri, last_uri, next_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash
@@ -12,8 +12,6 @@ module PureCloud
12
12
 
13
13
  attr_accessor :title
14
14
 
15
- attr_accessor :username
16
-
17
15
  attr_accessor :password
18
16
 
19
17
  # Use version number 1 when creating
@@ -33,8 +31,6 @@ module PureCloud
33
31
 
34
32
  :'title' => :'title',
35
33
 
36
- :'username' => :'username',
37
-
38
34
  :'password' => :'password',
39
35
 
40
36
  :'version' => :'version'
@@ -50,7 +46,6 @@ module PureCloud
50
46
  :'email' => :'String',
51
47
  :'addresses' => :'Array<Contact>',
52
48
  :'title' => :'String',
53
- :'username' => :'String',
54
49
  :'password' => :'String',
55
50
  :'version' => :'String'
56
51
 
@@ -86,10 +81,6 @@ module PureCloud
86
81
  self.title = attributes[:'title']
87
82
  end
88
83
 
89
- if attributes[:'username']
90
- self.username = attributes[:'username']
91
- end
92
-
93
84
  if attributes[:'password']
94
85
  self.password = attributes[:'password']
95
86
  end
@@ -109,7 +100,6 @@ module PureCloud
109
100
  email == o.email &&
110
101
  addresses == o.addresses &&
111
102
  title == o.title &&
112
- username == o.username &&
113
103
  password == o.password &&
114
104
  version == o.version
115
105
  end
@@ -121,7 +111,7 @@ module PureCloud
121
111
 
122
112
  # Calculate hash code according to all attributes.
123
113
  def hash
124
- [name, department, email, addresses, title, username, password, version].hash
114
+ [name, department, email, addresses, title, password, version].hash
125
115
  end
126
116
 
127
117
  # build the object from hash
@@ -1,22 +1,26 @@
1
1
  require 'date'
2
2
 
3
3
  module PureCloud
4
+ # Data elements associated with a history event
4
5
  class DataItem
5
- attr_accessor :data_item_id
6
+ # The name of the data element associated with a history event.
7
+ attr_accessor :parameter_name
6
8
 
7
- attr_accessor :value
9
+ # The type of the data element associated with a history event.
10
+ attr_accessor :parameter_type
8
11
 
9
- attr_accessor :type
12
+ # The values of the data element associated with a history event.
13
+ attr_accessor :parameter_values
10
14
 
11
15
  # Attribute mapping from ruby-style variable name to JSON key.
12
16
  def self.attribute_map
13
17
  {
14
18
 
15
- :'data_item_id' => :'dataItemId',
19
+ :'parameter_name' => :'parameterName',
16
20
 
17
- :'value' => :'value',
21
+ :'parameter_type' => :'parameterType',
18
22
 
19
- :'type' => :'type'
23
+ :'parameter_values' => :'parameterValues'
20
24
 
21
25
  }
22
26
  end
@@ -24,9 +28,9 @@ module PureCloud
24
28
  # Attribute type mapping.
25
29
  def self.swagger_types
26
30
  {
27
- :'data_item_id' => :'String',
28
- :'value' => :'String',
29
- :'type' => :'String'
31
+ :'parameter_name' => :'String',
32
+ :'parameter_type' => :'String',
33
+ :'parameter_values' => :'Value'
30
34
 
31
35
  }
32
36
  end
@@ -38,16 +42,16 @@ module PureCloud
38
42
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
39
43
 
40
44
 
41
- if attributes[:'dataItemId']
42
- self.data_item_id = attributes[:'dataItemId']
45
+ if attributes[:'parameterName']
46
+ self.parameter_name = attributes[:'parameterName']
43
47
  end
44
48
 
45
- if attributes[:'value']
46
- self.value = attributes[:'value']
49
+ if attributes[:'parameterType']
50
+ self.parameter_type = attributes[:'parameterType']
47
51
  end
48
52
 
49
- if attributes[:'type']
50
- self.type = attributes[:'type']
53
+ if attributes[:'parameterValues']
54
+ self.parameter_values = attributes[:'parameterValues']
51
55
  end
52
56
 
53
57
  end
@@ -56,9 +60,9 @@ module PureCloud
56
60
  def ==(o)
57
61
  return true if self.equal?(o)
58
62
  self.class == o.class &&
59
- data_item_id == o.data_item_id &&
60
- value == o.value &&
61
- type == o.type
63
+ parameter_name == o.parameter_name &&
64
+ parameter_type == o.parameter_type &&
65
+ parameter_values == o.parameter_values
62
66
  end
63
67
 
64
68
  # @see the `==` method
@@ -68,7 +72,7 @@ module PureCloud
68
72
 
69
73
  # Calculate hash code according to all attributes.
70
74
  def hash
71
- [data_item_id, value, type].hash
75
+ [parameter_name, parameter_type, parameter_values].hash
72
76
  end
73
77
 
74
78
  # build the object from hash
@@ -12,14 +12,14 @@ 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
- attr_accessor :next_uri
17
+ attr_accessor :first_uri
20
18
 
21
19
  attr_accessor :last_uri
22
20
 
21
+ attr_accessor :next_uri
22
+
23
23
  attr_accessor :page_count
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,14 +36,14 @@ module PureCloud
36
36
 
37
37
  :'self_uri' => :'selfUri',
38
38
 
39
- :'first_uri' => :'firstUri',
40
-
41
39
  :'previous_uri' => :'previousUri',
42
40
 
43
- :'next_uri' => :'nextUri',
41
+ :'first_uri' => :'firstUri',
44
42
 
45
43
  :'last_uri' => :'lastUri',
46
44
 
45
+ :'next_uri' => :'nextUri',
46
+
47
47
  :'page_count' => :'pageCount'
48
48
 
49
49
  }
@@ -57,10 +57,10 @@ 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
- :'next_uri' => :'String',
61
+ :'first_uri' => :'String',
63
62
  :'last_uri' => :'String',
63
+ :'next_uri' => :'String',
64
64
  :'page_count' => :'Integer'
65
65
 
66
66
  }
@@ -95,22 +95,22 @@ 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
105
101
 
106
- if attributes[:'nextUri']
107
- self.next_uri = attributes[:'nextUri']
102
+ if attributes[:'firstUri']
103
+ self.first_uri = attributes[:'firstUri']
108
104
  end
109
105
 
110
106
  if attributes[:'lastUri']
111
107
  self.last_uri = attributes[:'lastUri']
112
108
  end
113
109
 
110
+ if attributes[:'nextUri']
111
+ self.next_uri = attributes[:'nextUri']
112
+ end
113
+
114
114
  if attributes[:'pageCount']
115
115
  self.page_count = attributes[:'pageCount']
116
116
  end
@@ -126,10 +126,10 @@ 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
- next_uri == o.next_uri &&
130
+ first_uri == o.first_uri &&
132
131
  last_uri == o.last_uri &&
132
+ next_uri == o.next_uri &&
133
133
  page_count == o.page_count
134
134
  end
135
135
 
@@ -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, first_uri, last_uri, next_uri, page_count].hash
144
144
  end
145
145
 
146
146
  # build the object from hash