purecloudplatformclientv2 69.0.0 → 70.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (427) 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/ArchitectApi.md +14 -14
  6. data/docs/AttemptLimitsEntityListing.md +1 -1
  7. data/docs/AuthzDivisionEntityListing.md +1 -1
  8. data/docs/CalibrationEntityListing.md +1 -1
  9. data/docs/CallConversationEntityListing.md +1 -1
  10. data/docs/CallHistoryConversationEntityListing.md +1 -1
  11. data/docs/CallableTimeSetEntityListing.md +1 -1
  12. data/docs/CallbackConversationEntityListing.md +1 -1
  13. data/docs/CampaignDivisionViewListing.md +1 -1
  14. data/docs/CampaignEntityListing.md +1 -1
  15. data/docs/CampaignRuleEntityListing.md +1 -1
  16. data/docs/CampaignSequenceEntityListing.md +1 -1
  17. data/docs/CertificateAuthorityEntityListing.md +1 -1
  18. data/docs/ChatConversationEntityListing.md +1 -1
  19. data/docs/ClientAppEntityListing.md +1 -1
  20. data/docs/CobrowseConversationEntityListing.md +1 -1
  21. data/docs/CommandStatusEntityListing.md +1 -1
  22. data/docs/ConsumedResourcesEntityListing.md +1 -1
  23. data/docs/ConsumingResourcesEntityListing.md +1 -1
  24. data/docs/ContactCenterSettings.md +13 -0
  25. data/docs/ContactListDivisionViewListing.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/CreateManagementUnitApiRequest.md +1 -1
  31. data/docs/{CreateManagementUnitSettings.md → CreateManagementUnitSettingsRequest.md} +3 -3
  32. data/docs/CreateWorkPlan.md +0 -10
  33. data/docs/CreateWorkPlanActivity.md +0 -2
  34. data/docs/CreateWorkPlanShift.md +0 -6
  35. data/docs/CredentialInfoListing.md +1 -1
  36. data/docs/CredentialTypeListing.md +1 -1
  37. data/docs/DIDEntityListing.md +1 -1
  38. data/docs/DIDPoolEntityListing.md +1 -1
  39. data/docs/DataTableRowEntityListing.md +1 -1
  40. data/docs/DataTablesDomainEntityListing.md +1 -1
  41. data/docs/DependencyObjectEntityListing.md +1 -1
  42. data/docs/DependencyTypeEntityListing.md +1 -1
  43. data/docs/DialerEventEntityListing.md +1 -1
  44. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  45. data/docs/DirectoryUserDevicesListing.md +1 -1
  46. data/docs/DncListDivisionViewListing.md +1 -1
  47. data/docs/DncListEntityListing.md +1 -1
  48. data/docs/DocumentAuditEntityListing.md +1 -1
  49. data/docs/DocumentEntityListing.md +1 -1
  50. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  51. data/docs/DomainEntityListing.md +1 -1
  52. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  53. data/docs/DomainEntityListingQueryResult.md +1 -1
  54. data/docs/DomainEntityListingSurveyForm.md +1 -1
  55. data/docs/DomainLogicalInterface.md +2 -1
  56. data/docs/EdgeEntityListing.md +1 -1
  57. data/docs/EdgeGroupEntityListing.md +1 -1
  58. data/docs/EdgeLineEntityListing.md +1 -1
  59. data/docs/EmailConversationEntityListing.md +1 -1
  60. data/docs/EmailMessageListing.md +1 -1
  61. data/docs/EmergencyGroupListing.md +1 -1
  62. data/docs/EncryptionKeyEntityListing.md +1 -1
  63. data/docs/EvaluationEntityListing.md +1 -1
  64. data/docs/EvaluationFormEntityListing.md +1 -1
  65. data/docs/EvaluationQuestion.md +1 -1
  66. data/docs/EvaluatorActivityEntityListing.md +1 -1
  67. data/docs/ExtensionEntityListing.md +1 -1
  68. data/docs/ExtensionPoolEntityListing.md +1 -1
  69. data/docs/ExternalOrganizationListing.md +1 -1
  70. data/docs/FacebookIntegrationEntityListing.md +1 -1
  71. data/docs/FaxDocumentEntityListing.md +1 -1
  72. data/docs/FlowDivisionViewEntityListing.md +1 -1
  73. data/docs/FlowEntityListing.md +1 -1
  74. data/docs/FlowOutcomeListing.md +1 -1
  75. data/docs/FlowVersionEntityListing.md +1 -1
  76. data/docs/GDPRRequestEntityListing.md +1 -1
  77. data/docs/GDPRSubjectEntityListing.md +1 -1
  78. data/docs/GreetingListing.md +1 -1
  79. data/docs/GroupEntityListing.md +1 -1
  80. data/docs/GroupProfileEntityListing.md +1 -1
  81. data/docs/IVREntityListing.md +1 -1
  82. data/docs/InboundDomainEntityListing.md +1 -1
  83. data/docs/InboundRouteEntityListing.md +1 -1
  84. data/docs/IntegrationEntityListing.md +1 -1
  85. data/docs/IntegrationEventEntityListing.md +1 -1
  86. data/docs/IntegrationTypeEntityListing.md +1 -1
  87. data/docs/InteractionStatsAlertContainer.md +1 -1
  88. data/docs/InteractionStatsRuleContainer.md +1 -1
  89. data/docs/KeywordSetEntityListing.md +1 -1
  90. data/docs/LanguageEntityListing.md +1 -1
  91. data/docs/LexBotAliasEntityListing.md +1 -1
  92. data/docs/LexBotEntityListing.md +1 -1
  93. data/docs/LibraryEntityListing.md +1 -1
  94. data/docs/LineBaseEntityListing.md +1 -1
  95. data/docs/LineEntityListing.md +1 -1
  96. data/docs/LineIntegrationEntityListing.md +1 -1
  97. data/docs/LocationEntityListing.md +1 -1
  98. data/docs/LogicalInterfaceEntityListing.md +1 -1
  99. data/docs/ManagementUnit.md +1 -1
  100. data/docs/ManagementUnitListing.md +1 -1
  101. data/docs/{ManagementUnitSettings.md → ManagementUnitSettingsRequest.md} +3 -3
  102. data/docs/ManagementUnitSettingsResponse.md +18 -0
  103. data/docs/MessageConversationEntityListing.md +1 -1
  104. data/docs/MessagingIntegrationEntityListing.md +1 -1
  105. data/docs/MessagingStickerEntityListing.md +1 -1
  106. data/docs/NoteListing.md +1 -1
  107. data/docs/NotificationsApi.md +1 -1
  108. data/docs/OAuthClientEntityListing.md +1 -1
  109. data/docs/OAuthProviderEntityListing.md +1 -1
  110. data/docs/OrganizationPresenceEntityListing.md +1 -1
  111. data/docs/OrganizationRoleEntityListing.md +1 -1
  112. data/docs/OrphanRecordingListing.md +1 -1
  113. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  114. data/docs/OutboundRouteEntityListing.md +1 -1
  115. data/docs/PermissionCollectionEntityListing.md +1 -1
  116. data/docs/PhoneBaseEntityListing.md +1 -1
  117. data/docs/PhoneEntityListing.md +1 -1
  118. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  119. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  120. data/docs/PlanningPeriodSettings.md +1 -1
  121. data/docs/PolicyEntityListing.md +1 -1
  122. data/docs/PromptAssetEntityListing.md +1 -1
  123. data/docs/PromptEntityListing.md +1 -1
  124. data/docs/QualityAuditPage.md +1 -1
  125. data/docs/QueueEntityListing.md +1 -1
  126. data/docs/QueueMemberEntityListing.md +1 -1
  127. data/docs/RecipientListing.md +1 -1
  128. data/docs/Recording.md +1 -0
  129. data/docs/RecordingJobEntityListing.md +1 -1
  130. data/docs/RecordingJobsQuery.md +1 -1
  131. data/docs/RecordingMetadata.md +1 -0
  132. data/docs/RelationshipListing.md +1 -1
  133. data/docs/ReportMetaDataEntityListing.md +1 -1
  134. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  135. data/docs/ReportScheduleEntityListing.md +1 -1
  136. data/docs/ReportingExportJobListing.md +1 -1
  137. data/docs/ReportingExportJobRequest.md +1 -0
  138. data/docs/ReportingExportJobResponse.md +1 -0
  139. data/docs/ResponseEntityList.md +1 -1
  140. data/docs/ResponseEntityListing.md +1 -1
  141. data/docs/ResponseSetEntityListing.md +1 -1
  142. data/docs/RoutingApi.md +124 -0
  143. data/docs/RuleSetEntityListing.md +1 -1
  144. data/docs/ScheduleEntityListing.md +1 -1
  145. data/docs/ScheduleGroupEntityListing.md +1 -1
  146. data/docs/{SchedulingSettings.md → SchedulingSettingsRequest.md} +2 -3
  147. data/docs/SchedulingSettingsResponse.md +15 -0
  148. data/docs/SchemaCategoryEntityListing.md +1 -1
  149. data/docs/SchemaReferenceEntityListing.md +1 -1
  150. data/docs/ScimConfigResourceType.md +1 -1
  151. data/docs/ScimError.md +4 -4
  152. data/docs/ScimServiceProviderConfig.md +1 -1
  153. data/docs/ScimV2CreateUser.md +1 -1
  154. data/docs/ScimV2Group.md +1 -1
  155. data/docs/ScimV2User.md +2 -2
  156. data/docs/ScreenRecordingSessionListing.md +1 -1
  157. data/docs/ScriptEntityListing.md +1 -1
  158. data/docs/SecurityProfileEntityListing.md +1 -1
  159. data/docs/ShareEntityListing.md +1 -1
  160. data/docs/SiteEntityListing.md +1 -1
  161. data/docs/SkillEntityListing.md +1 -1
  162. data/docs/SmsAddressEntityListing.md +1 -1
  163. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  164. data/docs/StationEntityListing.md +1 -1
  165. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  166. data/docs/SurveyFormEntityListing.md +1 -1
  167. data/docs/SystemPromptAssetEntityListing.md +1 -1
  168. data/docs/SystemPromptEntityListing.md +1 -1
  169. data/docs/TagValueEntityListing.md +1 -1
  170. data/docs/TextMessageListing.md +1 -1
  171. data/docs/TimeZoneEntityListing.md +1 -1
  172. data/docs/TrunkBaseEntityListing.md +1 -1
  173. data/docs/TrunkEntityListing.md +1 -1
  174. data/docs/TrunkMetabaseEntityListing.md +1 -1
  175. data/docs/TrustEntityListing.md +1 -1
  176. data/docs/TrustUserEntityListing.md +1 -1
  177. data/docs/TrustorEntityListing.md +1 -1
  178. data/docs/TtsEngineEntityListing.md +1 -1
  179. data/docs/TtsVoiceEntityListing.md +1 -1
  180. data/docs/TwitterIntegrationEntityListing.md +1 -1
  181. data/docs/UpdateManagementUnitRequest.md +1 -1
  182. data/docs/UserActionCategoryEntityListing.md +1 -1
  183. data/docs/UserEntityListing.md +1 -1
  184. data/docs/UserLanguageEntityListing.md +1 -1
  185. data/docs/UserProfileEntityListing.md +1 -1
  186. data/docs/UserQueueEntityListing.md +1 -1
  187. data/docs/UserRecordingEntityListing.md +1 -1
  188. data/docs/UserSkillEntityListing.md +1 -1
  189. data/docs/ValueWrapperPlanningPeriodSettings.md +13 -0
  190. data/docs/VoicemailMessageEntityListing.md +1 -1
  191. data/docs/WebChatMemberInfoEntityList.md +1 -1
  192. data/docs/WebChatMessageEntityList.md +1 -1
  193. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  194. data/docs/WorkPlan.md +0 -10
  195. data/docs/WorkPlanActivity.md +0 -2
  196. data/docs/WorkPlanListItemResponse.md +0 -10
  197. data/docs/WorkPlanShift.md +0 -6
  198. data/docs/WorkforceManagementApi.md +6 -6
  199. data/docs/WorkspaceEntityListing.md +1 -1
  200. data/docs/WorkspaceMemberEntityListing.md +1 -1
  201. data/docs/WrapupCodeEntityListing.md +1 -1
  202. data/lib/purecloudplatformclientv2.rb +7 -3
  203. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  204. data/lib/purecloudplatformclientv2/api/notifications_api.rb +2 -2
  205. data/lib/purecloudplatformclientv2/api/routing_api.rb +119 -0
  206. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +8 -8
  207. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  208. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  209. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  210. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  211. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  212. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  213. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  214. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  215. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  216. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  217. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  218. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  219. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  220. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  221. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  222. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  223. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  224. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  225. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  226. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  227. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  228. data/lib/purecloudplatformclientv2/models/contact_center_settings.rb +202 -0
  229. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  230. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  231. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  232. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  233. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  234. data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +1 -1
  235. data/lib/purecloudplatformclientv2/models/{create_management_unit_settings.rb → create_management_unit_settings_request.rb} +2 -2
  236. data/lib/purecloudplatformclientv2/models/create_work_plan.rb +1 -275
  237. data/lib/purecloudplatformclientv2/models/create_work_plan_activity.rb +4 -56
  238. data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -185
  239. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  240. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  241. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  242. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  243. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  244. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  245. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  246. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  247. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  248. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  249. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  250. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  256. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  257. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  258. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  259. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  260. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  261. data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +53 -27
  262. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  263. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  264. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  265. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  266. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  267. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  268. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  269. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  270. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  271. data/lib/purecloudplatformclientv2/models/evaluation_question.rb +13 -13
  272. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  273. data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
  274. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  275. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  276. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  277. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  278. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  279. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  280. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  281. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  282. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  283. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  284. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  285. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  288. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  289. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  290. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  291. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  292. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  293. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  294. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  295. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  296. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  297. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  298. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  299. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  300. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  302. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  303. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  304. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  306. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  307. data/lib/purecloudplatformclientv2/models/management_unit.rb +1 -1
  308. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  309. data/lib/purecloudplatformclientv2/models/{management_unit_settings.rb → management_unit_settings_request.rb} +2 -2
  310. data/lib/purecloudplatformclientv2/models/management_unit_settings_response.rb +337 -0
  311. data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
  312. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  313. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  314. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  315. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  316. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  318. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  319. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  320. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  321. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  322. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  323. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  324. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  325. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  326. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  327. data/lib/purecloudplatformclientv2/models/photo.rb +1 -1
  328. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  329. data/lib/purecloudplatformclientv2/models/planning_period_settings.rb +2 -2
  330. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  331. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  332. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  333. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  334. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  335. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  336. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/recording.rb +27 -1
  338. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  339. data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +1 -1
  340. data/lib/purecloudplatformclientv2/models/recording_metadata.rb +27 -1
  341. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  342. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  343. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  344. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  345. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  346. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +30 -4
  347. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +27 -1
  348. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  349. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  350. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  354. data/lib/purecloudplatformclientv2/models/{scheduling_settings.rb → scheduling_settings_request.rb} +5 -31
  355. data/lib/purecloudplatformclientv2/models/scheduling_settings_response.rb +255 -0
  356. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +2 -2
  359. data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +1 -1
  360. data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +1 -1
  361. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  362. data/lib/purecloudplatformclientv2/models/scim_error.rb +5 -5
  363. data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +1 -1
  364. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +1 -1
  365. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +1 -1
  366. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +2 -2
  367. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +1 -1
  368. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +1 -1
  369. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +1 -1
  370. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +1 -1
  371. data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +1 -1
  372. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +2 -2
  373. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
  374. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +2 -2
  375. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +1 -1
  376. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +1 -1
  377. data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +1 -1
  378. data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
  379. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +3 -3
  380. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  381. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  382. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  383. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  384. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  385. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  386. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  387. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  388. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  389. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  390. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  391. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  392. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  393. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  394. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  396. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  397. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  398. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  399. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +2 -2
  402. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/update_management_unit_request.rb +1 -1
  407. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  409. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  412. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  413. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  414. data/lib/purecloudplatformclientv2/models/value_wrapper_planning_period_settings.rb +203 -0
  415. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  416. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  417. data/lib/purecloudplatformclientv2/models/web_chat_message_entity_list.rb +13 -13
  418. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  419. data/lib/purecloudplatformclientv2/models/work_plan.rb +1 -275
  420. data/lib/purecloudplatformclientv2/models/work_plan_activity.rb +1 -53
  421. data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +1 -275
  422. data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -185
  423. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  424. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  425. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  426. data/lib/purecloudplatformclientv2/version.rb +1 -1
  427. metadata +16 -8
