purecloud 0.36.1 → 0.37.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (786) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/config-ruby.json +1 -1
  4. data/doc_out/AnalyticsSession.html.md +1 -0
  5. data/doc_out/ArchitectAuditMessage.html.md +17 -0
  6. data/doc_out/ArchitectAuditMessageListing.html.md +17 -0
  7. data/doc_out/{AutomateQueueMember.html.md → BillingPendingTask.html.md} +3 -3
  8. data/doc_out/BillingTaskResult.html.md +21 -0
  9. data/doc_out/{MediaPolicy.html.md → CallMediaPolicy.html.md} +3 -3
  10. data/doc_out/CallMediaPolicyConditions.html.md +19 -0
  11. data/doc_out/CallableTime.html.md +2 -2
  12. data/doc_out/CallableTimeSet.html.md +4 -4
  13. data/doc_out/Campaign.html.md +22 -23
  14. data/doc_out/CampaignProgress.html.md +5 -5
  15. data/doc_out/CampaignSchedule.html.md +3 -3
  16. data/doc_out/CampaignSequence.html.md +3 -3
  17. data/doc_out/CampaignTimeSlot.html.md +3 -3
  18. data/doc_out/Change.html.md +1 -1
  19. data/doc_out/ChatMediaPolicy.html.md +14 -0
  20. data/doc_out/ChatMediaPolicyConditions.html.md +18 -0
  21. data/doc_out/ContactList.html.md +3 -3
  22. data/doc_out/DataItem.html.md +3 -3
  23. data/doc_out/DiagnosticEmail.html.md +5 -5
  24. data/doc_out/DncList.html.md +3 -3
  25. data/doc_out/EmailMediaPolicy.html.md +14 -0
  26. data/doc_out/EmailMediaPolicyConditions.html.md +17 -0
  27. data/doc_out/Evaluation.html.md +1 -0
  28. data/doc_out/FlowHistoryDataItem.html.md +15 -0
  29. data/doc_out/FlowHistoryItem.html.md +1 -1
  30. data/doc_out/Group.html.md +7 -4
  31. data/doc_out/GroupMembersUpdate.html.md +14 -0
  32. data/doc_out/GroupsApi.html.md +58 -0
  33. data/doc_out/JsonNode.html.md +2 -2
  34. data/doc_out/MediaPolicies.html.md +3 -3
  35. data/doc_out/OrganizationApi.html.md +0 -109
  36. data/doc_out/PhoneColumn.html.md +2 -2
  37. data/doc_out/PresenceApi.html.md +14 -14
  38. data/doc_out/PromptAsset.html.md +1 -1
  39. data/doc_out/ResponseSet.html.md +4 -4
  40. data/doc_out/RestErrorDetail.html.md +2 -2
  41. data/doc_out/RoutingApi.html.md +53 -53
  42. data/doc_out/RuleSet.html.md +3 -3
  43. data/doc_out/SequenceSchedule.html.md +3 -3
  44. data/doc_out/StationsApi.html.md +14 -14
  45. data/doc_out/SystemPromptAsset.html.md +1 -1
  46. data/doc_out/TelephonyProvidersEdgeApi.html.md +134 -7
  47. data/doc_out/Trunk.html.md +30 -0
  48. data/doc_out/{LocationEntityListing.html.md → TrunkEntityListing.html.md} +3 -3
  49. data/doc_out/UsersApi.html.md +0 -124
  50. data/doc_out/WrapUpCodeMapping.html.md +3 -3
  51. data/doc_out/index.html.md +7 -7
  52. data/lib/purecloud.rb +19 -17
  53. data/lib/purecloud/api/alerting_api.rb +5 -5
  54. data/lib/purecloud/api/analytics_api.rb +5 -5
  55. data/lib/purecloud/api/attributes_api.rb +5 -5
  56. data/lib/purecloud/api/authorization_api.rb +5 -5
  57. data/lib/purecloud/api/configuration_api.rb +5 -5
  58. data/lib/purecloud/api/content_management_api.rb +5 -5
  59. data/lib/purecloud/api/conversations_api.rb +5 -5
  60. data/lib/purecloud/api/external_contacts_api.rb +5 -5
  61. data/lib/purecloud/api/fax_api.rb +5 -5
  62. data/lib/purecloud/api/geolocation_api.rb +5 -5
  63. data/lib/purecloud/api/greetings_api.rb +5 -5
  64. data/lib/purecloud/api/groups_api.rb +62 -5
  65. data/lib/purecloud/api/languages_api.rb +5 -5
  66. data/lib/purecloud/api/notifications_api.rb +5 -5
  67. data/lib/purecloud/api/o_auth_api.rb +5 -5
  68. data/lib/purecloud/api/organization_api.rb +5 -117
  69. data/lib/purecloud/api/outbound_api.rb +5 -5
  70. data/lib/purecloud/api/presence_api.rb +27 -27
  71. data/lib/purecloud/api/quality_api.rb +5 -5
  72. data/lib/purecloud/api/recording_api.rb +5 -5
  73. data/lib/purecloud/api/response_management_api.rb +5 -5
  74. data/lib/purecloud/api/routing_api.rb +82 -82
  75. data/lib/purecloud/api/search_api.rb +5 -5
  76. data/lib/purecloud/api/stations_api.rb +25 -25
  77. data/lib/purecloud/api/telephony_providers_edge_api.rb +159 -19
  78. data/lib/purecloud/api/tokens_api.rb +5 -5
  79. data/lib/purecloud/api/user_recordings_api.rb +5 -5
  80. data/lib/purecloud/api/users_api.rb +5 -137
  81. data/lib/purecloud/api/utilities_api.rb +5 -5
  82. data/lib/purecloud/api/voicemail_api.rb +5 -5
  83. data/lib/purecloud/api_client.rb +6 -6
  84. data/lib/purecloud/api_error.rb +5 -5
  85. data/lib/purecloud/models/account.rb +5 -5
  86. data/lib/purecloud/models/account_manager.rb +5 -5
  87. data/lib/purecloud/models/account_overview.rb +5 -5
  88. data/lib/purecloud/models/account_status.rb +5 -5
  89. data/lib/purecloud/models/actions.rb +5 -5
  90. data/lib/purecloud/models/acw_settings.rb +5 -5
  91. data/lib/purecloud/models/address.rb +5 -5
  92. data/lib/purecloud/models/address_listing.rb +5 -5
  93. data/lib/purecloud/models/agent.rb +5 -5
  94. data/lib/purecloud/models/agent_activity.rb +5 -5
  95. data/lib/purecloud/models/agent_activity_entity_listing.rb +5 -5
  96. data/lib/purecloud/models/agent_evaluator_activity.rb +5 -5
  97. data/lib/purecloud/models/aggregate_data_container.rb +5 -5
  98. data/lib/purecloud/models/aggregate_metric_data.rb +5 -5
  99. data/lib/purecloud/models/aggregate_query_response.rb +5 -5
  100. data/lib/purecloud/models/aggregation_query.rb +5 -5
  101. data/lib/purecloud/models/aggregation_range.rb +5 -5
  102. data/lib/purecloud/models/aggregation_result.rb +5 -5
  103. data/lib/purecloud/models/aggregation_result_entry.rb +5 -5
  104. data/lib/purecloud/models/analytics_conversation.rb +5 -5
  105. data/lib/purecloud/models/analytics_conversation_query_response.rb +5 -5
  106. data/lib/purecloud/models/analytics_conversation_segment.rb +5 -5
  107. data/lib/purecloud/models/analytics_evaluation.rb +5 -5
  108. data/lib/purecloud/models/analytics_participant.rb +5 -5
  109. data/lib/purecloud/models/analytics_property.rb +5 -5
  110. data/lib/purecloud/models/analytics_query_aggregation.rb +5 -5
  111. data/lib/purecloud/models/analytics_query_clause.rb +5 -5
  112. data/lib/purecloud/models/analytics_query_filter.rb +5 -5
  113. data/lib/purecloud/models/analytics_query_predicate.rb +6 -6
  114. data/lib/purecloud/models/analytics_session.rb +16 -6
  115. data/lib/purecloud/models/annotation.rb +5 -5
  116. data/lib/purecloud/models/app.rb +5 -5
  117. data/lib/purecloud/models/architect_audit_message.rb +218 -0
  118. data/lib/purecloud/models/{location_entity_listing.rb → architect_audit_message_listing.rb} +8 -58
  119. data/lib/purecloud/models/archive_retention.rb +5 -5
  120. data/lib/purecloud/models/associated_document.rb +5 -5
  121. data/lib/purecloud/models/attachment.rb +5 -5
  122. data/lib/purecloud/models/attribute.rb +5 -5
  123. data/lib/purecloud/models/attribute_entity_listing.rb +5 -5
  124. data/lib/purecloud/models/attribute_filter_item.rb +5 -5
  125. data/lib/purecloud/models/attribute_query_request.rb +5 -5
  126. data/lib/purecloud/models/audit_change.rb +5 -5
  127. data/lib/purecloud/models/audit_entity.rb +5 -5
  128. data/lib/purecloud/models/audit_entity_reference.rb +5 -5
  129. data/lib/purecloud/models/audit_facet.rb +5 -5
  130. data/lib/purecloud/models/audit_filter.rb +5 -5
  131. data/lib/purecloud/models/audit_message.rb +5 -5
  132. data/lib/purecloud/models/audit_search_result.rb +5 -5
  133. data/lib/purecloud/models/audit_user.rb +5 -5
  134. data/lib/purecloud/models/available_additional_service.rb +5 -5
  135. data/lib/purecloud/models/available_additional_service_listing.rb +5 -5
  136. data/lib/purecloud/models/available_topic.rb +5 -5
  137. data/lib/purecloud/models/available_topic_entity_listing.rb +5 -5
  138. data/lib/purecloud/models/backend_flow_available_actions.rb +5 -5
  139. data/lib/purecloud/models/basic_transform.rb +5 -5
  140. data/lib/purecloud/models/batch_command.rb +5 -5
  141. data/lib/purecloud/models/batch_item.rb +5 -5
  142. data/lib/purecloud/models/batch_item_body.rb +5 -5
  143. data/lib/purecloud/models/batch_reply.rb +5 -5
  144. data/lib/purecloud/models/batch_reply_item.rb +5 -5
  145. data/lib/purecloud/models/billing_address.rb +5 -5
  146. data/lib/purecloud/models/{automate_queue_member.rb → billing_pending_task.rb} +13 -13
  147. data/lib/purecloud/models/billing_period.rb +5 -5
  148. data/lib/purecloud/models/{automate_queue.rb → billing_task_result.rb} +69 -37
  149. data/lib/purecloud/models/bullseye.rb +5 -5
  150. data/lib/purecloud/models/calibration.rb +5 -5
  151. data/lib/purecloud/models/calibration_assignment.rb +5 -5
  152. data/lib/purecloud/models/calibration_entity_listing.rb +5 -5
  153. data/lib/purecloud/models/call.rb +5 -5
  154. data/lib/purecloud/models/call_command.rb +5 -5
  155. data/lib/purecloud/models/call_conversation.rb +5 -5
  156. data/lib/purecloud/models/call_conversation_entity_listing.rb +5 -5
  157. data/lib/purecloud/models/call_forwarding.rb +5 -5
  158. data/lib/purecloud/models/call_media_participant.rb +5 -5
  159. data/lib/purecloud/models/{media_policy.rb → call_media_policy.rb} +20 -20
  160. data/lib/purecloud/models/call_media_policy_conditions.rb +235 -0
  161. data/lib/purecloud/models/call_record.rb +5 -5
  162. data/lib/purecloud/models/callable_contacts_diagnostic.rb +5 -5
  163. data/lib/purecloud/models/callable_time.rb +7 -5
  164. data/lib/purecloud/models/callable_time_set.rb +9 -7
  165. data/lib/purecloud/models/callable_time_set_entity_listing.rb +5 -5
  166. data/lib/purecloud/models/callback.rb +5 -5
  167. data/lib/purecloud/models/callback_conversation.rb +5 -5
  168. data/lib/purecloud/models/callback_conversation_entity_listing.rb +5 -5
  169. data/lib/purecloud/models/callback_media_participant.rb +5 -5
  170. data/lib/purecloud/models/campaign.rb +37 -20
  171. data/lib/purecloud/models/campaign_diagnostics.rb +5 -5
  172. data/lib/purecloud/models/campaign_entity_listing.rb +5 -5
  173. data/lib/purecloud/models/campaign_progress.rb +10 -5
  174. data/lib/purecloud/models/campaign_schedule.rb +8 -7
  175. data/lib/purecloud/models/campaign_schedule_intervals.rb +5 -5
  176. data/lib/purecloud/models/campaign_sequence.rb +8 -7
  177. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +5 -5
  178. data/lib/purecloud/models/campaign_stats.rb +5 -5
  179. data/lib/purecloud/models/campaign_time_slot.rb +8 -5
  180. data/lib/purecloud/models/carrier.rb +5 -5
  181. data/lib/purecloud/models/carrier_address.rb +5 -5
  182. data/lib/purecloud/models/carrier_entity_listing.rb +5 -5
  183. data/lib/purecloud/models/certificate.rb +5 -5
  184. data/lib/purecloud/models/certificate_authority_entity_listing.rb +5 -5
  185. data/lib/purecloud/models/certificate_details.rb +5 -5
  186. data/lib/purecloud/models/change.rb +6 -6
  187. data/lib/purecloud/models/channel.rb +5 -5
  188. data/lib/purecloud/models/channel_entity_listing.rb +5 -5
  189. data/lib/purecloud/models/channel_topic.rb +5 -5
  190. data/lib/purecloud/models/channel_topic_entity_listing.rb +5 -5
  191. data/lib/purecloud/models/charge.rb +5 -5
  192. data/lib/purecloud/models/chat.rb +5 -5
  193. data/lib/purecloud/models/chat_conversation.rb +5 -5
  194. data/lib/purecloud/models/chat_conversation_entity_listing.rb +5 -5
  195. data/lib/purecloud/models/chat_media_participant.rb +5 -5
  196. data/lib/purecloud/models/{location_emergency_number.rb → chat_media_policy.rb} +21 -39
  197. data/lib/purecloud/models/{common_audit_request.rb → chat_media_policy_conditions.rb} +49 -59
  198. data/lib/purecloud/models/chat_message.rb +5 -5
  199. data/lib/purecloud/models/chat_message_user.rb +5 -5
  200. data/lib/purecloud/models/client_spreadsheet_transform.rb +5 -5
  201. data/lib/purecloud/models/client_text_table_transform.rb +5 -5
  202. data/lib/purecloud/models/column_collapse.rb +5 -5
  203. data/lib/purecloud/models/command_status.rb +5 -5
  204. data/lib/purecloud/models/command_status_entity_listing.rb +5 -5
  205. data/lib/purecloud/models/composer_template.rb +5 -5
  206. data/lib/purecloud/models/condition.rb +5 -5
  207. data/lib/purecloud/models/connect_rate.rb +5 -5
  208. data/lib/purecloud/models/consult_transfer.rb +5 -5
  209. data/lib/purecloud/models/consult_transfer_response.rb +5 -5
  210. data/lib/purecloud/models/consult_transfer_update.rb +5 -5
  211. data/lib/purecloud/models/consumed_resources_entity_listing.rb +5 -5
  212. data/lib/purecloud/models/consuming_resources_entity_listing.rb +5 -5
  213. data/lib/purecloud/models/contact.rb +5 -5
  214. data/lib/purecloud/models/contact_address.rb +5 -5
  215. data/lib/purecloud/models/contact_callback_request.rb +5 -5
  216. data/lib/purecloud/models/contact_list.rb +8 -7
  217. data/lib/purecloud/models/contact_list_entity_listing.rb +5 -5
  218. data/lib/purecloud/models/contact_listing.rb +5 -5
  219. data/lib/purecloud/models/contact_phone_number_column.rb +5 -5
  220. data/lib/purecloud/models/contact_sales.rb +5 -5
  221. data/lib/purecloud/models/contact_sales_response.rb +5 -5
  222. data/lib/purecloud/models/contact_sort.rb +5 -5
  223. data/lib/purecloud/models/content_attribute_filter_item.rb +5 -5
  224. data/lib/purecloud/models/content_facet_filter_item.rb +5 -5
  225. data/lib/purecloud/models/content_filter_item.rb +5 -5
  226. data/lib/purecloud/models/content_query_request.rb +5 -5
  227. data/lib/purecloud/models/content_sort_item.rb +5 -5
  228. data/lib/purecloud/models/contract.rb +5 -5
  229. data/lib/purecloud/models/contract_job.rb +5 -5
  230. data/lib/purecloud/models/control.rb +5 -5
  231. data/lib/purecloud/models/control_options.rb +5 -5
  232. data/lib/purecloud/models/conversation.rb +5 -5
  233. data/lib/purecloud/models/conversation_chat.rb +5 -5
  234. data/lib/purecloud/models/conversation_entity_listing.rb +5 -5
  235. data/lib/purecloud/models/conversation_query.rb +5 -5
  236. data/lib/purecloud/models/cover_sheet.rb +5 -5
  237. data/lib/purecloud/models/create_call_request.rb +5 -5
  238. data/lib/purecloud/models/create_call_response.rb +5 -5
  239. data/lib/purecloud/models/create_callback_command.rb +5 -5
  240. data/lib/purecloud/models/create_share_request.rb +5 -5
  241. data/lib/purecloud/models/create_share_request_member.rb +5 -5
  242. data/lib/purecloud/models/create_share_response.rb +5 -5
  243. data/lib/purecloud/models/create_template_from_script_request_data.rb +5 -5
  244. data/lib/purecloud/models/create_user.rb +5 -5
  245. data/lib/purecloud/models/csv_schema.rb +5 -5
  246. data/lib/purecloud/models/currency.rb +5 -5
  247. data/lib/purecloud/models/customer_account.rb +5 -5
  248. data/lib/purecloud/models/data_item.rb +24 -28
  249. data/lib/purecloud/models/data_value_info.rb +5 -5
  250. data/lib/purecloud/models/default_greeting_list.rb +5 -5
  251. data/lib/purecloud/models/delete_retention.rb +5 -5
  252. data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +5 -5
  253. data/lib/purecloud/models/delta_document.rb +5 -5
  254. data/lib/purecloud/models/delta_request.rb +5 -5
  255. data/lib/purecloud/models/delta_response.rb +5 -5
  256. data/lib/purecloud/models/dependency.rb +5 -5
  257. data/lib/purecloud/models/dependency_object.rb +5 -5
  258. data/lib/purecloud/models/dependency_object_entity_listing.rb +5 -5
  259. data/lib/purecloud/models/dependency_status.rb +5 -5
  260. data/lib/purecloud/models/dependency_type.rb +5 -5
  261. data/lib/purecloud/models/dependency_type_entity_listing.rb +5 -5
  262. data/lib/purecloud/models/destination.rb +5 -5
  263. data/lib/purecloud/models/detail.rb +5 -5
  264. data/lib/purecloud/models/diagnostic_email.rb +21 -7
  265. data/lib/purecloud/models/dialer_action.rb +5 -5
  266. data/lib/purecloud/models/dialer_audit_request.rb +5 -5
  267. data/lib/purecloud/models/dialer_contact.rb +5 -5
  268. data/lib/purecloud/models/dialer_preview.rb +5 -5
  269. data/lib/purecloud/models/dialer_rule.rb +5 -5
  270. data/lib/purecloud/models/did.rb +6 -6
  271. data/lib/purecloud/models/did_entity_listing.rb +5 -5
  272. data/lib/purecloud/models/did_pool.rb +6 -6
  273. data/lib/purecloud/models/did_pool_entity_listing.rb +5 -5
  274. data/lib/purecloud/models/digit_length.rb +5 -5
  275. data/lib/purecloud/models/disconnect_reason.rb +5 -5
  276. data/lib/purecloud/models/discount.rb +5 -5
  277. data/lib/purecloud/models/dnc_list.rb +8 -7
  278. data/lib/purecloud/models/dnc_list_entity_listing.rb +5 -5
  279. data/lib/purecloud/models/dns.rb +5 -5
  280. data/lib/purecloud/models/document.rb +5 -5
  281. data/lib/purecloud/models/document_attribute.rb +5 -5
  282. data/lib/purecloud/models/document_audit.rb +5 -5
  283. data/lib/purecloud/models/document_audit_entity_listing.rb +5 -5
  284. data/lib/purecloud/models/document_entity_listing.rb +5 -5
  285. data/lib/purecloud/models/document_thumbnail.rb +5 -5
  286. data/lib/purecloud/models/document_update.rb +5 -5
  287. data/lib/purecloud/models/document_upload.rb +5 -5
  288. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +5 -5
  289. data/lib/purecloud/models/domain_capabilities.rb +5 -5
  290. data/lib/purecloud/models/domain_certificate_authority.rb +6 -6
  291. data/lib/purecloud/models/domain_edge_software_update_dto.rb +5 -5
  292. data/lib/purecloud/models/domain_edge_software_version_dto.rb +5 -5
  293. data/lib/purecloud/models/domain_entity.rb +5 -5
  294. data/lib/purecloud/models/domain_entity_listing.rb +5 -5
  295. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +5 -5
  296. data/lib/purecloud/models/domain_entity_listing_query_result.rb +5 -5
  297. data/lib/purecloud/models/domain_invoice_entity_listing.rb +5 -5
  298. data/lib/purecloud/models/domain_logical_interface.rb +6 -6
  299. data/lib/purecloud/models/domain_network_address.rb +5 -5
  300. data/lib/purecloud/models/domain_network_command_response.rb +5 -5
  301. data/lib/purecloud/models/domain_network_route.rb +5 -5
  302. data/lib/purecloud/models/domain_org_role_difference.rb +5 -5
  303. data/lib/purecloud/models/domain_organization_product.rb +5 -5
  304. data/lib/purecloud/models/domain_organization_role.rb +5 -5
  305. data/lib/purecloud/models/domain_permission.rb +5 -5
  306. data/lib/purecloud/models/domain_permission_collection.rb +5 -5
  307. data/lib/purecloud/models/domain_permission_policy.rb +5 -5
  308. data/lib/purecloud/models/domain_physical_capabilities.rb +5 -5
  309. data/lib/purecloud/models/domain_physical_interface.rb +5 -5
  310. data/lib/purecloud/models/domain_resource_condition_node.rb +5 -5
  311. data/lib/purecloud/models/domain_resource_condition_value.rb +5 -5
  312. data/lib/purecloud/models/domain_role.rb +5 -5
  313. data/lib/purecloud/models/domain_schema_reference.rb +5 -5
  314. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +5 -5
  315. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +5 -5
  316. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +5 -5
  317. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +5 -5
  318. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +5 -5
  319. data/lib/purecloud/models/download_response.rb +5 -5
  320. data/lib/purecloud/models/duration_condition.rb +5 -5
  321. data/lib/purecloud/models/edge.rb +6 -6
  322. data/lib/purecloud/models/edge_auto_update_config.rb +5 -5
  323. data/lib/purecloud/models/edge_entity_listing.rb +5 -5
  324. data/lib/purecloud/models/edge_group.rb +6 -6
  325. data/lib/purecloud/models/edge_group_entity_listing.rb +5 -5
  326. data/lib/purecloud/models/edge_interface.rb +5 -5
  327. data/lib/purecloud/models/edge_line.rb +5 -5
  328. data/lib/purecloud/models/edge_line_entity_listing.rb +5 -5
  329. data/lib/purecloud/models/edge_logs_job.rb +5 -5
  330. data/lib/purecloud/models/edge_logs_job_file.rb +5 -5
  331. data/lib/purecloud/models/edge_logs_job_request.rb +5 -5
  332. data/lib/purecloud/models/edge_logs_job_response.rb +5 -5
  333. data/lib/purecloud/models/edge_logs_job_upload_request.rb +5 -5
  334. data/lib/purecloud/models/edge_version_information.rb +5 -5
  335. data/lib/purecloud/models/edge_version_report.rb +5 -5
  336. data/lib/purecloud/models/email.rb +5 -5
  337. data/lib/purecloud/models/email_address.rb +5 -5
  338. data/lib/purecloud/models/email_attachment.rb +5 -5
  339. data/lib/purecloud/models/email_conversation.rb +5 -5
  340. data/lib/purecloud/models/email_conversation_entity_listing.rb +5 -5
  341. data/lib/purecloud/models/email_media_participant.rb +5 -5
  342. data/lib/purecloud/models/email_media_policy.rb +177 -0
  343. data/lib/purecloud/models/{location_address_fields.rb → email_media_policy_conditions.rb} +45 -57
  344. data/lib/purecloud/models/email_message.rb +5 -5
  345. data/lib/purecloud/models/email_message_listing.rb +5 -5
  346. data/lib/purecloud/models/email_setup.rb +5 -5
  347. data/lib/purecloud/models/embedded_signature_view.rb +5 -5
  348. data/lib/purecloud/models/encryption_key.rb +5 -5
  349. data/lib/purecloud/models/encryption_key_entity_listing.rb +5 -5
  350. data/lib/purecloud/models/endpoint.rb +6 -6
  351. data/lib/purecloud/models/endpoint_entity_listing.rb +5 -5
  352. data/lib/purecloud/models/entity.rb +5 -5
  353. data/lib/purecloud/models/entry.rb +5 -5
  354. data/lib/purecloud/models/error_body.rb +5 -5
  355. data/lib/purecloud/models/error_details.rb +5 -5
  356. data/lib/purecloud/models/estimated_wait_time_predictions.rb +5 -5
  357. data/lib/purecloud/models/evaluation.rb +19 -6
  358. data/lib/purecloud/models/evaluation_assignment.rb +5 -5
  359. data/lib/purecloud/models/evaluation_entity_listing.rb +5 -5
  360. data/lib/purecloud/models/evaluation_form.rb +5 -5
  361. data/lib/purecloud/models/evaluation_form_and_scoring_set.rb +5 -5
  362. data/lib/purecloud/models/evaluation_form_entity_listing.rb +5 -5
  363. data/lib/purecloud/models/evaluation_scoring_set.rb +5 -5
  364. data/lib/purecloud/models/evaluator_activity.rb +5 -5
  365. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +5 -5
  366. data/lib/purecloud/models/expansion_criterium.rb +5 -5
  367. data/lib/purecloud/models/expression_response.rb +5 -5
  368. data/lib/purecloud/models/extension.rb +6 -6
  369. data/lib/purecloud/models/extension_entity_listing.rb +5 -5
  370. data/lib/purecloud/models/extension_pool.rb +6 -6
  371. data/lib/purecloud/models/extension_pool_entity_listing.rb +5 -5
  372. data/lib/purecloud/models/external_contact.rb +5 -5
  373. data/lib/purecloud/models/external_organization.rb +5 -5
  374. data/lib/purecloud/models/external_organization_listing.rb +5 -5
  375. data/lib/purecloud/models/facet_entry.rb +5 -5
  376. data/lib/purecloud/models/facet_info.rb +5 -5
  377. data/lib/purecloud/models/facet_key_attribute.rb +5 -5
  378. data/lib/purecloud/models/facet_request.rb +5 -5
  379. data/lib/purecloud/models/facet_result.rb +5 -5
  380. data/lib/purecloud/models/facet_result_item.rb +5 -5
  381. data/lib/purecloud/models/facet_statistics.rb +5 -5
  382. data/lib/purecloud/models/facet_term.rb +5 -5
  383. data/lib/purecloud/models/failed_object.rb +5 -5
  384. data/lib/purecloud/models/favorite_template_request_data.rb +5 -5
  385. data/lib/purecloud/models/fax_document.rb +5 -5
  386. data/lib/purecloud/models/fax_document_entity_listing.rb +5 -5
  387. data/lib/purecloud/models/fax_send_request.rb +5 -5
  388. data/lib/purecloud/models/fax_send_response.rb +5 -5
  389. data/lib/purecloud/models/fax_summary.rb +5 -5
  390. data/lib/purecloud/models/filter_item.rb +5 -5
  391. data/lib/purecloud/models/flow.rb +5 -5
  392. data/lib/purecloud/models/flow_body.rb +5 -5
  393. data/lib/purecloud/models/flow_body_format.rb +5 -5
  394. data/lib/purecloud/models/flow_config_id.rb +5 -5
  395. data/lib/purecloud/models/flow_config_meta_data.rb +5 -5
  396. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +5 -5
  397. data/lib/purecloud/models/flow_details.rb +5 -5
  398. data/lib/purecloud/models/flow_details_search_result.rb +5 -5
  399. data/lib/purecloud/models/flow_entity_listing.rb +5 -5
  400. data/lib/purecloud/models/flow_exec_id.rb +5 -5
  401. data/lib/purecloud/models/flow_history_data_item.rb +189 -0
  402. data/lib/purecloud/models/flow_history_item.rb +6 -6
  403. data/lib/purecloud/models/flow_history_result_item.rb +5 -5
  404. data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +5 -5
  405. data/lib/purecloud/models/flow_input_data.rb +5 -5
  406. data/lib/purecloud/models/flow_launch_request.rb +5 -5
  407. data/lib/purecloud/models/flow_publish.rb +5 -5
  408. data/lib/purecloud/models/flow_report_result_item.rb +5 -5
  409. data/lib/purecloud/models/flow_search_request.rb +5 -5
  410. data/lib/purecloud/models/flow_state.rb +5 -5
  411. data/lib/purecloud/models/flow_terminate_request.rb +5 -5
  412. data/lib/purecloud/models/flow_upload_response.rb +5 -5
  413. data/lib/purecloud/models/flow_version.rb +5 -5
  414. data/lib/purecloud/models/flow_version_config_meta_data.rb +5 -5
  415. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +5 -5
  416. data/lib/purecloud/models/flow_version_entity_listing.rb +5 -5
  417. data/lib/purecloud/models/form.rb +5 -5
  418. data/lib/purecloud/models/gateway.rb +5 -5
  419. data/lib/purecloud/models/geolocation.rb +5 -5
  420. data/lib/purecloud/models/geolocation_settings.rb +5 -5
  421. data/lib/purecloud/models/gistener.rb +5 -5
  422. data/lib/purecloud/models/greeting.rb +5 -5
  423. data/lib/purecloud/models/greeting_audio_file.rb +5 -5
  424. data/lib/purecloud/models/greeting_media_info.rb +5 -5
  425. data/lib/purecloud/models/greeting_owner.rb +5 -5
  426. data/lib/purecloud/models/group.rb +65 -9
  427. data/lib/purecloud/models/group_entity_listing.rb +5 -5
  428. data/lib/purecloud/models/{sort_by.rb → group_members_update.rb} +21 -21
  429. data/lib/purecloud/models/group_tag.rb +5 -5
  430. data/lib/purecloud/models/groups_search_response.rb +5 -5
  431. data/lib/purecloud/models/hardware_rate.rb +5 -5
  432. data/lib/purecloud/models/hardware_rate_listing.rb +5 -5
  433. data/lib/purecloud/models/health_check_info.rb +5 -5
  434. data/lib/purecloud/models/hipaa_config.rb +5 -5
  435. data/lib/purecloud/models/import_status.rb +5 -5
  436. data/lib/purecloud/models/inbound_domain.rb +5 -5
  437. data/lib/purecloud/models/inbound_domain_entity_listing.rb +5 -5
  438. data/lib/purecloud/models/inbound_route.rb +5 -5
  439. data/lib/purecloud/models/inbound_route_entity_listing.rb +5 -5
  440. data/lib/purecloud/models/indexed_transform.rb +5 -5
  441. data/lib/purecloud/models/integration_type.rb +5 -5
  442. data/lib/purecloud/models/integration_type_entity_listing.rb +5 -5
  443. data/lib/purecloud/models/interaction_stats_alert.rb +5 -5
  444. data/lib/purecloud/models/interaction_stats_alert_container.rb +5 -5
  445. data/lib/purecloud/models/interaction_stats_rule.rb +5 -5
  446. data/lib/purecloud/models/interaction_stats_rule_container.rb +5 -5
  447. data/lib/purecloud/models/invoice.rb +5 -5
  448. data/lib/purecloud/models/ivr.rb +6 -6
  449. data/lib/purecloud/models/ivr_entity_listing.rb +5 -5
  450. data/lib/purecloud/models/json_node.rb +30 -30
  451. data/lib/purecloud/models/json_node_search_response.rb +5 -5
  452. data/lib/purecloud/models/key_rotation_schedule.rb +5 -5
  453. data/lib/purecloud/models/language.rb +6 -6
  454. data/lib/purecloud/models/language_entity_listing.rb +5 -5
  455. data/lib/purecloud/models/library.rb +5 -5
  456. data/lib/purecloud/models/library_entity_listing.rb +5 -5
  457. data/lib/purecloud/models/license.rb +5 -5
  458. data/lib/purecloud/models/licenses_by_permission.rb +5 -5
  459. data/lib/purecloud/models/line.rb +6 -6
  460. data/lib/purecloud/models/line_base.rb +5 -5
  461. data/lib/purecloud/models/line_base_entity_listing.rb +5 -5
  462. data/lib/purecloud/models/line_entity_listing.rb +5 -5
  463. data/lib/purecloud/models/line_status.rb +5 -5
  464. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +5 -5
  465. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +5 -5
  466. data/lib/purecloud/models/lock_info.rb +5 -5
  467. data/lib/purecloud/models/logical_interface_entity_listing.rb +5 -5
  468. data/lib/purecloud/models/management_unit.rb +5 -5
  469. data/lib/purecloud/models/management_unit_timezone.rb +5 -5
  470. data/lib/purecloud/models/max_participants.rb +5 -5
  471. data/lib/purecloud/models/media_participant_request.rb +5 -5
  472. data/lib/purecloud/models/media_policies.rb +8 -8
  473. data/lib/purecloud/models/media_result.rb +5 -5
  474. data/lib/purecloud/models/media_setting.rb +5 -5
  475. data/lib/purecloud/models/media_summary.rb +5 -5
  476. data/lib/purecloud/models/media_summary_detail.rb +5 -5
  477. data/lib/purecloud/models/member_entity.rb +5 -5
  478. data/lib/purecloud/models/metabase.rb +5 -5
  479. data/lib/purecloud/models/metered_evaluation_assignment.rb +5 -5
  480. data/lib/purecloud/models/noc_support.rb +5 -5
  481. data/lib/purecloud/models/note.rb +5 -5
  482. data/lib/purecloud/models/note_listing.rb +5 -5
  483. data/lib/purecloud/models/number.rb +5 -5
  484. data/lib/purecloud/models/number_order_request.rb +5 -5
  485. data/lib/purecloud/models/number_plan.rb +6 -6
  486. data/lib/purecloud/models/numeric_range.rb +5 -5
  487. data/lib/purecloud/models/o_auth_client.rb +5 -5
  488. data/lib/purecloud/models/o_auth_client_entity_listing.rb +5 -5
  489. data/lib/purecloud/models/o_auth_provider.rb +5 -5
  490. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +5 -5
  491. data/lib/purecloud/models/observation_data_container.rb +5 -5
  492. data/lib/purecloud/models/observation_query.rb +5 -5
  493. data/lib/purecloud/models/observation_query_response.rb +5 -5
  494. data/lib/purecloud/models/okta.rb +5 -5
  495. data/lib/purecloud/models/one_login.rb +5 -5
  496. data/lib/purecloud/models/order.rb +5 -5
  497. data/lib/purecloud/models/org_license_assignment.rb +5 -5
  498. data/lib/purecloud/models/org_media_utilization.rb +5 -5
  499. data/lib/purecloud/models/organization.rb +6 -6
  500. data/lib/purecloud/models/organization_create.rb +5 -5
  501. data/lib/purecloud/models/organization_presence.rb +6 -6
  502. data/lib/purecloud/models/organization_presence_entity_listing.rb +5 -5
  503. data/lib/purecloud/models/organization_product_entity_listing.rb +5 -5
  504. data/lib/purecloud/models/organization_role_entity_listing.rb +5 -5
  505. data/lib/purecloud/models/orphan_recording.rb +5 -5
  506. data/lib/purecloud/models/orphan_recording_listing.rb +5 -5
  507. data/lib/purecloud/models/out_of_office.rb +5 -5
  508. data/lib/purecloud/models/outbound_route.rb +6 -6
  509. data/lib/purecloud/models/outbound_route_entity_listing.rb +5 -5
  510. data/lib/purecloud/models/page.rb +5 -5
  511. data/lib/purecloud/models/paging_spec.rb +5 -5
  512. data/lib/purecloud/models/parameter.rb +5 -5
  513. data/lib/purecloud/models/parsed_certificate.rb +5 -5
  514. data/lib/purecloud/models/participant.rb +5 -5
  515. data/lib/purecloud/models/participant_attributes.rb +5 -5
  516. data/lib/purecloud/models/payment_method.rb +5 -5
  517. data/lib/purecloud/models/payment_method_listing.rb +5 -5
  518. data/lib/purecloud/models/payment_token_provider.rb +5 -5
  519. data/lib/purecloud/models/permission_collection_entity_listing.rb +5 -5
  520. data/lib/purecloud/models/permissions.rb +5 -5
  521. data/lib/purecloud/models/phone.rb +6 -6
  522. data/lib/purecloud/models/phone_base.rb +5 -5
  523. data/lib/purecloud/models/phone_base_entity_listing.rb +5 -5
  524. data/lib/purecloud/models/phone_capabilities.rb +5 -5
  525. data/lib/purecloud/models/phone_column.rb +7 -5
  526. data/lib/purecloud/models/phone_entity_listing.rb +5 -5
  527. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +5 -5
  528. data/lib/purecloud/models/phone_number.rb +5 -5
  529. data/lib/purecloud/models/phone_number_column.rb +5 -5
  530. data/lib/purecloud/models/phone_number_status.rb +5 -5
  531. data/lib/purecloud/models/phone_status.rb +5 -5
  532. data/lib/purecloud/models/phones_reboot.rb +5 -5
  533. data/lib/purecloud/models/physical_interface_entity_listing.rb +5 -5
  534. data/lib/purecloud/models/pin_configuration.rb +5 -5
  535. data/lib/purecloud/models/policy.rb +5 -5
  536. data/lib/purecloud/models/policy_actions.rb +5 -5
  537. data/lib/purecloud/models/policy_conditions.rb +5 -5
  538. data/lib/purecloud/models/policy_entity_listing.rb +5 -5
  539. data/lib/purecloud/models/policy_error_message.rb +5 -5
  540. data/lib/purecloud/models/policy_errors.rb +5 -5
  541. data/lib/purecloud/models/prediction_results.rb +5 -5
  542. data/lib/purecloud/models/presence_query_response.rb +5 -5
  543. data/lib/purecloud/models/product.rb +5 -5
  544. data/lib/purecloud/models/prompt.rb +5 -5
  545. data/lib/purecloud/models/prompt_asset.rb +6 -6
  546. data/lib/purecloud/models/prompt_asset_entity_listing.rb +5 -5
  547. data/lib/purecloud/models/prompt_entity_listing.rb +5 -5
  548. data/lib/purecloud/models/property_index_request.rb +5 -5
  549. data/lib/purecloud/models/provision_info.rb +5 -5
  550. data/lib/purecloud/models/publication.rb +5 -5
  551. data/lib/purecloud/models/publish_script_request_data.rb +5 -5
  552. data/lib/purecloud/models/published_result.rb +5 -5
  553. data/lib/purecloud/models/pure_cloud.rb +5 -5
  554. data/lib/purecloud/models/quality_audit.rb +5 -5
  555. data/lib/purecloud/models/quality_audit_page.rb +5 -5
  556. data/lib/purecloud/models/query_facet_info.rb +5 -5
  557. data/lib/purecloud/models/query_request.rb +5 -5
  558. data/lib/purecloud/models/query_result.rb +5 -5
  559. data/lib/purecloud/models/query_results.rb +5 -5
  560. data/lib/purecloud/models/question_group.rb +5 -5
  561. data/lib/purecloud/models/question_group_score.rb +5 -5
  562. data/lib/purecloud/models/question_score.rb +5 -5
  563. data/lib/purecloud/models/queue.rb +6 -6
  564. data/lib/purecloud/models/queue_entity_listing.rb +5 -5
  565. data/lib/purecloud/models/queue_member.rb +5 -5
  566. data/lib/purecloud/models/queue_utilization_diagnostic.rb +5 -5
  567. data/lib/purecloud/models/quote.rb +5 -5
  568. data/lib/purecloud/models/quote_charge.rb +5 -5
  569. data/lib/purecloud/models/quote_listing.rb +5 -5
  570. data/lib/purecloud/models/rate.rb +5 -5
  571. data/lib/purecloud/models/reaction.rb +5 -5
  572. data/lib/purecloud/models/recording.rb +5 -5
  573. data/lib/purecloud/models/recording_email_message.rb +5 -5
  574. data/lib/purecloud/models/recording_settings.rb +5 -5
  575. data/lib/purecloud/models/relationship.rb +5 -5
  576. data/lib/purecloud/models/relationship_listing.rb +5 -5
  577. data/lib/purecloud/models/replace_request.rb +5 -5
  578. data/lib/purecloud/models/replace_response.rb +5 -5
  579. data/lib/purecloud/models/report_meta_data.rb +5 -5
  580. data/lib/purecloud/models/report_meta_data_entity_listing.rb +5 -5
  581. data/lib/purecloud/models/report_request.rb +5 -5
  582. data/lib/purecloud/models/report_run_entry.rb +5 -5
  583. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +5 -5
  584. data/lib/purecloud/models/report_schedule.rb +5 -5
  585. data/lib/purecloud/models/report_schedule_entity_listing.rb +5 -5
  586. data/lib/purecloud/models/reservation.rb +5 -5
  587. data/lib/purecloud/models/resource_condition_node.rb +5 -5
  588. data/lib/purecloud/models/resource_condition_value.rb +5 -5
  589. data/lib/purecloud/models/resource_permission_policy.rb +5 -5
  590. data/lib/purecloud/models/response.rb +5 -5
  591. data/lib/purecloud/models/response_entity_list.rb +5 -5
  592. data/lib/purecloud/models/response_entity_listing.rb +5 -5
  593. data/lib/purecloud/models/response_filter.rb +5 -5
  594. data/lib/purecloud/models/response_query_request.rb +5 -5
  595. data/lib/purecloud/models/response_query_results.rb +5 -5
  596. data/lib/purecloud/models/response_set.rb +9 -7
  597. data/lib/purecloud/models/response_set_entity_listing.rb +5 -5
  598. data/lib/purecloud/models/response_text.rb +5 -5
  599. data/lib/purecloud/models/rest_error_detail.rb +7 -5
  600. data/lib/purecloud/models/retention_duration.rb +5 -5
  601. data/lib/purecloud/models/ring.rb +5 -5
  602. data/lib/purecloud/models/routing_skill.rb +6 -6
  603. data/lib/purecloud/models/routing_status.rb +5 -5
  604. data/lib/purecloud/models/rule_set.rb +8 -7
  605. data/lib/purecloud/models/rule_set_entity_listing.rb +5 -5
  606. data/lib/purecloud/models/run_now_response.rb +5 -5
  607. data/lib/purecloud/models/salesforce.rb +5 -5
  608. data/lib/purecloud/models/schedule.rb +6 -6
  609. data/lib/purecloud/models/schedule_entity_listing.rb +5 -5
  610. data/lib/purecloud/models/schedule_group.rb +6 -6
  611. data/lib/purecloud/models/schedule_group_entity_listing.rb +5 -5
  612. data/lib/purecloud/models/schema_category.rb +5 -5
  613. data/lib/purecloud/models/schema_category_entity_listing.rb +5 -5
  614. data/lib/purecloud/models/schema_reference_entity_listing.rb +5 -5
  615. data/lib/purecloud/models/script.rb +5 -5
  616. data/lib/purecloud/models/script_entity_listing.rb +5 -5
  617. data/lib/purecloud/models/search_aggregation.rb +5 -5
  618. data/lib/purecloud/models/search_criteria.rb +5 -5
  619. data/lib/purecloud/models/search_request.rb +5 -5
  620. data/lib/purecloud/models/security_profile.rb +5 -5
  621. data/lib/purecloud/models/security_profile_entity_listing.rb +5 -5
  622. data/lib/purecloud/models/segment.rb +5 -5
  623. data/lib/purecloud/models/sequence_schedule.rb +8 -7
  624. data/lib/purecloud/models/server_date.rb +5 -5
  625. data/lib/purecloud/models/service.rb +5 -5
  626. data/lib/purecloud/models/service_context.rb +5 -5
  627. data/lib/purecloud/models/service_entity_listing.rb +5 -5
  628. data/lib/purecloud/models/service_level.rb +5 -5
  629. data/lib/purecloud/models/service_type.rb +5 -5
  630. data/lib/purecloud/models/share.rb +5 -5
  631. data/lib/purecloud/models/share_entity_listing.rb +5 -5
  632. data/lib/purecloud/models/shared_entity.rb +5 -5
  633. data/lib/purecloud/models/shared_response.rb +5 -5
  634. data/lib/purecloud/models/sheet_schema.rb +5 -5
  635. data/lib/purecloud/models/sheet_transform.rb +5 -5
  636. data/lib/purecloud/models/signature_document_info.rb +5 -5
  637. data/lib/purecloud/models/site.rb +6 -6
  638. data/lib/purecloud/models/site_entity_listing.rb +5 -5
  639. data/lib/purecloud/models/skill_entity_listing.rb +5 -5
  640. data/lib/purecloud/models/skills_to_remove.rb +5 -5
  641. data/lib/purecloud/models/snapshot.rb +5 -5
  642. data/lib/purecloud/models/social_account.rb +5 -5
  643. data/lib/purecloud/models/social_conversation.rb +5 -5
  644. data/lib/purecloud/models/social_conversation_entity_listing.rb +5 -5
  645. data/lib/purecloud/models/social_expression.rb +5 -5
  646. data/lib/purecloud/models/social_media_participant.rb +5 -5
  647. data/lib/purecloud/models/socialize_entity_filter.rb +5 -5
  648. data/lib/purecloud/models/socialize_filter_request.rb +5 -5
  649. data/lib/purecloud/models/sort_field.rb +5 -5
  650. data/lib/purecloud/models/sort_item.rb +5 -5
  651. data/lib/purecloud/models/spreadsheet_transform.rb +5 -5
  652. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +5 -5
  653. data/lib/purecloud/models/station.rb +5 -5
  654. data/lib/purecloud/models/station_entity_listing.rb +5 -5
  655. data/lib/purecloud/models/statistical_response.rb +5 -5
  656. data/lib/purecloud/models/statistical_summary.rb +5 -5
  657. data/lib/purecloud/models/sub_data_item.rb +5 -5
  658. data/lib/purecloud/models/subscriber_response.rb +5 -5
  659. data/lib/purecloud/models/support.rb +5 -5
  660. data/lib/purecloud/models/system_prompt.rb +5 -5
  661. data/lib/purecloud/models/system_prompt_asset.rb +6 -6
  662. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +5 -5
  663. data/lib/purecloud/models/system_prompt_entity_listing.rb +5 -5
  664. data/lib/purecloud/models/table_transform.rb +5 -5
  665. data/lib/purecloud/models/tag_model.rb +5 -5
  666. data/lib/purecloud/models/tag_query_request.rb +5 -5
  667. data/lib/purecloud/models/tag_value.rb +5 -5
  668. data/lib/purecloud/models/tag_value_entity_listing.rb +5 -5
  669. data/lib/purecloud/models/template_entity_listing.rb +5 -5
  670. data/lib/purecloud/models/term_attribute.rb +5 -5
  671. data/lib/purecloud/models/text_table_transform.rb +5 -5
  672. data/lib/purecloud/models/text_table_transform_entity_listing.rb +5 -5
  673. data/lib/purecloud/models/third_party_account.rb +5 -5
  674. data/lib/purecloud/models/third_party_subscription.rb +5 -5
  675. data/lib/purecloud/models/ticker.rb +5 -5
  676. data/lib/purecloud/models/tier.rb +5 -5
  677. data/lib/purecloud/models/time_allowed.rb +5 -5
  678. data/lib/purecloud/models/time_interval.rb +5 -5
  679. data/lib/purecloud/models/time_slot.rb +5 -5
  680. data/lib/purecloud/models/time_zone.rb +5 -5
  681. data/lib/purecloud/models/time_zone_entity_listing.rb +5 -5
  682. data/lib/purecloud/models/trace.rb +5 -5
  683. data/lib/purecloud/models/trace_list.rb +5 -5
  684. data/lib/purecloud/models/transfer_request.rb +5 -5
  685. data/lib/purecloud/models/transform_endpoint.rb +5 -5
  686. data/lib/purecloud/models/transform_lens.rb +5 -5
  687. data/lib/purecloud/models/{location.rb → trunk.rb} +135 -63
  688. data/lib/purecloud/models/trunk_base.rb +6 -6
  689. data/lib/purecloud/models/trunk_base_assignment.rb +5 -5
  690. data/lib/purecloud/models/{queues_entity_listing.rb → trunk_entity_listing.rb} +7 -7
  691. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +5 -5
  692. data/lib/purecloud/models/twitter_expression.rb +5 -5
  693. data/lib/purecloud/models/twitter_expression_buffer.rb +5 -5
  694. data/lib/purecloud/models/unpivot_columns.rb +5 -5
  695. data/lib/purecloud/models/unread_metric.rb +5 -5
  696. data/lib/purecloud/models/unread_status.rb +5 -5
  697. data/lib/purecloud/models/upload_progress.rb +5 -5
  698. data/lib/purecloud/models/uri_reference.rb +5 -5
  699. data/lib/purecloud/models/url_response.rb +5 -5
  700. data/lib/purecloud/models/user.rb +6 -6
  701. data/lib/purecloud/models/user_action_category.rb +5 -5
  702. data/lib/purecloud/models/user_action_category_entity_listing.rb +5 -5
  703. data/lib/purecloud/models/user_action_metadata.rb +5 -5
  704. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +5 -5
  705. data/lib/purecloud/models/user_action_metadata_request.rb +5 -5
  706. data/lib/purecloud/models/user_authorization.rb +5 -5
  707. data/lib/purecloud/models/user_conversation_summary.rb +5 -5
  708. data/lib/purecloud/models/user_entity_listing.rb +5 -5
  709. data/lib/purecloud/models/user_image.rb +5 -5
  710. data/lib/purecloud/models/user_license_assignment.rb +5 -5
  711. data/lib/purecloud/models/user_me.rb +6 -6
  712. data/lib/purecloud/models/user_param.rb +5 -5
  713. data/lib/purecloud/models/user_presence.rb +5 -5
  714. data/lib/purecloud/models/user_queue.rb +6 -6
  715. data/lib/purecloud/models/user_queue_entity_listing.rb +5 -5
  716. data/lib/purecloud/models/user_recording.rb +5 -5
  717. data/lib/purecloud/models/user_recording_entity_listing.rb +5 -5
  718. data/lib/purecloud/models/user_routing_skill.rb +5 -5
  719. data/lib/purecloud/models/user_skill_entity_listing.rb +5 -5
  720. data/lib/purecloud/models/user_station.rb +5 -5
  721. data/lib/purecloud/models/user_stations.rb +5 -5
  722. data/lib/purecloud/models/users_entity_listing.rb +5 -5
  723. data/lib/purecloud/models/users_search_response.rb +5 -5
  724. data/lib/purecloud/models/utilization.rb +5 -5
  725. data/lib/purecloud/models/validate_address_request.rb +5 -5
  726. data/lib/purecloud/models/validate_address_response.rb +5 -5
  727. data/lib/purecloud/models/value.rb +5 -5
  728. data/lib/purecloud/models/vendor_connection_request.rb +5 -5
  729. data/lib/purecloud/models/video.rb +5 -5
  730. data/lib/purecloud/models/video_conversation.rb +5 -5
  731. data/lib/purecloud/models/video_conversation_entity_listing.rb +5 -5
  732. data/lib/purecloud/models/video_media_participant.rb +5 -5
  733. data/lib/purecloud/models/view.rb +5 -5
  734. data/lib/purecloud/models/voice_rate.rb +5 -5
  735. data/lib/purecloud/models/voice_rate_extended.rb +5 -5
  736. data/lib/purecloud/models/voice_rate_international.rb +5 -5
  737. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +5 -5
  738. data/lib/purecloud/models/voice_rate_update.rb +5 -5
  739. data/lib/purecloud/models/voice_rates_csv.rb +5 -5
  740. data/lib/purecloud/models/voice_xml_operation.rb +5 -5
  741. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +5 -5
  742. data/lib/purecloud/models/voicemail_mailbox_info.rb +5 -5
  743. data/lib/purecloud/models/voicemail_media_info.rb +5 -5
  744. data/lib/purecloud/models/voicemail_message.rb +5 -5
  745. data/lib/purecloud/models/voicemail_message_entity_listing.rb +5 -5
  746. data/lib/purecloud/models/voicemail_organization_policy.rb +5 -5
  747. data/lib/purecloud/models/voicemail_user_policy.rb +5 -5
  748. data/lib/purecloud/models/vpn.rb +5 -5
  749. data/lib/purecloud/models/work_item.rb +5 -5
  750. data/lib/purecloud/models/work_item_actions.rb +5 -5
  751. data/lib/purecloud/models/work_item_cache.rb +5 -5
  752. data/lib/purecloud/models/work_item_command.rb +5 -5
  753. data/lib/purecloud/models/work_item_command_group.rb +5 -5
  754. data/lib/purecloud/models/work_item_definition.rb +5 -5
  755. data/lib/purecloud/models/work_item_details.rb +5 -5
  756. data/lib/purecloud/models/work_item_search_details.rb +5 -5
  757. data/lib/purecloud/models/work_item_search_details_search_result.rb +5 -5
  758. data/lib/purecloud/models/work_item_submit_request.rb +5 -5
  759. data/lib/purecloud/models/work_item_transfer_request.rb +5 -5
  760. data/lib/purecloud/models/workspace.rb +5 -5
  761. data/lib/purecloud/models/workspace_create.rb +5 -5
  762. data/lib/purecloud/models/workspace_entity_listing.rb +5 -5
  763. data/lib/purecloud/models/workspace_member.rb +5 -5
  764. data/lib/purecloud/models/workspace_member_entity_listing.rb +5 -5
  765. data/lib/purecloud/models/workspace_summary.rb +5 -5
  766. data/lib/purecloud/models/wrap_up_code_mapping.rb +8 -7
  767. data/lib/purecloud/models/wrapup.rb +5 -5
  768. data/lib/purecloud/models/wrapup_code.rb +5 -5
  769. data/lib/purecloud/models/wrapup_code_entity_listing.rb +5 -5
  770. data/lib/purecloud/models/xlsx_schema.rb +5 -5
  771. data/lib/purecloud/version.rb +6 -6
  772. data/newVersion.md +1 -0
  773. data/swagger.json +1 -1
  774. data/version.json +1 -1
  775. metadata +31 -26
  776. data/doc_out/AutomateQueue.html.md +0 -19
  777. data/doc_out/AutomateQueueMemberEntityListing.html.md +0 -22
  778. data/doc_out/CommonAuditRequest.html.md +0 -19
  779. data/doc_out/Location.html.md +0 -24
  780. data/doc_out/LocationAddressFields.html.md +0 -19
  781. data/doc_out/LocationEmergencyNumber.html.md +0 -15
  782. data/doc_out/LocationsApi.html.md +0 -133
  783. data/doc_out/QueuesEntityListing.html.md +0 -22
  784. data/doc_out/SortBy.html.md +0 -14
  785. data/lib/purecloud/api/locations_api.rb +0 -158
  786. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +0 -257
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -1,16 +1,16 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
@@ -0,0 +1,177 @@
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 EmailMediaPolicy
21
+ # Actions applied when specified conditions are met
22
+ attr_accessor :actions
23
+
24
+ # Conditions for when actions should be applied
25
+ attr_accessor :conditions
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+
31
+ :'actions' => :'actions',
32
+
33
+ :'conditions' => :'conditions'
34
+
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+ :'actions' => :'PolicyActions',
42
+ :'conditions' => :'EmailMediaPolicyConditions'
43
+
44
+ }
45
+ end
46
+
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
52
+
53
+
54
+ if attributes[:'actions']
55
+ self.actions = attributes[:'actions']
56
+ end
57
+
58
+ if attributes[:'conditions']
59
+ self.conditions = attributes[:'conditions']
60
+ end
61
+
62
+ end
63
+
64
+ # Check equality by comparing each attribute.
65
+ def ==(o)
66
+ return true if self.equal?(o)
67
+ self.class == o.class &&
68
+ actions == o.actions &&
69
+ conditions == o.conditions
70
+ end
71
+
72
+ # @see the `==` method
73
+ def eql?(o)
74
+ self == o
75
+ end
76
+
77
+ # Calculate hash code according to all attributes.
78
+ def hash
79
+ [actions, conditions].hash
80
+ end
81
+
82
+ # build the object from hash
83
+ def build_from_hash(attributes)
84
+ return nil unless attributes.is_a?(Hash)
85
+ self.class.swagger_types.each_pair do |key, type|
86
+ if type =~ /^Array<(.*)>/i
87
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
88
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
89
+ else
90
+ #TODO show warning in debug mode
91
+ end
92
+ elsif !attributes[self.class.attribute_map[key]].nil?
93
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
94
+ else
95
+ # data not found in attributes(hash), not an issue as the data can be optional
96
+ end
97
+ end
98
+
99
+ self
100
+ end
101
+
102
+ def _deserialize(type, value)
103
+ case type.to_sym
104
+ when :DateTime
105
+ DateTime.parse(value)
106
+ when :Date
107
+ Date.parse(value)
108
+ when :String
109
+ value.to_s
110
+ when :Integer
111
+ value.to_i
112
+ when :Float
113
+ value.to_f
114
+ when :BOOLEAN
115
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
116
+ true
117
+ else
118
+ false
119
+ end
120
+ when :Object
121
+ # generic object (usually a Hash), return directly
122
+ value
123
+ when /\AArray<(?<inner_type>.+)>\z/
124
+ inner_type = Regexp.last_match[:inner_type]
125
+ value.map { |v| _deserialize(inner_type, v) }
126
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
127
+ k_type = Regexp.last_match[:k_type]
128
+ v_type = Regexp.last_match[:v_type]
129
+ {}.tap do |hash|
130
+ value.each do |k, v|
131
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
132
+ end
133
+ end
134
+ else # model
135
+ _model = Object.const_get("PureCloud").const_get(type).new
136
+ _model.build_from_hash(value)
137
+ end
138
+ end
139
+
140
+ def to_s
141
+ to_hash.to_s
142
+ end
143
+
144
+ # to_body is an alias to to_body (backward compatibility))
145
+ def to_body
146
+ to_hash
147
+ end
148
+
149
+ # return the object in the form of hash
150
+ def to_hash
151
+ hash = {}
152
+ self.class.attribute_map.each_pair do |attr, param|
153
+ value = self.send(attr)
154
+ next if value.nil?
155
+ hash[param] = _to_hash(value)
156
+ end
157
+ hash
158
+ end
159
+
160
+ # Method to output non-array value in the form of hash
161
+ # For object, use to_hash. Otherwise, just return the value
162
+ def _to_hash(value)
163
+ if value.is_a?(Array)
164
+ value.compact.map{ |v| _to_hash(v) }
165
+ elsif value.is_a?(Hash)
166
+ {}.tap do |hash|
167
+ value.each { |k, v| hash[k] = _to_hash(v) }
168
+ end
169
+ elsif value.respond_to? :to_hash
170
+ value.to_hash
171
+ else
172
+ value
173
+ end
174
+ end
175
+
176
+ end
177
+ end
@@ -1,54 +1,46 @@
1
1
  =begin
