purecloud 0.46.1 → 0.47.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/AgentActivityEntityListing.html.md +2 -2
  5. data/doc_out/AnalyticsApi.html.md +2 -2
  6. data/doc_out/AttributeEntityListing.html.md +2 -2
  7. data/doc_out/AvailableTopic.html.md +1 -0
  8. data/doc_out/AvailableTopicEntityListing.html.md +2 -2
  9. data/doc_out/CalibrationEntityListing.html.md +2 -2
  10. data/doc_out/CallConversationEntityListing.html.md +2 -2
  11. data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
  12. data/doc_out/CallbackConversationEntityListing.html.md +2 -2
  13. data/doc_out/CampaignEntityListing.html.md +2 -2
  14. data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
  15. data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
  16. data/doc_out/ChannelEntityListing.html.md +2 -2
  17. data/doc_out/ChannelTopicEntityListing.html.md +2 -2
  18. data/doc_out/ChatConversationEntityListing.html.md +2 -2
  19. data/doc_out/CommandStatusEntityListing.html.md +2 -2
  20. data/doc_out/ContactListEntityListing.html.md +2 -2
  21. data/doc_out/ConversationEntityListing.html.md +2 -2
  22. data/doc_out/CreateCallbackCommand.html.md +10 -10
  23. data/doc_out/DIDEntityListing.html.md +2 -2
  24. data/doc_out/DIDPoolEntityListing.html.md +2 -2
  25. data/doc_out/DialerContactEntityListing.html.md +22 -0
  26. data/doc_out/DncListEntityListing.html.md +2 -2
  27. data/doc_out/DocumentAuditEntityListing.html.md +2 -2
  28. data/doc_out/DocumentEntityListing.html.md +2 -2
  29. data/doc_out/DomainEntityListing.html.md +2 -2
  30. data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
  31. data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
  32. data/doc_out/EdgeEntityListing.html.md +2 -2
  33. data/doc_out/EdgeGroupEntityListing.html.md +2 -2
  34. data/doc_out/EdgeLineEntityListing.html.md +2 -2
  35. data/doc_out/EmailConversationEntityListing.html.md +2 -2
  36. data/doc_out/EmailMessageListing.html.md +2 -2
  37. data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
  38. data/doc_out/EndpointEntityListing.html.md +2 -2
  39. data/doc_out/EvaluationEntityListing.html.md +2 -2
  40. data/doc_out/EvaluationFormEntityListing.html.md +2 -2
  41. data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
  42. data/doc_out/ExtensionEntityListing.html.md +2 -2
  43. data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
  44. data/doc_out/FaxDocumentEntityListing.html.md +2 -2
  45. data/doc_out/FaxSendRequest.html.md +1 -0
  46. data/doc_out/GroupEntityListing.html.md +2 -2
  47. data/doc_out/InboundDomainEntityListing.html.md +2 -2
  48. data/doc_out/InboundRouteEntityListing.html.md +2 -2
  49. data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
  50. data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
  51. data/doc_out/JsonNode.html.md +1 -1
  52. data/doc_out/KeywordSet.html.md +1 -0
  53. data/doc_out/KeywordSetEntityListing.html.md +2 -2
  54. data/doc_out/LanguageEntityListing.html.md +2 -2
  55. data/doc_out/LibraryEntityListing.html.md +2 -2
  56. data/doc_out/LineBaseEntityListing.html.md +2 -2
  57. data/doc_out/LineEntityListing.html.md +2 -2
  58. data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
  59. data/doc_out/OAuthClientEntityListing.html.md +2 -2
  60. data/doc_out/OAuthProviderEntityListing.html.md +2 -2
  61. data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
  62. data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
  63. data/doc_out/OrphanRecordingListing.html.md +2 -2
  64. data/doc_out/OutboundApi.html.md +3 -3
  65. data/doc_out/OutboundRouteEntityListing.html.md +2 -2
  66. data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
  67. data/doc_out/Phone.html.md +0 -1
  68. data/doc_out/PhoneBaseEntityListing.html.md +2 -2
  69. data/doc_out/PhoneEntityListing.html.md +2 -2
  70. data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
  71. data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
  72. data/doc_out/PolicyEntityListing.html.md +2 -2
  73. data/doc_out/QualifierMappingObservationQueryResponse.html.md +14 -0
  74. data/doc_out/QualityAuditPage.html.md +2 -2
  75. data/doc_out/QueueEntityListing.html.md +2 -2
  76. data/doc_out/Recording.html.md +1 -1
  77. data/doc_out/RecordingApi.html.md +60 -0
  78. data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
  79. data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
  80. data/doc_out/ReportScheduleEntityListing.html.md +2 -2
  81. data/doc_out/ResponseEntityList.html.md +2 -2
  82. data/doc_out/ResponseEntityListing.html.md +2 -2
  83. data/doc_out/ResponseSetEntityListing.html.md +2 -2
  84. data/doc_out/RoutingApi.html.md +2 -2
  85. data/doc_out/RoutingData.html.md +5 -5
  86. data/doc_out/RuleSetEntityListing.html.md +2 -2
  87. data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
  88. data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
  89. data/doc_out/ScreenRecordingSession.html.md +16 -0
  90. data/doc_out/ScreenRecordingSessionListing.html.md +17 -0
  91. data/doc_out/SecurityProfileEntityListing.html.md +2 -2
  92. data/doc_out/ShareEntityListing.html.md +2 -2
  93. data/doc_out/SiteEntityListing.html.md +2 -2
  94. data/doc_out/SkillEntityListing.html.md +2 -2
  95. data/doc_out/StationEntityListing.html.md +2 -2
  96. data/doc_out/{Address.html.md → StreetAddress.html.md} +2 -2
  97. data/doc_out/TagValueEntityListing.html.md +2 -2
  98. data/doc_out/TelephonyProvidersEdgeApi.html.md +5 -6
  99. data/doc_out/TimeZoneEntityListing.html.md +2 -2
  100. data/doc_out/TrunkEntityListing.html.md +2 -2
  101. data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
  102. data/doc_out/UserEntityListing.html.md +2 -2
  103. data/doc_out/UserQueueEntityListing.html.md +2 -2
  104. data/doc_out/UserRecordingEntityListing.html.md +2 -2
  105. data/doc_out/UserSkillEntityListing.html.md +2 -2
  106. data/doc_out/UsersEntityListing.html.md +2 -2
  107. data/doc_out/ValidateAddressRequest.html.md +1 -1
  108. data/doc_out/WorkspaceEntityListing.html.md +2 -2
  109. data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
  110. data/doc_out/WrapupCodeEntityListing.html.md +2 -2
  111. data/doc_out/index.html.md +3 -3
  112. data/lib/purecloud.rb +5 -2
  113. data/lib/purecloud/api/analytics_api.rb +3 -3
  114. data/lib/purecloud/api/outbound_api.rb +5 -5
  115. data/lib/purecloud/api/recording_api.rb +61 -0
  116. data/lib/purecloud/api/routing_api.rb +3 -3
  117. data/lib/purecloud/api/telephony_providers_edge_api.rb +9 -6
  118. data/lib/purecloud/api_client.rb +1 -1
  119. data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
  120. data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
  121. data/lib/purecloud/models/available_topic.rb +16 -4
  122. data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
  123. data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
  124. data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
  125. data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
  126. data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
  127. data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
  128. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
  129. data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
  130. data/lib/purecloud/models/channel_entity_listing.rb +17 -17
  131. data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
  132. data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
  133. data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
  134. data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
  135. data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
  136. data/lib/purecloud/models/create_callback_command.rb +19 -8
  137. data/lib/purecloud/models/dialer_contact_entity_listing.rb +257 -0
  138. data/lib/purecloud/models/did_entity_listing.rb +17 -17
  139. data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
  140. data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
  141. data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
  142. data/lib/purecloud/models/document_entity_listing.rb +17 -17
  143. data/lib/purecloud/models/domain_entity_listing.rb +17 -17
  144. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
  145. data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
  146. data/lib/purecloud/models/edge_entity_listing.rb +17 -17
  147. data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
  148. data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
  149. data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
  150. data/lib/purecloud/models/email_message_listing.rb +17 -17
  151. data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
  152. data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
  153. data/lib/purecloud/models/evaluation.rb +1 -1
  154. data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
  155. data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
  156. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
  157. data/lib/purecloud/models/extension_entity_listing.rb +17 -17
  158. data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
  159. data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
  160. data/lib/purecloud/models/fax_send_request.rb +12 -1
  161. data/lib/purecloud/models/group.rb +1 -1
  162. data/lib/purecloud/models/group_entity_listing.rb +17 -17
  163. data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
  164. data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
  165. data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
  166. data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
  167. data/lib/purecloud/models/json_node.rb +13 -13
  168. data/lib/purecloud/models/keyword_set.rb +13 -1
  169. data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
  170. data/lib/purecloud/models/language_entity_listing.rb +17 -17
  171. data/lib/purecloud/models/library_entity_listing.rb +17 -17
  172. data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
  173. data/lib/purecloud/models/line_entity_listing.rb +17 -17
  174. data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
  175. data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
  176. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
  177. data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
  178. data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
  179. data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
  180. data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
  181. data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
  182. data/lib/purecloud/models/phone.rb +1 -11
  183. data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
  184. data/lib/purecloud/models/phone_entity_listing.rb +17 -17
  185. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
  186. data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
  187. data/lib/purecloud/models/policy_entity_listing.rb +17 -17
  188. data/lib/purecloud/models/{additional_info.rb → qualifier_mapping_observation_query_response.rb} +28 -3
  189. data/lib/purecloud/models/quality_audit_page.rb +17 -17
  190. data/lib/purecloud/models/queue_entity_listing.rb +17 -17
  191. data/lib/purecloud/models/recording.rb +1 -1
  192. data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
  193. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
  194. data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
  195. data/lib/purecloud/models/response_entity_list.rb +17 -17
  196. data/lib/purecloud/models/response_entity_listing.rb +17 -17
  197. data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
  198. data/lib/purecloud/models/routing_data.rb +5 -0
  199. data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
  200. data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
  201. data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
  202. data/lib/purecloud/models/screen_recording_session.rb +196 -0
  203. data/lib/purecloud/models/screen_recording_session_listing.rb +207 -0
  204. data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
  205. data/lib/purecloud/models/share_entity_listing.rb +17 -17
  206. data/lib/purecloud/models/site_entity_listing.rb +17 -17
  207. data/lib/purecloud/models/skill_entity_listing.rb +17 -17
  208. data/lib/purecloud/models/station_entity_listing.rb +17 -17
  209. data/lib/purecloud/models/{address.rb → street_address.rb} +1 -1
  210. data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
  211. data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
  212. data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
  213. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
  214. data/lib/purecloud/models/user_entity_listing.rb +17 -17
  215. data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
  216. data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
  217. data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
  218. data/lib/purecloud/models/users_entity_listing.rb +17 -17
  219. data/lib/purecloud/models/validate_address_request.rb +1 -1
  220. data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
  221. data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
  222. data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
  223. data/lib/purecloud/version.rb +1 -1
  224. data/newVersion.md +1 -1
  225. data/swagger.json +1 -1
  226. data/version.json +1 -1
  227. metadata +12 -6
  228. data/doc_out/AdditionalInfo.html.md +0 -12