@@ -26,10 +26,10 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
31
+ attr_accessor :self_uri
32
+
33
33
  attr_accessor :next_uri
34
34
 
35
35
  attr_accessor :last_uri
@@ -50,10 +50,10 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
53
  :'first_uri' => :'firstUri',
56
54
 
55
+ :'self_uri' => :'selfUri',
56
+
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
59
  :'last_uri' => :'lastUri',
@@ -77,10 +77,10 @@ module PureCloud
77
77
 
78
78
  :'total' => :'Integer',
79
79
 
80
- :'self_uri' => :'String',
81
-
82
80
  :'first_uri' => :'String',
83
81
 
82
+ :'self_uri' => :'String',
83
+
84
84
  :'next_uri' => :'String',
85
85
 
86
86
  :'last_uri' => :'String',
@@ -139,19 +139,19 @@ module PureCloud
139
139
  end
140
140
 
141
141
 
142
- if attributes.has_key?(:'selfUri')
142
+ if attributes.has_key?(:'firstUri')
143
143
 
144
144
 
145
- self.self_uri = attributes[:'selfUri']
145
+ self.first_uri = attributes[:'firstUri']
146
146
 
147
147
 
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'firstUri')
151
+ if attributes.has_key?(:'selfUri')
152
152
 
153
153
 
