purecloudplatformclientv2 28.0.1 → 29.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/AnalyticsApi.md +114 -0
  6. data/docs/ArchitectApi.md +4 -4
  7. data/docs/AttemptLimitsEntityListing.md +1 -1
  8. data/docs/AttributeEntityListing.md +1 -1
  9. data/docs/AuthorizationApi.md +66 -0
  10. data/docs/AuthzTypedObject.md +14 -0
  11. data/docs/CalibrationEntityListing.md +1 -1
  12. data/docs/CallConversationEntityListing.md +1 -1
  13. data/docs/CallHistoryConversationEntityListing.md +1 -1
  14. data/docs/CallableTimeSetEntityListing.md +1 -1
  15. data/docs/CallbackConversationEntityListing.md +1 -1
  16. data/docs/CampaignEntityListing.md +1 -1
  17. data/docs/CampaignRuleEntityListing.md +1 -1
  18. data/docs/CampaignSequenceEntityListing.md +1 -1
  19. data/docs/CertificateAuthorityEntityListing.md +1 -1
  20. data/docs/CertificateDetails.md +1 -1
  21. data/docs/ChatConversationEntityListing.md +1 -1
  22. data/docs/CobrowseConversationEntityListing.md +1 -1
  23. data/docs/CommandStatusEntityListing.md +1 -1
  24. data/docs/ConsumedResourcesEntityListing.md +1 -1
  25. data/docs/ConsumingResourcesEntityListing.md +1 -1
  26. data/docs/ContactListEntityListing.md +1 -1
  27. data/docs/ContactListFilterEntityListing.md +1 -1
  28. data/docs/ContactListing.md +1 -1
  29. data/docs/ConversationEntityListing.md +1 -1
  30. data/docs/DIDEntityListing.md +1 -1
  31. data/docs/DIDPoolEntityListing.md +1 -1
  32. data/docs/DataColumn.md +14 -0
  33. data/docs/DataTableRowEntityListing.md +1 -1
  34. data/docs/DataTablesDomainEntityListing.md +1 -1
  35. data/docs/DependencyObjectEntityListing.md +1 -1
  36. data/docs/DependencyTypeEntityListing.md +1 -1
  37. data/docs/DialerEventEntityListing.md +1 -1
  38. data/docs/DirectoryUserDevicesListing.md +1 -1
  39. data/docs/DncListEntityListing.md +1 -1
  40. data/docs/DocumentAuditEntityListing.md +1 -1
  41. data/docs/DocumentEntityListing.md +1 -1
  42. data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
  43. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  44. data/docs/DomainEntityListing.md +1 -1
  45. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  46. data/docs/DomainEntityListingQueryResult.md +1 -1
  47. data/docs/DomainEntityListingSurveyForm.md +1 -1
  48. data/docs/EdgeEntityListing.md +1 -1
  49. data/docs/EdgeGroupEntityListing.md +1 -1
  50. data/docs/EdgeLineEntityListing.md +1 -1
  51. data/docs/EmailConversationEntityListing.md +1 -1
  52. data/docs/EmailMessageListing.md +1 -1
  53. data/docs/EncryptionKeyEntityListing.md +1 -1
  54. data/docs/EndpointEntityListing.md +1 -1
  55. data/docs/EvaluationEntityListing.md +1 -1
  56. data/docs/EvaluationFormEntityListing.md +1 -1
  57. data/docs/EvaluatorActivityEntityListing.md +1 -1
  58. data/docs/ExtensionEntityListing.md +1 -1
  59. data/docs/ExtensionPoolEntityListing.md +1 -1
  60. data/docs/ExternalOrganizationListing.md +1 -1
  61. data/docs/FaxDocumentEntityListing.md +1 -1
  62. data/docs/FlowEntityListing.md +1 -1
  63. data/docs/FlowVersionEntityListing.md +1 -1
  64. data/docs/FreeSeatingConfiguration.md +14 -0
  65. data/docs/GreetingListing.md +1 -1
  66. data/docs/Group.md +1 -0
  67. data/docs/GroupCreate.md +26 -0
  68. data/docs/GroupEntityListing.md +1 -1
  69. data/docs/GroupUpdate.md +1 -0
  70. data/docs/GroupsApi.md +2 -2
  71. data/docs/IVREntityListing.md +1 -1
  72. data/docs/InboundDomainEntityListing.md +1 -1
  73. data/docs/InboundRouteEntityListing.md +1 -1
  74. data/docs/InteractionStatsAlertContainer.md +1 -1
  75. data/docs/InteractionStatsRuleContainer.md +1 -1
  76. data/docs/KeywordSetEntityListing.md +1 -1
  77. data/docs/LanguageEntityListing.md +1 -1
  78. data/docs/LibraryEntityListing.md +1 -1
  79. data/docs/LineBaseEntityListing.md +1 -1
  80. data/docs/LineEntityListing.md +1 -1
  81. data/docs/LocationEntityListing.md +1 -1
  82. data/docs/LogicalInterfaceEntityListing.md +1 -1
  83. data/docs/ManagementUnitListing.md +1 -1
  84. data/docs/MessageConversationEntityListing.md +1 -1
  85. data/docs/NoteListing.md +1 -1
  86. data/docs/NotificationsApi.md +1 -1
  87. data/docs/OAuthClientEntityListing.md +1 -1
  88. data/docs/OAuthProviderEntityListing.md +1 -1
  89. data/docs/ObjectsApi.md +66 -0
  90. data/docs/OrganizationPresenceEntityListing.md +1 -1
  91. data/docs/OrganizationRoleEntityListing.md +1 -1
  92. data/docs/OrphanRecordingListing.md +1 -1
  93. data/docs/OutboundApi.md +4 -0
  94. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  95. data/docs/OutboundRouteEntityListing.md +1 -1
  96. data/docs/PermissionCollectionEntityListing.md +1 -1
  97. data/docs/PhoneBaseEntityListing.md +1 -1
  98. data/docs/PhoneEntityListing.md +1 -1
  99. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  100. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  101. data/docs/PolicyEntityListing.md +1 -1
  102. data/docs/PromptAssetEntityListing.md +1 -1
  103. data/docs/PromptEntityListing.md +1 -1
  104. data/docs/QualityAuditPage.md +1 -1
  105. data/docs/Question.md +1 -1
  106. data/docs/QueueEntityListing.md +1 -1
  107. data/docs/QueueMemberEntityListing.md +1 -1
  108. data/docs/RecipientListing.md +1 -1
  109. data/docs/RelationshipListing.md +1 -1
  110. data/docs/ReportMetaDataEntityListing.md +1 -1
  111. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  112. data/docs/ReportScheduleEntityListing.md +1 -1
  113. data/docs/ReportingExportJobListing.md +22 -0
  114. data/docs/ReportingExportJobRequest.md +21 -0
  115. data/docs/ReportingExportJobResponse.md +28 -0
  116. data/docs/ResponseEntityList.md +1 -1
  117. data/docs/ResponseEntityListing.md +1 -1
  118. data/docs/ResponseSetEntityListing.md +1 -1
  119. data/docs/RuleSetEntityListing.md +1 -1
  120. data/docs/ScheduleEntityListing.md +1 -1
  121. data/docs/ScheduleGroupEntityListing.md +1 -1
  122. data/docs/SchemaCategoryEntityListing.md +1 -1
  123. data/docs/SchemaReferenceEntityListing.md +1 -1
  124. data/docs/ScreenRecordingSessionListing.md +1 -1
  125. data/docs/ScriptEntityListing.md +1 -1
  126. data/docs/SecurityProfileEntityListing.md +1 -1
  127. data/docs/ShareEntityListing.md +1 -1
  128. data/docs/SiteEntityListing.md +1 -1
  129. data/docs/SkillEntityListing.md +1 -1
  130. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  131. data/docs/StationEntityListing.md +1 -1
  132. data/docs/StationSettings.md +13 -0
  133. data/docs/StationsApi.md +114 -0
  134. data/docs/SurveyFormEntityListing.md +1 -1
  135. data/docs/SystemPromptAssetEntityListing.md +1 -1
  136. data/docs/SystemPromptEntityListing.md +1 -1
  137. data/docs/TagValueEntityListing.md +1 -1
  138. data/docs/TextMessageListing.md +1 -1
  139. data/docs/TimeZone.md +4 -4
  140. data/docs/TimeZoneEntityListing.md +1 -1
  141. data/docs/TrunkBaseEntityListing.md +1 -1
  142. data/docs/TrunkEntityListing.md +1 -1
  143. data/docs/TrunkMetabaseEntityListing.md +1 -1
  144. data/docs/TrustEntityListing.md +1 -1
  145. data/docs/TrustGroup.md +1 -0
  146. data/docs/TrustUserEntityListing.md +1 -1
  147. data/docs/TrustorEntityListing.md +1 -1
  148. data/docs/UserEntityListing.md +1 -1
  149. data/docs/UserProfileEntityListing.md +1 -1
  150. data/docs/UserQueueEntityListing.md +1 -1
  151. data/docs/UserRecordingEntityListing.md +1 -1
  152. data/docs/UserSkillEntityListing.md +1 -1
  153. data/docs/ViewFilter.md +23 -0
  154. data/docs/VoicemailMessageEntityListing.md +1 -1
  155. data/docs/WorkspaceEntityListing.md +1 -1
  156. data/docs/WorkspaceMemberEntityListing.md +1 -1
  157. data/docs/WrapupCodeEntityListing.md +1 -1
  158. data/lib/purecloudplatformclientv2.rb +9 -0
  159. data/lib/purecloudplatformclientv2/api/analytics_api.rb +120 -0
  160. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  161. data/lib/purecloudplatformclientv2/api/authorization_api.rb +90 -0
  162. data/lib/purecloudplatformclientv2/api/notifications_api.rb +2 -2
  163. data/lib/purecloudplatformclientv2/api/objects_api.rb +90 -0
  164. data/lib/purecloudplatformclientv2/api/outbound_api.rb +18 -0
  165. data/lib/purecloudplatformclientv2/api/stations_api.rb +120 -0
  166. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  167. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  168. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  169. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  170. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +12 -12
  171. data/lib/purecloudplatformclientv2/models/authz_typed_object.rb +252 -0
  172. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  173. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  174. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  175. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  176. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  177. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  178. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  179. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  180. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  181. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  182. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  183. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  184. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  185. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  186. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  187. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  188. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  189. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  190. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  191. data/lib/purecloudplatformclientv2/models/data_column.rb +252 -0
  192. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  193. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  194. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  195. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  196. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  197. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  198. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  199. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  200. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  201. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  202. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  203. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
  204. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  205. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  206. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  207. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  208. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  209. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  210. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  211. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  212. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  213. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  214. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  215. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  218. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  219. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  220. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  221. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  222. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  223. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  224. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  225. data/lib/purecloudplatformclientv2/models/free_seating_configuration.rb +228 -0
  226. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  227. data/lib/purecloudplatformclientv2/models/group.rb +29 -1
  228. data/lib/purecloudplatformclientv2/models/group_create.rb +605 -0
  229. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  230. data/lib/purecloudplatformclientv2/models/group_update.rb +31 -3
  231. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  232. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  233. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  234. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  235. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  236. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  237. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  238. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  239. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  240. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  241. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  242. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  243. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  244. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  245. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  246. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  247. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  248. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  249. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  250. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  256. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  257. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  258. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  259. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  260. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  261. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  262. data/lib/purecloudplatformclientv2/models/question.rb +13 -13
  263. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  264. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  265. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  266. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  267. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  268. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  269. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  270. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +428 -0
  271. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +470 -0
  272. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +694 -0
  273. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  274. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  275. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  276. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  277. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  278. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  279. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  280. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  281. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  282. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  283. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  284. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  285. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  288. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  289. data/lib/purecloudplatformclientv2/models/station_settings.rb +203 -0
  290. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  291. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  292. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  293. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  294. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  295. data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -26
  296. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  297. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  298. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  299. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  300. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/trust_group.rb +29 -1
  302. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  303. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  304. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  306. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  307. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  308. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  309. data/lib/purecloudplatformclientv2/models/view_filter.rb +484 -0
  310. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  312. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  313. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  314. data/lib/purecloudplatformclientv2/version.rb +1 -1
  315. metadata +20 -2
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :previous_uri
34
34
 
