purecloudplatformclientv2 32.0.0 → 33.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +2 -2
  4. data/docs/AdminTimeOffRequestPatch.md +19 -0
  5. data/docs/AgentActivityEntityListing.md +2 -2
  6. data/docs/AttemptLimitsEntityListing.md +2 -2
  7. data/docs/AttributeEntityListing.md +2 -2
  8. data/docs/AuthorizationApi.md +6 -6
  9. data/docs/AuthzDivision.md +18 -0
  10. data/docs/AvailableTopic.md +1 -1
  11. data/docs/CalibrationEntityListing.md +2 -2
  12. data/docs/CallConversationEntityListing.md +2 -2
  13. data/docs/CallHistoryConversationEntityListing.md +2 -2
  14. data/docs/CallHistoryParticipant.md +1 -0
  15. data/docs/CallableTimeSetEntityListing.md +2 -2
  16. data/docs/CallbackConversationEntityListing.md +2 -2
  17. data/docs/Campaign.md +1 -0
  18. data/docs/CampaignDiagnostics.md +1 -0
  19. data/docs/CampaignEntityListing.md +2 -2
  20. data/docs/CampaignRuleEntityListing.md +2 -2
  21. data/docs/CampaignSequenceEntityListing.md +2 -2
  22. data/docs/CertificateAuthorityEntityListing.md +2 -2
  23. data/docs/CertificateDetails.md +1 -1
  24. data/docs/Channel.md +1 -1
  25. data/docs/ChannelTopic.md +1 -1
  26. data/docs/ChatConversationEntityListing.md +2 -2
  27. data/docs/ClientAppEntityListing.md +2 -2
  28. data/docs/CobrowseConversationEntityListing.md +2 -2
  29. data/docs/CommandStatusEntityListing.md +2 -2
  30. data/docs/ConsumedResourcesEntityListing.md +2 -2
  31. data/docs/ConsumingResourcesEntityListing.md +2 -2
  32. data/docs/ContactColumnTimeZone.md +2 -0
  33. data/docs/ContactList.md +3 -1
  34. data/docs/ContactListEntityListing.md +2 -2
  35. data/docs/ContactListFilterEntityListing.md +2 -2
  36. data/docs/ContactListing.md +2 -2
  37. data/docs/ContactPhoneNumberColumn.md +1 -1
  38. data/docs/ConversationEntityListing.md +2 -2
  39. data/docs/CredentialInfoListing.md +2 -2
  40. data/docs/CredentialTypeListing.md +2 -2
  41. data/docs/DIDEntityListing.md +2 -2
  42. data/docs/DIDPoolEntityListing.md +2 -2
  43. data/docs/DataTableRowEntityListing.md +2 -2
  44. data/docs/DataTablesDomainEntityListing.md +2 -2
  45. data/docs/DependencyObjectEntityListing.md +2 -2
  46. data/docs/DependencyTypeEntityListing.md +2 -2
  47. data/docs/DialerAction.md +1 -1
  48. data/docs/DialerContact.md +1 -0
  49. data/docs/DialerEventEntityListing.md +2 -2
  50. data/docs/Digits.md +1 -1
  51. data/docs/DirectoryUserDevicesListing.md +2 -2
  52. data/docs/DncListEntityListing.md +2 -2
  53. data/docs/DocumentAuditEntityListing.md +2 -2
  54. data/docs/DocumentEntityListing.md +2 -2
  55. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  56. data/docs/DomainEntityListing.md +2 -2
  57. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  58. data/docs/DomainEntityListingQueryResult.md +2 -2
  59. data/docs/DomainEntityListingSurveyForm.md +2 -2
  60. data/docs/DomainOrganizationRole.md +1 -1
  61. data/docs/DomainOrganizationRoleCreate.md +1 -1
  62. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  63. data/docs/DomainPermission.md +1 -0
  64. data/docs/EdgeEntityListing.md +2 -2
  65. data/docs/EdgeGroupEntityListing.md +2 -2
  66. data/docs/EdgeLineEntityListing.md +2 -2
  67. data/docs/EmailConversationEntityListing.md +2 -2
  68. data/docs/EmailMessageListing.md +2 -2
  69. data/docs/EmergencyGroupListing.md +2 -2
  70. data/docs/EncryptionKeyEntityListing.md +2 -2
  71. data/docs/EndpointEntityListing.md +2 -2
  72. data/docs/EvaluationEntityListing.md +2 -2
  73. data/docs/EvaluationFormEntityListing.md +2 -2
  74. data/docs/EvaluatorActivityEntityListing.md +2 -2
  75. data/docs/ExtensionEntityListing.md +2 -2
  76. data/docs/ExtensionPoolEntityListing.md +2 -2
  77. data/docs/ExternalContact.md +1 -1
  78. data/docs/ExternalOrganization.md +1 -1
  79. data/docs/ExternalOrganizationListing.md +2 -2
  80. data/docs/FaxDocumentEntityListing.md +2 -2
  81. data/docs/Flow.md +1 -0
  82. data/docs/FlowEntityListing.md +2 -2
  83. data/docs/FlowVersionEntityListing.md +2 -2
  84. data/docs/GreetingListing.md +2 -2
  85. data/docs/GroupEntityListing.md +2 -2
  86. data/docs/GroupProfileEntityListing.md +2 -2
  87. data/docs/GroupsApi.md +2 -2
  88. data/docs/IVREntityListing.md +2 -2
  89. data/docs/InboundDomainEntityListing.md +2 -2
  90. data/docs/InboundRouteEntityListing.md +2 -2
  91. data/docs/IntegrationEntityListing.md +2 -2
  92. data/docs/IntegrationEventEntityListing.md +2 -2
  93. data/docs/IntegrationTypeEntityListing.md +2 -2
  94. data/docs/IntegrationsApi.md +16 -16
  95. data/docs/InteractionStatsAlertContainer.md +2 -2
  96. data/docs/InteractionStatsRuleContainer.md +2 -2
  97. data/docs/JsonNode.md +3 -3
  98. data/docs/KeywordSetEntityListing.md +2 -2
  99. data/docs/LanguageEntityListing.md +2 -2
  100. data/docs/LibraryEntityListing.md +2 -2
  101. data/docs/LineBaseEntityListing.md +2 -2
  102. data/docs/LineEntityListing.md +2 -2
  103. data/docs/LocationEntityListing.md +2 -2
  104. data/docs/LogicalInterfaceEntityListing.md +2 -2
  105. data/docs/ManagementUnitListing.md +2 -2
  106. data/docs/MessageConversationEntityListing.md +2 -2
  107. data/docs/NoteListing.md +2 -2
  108. data/docs/OAuthClientEntityListing.md +2 -2
  109. data/docs/OAuthProviderEntityListing.md +2 -2
  110. data/docs/OrganizationPresenceEntityListing.md +2 -2
  111. data/docs/OrganizationRoleEntityListing.md +2 -2
  112. data/docs/OrphanRecordingListing.md +2 -2
  113. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  114. data/docs/OutboundRouteEntityListing.md +2 -2
  115. data/docs/OutboundSettings.md +2 -0
  116. data/docs/PermissionCollectionEntityListing.md +2 -2
  117. data/docs/PhoneBaseEntityListing.md +2 -2
  118. data/docs/PhoneEntityListing.md +2 -2
  119. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  120. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  121. data/docs/PolicyEntityListing.md +2 -2
  122. data/docs/PromptAssetEntityListing.md +2 -2
  123. data/docs/PromptEntityListing.md +2 -2
  124. data/docs/QualityApi.md +18 -18
  125. data/docs/QualityAuditPage.md +2 -2
  126. data/docs/QueueEntityListing.md +2 -2
  127. data/docs/QueueMemberEntityListing.md +2 -2
  128. data/docs/RecipientListing.md +2 -2
  129. data/docs/RecordingApi.md +4 -4
  130. data/docs/RelationshipListing.md +2 -2
  131. data/docs/ReportMetaDataEntityListing.md +2 -2
  132. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  133. data/docs/ReportScheduleEntityListing.md +2 -2
  134. data/docs/ReportingExportJobListing.md +2 -2
  135. data/docs/ResponseEntityList.md +2 -2
  136. data/docs/ResponseEntityListing.md +2 -2
  137. data/docs/ResponseSetEntityListing.md +2 -2
  138. data/docs/RoutingApi.md +2 -2
  139. data/docs/RuleSetEntityListing.md +2 -2
  140. data/docs/ScheduleEntityListing.md +2 -2
  141. data/docs/ScheduleGroupEntityListing.md +2 -2
  142. data/docs/SchemaCategoryEntityListing.md +2 -2
  143. data/docs/SchemaReferenceEntityListing.md +2 -2
  144. data/docs/ScreenRecordingSessionListing.md +2 -2
  145. data/docs/ScriptEntityListing.md +2 -2
  146. data/docs/SecurityProfileEntityListing.md +2 -2
  147. data/docs/ShareEntityListing.md +2 -2
  148. data/docs/SiteEntityListing.md +2 -2
  149. data/docs/SkillEntityListing.md +2 -2
  150. data/docs/SmsPhoneNumberEntityListing.md +2 -2
  151. data/docs/StationEntityListing.md +2 -2
  152. data/docs/SurveyFormEntityListing.md +2 -2
  153. data/docs/SystemPromptAssetEntityListing.md +2 -2
  154. data/docs/SystemPromptEntityListing.md +2 -2
  155. data/docs/TagValueEntityListing.md +2 -2
  156. data/docs/TextMessageListing.md +2 -2
  157. data/docs/TimeOffRequestList.md +1 -1
  158. data/docs/{TimeOffRequest.md → TimeOffRequestResponse.md} +15 -15
  159. data/docs/TimeZone.md +2 -2
  160. data/docs/TimeZoneEntityListing.md +2 -2
  161. data/docs/TrunkBaseEntityListing.md +2 -2
  162. data/docs/TrunkEntityListing.md +2 -2
  163. data/docs/TrunkMetabaseEntityListing.md +2 -2
  164. data/docs/TrustEntityListing.md +2 -2
  165. data/docs/TrustUserEntityListing.md +2 -2
  166. data/docs/TrustorEntityListing.md +2 -2
  167. data/docs/UserActionCategoryEntityListing.md +2 -2
  168. data/docs/UserEntityListing.md +2 -2
  169. data/docs/UserLanguageEntityListing.md +2 -2
  170. data/docs/UserProfileEntityListing.md +2 -2
  171. data/docs/UserQueueEntityListing.md +2 -2
  172. data/docs/UserRecordingEntityListing.md +2 -2
  173. data/docs/UserSchedule.md +3 -0
  174. data/docs/UserScheduleActivity.md +1 -0
  175. data/docs/UserScheduleFullDayTimeOffMarker.md +2 -1
  176. data/docs/UserScheduleShift.md +3 -0
  177. data/docs/UserSkillEntityListing.md +2 -2
  178. data/docs/ViewFilter.md +1 -0
  179. data/docs/VoicemailMessageEntityListing.md +2 -2
  180. data/docs/WorkforceManagementApi.md +89 -19
  181. data/docs/WorkspaceEntityListing.md +2 -2
  182. data/docs/WorkspaceMemberEntityListing.md +2 -2
  183. data/docs/WrapupCodeEntityListing.md +2 -2
  184. data/docs/{Entity.md → WritableEntity.md} +2 -2
  185. data/lib/purecloudplatformclientv2.rb +4 -12
  186. data/lib/purecloudplatformclientv2/api/authorization_api.rb +6 -6
  187. data/lib/purecloudplatformclientv2/api/groups_api.rb +3 -3
  188. data/lib/purecloudplatformclientv2/api/integrations_api.rb +16 -16
  189. data/lib/purecloudplatformclientv2/api/quality_api.rb +18 -18
  190. data/lib/purecloudplatformclientv2/api/recording_api.rb +4 -4
  191. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +110 -17
  192. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  193. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
  194. data/lib/purecloudplatformclientv2/models/{platform.rb → admin_time_off_request_patch.rb} +165 -20
  195. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
  196. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
  197. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +13 -13
  198. data/lib/purecloudplatformclientv2/models/{paged_listing_entity.rb → authz_division.rb} +69 -34
  199. data/lib/purecloudplatformclientv2/models/available_topic.rb +0 -1
  200. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
  201. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
  202. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
  203. data/lib/purecloudplatformclientv2/models/call_history_participant.rb +44 -4
  204. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
  205. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
  206. data/lib/purecloudplatformclientv2/models/campaign.rb +27 -1
  207. data/lib/purecloudplatformclientv2/models/campaign_diagnostics.rb +30 -4
  208. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
  209. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
  210. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
  211. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
  212. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  213. data/lib/purecloudplatformclientv2/models/channel.rb +0 -1
  214. data/lib/purecloudplatformclientv2/models/channel_topic.rb +0 -1
  215. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
  216. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
  217. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
  218. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
  219. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
  220. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
  221. data/lib/purecloudplatformclientv2/models/contact_column_time_zone.rb +68 -2
  222. data/lib/purecloudplatformclientv2/models/contact_list.rb +54 -2
  223. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
  224. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
  225. data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
  226. data/lib/purecloudplatformclientv2/models/contact_phone_number_column.rb +1 -1
  227. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
  228. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
  229. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
  230. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
  231. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
  232. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +13 -13
  233. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
  234. data/lib/purecloudplatformclientv2/models/dialer_action.rb +1 -1
  235. data/lib/purecloudplatformclientv2/models/dialer_contact.rb +29 -1
  236. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
  237. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
  238. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
  239. data/lib/purecloudplatformclientv2/models/digits.rb +1 -6
  240. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
  241. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
  242. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
  243. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
  244. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
  245. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
  246. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
  247. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
  248. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
  249. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  250. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/domain_permission.rb +29 -4
  253. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
  254. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
  255. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
  256. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
  257. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
  258. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
  259. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
  260. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +13 -13
  261. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
  262. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
  263. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
  264. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
  265. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
  266. data/lib/purecloudplatformclientv2/models/external_contact.rb +1 -1
  267. data/lib/purecloudplatformclientv2/models/external_organization.rb +1 -1
  268. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
  269. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
  270. data/lib/purecloudplatformclientv2/models/flow.rb +26 -1
  271. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
  272. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
  273. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
  274. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
  275. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
  276. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
  277. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
  278. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
  279. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
  280. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
  281. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
  282. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
  283. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
  284. data/lib/purecloudplatformclientv2/models/json_node.rb +53 -53
  285. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
  286. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
  287. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
  288. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
  289. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
  290. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
  291. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
  292. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
  293. data/lib/purecloudplatformclientv2/models/message.rb +2 -2
  294. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
  295. data/lib/purecloudplatformclientv2/models/message_data.rb +2 -2
  296. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +2 -2
  297. data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
  298. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
  299. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
  300. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
  301. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
  302. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
  303. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
  304. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
  305. data/lib/purecloudplatformclientv2/models/outbound_settings.rb +67 -1
  306. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
  307. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
  308. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
  309. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
  310. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
  311. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
  312. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
  313. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
  314. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
  315. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
  316. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
  317. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
  318. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
  319. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
  320. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
  321. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
  322. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
  323. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
  324. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
  325. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
  326. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
  327. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
  328. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
  329. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
  330. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
  331. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
  332. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
  333. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
  334. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
  335. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
  336. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
  337. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
  338. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
  339. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
  340. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
  341. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
  342. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
  343. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
  344. data/lib/purecloudplatformclientv2/models/time_off_request_list.rb +1 -1
  345. data/lib/purecloudplatformclientv2/models/{time_off_request.rb → time_off_request_response.rb} +51 -80
  346. data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
  347. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
  348. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
  349. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
  350. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
  351. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
  352. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
  353. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
  354. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
  355. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
  356. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
  357. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
  358. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
  359. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
  360. data/lib/purecloudplatformclientv2/models/user_schedule.rb +87 -4
  361. data/lib/purecloudplatformclientv2/models/user_schedule_activity.rb +30 -4
  362. data/lib/purecloudplatformclientv2/models/user_schedule_full_day_time_off_marker.rb +31 -5
  363. data/lib/purecloudplatformclientv2/models/user_schedule_shift.rb +82 -4
  364. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
  365. data/lib/purecloudplatformclientv2/models/view_filter.rb +32 -4
  366. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
  367. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
  368. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
  369. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
  370. data/lib/purecloudplatformclientv2/models/{entity.rb → writable_entity.rb} +1 -1
  371. data/lib/purecloudplatformclientv2/version.rb +1 -1
  372. metadata +11 -27
  373. data/docs/AppFoundryApi.md +0 -229
  374. data/docs/AppFoundryListing.md +0 -36
  375. data/docs/AppFoundryListingCategory.md +0 -14
  376. data/docs/AppFoundryListingRegistryInfo.md +0 -14
  377. data/docs/LocalizedField.md +0 -12
  378. data/docs/MarketingInfo.md +0 -14
  379. data/docs/PagedListingEntity.md +0 -17
  380. data/docs/Platform.md +0 -14
  381. data/docs/PricingOption.md +0 -14
  382. data/docs/SmartCase.md +0 -14
  383. data/lib/purecloudplatformclientv2/api/app_foundry_api.rb +0 -360
  384. data/lib/purecloudplatformclientv2/models/app_foundry_listing.rb +0 -815
  385. data/lib/purecloudplatformclientv2/models/app_foundry_listing_category.rb +0 -231
  386. data/lib/purecloudplatformclientv2/models/app_foundry_listing_registry_info.rb +0 -231
  387. data/lib/purecloudplatformclientv2/models/localized_field.rb +0 -177
  388. data/lib/purecloudplatformclientv2/models/marketing_info.rb +0 -229
  389. data/lib/purecloudplatformclientv2/models/pricing_option.rb +0 -234
  390. data/lib/purecloudplatformclientv2/models/smart_case.rb +0 -229