154
- self.first_uri = attributes[:'firstUri']
154
+ self.self_uri = attributes[:'selfUri']
155
155
 
156
156
 
157
157
  end
@@ -310,8 +310,8 @@ module PureCloud
310
310
  page_size == o.page_size &&
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
- self_uri == o.self_uri &&
314
313
  first_uri == o.first_uri &&
314
+ self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
316
  last_uri == o.last_uri &&
317
317
  previous_uri == o.previous_uri &&
@@ -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, next_uri, last_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -26,10 +26,10 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
31
+ attr_accessor :self_uri
32
+
33
33
  attr_accessor :next_uri
34
34
 
35
35
  attr_accessor :last_uri
@@ -50,10 +50,10 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
53
  :'first_uri' => :'firstUri',
56
54
 
55
+ :'self_uri' => :'selfUri',
56
+
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
59
  :'last_uri' => :'lastUri',
@@ -77,10 +77,10 @@ module PureCloud
77
77
 
78
78
  :'total' => :'Integer',
79
79
 
80
- :'self_uri' => :'String',
81
-
82
80
  :'first_uri' => :'String',
83
81
 
82
+ :'self_uri' => :'String',
83
+
84
84
  :'next_uri' => :'String',
85
85
 
86
86
  :'last_uri' => :'String',