35
- attr_accessor :next_uri
36
-
37
35
  attr_accessor :last_uri
38
36
 
37
+ attr_accessor :next_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'previous_uri' => :'previousUri',
58
58
 
59
- :'next_uri' => :'nextUri',
60
-
61
59
  :'last_uri' => :'lastUri',
62
60
 
61
+ :'next_uri' => :'nextUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -83,10 +83,10 @@ module PureCloud
83
83
 
84
84
  :'previous_uri' => :'String',
85
85
 
86
- :'next_uri' => :'String',
87
-
88
86
  :'last_uri' => :'String',
89
87
 
88
+ :'next_uri' => :'String',
89
+
90
90
  :'page_count' => :'Integer'
91
91
 
92
92
  }
@@ -166,19 +166,19 @@ module PureCloud
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'nextUri')
169
+ if attributes.has_key?(:'lastUri')
170
170
 
171
171
 
172
- self.next_uri = attributes[:'nextUri']
172
+ self.last_uri = attributes[:'lastUri']
173
173
 
174
174
 
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'lastUri')
178
+ if attributes.has_key?(:'nextUri')
179
179
 
180
180
 
181
- self.last_uri = attributes[:'lastUri']
181
+ self.next_uri = attributes[:'nextUri']
182
182
 
183
183
 