@@ -962,7 +962,7 @@ module PureCloud
962
962
  # @option opts [Integer] :page_size The total page size requested (default to 25)
963
963
  # @option opts [Integer] :page_number The page number requested (default to 1)
964
964
  # @option opts [String] :sort_by variable name requested to sort by
965
- # @option opts [Array<Object>] :expand variable name requested by expand list
965
+ # @option opts [Array<String>] :expand variable name requested by expand list
966
966
  # @option opts [String] :next_page next page token
967
967
  # @option opts [String] :previous_page Previous page token
968
968
  # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
@@ -979,7 +979,7 @@ module PureCloud
979
979
  # @option opts [Integer] :page_size The total page size requested
980
980
  # @option opts [Integer] :page_number The page number requested
981
981
  # @option opts [String] :sort_by variable name requested to sort by
982
- # @option opts [Array<Object>] :expand variable name requested by expand list
982
+ # @option opts [Array<String>] :expand variable name requested by expand list
983
983
  # @option opts [String] :next_page next page token
984
984
  # @option opts [String] :previous_page Previous page token
985
985
  # @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
@@ -1278,7 +1278,7 @@ module PureCloud
1278
1278
  # @option opts [Integer] :page_size The total page size requested (default to 25)
1279
1279
  # @option opts [Integer] :page_number The page number requested (default to 1)