@@ -139,19 +139,19 @@ module PureCloud
139
139
  end
140
140
 
141
141
 
142
- if attributes.has_key?(:'selfUri')
142
+ if attributes.has_key?(:'firstUri')
143
143
 
144
144
 
145
- self.self_uri = attributes[:'selfUri']
145
+ self.first_uri = attributes[:'firstUri']
146
146
 
147
147
 
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'firstUri')
151
+ if attributes.has_key?(:'selfUri')
152
152
 
153
153
 
154
- self.first_uri = attributes[:'firstUri']
154
+ self.self_uri = attributes[:'selfUri']
155
155
 
156
156
 
157
157
  end
@@ -310,8 +310,8 @@ module PureCloud
310
310
  page_size == o.page_size &&
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
- self_uri == o.self_uri &&
314
313
  first_uri == o.first_uri &&
314
+ self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
316
  last_uri == o.last_uri &&
317
317
  previous_uri == o.previous_uri &&
@@ -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, next_uri, last_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -26,10 +26,10 @@ module PureCloud
26
26
 
27
27
  attr_accessor :total
28
28
 
29
- attr_accessor :self_uri
30
-
31
29
  attr_accessor :first_uri
32
30
 
31
+ attr_accessor :self_uri
32
+
33
33
  attr_accessor :next_uri
