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
@@ -0,0 +1,694 @@
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 ReportingExportJobResponse
21
+ # The globally unique identifier for the object.
22
+ attr_accessor :id
23
+
24
+ attr_accessor :name
25
+
26
+ # The current status of the export request
27
+ attr_accessor :status
28
+
29
+ # The requested timezone of the exported data
30
+ attr_accessor :time_zone
31
+
32
+ # The requested format of the exported data
33
+ attr_accessor :export_format
34
+
35
+ # The time period used to limit the the exported data. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
36
+ attr_accessor :interval
37
+
38
+ # The data columns included in the export
39
+ attr_accessor :data_columns
40
+
41
+ # The url to download the request if it's status is completed
42
+ attr_accessor :download_url
43
+
44
+ # The type of view export job to be created
45
+ attr_accessor :view_type
46
+
47
+ # The error message in case the export request failed
48
+ attr_accessor :export_error_messages_type
49
+
50
+ # The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H
51
+ attr_accessor :period
52
+
53
+ # Filters to apply to create the view
54
+ attr_accessor :filter
55
+
56
+ # Indicates if the request has been marked as read
57
+ attr_accessor :read
58
+
59
+ # The created date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
60
+ attr_accessor :created_date_time
61
+
62
+ # The last modified date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
63
+ attr_accessor :modified_date_time
64
+
65
+ # The URI for this object
66
+ attr_accessor :self_uri
67
+
68
+ # Attribute mapping from ruby-style variable name to JSON key.
69
+ def self.attribute_map
70
+ {
71
+
72
+ :'id' => :'id',
73
+
74
+ :'name' => :'name',
75
+
76
+ :'status' => :'status',
77
+
78
+ :'time_zone' => :'timeZone',
79
+
80
+ :'export_format' => :'exportFormat',
81
+
82
+ :'interval' => :'interval',
83
+
84
+ :'data_columns' => :'dataColumns',
85
+
86
+ :'download_url' => :'downloadUrl',
87
+
88
+ :'view_type' => :'viewType',
89
+
90
+ :'export_error_messages_type' => :'exportErrorMessagesType',
91
+
92
+ :'period' => :'period',
93
+
94
+ :'filter' => :'filter',
95
+
96
+ :'read' => :'read',
97
+
98
+ :'created_date_time' => :'createdDateTime',
99
+
100
+ :'modified_date_time' => :'modifiedDateTime',
101
+
102
+ :'self_uri' => :'selfUri'
103
+
104
+ }
105
+ end
106
+
107
+ # Attribute type mapping.
108
+ def self.swagger_types
109
+ {
110
+
111
+ :'id' => :'String',
112
+
113
+ :'name' => :'String',
114
+
115
+ :'status' => :'String',
116
+
117
+ :'time_zone' => :'TimeZone',
118
+
119
+ :'export_format' => :'String',
120
+
121
+ :'interval' => :'String',
122
+
123
+ :'data_columns' => :'Array<DataColumn>',
124
+
125
+ :'download_url' => :'String',
126
+
127
+ :'view_type' => :'String',
128
+
129
+ :'export_error_messages_type' => :'String',
130
+
131
+ :'period' => :'String',
132
+
133
+ :'filter' => :'ViewFilter',
134
+
135
+ :'read' => :'BOOLEAN',
136
+
137
+ :'created_date_time' => :'DateTime',
138
+
139
+ :'modified_date_time' => :'DateTime',
140
+
141
+ :'self_uri' => :'String'
142
+
143
+ }
144
+ end
145
+
146
+ # Initializes the object
147
+ # @param [Hash] attributes Model attributes in the form of hash
148
+ def initialize(attributes = {})
149
+ return unless attributes.is_a?(Hash)
150
+
151
+ # convert string to symbol for hash key
152
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
153
+
154
+
155
+ if attributes.has_key?(:'id')
156
+
157
+
158
+ self.id = attributes[:'id']
159
+
160
+
161
+ end
162
+
163
+
164
+ if attributes.has_key?(:'name')
165
+
166
+
167
+ self.name = attributes[:'name']
168
+
169
+
170
+ end
171
+
172
+
173
+ if attributes.has_key?(:'status')
174
+
175
+
176
+ self.status = attributes[:'status']
177
+
178
+
179
+ end
180
+
181
+
182
+ if attributes.has_key?(:'timeZone')
183
+
184
+
185
+ self.time_zone = attributes[:'timeZone']
186
+
187
+
188
+ end
189
+
190
+
191
+ if attributes.has_key?(:'exportFormat')
192
+
193
+
194
+ self.export_format = attributes[:'exportFormat']
195
+
196
+
197
+ end
198
+
199
+
200
+ if attributes.has_key?(:'interval')
201
+
202
+
203
+ self.interval = attributes[:'interval']
204
+
205
+
206
+ end
207
+
208
+
209
+ if attributes.has_key?(:'dataColumns')
210
+
211
+ if (value = attributes[:'dataColumns']).is_a?(Array)
212
+ self.data_columns = value
213
+ end
214
+
215
+
216
+
217
+ end
218
+
219
+
220
+ if attributes.has_key?(:'downloadUrl')
221
+
222
+
223
+ self.download_url = attributes[:'downloadUrl']
224
+
225
+
226
+ end
227
+
228
+
229
+ if attributes.has_key?(:'viewType')
230
+
231
+
232
+ self.view_type = attributes[:'viewType']
233
+
234
+
235
+ end
236
+
237
+
238
+ if attributes.has_key?(:'exportErrorMessagesType')
239
+
240
+
241
+ self.export_error_messages_type = attributes[:'exportErrorMessagesType']
242
+
243
+
244
+ end
245
+
246
+
247
+ if attributes.has_key?(:'period')
248
+
249
+
250
+ self.period = attributes[:'period']
251
+
252
+
253
+ end
254
+
255
+
256
+ if attributes.has_key?(:'filter')
257
+
258
+
259
+ self.filter = attributes[:'filter']
260
+
261
+
262
+ end
263
+
264
+
265
+ if attributes.has_key?(:'read')
266
+
267
+
268
+ self.read = attributes[:'read']
269
+
270
+
271
+ end
272
+
273
+
274
+ if attributes.has_key?(:'createdDateTime')
275
+
276
+
277
+ self.created_date_time = attributes[:'createdDateTime']
278
+
279
+
280
+ end
281
+
282
+
283
+ if attributes.has_key?(:'modifiedDateTime')
284
+
285
+
286
+ self.modified_date_time = attributes[:'modifiedDateTime']
287
+
288
+
289
+ end
290
+
291
+
292
+ if attributes.has_key?(:'selfUri')
293
+
294
+
295
+ self.self_uri = attributes[:'selfUri']
296
+
297
+
298
+ end
299
+
300
+
301
+ end
302
+
303
+ # Show invalid properties with the reasons. Usually used together with valid?
304
+ # @return Array for valid properies with the reasons
305
+ def list_invalid_properties
306
+ invalid_properties = Array.new
307
+
308
+
309
+ return invalid_properties
310
+ end
311
+
312
+ # Check to see if the all the properties in the model are valid
313
+ # @return true if the model is valid
314
+ def valid?
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+ if @status.nil?
326
+ return false
327
+ end
328
+
329
+
330
+
331
+ allowed_values = ["SUBMITTED", "RUNNING", "COMPLETED", "FAILED"]
332
+ if @status && !allowed_values.include?(@status)
333
+ return false
334
+ end
335
+
336
+
337
+
338
+
339
+ if @time_zone.nil?
340
+ return false
341
+ end
342
+
343
+
344
+
345
+
346
+
347
+
348
+ if @export_format.nil?
349
+ return false
350
+ end
351
+
352
+
353
+
354
+ allowed_values = ["CSV"]
355
+ if @export_format && !allowed_values.include?(@export_format)
356
+ return false
357
+ end
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+ if @data_columns.nil?
367
+ return false
368
+ end
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ if @view_type.nil?
380
+ return false
381
+ end
382
+
383
+
384
+
385
+ allowed_values = ["QUEUE_PERFORMANCE_SUMMARY_VIEW", "QUEUE_PERFORMANCE_DETAIL_VIEW"]
386
+ if @view_type && !allowed_values.include?(@view_type)
387
+ return false
388
+ end
389
+
390
+
391
+
392
+
393
+
394
+ allowed_values = ["FAILED_CONVERTING_EXPORT_JOB", "FAILED_NO_DATA_EXPORT_JOB_FOUND", "FAILED_GETTING_DATA_FROM_SERVICE", "FAILED_GENERATING_TEMP_FILE", "FAILED_SAVING_FILE_TO_S3", "FAILED_NOTIFYING_SKYWALKER_OF_DOWNLOAD", "FAILED_BUILDING_DOWNLOAD_URL_FROM_SKYWALKER_RESPONSE", "FAILED_CONVERTING_EXPORT_JOB_TO_QUEUE_PERFORMANCE_JOB", "EXPORT_TYPE_NOT_IMPLEMENTED"]
395
+ if @export_error_messages_type && !allowed_values.include?(@export_error_messages_type)
396
+ return false
397
+ end
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+ if @filter.nil?
407
+ return false
408
+ end
409
+
410
+
411
+
412
+
413
+
414
+
415
+ if @read.nil?
416
+ return false
417
+ end
418
+
419
+
420
+
421
+
422
+
423
+
424
+ if @created_date_time.nil?
425
+ return false
426
+ end
427
+
428
+
429
+
430
+
431
+
432
+
433
+ if @modified_date_time.nil?
434
+ return false
435
+ end
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+ end
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+ # Custom attribute writer method checking allowed values (enum).
460
+ # @param [Object] status Object to be assigned
461
+ def status=(status)
462
+ allowed_values = ["SUBMITTED", "RUNNING", "COMPLETED", "FAILED"]
463
+ if status && !allowed_values.include?(status)
464
+ fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
465
+ end
466
+ @status = status
467
+ end
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+ # Custom attribute writer method checking allowed values (enum).
479
+ # @param [Object] export_format Object to be assigned
480
+ def export_format=(export_format)
481
+ allowed_values = ["CSV"]
482
+ if export_format && !allowed_values.include?(export_format)
483
+ fail ArgumentError, "invalid value for 'export_format', must be one of #{allowed_values}."
484
+ end
485
+ @export_format = export_format
486
+ end
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ # Custom attribute writer method checking allowed values (enum).
508
+ # @param [Object] view_type Object to be assigned
509
+ def view_type=(view_type)
510
+ allowed_values = ["QUEUE_PERFORMANCE_SUMMARY_VIEW", "QUEUE_PERFORMANCE_DETAIL_VIEW"]
511
+ if view_type && !allowed_values.include?(view_type)
512
+ fail ArgumentError, "invalid value for 'view_type', must be one of #{allowed_values}."
513
+ end
514
+ @view_type = view_type
515
+ end
516
+
517
+
518
+
519
+
520
+
521
+ # Custom attribute writer method checking allowed values (enum).
522
+ # @param [Object] export_error_messages_type Object to be assigned
523
+ def export_error_messages_type=(export_error_messages_type)
524
+ allowed_values = ["FAILED_CONVERTING_EXPORT_JOB", "FAILED_NO_DATA_EXPORT_JOB_FOUND", "FAILED_GETTING_DATA_FROM_SERVICE", "FAILED_GENERATING_TEMP_FILE", "FAILED_SAVING_FILE_TO_S3", "FAILED_NOTIFYING_SKYWALKER_OF_DOWNLOAD", "FAILED_BUILDING_DOWNLOAD_URL_FROM_SKYWALKER_RESPONSE", "FAILED_CONVERTING_EXPORT_JOB_TO_QUEUE_PERFORMANCE_JOB", "EXPORT_TYPE_NOT_IMPLEMENTED"]
525
+ if export_error_messages_type && !allowed_values.include?(export_error_messages_type)
526
+ fail ArgumentError, "invalid value for 'export_error_messages_type', must be one of #{allowed_values}."
527
+ end
528
+ @export_error_messages_type = export_error_messages_type
529
+ end
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+ # Checks equality by comparing each attribute.
565
+ # @param [Object] Object to be compared
566
+ def ==(o)
567
+ return true if self.equal?(o)
568
+ self.class == o.class &&
569
+ id == o.id &&
570
+ name == o.name &&
571
+ status == o.status &&
572
+ time_zone == o.time_zone &&
573
+ export_format == o.export_format &&
574
+ interval == o.interval &&
575
+ data_columns == o.data_columns &&
576
+ download_url == o.download_url &&
577
+ view_type == o.view_type &&
578
+ export_error_messages_type == o.export_error_messages_type &&
579
+ period == o.period &&
580
+ filter == o.filter &&
581
+ read == o.read &&
582
+ created_date_time == o.created_date_time &&
583
+ modified_date_time == o.modified_date_time &&
584
+ self_uri == o.self_uri
585
+ end
586
+
587
+ # @see the `==` method
588
+ # @param [Object] Object to be compared
589
+ def eql?(o)
590
+ self == o
591
+ end
592
+
593
+ # Calculates hash code according to all attributes.
594
+ # @return [Fixnum] Hash code
595
+ def hash
596
+ [id, name, status, time_zone, export_format, interval, data_columns, download_url, view_type, export_error_messages_type, period, filter, read, created_date_time, modified_date_time, self_uri].hash
597
+ end
598
+
599
+ # build the object from hash
600
+ def build_from_hash(attributes)
601
+ return nil unless attributes.is_a?(Hash)
602
+ self.class.swagger_types.each_pair do |key, type|
603
+ if type =~ /^Array<(.*)>/i
604
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
605
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
606
+ else
607
+ #TODO show warning in debug mode
608
+ end
609
+ elsif !attributes[self.class.attribute_map[key]].nil?
610
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
611
+ else
612
+ # data not found in attributes(hash), not an issue as the data can be optional
613
+ end
614
+ end
615
+
616
+ self
617
+ end
618
+
619
+ def _deserialize(type, value)
620
+ case type.to_sym
621
+ when :DateTime
622
+ DateTime.parse(value)
623
+ when :Date
624
+ Date.parse(value)
625
+ when :String
626
+ value.to_s
627
+ when :Integer
628
+ value.to_i
629
+ when :Float
630
+ value.to_f
631
+ when :BOOLEAN
632
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
633
+ true
634
+ else
635
+ false
636
+ end
637
+ when :Object
638
+ # generic object (usually a Hash), return directly
639
+ value
640
+ when /\AArray<(?<inner_type>.+)>\z/
641
+ inner_type = Regexp.last_match[:inner_type]
642
+ value.map { |v| _deserialize(inner_type, v) }
643
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
644
+ k_type = Regexp.last_match[:k_type]
645
+ v_type = Regexp.last_match[:v_type]
646
+ {}.tap do |hash|
647
+ value.each do |k, v|
648
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
649
+ end
650
+ end
651
+ else # model
652
+ _model = Object.const_get("PureCloud").const_get(type).new
653
+ _model.build_from_hash(value)
654
+ end
655
+ end
656
+
657
+ def to_s
658
+ to_hash.to_s
659
+ end
660
+
661
+ # to_body is an alias to to_body (backward compatibility))
662
+ def to_body
663
+ to_hash
664
+ end
665
+
666
+ # return the object in the form of hash
667
+ def to_hash
668
+ hash = {}
669
+ self.class.attribute_map.each_pair do |attr, param|
670
+ value = self.send(attr)
671
+ next if value.nil?
672
+ hash[param] = _to_hash(value)
673
+ end
674
+ hash
675
+ end
676
+
677
+ # Method to output non-array value in the form of hash
678
+ # For object, use to_hash. Otherwise, just return the value
679
+ def _to_hash(value)
680
+ if value.is_a?(Array)
681
+ value.compact.map{ |v| _to_hash(v) }
682
+ elsif value.is_a?(Hash)
683
+ {}.tap do |hash|
684
+ value.each { |k, v| hash[k] = _to_hash(v) }
685
+ end
686
+ elsif value.respond_to? :to_hash
687
+ value.to_hash
688
+ else
689
+ value
690
+ end
691
+ end
692
+
693
+ end
694
+ end