1280
1280
  # @option opts [String] :sort_by variable name requested to sort by
1281
- # @option opts [Array<Object>] :expand variable name requested by expand list
1281
+ # @option opts [Array<String>] :expand variable name requested by expand list
1282
1282
  # @option opts [String] :next_page next page token
1283
1283
  # @option opts [String] :previous_page Previous page token
1284
1284
  # @option opts [String] :name the policy name - used for filtering results in searches.
@@ -1297,7 +1297,7 @@ module PureCloud
1297
1297
  # @option opts [Integer] :page_size The total page size requested
1298
1298
  # @option opts [Integer] :page_number The page number requested
1299
1299
  # @option opts [String] :sort_by variable name requested to sort by
1300
- # @option opts [Array<Object>] :expand variable name requested by expand list
1300
+ # @option opts [Array<String>] :expand variable name requested by expand list
1301
1301
  # @option opts [String] :next_page next page token
1302
1302
  # @option opts [String] :previous_page Previous page token
1303
1303
  # @option opts [String] :name the policy name - used for filtering results in searches.
@@ -92,7 +92,7 @@ module PureCloud
92
92
 
93
93
  # Get activity codes
94
94
  #
95
- # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
95
+ # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
96
96
  # @param [Hash] opts the optional parameters
97
97
  # @return [ActivityCodeContainer]