34
34
 
35
35
  attr_accessor :last_uri
@@ -50,10 +50,10 @@ module PureCloud
50
50
 
51
51
  :'total' => :'total',
52
52
 
53
- :'self_uri' => :'selfUri',
54
-
55
53
  :'first_uri' => :'firstUri',
56
54
 
55
+ :'self_uri' => :'selfUri',
56
+
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
59
  :'last_uri' => :'lastUri',
@@ -77,10 +77,10 @@ module PureCloud
77
77
 
78
78
  :'total' => :'Integer',
79
79
 
80
- :'self_uri' => :'String',
81
-
82
80
  :'first_uri' => :'String',
83
81
 
82
+ :'self_uri' => :'String',
83
+
84
84
  :'next_uri' => :'String',
85
85
 
86
86
  :'last_uri' => :'String',
@@ -139,19 +139,19 @@ module PureCloud
139
139
  end
140
140
 
141
141
 
142
- if attributes.has_key?(:'selfUri')
142
+ if attributes.has_key?(:'firstUri')
143
143
 
144
144
 
145
- self.self_uri = attributes[:'selfUri']
145
+ self.first_uri = attributes[:'firstUri']
146
146
 
147
147
 
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'firstUri')
151
+ if attributes.has_key?(:'selfUri')
152
152
 