184
184
  end
@@ -313,8 +313,8 @@ module PureCloud
313
313
  self_uri == o.self_uri &&
314
314
  first_uri == o.first_uri &&
315
315
  previous_uri == o.previous_uri &&
316
- next_uri == o.next_uri &&
317
316
  last_uri == o.last_uri &&
317
+ next_uri == o.next_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
330
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -0,0 +1,484 @@
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@genesys.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 ViewFilter
21
+ # The media types used to filter the data export request
22
+ attr_accessor :media_types
23
+
24
+ # The queue ids used to filter the data export request
25
+ attr_accessor :queue_ids
26
+
27
+ # The skill ids used to filter the data export request
28
+ attr_accessor :skill_ids
29
+
30
+ # The language ids used to filter the data export request
31
+ attr_accessor :language_ids
32
+
33
+ # The directions used to filter the data export request
34
+ attr_accessor :directions
35
+
36
+ # The wrap up codes used to filter the data export request
37
+ attr_accessor :wrap_up_codes
38
+
39
+ # The dnis list used to filter the data export request
40
+ attr_accessor :dnis_list
41
+
42
+ # The user ids used to filter the data export request
43
+ attr_accessor :user_ids
44
+
45
+ # The address To values used to filter the data export request
46
+ attr_accessor :address_tos
47
+
48
+ # The outbound campaign ids used to filter the data export request
49
+ attr_accessor :outbound_campaign_ids
50
+
51
+ # The outbound contact list ids used to filter the data export request
52
+ attr_accessor :outbound_contact_list_ids
53
+
54
+ # Attribute mapping from ruby-style variable name to JSON key.
55
+ def self.attribute_map
56
+ {
57
+
58
+ :'media_types' => :'mediaTypes',
59
+
60
+ :'queue_ids' => :'queueIds',
61
+
62
+ :'skill_ids' => :'skillIds',
63
+
64
+ :'language_ids' => :'languageIds',
65
+
66
+ :'directions' => :'directions',
67
+
68
+ :'wrap_up_codes' => :'wrapUpCodes',
69
+
70
+ :'dnis_list' => :'dnisList',
71
+
72
+ :'user_ids' => :'userIds',
73
+
74
+ :'address_tos' => :'addressTos',
75
+
76
+ :'outbound_campaign_ids' => :'outboundCampaignIds',
77
+
78
+ :'outbound_contact_list_ids' => :'outboundContactListIds'
79
+
80
+ }
81
+ end
82
+
83
+ # Attribute type mapping.
84
+ def self.swagger_types
85
+ {
86
+
87
+ :'media_types' => :'Array<String>',
88
+
89
+ :'queue_ids' => :'Array<String>',
90
+
91
+ :'skill_ids' => :'Array<String>',
92
+
93
+ :'language_ids' => :'Array<String>',
94
+
95
+ :'directions' => :'Array<String>',
96
+
97
+ :'wrap_up_codes' => :'Array<String>',
98
+
99
+ :'dnis_list' => :'Array<String>',
100
+
101
+ :'user_ids' => :'Array<String>',
102
+
103
+ :'address_tos' => :'Array<String>',
104
+
105
+ :'outbound_campaign_ids' => :'Array<String>',
106
+
107
+ :'outbound_contact_list_ids' => :'Array<String>'
108
+
109
+ }
110
+ end
111
+
112
+ # Initializes the object
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ def initialize(attributes = {})
115
+ return unless attributes.is_a?(Hash)
116
+
117
+ # convert string to symbol for hash key
118
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
119
+
120
+
121
+ if attributes.has_key?(:'mediaTypes')
122
+
123
+ if (value = attributes[:'mediaTypes']).is_a?(Array)
124
+ self.media_types = value
125
+ end
126
+
127
+
128
+
129
+ end
130
+
131
+
132
+ if attributes.has_key?(:'queueIds')
133
+
134
+ if (value = attributes[:'queueIds']).is_a?(Array)
135
+ self.queue_ids = value
136
+ end
137
+
138
+
139
+
140
+ end
141
+
142
+
143
+ if attributes.has_key?(:'skillIds')
144
+
145
+ if (value = attributes[:'skillIds']).is_a?(Array)
146
+ self.skill_ids = value
147
+ end
148
+
149
+
150
+
151
+ end
152
+
153
+
154
+ if attributes.has_key?(:'languageIds')
155
+
156
+ if (value = attributes[:'languageIds']).is_a?(Array)
157
+ self.language_ids = value
158
+ end
159
+
160
+
161
+
162
+ end
163
+
164
+
165
+ if attributes.has_key?(:'directions')
166
+
167
+ if (value = attributes[:'directions']).is_a?(Array)
168
+ self.directions = value
169
+ end
170
+
171
+
172
+
173
+ end
174
+
175
+
176
+ if attributes.has_key?(:'wrapUpCodes')
177
+
178
+ if (value = attributes[:'wrapUpCodes']).is_a?(Array)
179
+ self.wrap_up_codes = value
180
+ end
181
+
182
+
183
+
184
+ end
185
+
186
+
187
+ if attributes.has_key?(:'dnisList')
188
+
189
+ if (value = attributes[:'dnisList']).is_a?(Array)
190
+ self.dnis_list = value
191
+ end
192
+
193
+
194
+
195
+ end
196
+
197
+
198
+ if attributes.has_key?(:'userIds')
199
+
200
+ if (value = attributes[:'userIds']).is_a?(Array)
201
+ self.user_ids = value
202
+ end
203
+
204
+
205
+
206
+ end
207
+
208
+
209
+ if attributes.has_key?(:'addressTos')
210
+
211
+ if (value = attributes[:'addressTos']).is_a?(Array)
212
+ self.address_tos = value
213
+ end
214
+
215
+
216
+
217
+ end
218
+
219
+
220
+ if attributes.has_key?(:'outboundCampaignIds')
221
+
222
+ if (value = attributes[:'outboundCampaignIds']).is_a?(Array)
223
+ self.outbound_campaign_ids = value
224
+ end
225
+
226
+
227
+
228
+ end
229
+
230
+
231
+ if attributes.has_key?(:'outboundContactListIds')
232
+
233
+ if (value = attributes[:'outboundContactListIds']).is_a?(Array)
234
+ self.outbound_contact_list_ids = value
235
+ end
236
+
237
+
238
+
239
+ end
240
+
241
+
242
+ end
243
+
244
+ # Show invalid properties with the reasons. Usually used together with valid?
245
+ # @return Array for valid properies with the reasons
246
+ def list_invalid_properties
247
+ invalid_properties = Array.new
248
+
249
+
250
+ return invalid_properties
251
+ end
252
+
253
+ # Check to see if the all the properties in the model are valid
254
+ # @return true if the model is valid
255
+ def valid?
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ end
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ # Checks equality by comparing each attribute.
360
+ # @param [Object] Object to be compared
361
+ def ==(o)
362
+ return true if self.equal?(o)
363
+ self.class == o.class &&
364
+ media_types == o.media_types &&
365
+ queue_ids == o.queue_ids &&
366
+ skill_ids == o.skill_ids &&
367
+ language_ids == o.language_ids &&
368
+ directions == o.directions &&
369
+ wrap_up_codes == o.wrap_up_codes &&
370
+ dnis_list == o.dnis_list &&
371
+ user_ids == o.user_ids &&
372
+ address_tos == o.address_tos &&
373
+ outbound_campaign_ids == o.outbound_campaign_ids &&
374
+ outbound_contact_list_ids == o.outbound_contact_list_ids
375
+ end
376
+
377
+ # @see the `==` method
378
+ # @param [Object] Object to be compared
379
+ def eql?(o)
380
+ self == o
381
+ end
382
+
383
+ # Calculates hash code according to all attributes.
384
+ # @return [Fixnum] Hash code
385
+ def hash
386
+ [media_types, queue_ids, skill_ids, language_ids, directions, wrap_up_codes, dnis_list, user_ids, address_tos, outbound_campaign_ids, outbound_contact_list_ids].hash
387
+ end
388
+
389
+ # build the object from hash
390
+ def build_from_hash(attributes)
391
+ return nil unless attributes.is_a?(Hash)
392
+ self.class.swagger_types.each_pair do |key, type|
393
+ if type =~ /^Array<(.*)>/i
394
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
395
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
396
+ else
397
+ #TODO show warning in debug mode
398
+ end
399
+ elsif !attributes[self.class.attribute_map[key]].nil?
400
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
401
+ else
402
+ # data not found in attributes(hash), not an issue as the data can be optional
403
+ end
404
+ end
405
+
406
+ self
407
+ end
408
+
409
+ def _deserialize(type, value)
410
+ case type.to_sym
411
+ when :DateTime
412
+ DateTime.parse(value)
413
+ when :Date
414
+ Date.parse(value)
415
+ when :String
416
+ value.to_s
417
+ when :Integer
418
+ value.to_i
419
+ when :Float
420
+ value.to_f
421
+ when :BOOLEAN
422
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
423
+ true
424
+ else
425
+ false
426
+ end
427
+ when :Object
428
+ # generic object (usually a Hash), return directly
429
+ value
430
+ when /\AArray<(?<inner_type>.+)>\z/
431
+ inner_type = Regexp.last_match[:inner_type]
432
+ value.map { |v| _deserialize(inner_type, v) }
433
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
434
+ k_type = Regexp.last_match[:k_type]
435
+ v_type = Regexp.last_match[:v_type]
436
+ {}.tap do |hash|
437
+ value.each do |k, v|
438
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
439
+ end
440
+ end
441
+ else # model
442
+ _model = Object.const_get("PureCloud").const_get(type).new
443
+ _model.build_from_hash(value)
444
+ end
445
+ end
446
+
447
+ def to_s
448
+ to_hash.to_s
449
+ end
450
+
451
+ # to_body is an alias to to_body (backward compatibility))
452
+ def to_body
453
+ to_hash
454
+ end
455
+
456
+ # return the object in the form of hash
457
+ def to_hash
458
+ hash = {}
459
+ self.class.attribute_map.each_pair do |attr, param|
460
+ value = self.send(attr)
461
+ next if value.nil?
462
+ hash[param] = _to_hash(value)
463
+ end
464
+ hash
465
+ end
466
+
467
+ # Method to output non-array value in the form of hash
468
+ # For object, use to_hash. Otherwise, just return the value
469
+ def _to_hash(value)
470
+ if value.is_a?(Array)
471
+ value.compact.map{ |v| _to_hash(v) }
472
+ elsif value.is_a?(Hash)
473
+ {}.tap do |hash|
474
+ value.each { |k, v| hash[k] = _to_hash(v) }
475
+ end
476
+ elsif value.respond_to? :to_hash
477
+ value.to_hash
478
+ else
479
+ value
480
+ end
481
+ end
482
+
483
+ end
484
+ end