98
98
  def get_workforcemanagement_managementunit_activitycodes(mu_id, opts = {})
@@ -102,7 +102,7 @@ module PureCloud
102
102
 
103
103
  # Get activity codes
104
104
  #
105
- # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
105
+ # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
106
106
  # @param [Hash] opts the optional parameters
107
107
  # @return [Array<(ActivityCodeContainer, Fixnum, Hash)>] ActivityCodeContainer data, response status code and response headers
108
108
  def get_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts = {})
@@ -231,25 +231,25 @@ module PureCloud
231
231
  return data, status_code, headers
232
232
  end
233
233
 
234
- # Get a time off request by id
234
+ # Get a time off request
235
235
  #
236
- # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
236
+ # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
237
237
  # @param user_id The userId to whom the Time Off Request applies.
238
238
  # @param time_off_request_id Time Off Request Id
239
239
  # @param [Hash] opts the optional parameters
240
- # @return [TimeOffRequest]
240
+ # @return [TimeOffRequestResponse]
241
241
  def get_workforcemanagement_managementunit_user_timeoffrequest(mu_id, user_id, time_off_request_id, opts = {})
242
242
  data, _status_code, _headers = get_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts)
243
243
  return data
244
244
  end
245
245
 
246
- # Get a time off request by id
246
+ # Get a time off request
247
247
  #