153
153
 
154
- self.first_uri = attributes[:'firstUri']
154
+ self.self_uri = attributes[:'selfUri']
155
155
 
156
156
 
157
157
  end
@@ -310,8 +310,8 @@ module PureCloud
310
310
  page_size == o.page_size &&
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
- self_uri == o.self_uri &&
314
313
  first_uri == o.first_uri &&
314
+ self_uri == o.self_uri &&
315
315
  next_uri == o.next_uri &&
316
316
  last_uri == o.last_uri &&
317
317
  previous_uri == o.previous_uri &&
@@ -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, next_uri, last_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -18,7 +18,7 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  # Scheduling Settings
21
- class SchedulingSettings
21
+ class SchedulingSettingsRequest
22
22
  # Max occupancy percent for deferred work
23
23
  attr_accessor :max_occupancy_percent_for_deferred_work
24
24
 
@@ -28,9 +28,6 @@ module PureCloud
28
28
  # Shrinkage overrides for scheduling
29
29
  attr_accessor :shrinkage_overrides
30
30
 
31
- # Planning period settings for scheduling
32
- attr_accessor :planning_period
33
-
34
31
  # Attribute mapping from ruby-style variable name to JSON key.
35
32
  def self.attribute_map
36
33
  {
@@ -39,9 +36,7 @@ module PureCloud
39
36
 
40
37
  :'default_shrinkage_percent' => :'defaultShrinkagePercent',
41
38
 
42
- :'shrinkage_overrides' => :'shrinkageOverrides',
43
-
44
- :'planning_period' => :'planningPeriod'
39
+ :'shrinkage_overrides' => :'shrinkageOverrides'
45
40
 
46
41
  }
47
42
  end
@@ -54,9 +49,7 @@ module PureCloud
54
49
 
55
50
  :'default_shrinkage_percent' => :'Float',
56
51
 