2
- PureCloud API
2
+ PureCloud Platform API
3
3
 
4
- PureCloud API
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
5
 
6
- OpenAPI spec version: v1
7
- Contact: chuck.pulfer@inin.com
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  License: ININ
11
11
  http://www.inin.com
12
12
 
13
- Terms of Service: http://www.inin.com
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
14
 
15
15
  =end
16
16
 
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- class LocationAddressFields
21
- attr_accessor :city
20
+ class EmailMediaPolicyConditions
21
+ attr_accessor :for_users
22
22
 
23
- attr_accessor :country
23
+ attr_accessor :date_ranges
24
24
 
25
- attr_accessor :country_name
25
+ attr_accessor :for_queues
26
26
 
27
- attr_accessor :state
27
+ attr_accessor :wrapup_codes
28
28
 
29
- attr_accessor :street1
30
-
31
- attr_accessor :street2
32
-
33
- attr_accessor :zipcode
29
+ attr_accessor :time_allowed
34
30
 
35
31
  # Attribute mapping from ruby-style variable name to JSON key.
36
32
  def self.attribute_map
37
33
  {
38
34
 
39
- :'city' => :'city',
40
-
41
- :'country' => :'country',
35
+ :'for_users' => :'forUsers',
42
36
 
43
- :'country_name' => :'countryName',
37
+ :'date_ranges' => :'dateRanges',
44
38
 
45
- :'state' => :'state',
39
+ :'for_queues' => :'forQueues',
46
40
 
47
- :'street1' => :'street1',
41
+ :'wrapup_codes' => :'wrapupCodes',
48
42
 
49
- :'street2' => :'street2',
50
-
51
- :'zipcode' => :'zipcode'
43
+ :'time_allowed' => :'timeAllowed'
52
44
 
53
45
  }