248
- # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
248
+ # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
249
249
  # @param user_id The userId to whom the Time Off Request applies.
250
250
  # @param time_off_request_id Time Off Request Id
251
251
  # @param [Hash] opts the optional parameters
252
- # @return [Array<(TimeOffRequest, Fixnum, Hash)>] TimeOffRequest data, response status code and response headers
252
+ # @return [Array<(TimeOffRequestResponse, Fixnum, Hash)>] TimeOffRequestResponse data, response status code and response headers
253
253
  def get_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts = {})
254
254
  if @api_client.config.debugging
255
255
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_user_timeoffrequest ..."
@@ -309,16 +309,16 @@ module PureCloud
309
309
  :form_params => form_params,
310
310
  :body => post_body,
311
311
  :auth_names => auth_names,
312
- :return_type => 'TimeOffRequest')
312
+ :return_type => 'TimeOffRequestResponse')
313
313
  if @api_client.config.debugging
314
314
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_user_timeoffrequest\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
315
  end
316
316
  return data, status_code, headers
317
317
  end
318
318
 
319
- # Get a list of time off requests for any user
319
+ # Get a list of time off requests for a given user
320
320
  #
321
- # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
321
+ # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
322
322
  # @param user_id The userId to whom the Time Off Request applies.
323
323
  # @param [Hash] opts the optional parameters
324
324
  # @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
@@ -328,9 +328,9 @@ module PureCloud
328
328
  return data
329
329
  end
330
330
 
331
- # Get a list of time off requests for any user
331
+ # Get a list of time off requests for a given user
332
332
  #
333
- # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
333
+ # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
334
334
  # @param user_id The userId to whom the Time Off Request applies.
335
335
  # @param [Hash] opts the optional parameters