57
- :'shrinkage_overrides' => :'ShrinkageOverrides',
58
-
59
- :'planning_period' => :'PlanningPeriodSettings'
52
+ :'shrinkage_overrides' => :'ShrinkageOverrides'
60
53
 
61
54
  }
62
55
  end
@@ -97,15 +90,6 @@ module PureCloud
97
90
  end
98
91
 
99
92
 
100
- if attributes.has_key?(:'planningPeriod')
101
-
102
-
103
- self.planning_period = attributes[:'planningPeriod']
104
-
105
-
106
- end
107
-
108
-
109
93
  end
110
94
 
111
95
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -133,10 +117,6 @@ module PureCloud
133
117
 
134
118
 
135
119
 
136
-
137
-
138
-
139
-
140
120
  end
141
121
 
142
122
 
@@ -153,11 +133,6 @@ module PureCloud
153
133
 
154
134
 
155
135
 
156
-
157
-
158
-
159
-
160
-
161
136
 
162
137
 
163
138
  # Checks equality by comparing each attribute.
@@ -167,8 +142,7 @@ module PureCloud
167
142
  self.class == o.class &&
168
143
  max_occupancy_percent_for_deferred_work == o.max_occupancy_percent_for_deferred_work &&
169
144
  default_shrinkage_percent == o.default_shrinkage_percent &&
170
- shrinkage_overrides == o.shrinkage_overrides &&
171
- planning_period == o.planning_period
145
+ shrinkage_overrides == o.shrinkage_overrides
172
146
  end
173
147
 
174
148
  # @see the `==` method
@@ -180,7 +154,7 @@ module PureCloud
180
154
  # Calculates hash code according to all attributes.
181
155
  # @return [Fixnum] Hash code
182
156
  def hash
183
- [max_occupancy_percent_for_deferred_work, default_shrinkage_percent, shrinkage_overrides, planning_period].hash
157
+ [max_occupancy_percent_for_deferred_work, default_shrinkage_percent, shrinkage_overrides].hash
184
158
  end
185
159
 
186
160
  # build the object from hash