54
46
  end
@@ -56,13 +48,11 @@ module PureCloud
56
48
  # Attribute type mapping.
57
49
  def self.swagger_types
58
50
  {
59
- :'city' => :'String',
60
- :'country' => :'String',
61
- :'country_name' => :'String',
62
- :'state' => :'String',
63
- :'street1' => :'String',
64
- :'street2' => :'String',
65
- :'zipcode' => :'String'
51
+ :'for_users' => :'Array<User>',
52
+ :'date_ranges' => :'Array<String>',
53
+ :'for_queues' => :'Array<Queue>',
54
+ :'wrapup_codes' => :'Array<WrapupCode>',
55
+ :'time_allowed' => :'TimeAllowed'
66
56
 
67
57
  }
68
58
  end
@@ -74,32 +64,32 @@ module PureCloud
74
64
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
75
65
 
76
66
 
77
- if attributes[:'city']
78
- self.city = attributes[:'city']
79
- end
80
-
81
- if attributes[:'country']
82
- self.country = attributes[:'country']
83
- end
84
-
85
- if attributes[:'countryName']
86
- self.country_name = attributes[:'countryName']
67
+ if attributes[:'forUsers']
68
+ if (value = attributes[:'forUsers']).is_a?(Array)
69
+ self.for_users = value
70
+ end
87
71
  end