@@ -18,14 +18,19 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class RoutingData
21
+ # The identifier of the routing queue
21
22
  attr_accessor :queue_id
22
23
 
24
+ # The identifier of a language to be considered in routing
23
25
  attr_accessor :language_id
24
26
 
27
+ # The priority for routing
25
28
  attr_accessor :priority
26
29
 
30
+ # A list of skill identifiers to be considered in routing
27
31
  attr_accessor :skill_ids
28
32
 
33
+ # A list of agents to be preferred in routing
29
34
  attr_accessor :preferred_agent_ids
30
35
 
31
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -28,14 +28,14 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :previous_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -52,14 +52,14 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'previous_uri' => :'previousUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
- :'last_uri' => :'lastUri',
57
+ :'previous_uri' => :'previousUri',
60
58
 
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -73,10 +73,10 @@ module PureCloud
73
73
  :'total' => :'Integer',
74
74
  :'entities' => :'Array<RuleSet>',
75
75
  :'self_uri' => :'String',
76
- :'previous_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
- :'last_uri' => :'String',
77
+ :'previous_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -111,22 +111,22 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'previousUri']
115
- self.previous_uri = attributes[:'previousUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
121
117
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
118
+ if attributes[:'previousUri']
119
+ self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -142,10 +142,10 @@ module PureCloud
142
142
  total == o.total &&
143
143
  entities == o.entities &&
144
144
  self_uri == o.self_uri &&
145
- previous_uri == o.previous_uri &&
146
145
  first_uri == o.first_uri &&
147
- last_uri == o.last_uri &&
146
+ previous_uri == o.previous_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -28,14 +28,14 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :previous_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -52,14 +52,14 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'previous_uri' => :'previousUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
- :'last_uri' => :'lastUri',
57
+ :'previous_uri' => :'previousUri',
60
58
 
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -73,10 +73,10 @@ module PureCloud
73
73
  :'total' => :'Integer',
74
74
  :'entities' => :'Array<SchemaCategory>',
75
75
  :'self_uri' => :'String',
76
- :'previous_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
- :'last_uri' => :'String',
77
+ :'previous_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -111,22 +111,22 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'previousUri']
115
- self.previous_uri = attributes[:'previousUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
121
117
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
118
+ if attributes[:'previousUri']
119
+ self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -142,10 +142,10 @@ module PureCloud
142
142
  total == o.total &&
143
143
  entities == o.entities &&
144
144
  self_uri == o.self_uri &&
145
- previous_uri == o.previous_uri &&
146
145
  first_uri == o.first_uri &&
147
- last_uri == o.last_uri &&
146
+ previous_uri == o.previous_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -28,14 +28,14 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :previous_uri
32
-
33
31
  attr_accessor :first_uri
34
32
 
35
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
36
34
 
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -52,14 +52,14 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'previous_uri' => :'previousUri',
56
-
57
55
  :'first_uri' => :'firstUri',
58
56
 
59
- :'last_uri' => :'lastUri',
57
+ :'previous_uri' => :'previousUri',
60
58
 
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -73,10 +73,10 @@ module PureCloud
73
73
  :'total' => :'Integer',
74
74
  :'entities' => :'Array<DomainSchemaReference>',
75
75
  :'self_uri' => :'String',
76
- :'previous_uri' => :'String',
77
76
  :'first_uri' => :'String',
78
- :'last_uri' => :'String',
77
+ :'previous_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -111,22 +111,22 @@ module PureCloud
111
111
  self.self_uri = attributes[:'selfUri']
112
112
  end
113
113
 
114
- if attributes[:'previousUri']
115
- self.previous_uri = attributes[:'previousUri']
116
- end
117
-
118
114
  if attributes[:'firstUri']
119
115
  self.first_uri = attributes[:'firstUri']
120
116
  end
121
117
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
118
+ if attributes[:'previousUri']
119
+ self.previous_uri = attributes[:'previousUri']
124
120
  end
125
121
 
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -142,10 +142,10 @@ module PureCloud
142
142
  total == o.total &&
143
143
  entities == o.entities &&
144
144
  self_uri == o.self_uri &&
145
- previous_uri == o.previous_uri &&
146
145
  first_uri == o.first_uri &&
147
- last_uri == o.last_uri &&
146
+ previous_uri == o.previous_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -0,0 +1,196 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class ScreenRecordingSession
21
+ attr_accessor :user
22
+
23
+ attr_accessor :participant_id
24
+
25
+ attr_accessor :conversation
26
+
27
+ # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
28
+ attr_accessor :start_time
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+
34
+ :'user' => :'user',
35
+
36
+ :'participant_id' => :'participantId',
37
+
38
+ :'conversation' => :'conversation',
39
+
40
+ :'start_time' => :'startTime'
41
+
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'user' => :'User',
49
+ :'participant_id' => :'String',
50
+ :'conversation' => :'Conversation',
51
+ :'start_time' => :'DateTime'
52
+
53
+ }
54
+ end
55
+
56
+ def initialize(attributes = {})
57
+ return unless attributes.is_a?(Hash)
58
+
59
+ # convert string to symbol for hash key
60
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
61
+
62
+
63
+ if attributes[:'user']
64
+ self.user = attributes[:'user']
65
+ end
66
+
67
+ if attributes[:'participantId']
68
+ self.participant_id = attributes[:'participantId']
69
+ end
70
+
71
+ if attributes[:'conversation']
72
+ self.conversation = attributes[:'conversation']
73
+ end
74
+
75
+ if attributes[:'startTime']
76
+ self.start_time = attributes[:'startTime']
77
+ end
78
+
79
+ end
80
+
81
+ # Check equality by comparing each attribute.
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ user == o.user &&
86
+ participant_id == o.participant_id &&
87
+ conversation == o.conversation &&
88
+ start_time == o.start_time
89
+ end
90
+
91
+ # @see the `==` method
92
+ def eql?(o)
93
+ self == o
94
+ end
95
+
96
+ # Calculate hash code according to all attributes.
97
+ def hash
98
+ [user, participant_id, conversation, start_time].hash
99
+ end
100
+
101
+ # build the object from hash
102
+ def build_from_hash(attributes)
103
+ return nil unless attributes.is_a?(Hash)
104
+ self.class.swagger_types.each_pair do |key, type|
105
+ if type =~ /^Array<(.*)>/i
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
108
+ else
109
+ #TODO show warning in debug mode
110
+ end
111
+ elsif !attributes[self.class.attribute_map[key]].nil?
112
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
113
+ else
114
+ # data not found in attributes(hash), not an issue as the data can be optional
115
+ end
116
+ end
117
+
118
+ self
119
+ end
120
+
121
+ def _deserialize(type, value)
122
+ case type.to_sym
123
+ when :DateTime
124
+ DateTime.parse(value)
125
+ when :Date
126
+ Date.parse(value)
127
+ when :String
128
+ value.to_s
129
+ when :Integer
130
+ value.to_i
131
+ when :Float
132
+ value.to_f
133
+ when :BOOLEAN
134
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
135
+ true
136
+ else
137
+ false
138
+ end
139
+ when :Object
140
+ # generic object (usually a Hash), return directly
141
+ value
142
+ when /\AArray<(?<inner_type>.+)>\z/
143
+ inner_type = Regexp.last_match[:inner_type]
144
+ value.map { |v| _deserialize(inner_type, v) }
145
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
146
+ k_type = Regexp.last_match[:k_type]
147
+ v_type = Regexp.last_match[:v_type]
148
+ {}.tap do |hash|
149
+ value.each do |k, v|
150
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
151
+ end
152
+ end
153
+ else # model
154
+ _model = Object.const_get("PureCloud").const_get(type).new
155
+ _model.build_from_hash(value)
156
+ end
157
+ end
158
+
159
+ def to_s
160
+ to_hash.to_s
161
+ end
162
+
163
+ # to_body is an alias to to_body (backward compatibility))
164
+ def to_body
165
+ to_hash
166
+ end
167
+
168
+ # return the object in the form of hash
169
+ def to_hash
170
+ hash = {}
171
+ self.class.attribute_map.each_pair do |attr, param|
172
+ value = self.send(attr)
173
+ next if value.nil?
174
+ hash[param] = _to_hash(value)
175
+ end
176
+ hash
177
+ end
178
+
179
+ # Method to output non-array value in the form of hash
180
+ # For object, use to_hash. Otherwise, just return the value
181
+ def _to_hash(value)
182
+ if value.is_a?(Array)
183
+ value.compact.map{ |v| _to_hash(v) }
184
+ elsif value.is_a?(Hash)
185
+ {}.tap do |hash|
186
+ value.each { |k, v| hash[k] = _to_hash(v) }
187
+ end
188
+ elsif value.respond_to? :to_hash
189
+ value.to_hash
190
+ else
191
+ value
192
+ end
193
+ end
194
+
195
+ end
196
+ end