@@ -0,0 +1,255 @@
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: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ # Scheduling Settings
21
+ class SchedulingSettingsResponse
22
+ # Max occupancy percent for deferred work
23
+ attr_accessor :max_occupancy_percent_for_deferred_work
24
+
25
+ # Default shrinkage percent for scheduling
26
+ attr_accessor :default_shrinkage_percent
27
+
28
+ # Shrinkage overrides for scheduling
29
+ attr_accessor :shrinkage_overrides
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+
35
+ :'max_occupancy_percent_for_deferred_work' => :'maxOccupancyPercentForDeferredWork',
36
+
37
+ :'default_shrinkage_percent' => :'defaultShrinkagePercent',
38
+
39
+ :'shrinkage_overrides' => :'shrinkageOverrides'
40
+
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+
48
+ :'max_occupancy_percent_for_deferred_work' => :'Integer',
49
+
50
+ :'default_shrinkage_percent' => :'Float',
51
+
52
+ :'shrinkage_overrides' => :'ShrinkageOverrides'
53
+
54
+ }
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ return unless attributes.is_a?(Hash)
61
+
62
+ # convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
64
+
65
+
66
+ if attributes.has_key?(:'maxOccupancyPercentForDeferredWork')
67
+
68
+
69
+ self.max_occupancy_percent_for_deferred_work = attributes[:'maxOccupancyPercentForDeferredWork']
70
+
71
+
72
+ end
73
+
74
+
75
+ if attributes.has_key?(:'defaultShrinkagePercent')
76
+
77
+
78
+ self.default_shrinkage_percent = attributes[:'defaultShrinkagePercent']
79
+
80
+
81
+ end
82
+
83
+
84
+ if attributes.has_key?(:'shrinkageOverrides')
85
+
86
+
87
+ self.shrinkage_overrides = attributes[:'shrinkageOverrides']
88
+
89
+
90
+ end
91
+
92
+
93
+ end
94
+
95
+ # Show invalid properties with the reasons. Usually used together with valid?
96
+ # @return Array for valid properies with the reasons
97
+ def list_invalid_properties
98
+ invalid_properties = Array.new
99
+
100
+
101
+ return invalid_properties
102
+ end
103
+
104
+ # Check to see if the all the properties in the model are valid
105
+ # @return true if the model is valid
106
+ def valid?
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+ end
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ # Checks equality by comparing each attribute.
139
+ # @param [Object] Object to be compared
140
+ def ==(o)
141
+ return true if self.equal?(o)
142
+ self.class == o.class &&
143
+ max_occupancy_percent_for_deferred_work == o.max_occupancy_percent_for_deferred_work &&
144
+ default_shrinkage_percent == o.default_shrinkage_percent &&
145
+ shrinkage_overrides == o.shrinkage_overrides
146
+ end
147
+
148
+ # @see the `==` method
149
+ # @param [Object] Object to be compared
150
+ def eql?(o)
151
+ self == o
152
+ end
153
+
154
+ # Calculates hash code according to all attributes.
155
+ # @return [Fixnum] Hash code
156
+ def hash
157
+ [max_occupancy_percent_for_deferred_work, default_shrinkage_percent, shrinkage_overrides].hash
158
+ end
159
+
160
+ # build the object from hash
161
+ def build_from_hash(attributes)
162
+ return nil unless attributes.is_a?(Hash)
163
+ self.class.swagger_types.each_pair do |key, type|
164
+ if type =~ /^Array<(.*)>/i
165
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
166
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
167
+ else
168
+ #TODO show warning in debug mode
169
+ end
170
+ elsif !attributes[self.class.attribute_map[key]].nil?
171
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
172
+ else
173
+ # data not found in attributes(hash), not an issue as the data can be optional
174
+ end
175
+ end
176
+
177
+ self
178
+ end
179
+
180
+ def _deserialize(type, value)
181
+ case type.to_sym
182
+ when :DateTime
183
+ DateTime.parse(value)
184
+ when :Date
185
+ Date.parse(value)
186
+ when :String
187
+ value.to_s
188
+ when :Integer
189
+ value.to_i
190
+ when :Float
191
+ value.to_f
192
+ when :BOOLEAN
193
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
194
+ true
195
+ else
196
+ false
197
+ end
198
+ when :Object
199
+ # generic object (usually a Hash), return directly
200
+ value
201
+ when /\AArray<(?<inner_type>.+)>\z/
202
+ inner_type = Regexp.last_match[:inner_type]
203
+ value.map { |v| _deserialize(inner_type, v) }
204
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
205
+ k_type = Regexp.last_match[:k_type]
206
+ v_type = Regexp.last_match[:v_type]
207
+ {}.tap do |hash|
208
+ value.each do |k, v|
209
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
210
+ end
211
+ end
212
+ else # model
213
+ _model = Object.const_get("PureCloud").const_get(type).new
214
+ _model.build_from_hash(value)
215
+ end
216
+ end
217
+
218
+ def to_s
219
+ to_hash.to_s
220
+ end
221
+
222
+ # to_body is an alias to to_body (backward compatibility))
223
+ def to_body
224
+ to_hash
225
+ end
226
+
227
+ # return the object in the form of hash
228
+ def to_hash
229
+ hash = {}
230
+ self.class.attribute_map.each_pair do |attr, param|
231
+ value = self.send(attr)
232
+ next if value.nil?
233
+ hash[param] = _to_hash(value)
234
+ end
235
+ hash
236
+ end
237
+
238
+ # Method to output non-array value in the form of hash
239
+ # For object, use to_hash. Otherwise, just return the value
240
+ def _to_hash(value)
241
+ if value.is_a?(Array)
242
+ value.compact.map{ |v| _to_hash(v) }
243
+ elsif value.is_a?(Hash)
244
+ {}.tap do |hash|
245
+ value.each { |k, v| hash[k] = _to_hash(v) }
246
+ end
247
+ elsif value.respond_to? :to_hash
248
+ value.to_hash
249
+ else
250
+ value
251
+ end
252
+ end
253
+
254
+ end
255
+ end