336
336
  # @option opts [BOOLEAN] :recently_reviewed Limit results to requests that have been reviewed within the preceding 30 days
@@ -551,9 +551,102 @@ module PureCloud
551
551
  return data, status_code, headers
552
552
  end
553
553
 
554
- # Create a new activity code
554
+ # Update a time off request
555
555
  #
556
556
  # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
557
+ # @param user_id The id of the user the requested time off request belongs to
558
+ # @param time_off_request_id The id of the time off request to update
559
+ # @param [Hash] opts the optional parameters
560
+ # @option opts [AdminTimeOffRequestPatch] :body body
561
+ # @return [TimeOffRequestResponse]
562
+ def patch_workforcemanagement_managementunit_user_timeoffrequest(mu_id, user_id, time_off_request_id, opts = {})
563
+ data, _status_code, _headers = patch_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts)
564
+ return data
565
+ end
566
+
567
+ # Update a time off request
568
+ #
569
+ # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
570
+ # @param user_id The id of the user the requested time off request belongs to
571
+ # @param time_off_request_id The id of the time off request to update
572
+ # @param [Hash] opts the optional parameters
573
+ # @option opts [AdminTimeOffRequestPatch] :body body
574
+ # @return [Array<(TimeOffRequestResponse, Fixnum, Hash)>] TimeOffRequestResponse data, response status code and response headers
575
+ def patch_workforcemanagement_managementunit_user_timeoffrequest_with_http_info(mu_id, user_id, time_off_request_id, opts = {})
576
+ if @api_client.config.debugging
577
+ @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest ..."
578
+ end
579
+
580
+
581
+ # verify the required parameter 'mu_id' is set
582
+ fail ArgumentError, "Missing the required parameter 'mu_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if mu_id.nil?
583
+
584
+
585
+
586
+
587
+
588
+
589
+ # verify the required parameter 'user_id' is set
590
+ fail ArgumentError, "Missing the required parameter 'user_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if user_id.nil?
591
+
592
+
593
+
594
+
595
+
596
+
597
+ # verify the required parameter 'time_off_request_id' is set
598
+ fail ArgumentError, "Missing the required parameter 'time_off_request_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_user_timeoffrequest" if time_off_request_id.nil?
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+ # resource path
611
+ local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/users/{userId}/timeoffrequests/{timeOffRequestId}".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s).sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'timeOffRequestId' + '}', time_off_request_id.to_s)
612
+
613
+ # query parameters
614
+ query_params = {}
615
+
616
+ # header parameters
617
+ header_params = {}
618
+
619
+ # HTTP header 'Accept' (if needed)
620
+ local_header_accept = ['application/json']
621
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
622
+
623
+ # HTTP header 'Content-Type'
624
+ local_header_content_type = ['application/json']
625
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
626
+
627
+ # form parameters
628
+ form_params = {}
629
+
630
+ # http body (model)
631
+ post_body = @api_client.object_to_http_body(opts[:'body'])
632
+
633
+ auth_names = ['PureCloud Auth']
634
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
635
+ :header_params => header_params,
636
+ :query_params => query_params,
637
+ :form_params => form_params,
638
+ :body => post_body,
639
+ :auth_names => auth_names,
640
+ :return_type => 'TimeOffRequestResponse')
641
+ if @api_client.config.debugging
642
+ @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_user_timeoffrequest\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
643
+ end
644
+ return data, status_code, headers
645
+ end
646
+
647
+ # Create a new activity code
648
+ #
649
+ # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
557
650
  # @param [Hash] opts the optional parameters
558
651
  # @option opts [CreateActivityCodeRequest] :body body
559
652
  # @return [ActivityCode]
@@ -564,7 +657,7 @@ module PureCloud
564
657
 
565
658
  # Create a new activity code
566
659
  #
567
- # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
660
+ # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
568
661
  # @param [Hash] opts the optional parameters
569
662
  # @option opts [CreateActivityCodeRequest] :body body
570
663
  # @return [Array<(ActivityCode, Fixnum, Hash)>] ActivityCode data, response status code and response headers
@@ -770,7 +863,7 @@ module PureCloud
770
863
  return data, status_code, headers
771
864
  end
772
865
 
773
- # Get user schedules within the given time range
866
+ # Query published schedules for given given time range for set of users
774
867
  #
775
868
  # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
776
869
  # @param [Hash] opts the optional parameters
@@ -781,7 +874,7 @@ module PureCloud
781
874
  return data
782
875
  end
783
876
 
784
- # Get user schedules within the given time range
877
+ # Query published schedules for given given time range for set of users
785
878
  #
786
879
  # @param mu_id The management unit ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
787
880
  # @param [Hash] opts the optional parameters
@@ -76,7 +76,7 @@ module PureCloud
76
76
  http_method = http_method.to_sym.downcase