88
72
 
89
- if attributes[:'state']
90
- self.state = attributes[:'state']
73
+ if attributes[:'dateRanges']
74
+ if (value = attributes[:'dateRanges']).is_a?(Array)
75
+ self.date_ranges = value
76
+ end
91
77
  end
92
78
 
93
- if attributes[:'street1']
94
- self.street1 = attributes[:'street1']
79
+ if attributes[:'forQueues']
80
+ if (value = attributes[:'forQueues']).is_a?(Array)
81
+ self.for_queues = value
82
+ end
95
83
  end
96
84
 
97
- if attributes[:'street2']
98
- self.street2 = attributes[:'street2']
85
+ if attributes[:'wrapupCodes']
86
+ if (value = attributes[:'wrapupCodes']).is_a?(Array)
87
+ self.wrapup_codes = value
88
+ end
99
89
  end
100
90
 
101
- if attributes[:'zipcode']
102
- self.zipcode = attributes[:'zipcode']
91
+ if attributes[:'timeAllowed']
92
+ self.time_allowed = attributes[:'timeAllowed']
103
93
  end
104
94
 
105
95
  end
@@ -108,13 +98,11 @@ module PureCloud
108
98
  def ==(o)
109
99
  return true if self.equal?(o)
110
100
  self.class == o.class &&
111
- city == o.city &&
112
- country == o.country &&
113
- country_name == o.country_name &&
114
- state == o.state &&
115
- street1 == o.street1 &&
116
- street2 == o.street2 &&
117
- zipcode == o.zipcode
101
+ for_users == o.for_users &&
102
+ date_ranges == o.date_ranges &&
103
+ for_queues == o.for_queues &&
104
+ wrapup_codes == o.wrapup_codes &&
105
+ time_allowed == o.time_allowed
118
106
  end
119
107
 
120
108
  # @see the `==` method
@@ -124,7 +112,7 @@ module PureCloud
124
112
 
125
113
  # Calculate hash code according to all attributes.
126
114
  def hash
127
- [city, country, country_name, state, street1, street2, zipcode].hash
115
+ [for_users, date_ranges, for_queues, wrapup_codes, time_allowed].hash
128
116
  end
129
117
 
130
118
  # build the object from hash