77
77
 
78
78
  header_params = @default_headers.merge(opts[:header_params] || {})
79
- header_params['purecloud-sdk'] = '32.0.0'
79
+ header_params['purecloud-sdk'] = '33.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -30,11 +30,11 @@ module PureCloud
30
30
 
31
31
  attr_accessor :first_uri
32
32
 
33
- attr_accessor :last_uri
33
+ attr_accessor :previous_uri
34
34
 
35
35
  attr_accessor :next_uri
36
36
 
37
- attr_accessor :previous_uri
37
+ attr_accessor :last_uri
38
38
 
39
39
  attr_accessor :page_count
40
40
 
@@ -54,11 +54,11 @@ module PureCloud
54
54
 
55
55
  :'first_uri' => :'firstUri',
56
56
 
57
- :'last_uri' => :'lastUri',
57
+ :'previous_uri' => :'previousUri',
58
58
 
59
59
  :'next_uri' => :'nextUri',
60
60
 
61
- :'previous_uri' => :'previousUri',
61
+ :'last_uri' => :'lastUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
64
64
 
@@ -81,11 +81,11 @@ module PureCloud
81
81
 
82
82
  :'first_uri' => :'String',
83
83
 
84
- :'last_uri' => :'String',
84
+ :'previous_uri' => :'String',
85
85
 
86
86
  :'next_uri' => :'String',
87
87
 
88
- :'previous_uri' => :'String',
88
+ :'last_uri' => :'String',
89
89
 
90
90
  :'page_count' => :'Integer'
91
91
 
@@ -157,10 +157,10 @@ module PureCloud
157
157
  end
158
158
 
159
159
 
160
- if attributes.has_key?(:'lastUri')
160
+ if attributes.has_key?(:'previousUri')
161
161
 
162
162
 
163
- self.last_uri = attributes[:'lastUri']
163
+ self.previous_uri = attributes[:'previousUri']
164
164
 
165
165
 
166
166
  end
@@ -175,10 +175,10 @@ module PureCloud
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'previousUri')
178
+ if attributes.has_key?(:'lastUri')
179
179
 
180
180
 
181
- self.previous_uri = attributes[:'previousUri']
181
+ self.last_uri = attributes[:'lastUri']
182
182
 
183
183
 
184
184
  end
@@ -312,9 +312,9 @@ module PureCloud
312
312
  total == o.total &&
313
313
  self_uri == o.self_uri &&
314
314
  first_uri == o.first_uri &&
315
- last_uri == o.last_uri &&
316
- next_uri == o.next_uri &&
317
315
  previous_uri == o.previous_uri &&
316
+ next_uri == o.next_uri &&
317
+ last_uri == o.last_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, last_uri, next_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -17,21 +17,45 @@ Terms of Service: https://developer.mypurecloud.com/tos
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Represents the supported platforms for an AppFoundry listing
21
- class Platform
22
- # Name of the platform
23
- attr_accessor :name
20
+ class AdminTimeOffRequestPatch
21
+ # The status of this time off request
22
+ attr_accessor :status
24
23
 
25
- # Platform subcategories, eg, on-prem or cloud
26
- attr_accessor :subcategories
24
+ # The ID of the activity code associated with this time off request. Activity code must be of the TimeOff category
25
+ attr_accessor :activity_code_id
26
+
27
+ # Notes about the time off request
28
+ attr_accessor :notes
29
+
30
+ # A set of dates in yyyy-MM-dd format. Should be interpreted in the management unit's configured time zone.
31
+ attr_accessor :full_day_management_unit_dates
32
+
33
+ # A set of start date-times in ISO-8601 format for partial day requests.
34
+ attr_accessor :partial_day_start_date_times
35
+
36
+ # The daily duration of this time off request in minutes
37
+ attr_accessor :daily_duration_minutes
38
+
39
+ # Version metadata for the time off request
40
+ attr_accessor :metadata
27
41
 
28
42
  # Attribute mapping from ruby-style variable name to JSON key.
29
43
  def self.attribute_map
30
44
  {
31
45
 
32
- :'name' => :'name',
46
+ :'status' => :'status',
47
+
48
+ :'activity_code_id' => :'activityCodeId',
49
+
50
+ :'notes' => :'notes',
33
51
 
34
- :'subcategories' => :'subcategories'
52
+ :'full_day_management_unit_dates' => :'fullDayManagementUnitDates',
53
+
54
+ :'partial_day_start_date_times' => :'partialDayStartDateTimes',
55
+
56
+ :'daily_duration_minutes' => :'dailyDurationMinutes',
57
+
58
+ :'metadata' => :'metadata'
35
59
 
36
60
  }
37
61
  end
@@ -40,9 +64,19 @@ module PureCloud
40
64
  def self.swagger_types
41
65
  {
42
66
 
43
- :'name' => :'String',
67
+ :'status' => :'String',
68
+
69
+ :'activity_code_id' => :'String',
70
+
71
+ :'notes' => :'String',
72
+
73
+ :'full_day_management_unit_dates' => :'Array<String>',
44
74
 
45
- :'subcategories' => :'Array<String>'
75
+ :'partial_day_start_date_times' => :'Array<DateTime>',
76
+
77
+ :'daily_duration_minutes' => :'Integer',
78
+
79
+ :'metadata' => :'WfmVersionedEntityMetadata'
46
80
 
47
81
  }
48
82
  end
@@ -56,19 +90,37 @@ module PureCloud
56
90
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
57
91
 
58
92
 
59
- if attributes.has_key?(:'name')
93
+ if attributes.has_key?(:'status')
94
+
95
+
96
+ self.status = attributes[:'status']
97
+
98
+
99
+ end
100
+
101
+
102
+ if attributes.has_key?(:'activityCodeId')
103
+
104
+
105
+ self.activity_code_id = attributes[:'activityCodeId']
106
+
107
+
108
+ end
109
+
110
+
111
+ if attributes.has_key?(:'notes')
60
112
 
61
113
 
62
- self.name = attributes[:'name']
114
+ self.notes = attributes[:'notes']
63
115
 
64
116
 
65
117
  end
66
118
 
67
119
 
68
- if attributes.has_key?(:'subcategories')
120
+ if attributes.has_key?(:'fullDayManagementUnitDates')
69
121
 
70
- if (value = attributes[:'subcategories']).is_a?(Array)
71
- self.subcategories = value
122
+ if (value = attributes[:'fullDayManagementUnitDates']).is_a?(Array)
123
+ self.full_day_management_unit_dates = value
72
124
  end
73
125
 
74
126
 
@@ -76,6 +128,35 @@ module PureCloud
76
128
  end
77
129
 
78
130
 
131
+ if attributes.has_key?(:'partialDayStartDateTimes')
132
+
133
+ if (value = attributes[:'partialDayStartDateTimes']).is_a?(Array)
134
+ self.partial_day_start_date_times = value
135
+ end
136
+
137
+
138
+
139
+ end
140
+
141
+
142
+ if attributes.has_key?(:'dailyDurationMinutes')
143
+
144
+
145
+ self.daily_duration_minutes = attributes[:'dailyDurationMinutes']
146
+
147
+
148
+ end
149
+
150
+
151
+ if attributes.has_key?(:'metadata')
152
+
153
+
154
+ self.metadata = attributes[:'metadata']
155
+
156
+
157
+ end
158
+
159
+
79
160
  end
80
161
 
81
162
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -92,10 +173,11 @@ module PureCloud
92
173
  def valid?
93
174
 
94
175
 
95
- if @name.nil?
176
+
177
+ allowed_values = ["PENDING", "APPROVED", "DENIED"]
178
+ if @status && !allowed_values.include?(@status)
96
179
  return false
97
180
  end
98
-
99
181
 
100
182
 
101
183
 
@@ -104,8 +186,66 @@ module PureCloud
104
186
 
105
187
 
106
188
 
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ if @metadata.nil?
206
+ return false
207
+ end
208
+
209
+
210
+
211
+
212
+
107
213
  end
108
214
 
215
+
216
+
217
+ # Custom attribute writer method checking allowed values (enum).
218
+ # @param [Object] status Object to be assigned
219
+ def status=(status)
220
+ allowed_values = ["PENDING", "APPROVED", "DENIED"]
221
+ if status && !allowed_values.include?(status)
222
+ fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
223
+ end
224
+ @status = status
225
+ end
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
109
249
 
110
250
 
111
251
 
@@ -122,8 +262,13 @@ module PureCloud
122
262
  def ==(o)
123
263
  return true if self.equal?(o)
124
264
  self.class == o.class &&
125
- name == o.name &&
126
- subcategories == o.subcategories
265
+ status == o.status &&
266
+ activity_code_id == o.activity_code_id &&
267
+ notes == o.notes &&
268
+ full_day_management_unit_dates == o.full_day_management_unit_dates &&
269
+ partial_day_start_date_times == o.partial_day_start_date_times &&
270
+ daily_duration_minutes == o.daily_duration_minutes &&
271
+ metadata == o.metadata
127
272
  end
128
273
 
129
274
  # @see the `==` method
@@ -135,7 +280,7 @@ module PureCloud
135
280
  # Calculates hash code according to all attributes.
136
281
  # @return [Fixnum] Hash code
137
282
  def hash
138
- [name, subcategories].hash
283
+ [status, activity_code_id, notes, full_day_management_unit_dates, partial_day_start_date_times, daily_duration_minutes, metadata].hash
139
284
  end
140
285
 
141
286
  # build the object from hash