purecloudplatformclientv2 53.0.0 → 54.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 (425) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +2 -2
  4. data/docs/AgentActivityEntityListing.md +2 -2
  5. data/docs/AttemptLimitsEntityListing.md +2 -2
  6. data/docs/AuthzDivisionEntityListing.md +2 -2
  7. data/docs/CalibrationEntityListing.md +2 -2
  8. data/docs/CallConversationEntityListing.md +2 -2
  9. data/docs/CallHistoryConversationEntityListing.md +2 -2
  10. data/docs/CallableTimeSetEntityListing.md +2 -2
  11. data/docs/CallbackConversationEntityListing.md +2 -2
  12. data/docs/CampaignDivisionViewListing.md +2 -2
  13. data/docs/CampaignEntityListing.md +2 -2
  14. data/docs/CampaignRuleEntityListing.md +2 -2
  15. data/docs/CampaignSequenceEntityListing.md +2 -2
  16. data/docs/CertificateAuthorityEntityListing.md +2 -2
  17. data/docs/ChatConversationEntityListing.md +2 -2
  18. data/docs/ClientAppEntityListing.md +2 -2
  19. data/docs/CobrowseConversationEntityListing.md +2 -2
  20. data/docs/CommandStatusEntityListing.md +2 -2
  21. data/docs/ConsumedResourcesEntityListing.md +2 -2
  22. data/docs/ConsumingResourcesEntityListing.md +2 -2
  23. data/docs/ContactListDivisionViewListing.md +2 -2
  24. data/docs/ContactListEntityListing.md +2 -2
  25. data/docs/ContactListFilterEntityListing.md +2 -2
  26. data/docs/ContactListing.md +2 -2
  27. data/docs/ConversationEntityListing.md +2 -2
  28. data/docs/CredentialInfoListing.md +2 -2
  29. data/docs/CredentialTypeListing.md +2 -2
  30. data/docs/DIDEntityListing.md +2 -2
  31. data/docs/DIDPoolEntityListing.md +2 -2
  32. data/docs/DataTableRowEntityListing.md +2 -2
  33. data/docs/DataTablesDomainEntityListing.md +2 -2
  34. data/docs/DependencyObjectEntityListing.md +2 -2
  35. data/docs/DependencyTypeEntityListing.md +2 -2
  36. data/docs/DialerEventEntityListing.md +2 -2
  37. data/docs/DirectoryUserDevicesListing.md +2 -2
  38. data/docs/DncListDivisionViewListing.md +2 -2
  39. data/docs/DncListEntityListing.md +2 -2
  40. data/docs/DocumentAuditEntityListing.md +2 -2
  41. data/docs/DocumentEntityListing.md +2 -2
  42. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  43. data/docs/DomainEntityListing.md +2 -2
  44. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  45. data/docs/DomainEntityListingQueryResult.md +2 -2
  46. data/docs/DomainEntityListingSurveyForm.md +2 -2
  47. data/docs/EdgeEntityListing.md +2 -2
  48. data/docs/EdgeGroupEntityListing.md +2 -2
  49. data/docs/EdgeLineEntityListing.md +2 -2
  50. data/docs/EmailConversationEntityListing.md +2 -2
  51. data/docs/EmailMessageListing.md +2 -2
  52. data/docs/EmergencyGroupListing.md +2 -2
  53. data/docs/EncryptionKeyEntityListing.md +2 -2
  54. data/docs/EvaluationEntityListing.md +2 -2
  55. data/docs/EvaluationFormEntityListing.md +2 -2
  56. data/docs/EvaluatorActivityEntityListing.md +2 -2
  57. data/docs/ExtensionEntityListing.md +2 -2
  58. data/docs/ExtensionPoolEntityListing.md +2 -2
  59. data/docs/ExternalOrganizationListing.md +2 -2
  60. data/docs/FacebookIntegrationEntityListing.md +2 -2
  61. data/docs/FaxDocumentEntityListing.md +2 -2
  62. data/docs/FlowDivisionViewEntityListing.md +2 -2
  63. data/docs/FlowEntityListing.md +2 -2
  64. data/docs/FlowVersionEntityListing.md +2 -2
  65. data/docs/GDPRRequestEntityListing.md +2 -2
  66. data/docs/GDPRSubjectEntityListing.md +2 -2
  67. data/docs/GreetingListing.md +2 -2
  68. data/docs/GroupEntityListing.md +2 -2
  69. data/docs/GroupProfileEntityListing.md +2 -2
  70. data/docs/IVREntityListing.md +2 -2
  71. data/docs/InboundDomainEntityListing.md +2 -2
  72. data/docs/InboundRouteEntityListing.md +2 -2
  73. data/docs/IntegrationEntityListing.md +2 -2
  74. data/docs/IntegrationEventEntityListing.md +2 -2
  75. data/docs/IntegrationTypeEntityListing.md +2 -2
  76. data/docs/InteractionStatsAlertContainer.md +2 -2
  77. data/docs/InteractionStatsRuleContainer.md +2 -2
  78. data/docs/KeywordSetEntityListing.md +2 -2
  79. data/docs/LanguageEntityListing.md +2 -2
  80. data/docs/LibraryEntityListing.md +2 -2
  81. data/docs/LineBaseEntityListing.md +2 -2
  82. data/docs/LineEntityListing.md +2 -2
  83. data/docs/LineIntegrationEntityListing.md +2 -2
  84. data/docs/LocationEntityListing.md +2 -2
  85. data/docs/LocationsApi.md +1 -2
  86. data/docs/LogicalInterfaceEntityListing.md +2 -2
  87. data/docs/ManagementUnitListing.md +2 -2
  88. data/docs/MessageConversationEntityListing.md +2 -2
  89. data/docs/MessagingStickerEntityListing.md +2 -2
  90. data/docs/NoteListing.md +2 -2
  91. data/docs/OAuthClientEntityListing.md +2 -2
  92. data/docs/OAuthProviderEntityListing.md +2 -2
  93. data/docs/OrganizationPresenceEntityListing.md +2 -2
  94. data/docs/OrganizationRoleEntityListing.md +2 -2
  95. data/docs/OrphanRecordingListing.md +2 -2
  96. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  97. data/docs/OutboundRouteEntityListing.md +2 -2
  98. data/docs/PermissionCollectionEntityListing.md +2 -2
  99. data/docs/PhoneBaseEntityListing.md +2 -2
  100. data/docs/PhoneEntityListing.md +2 -2
  101. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  102. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  103. data/docs/PolicyEntityListing.md +2 -2
  104. data/docs/PromptAssetEntityListing.md +2 -2
  105. data/docs/PromptEntityListing.md +2 -2
  106. data/docs/QualityAuditPage.md +2 -2
  107. data/docs/QueueEntityListing.md +2 -2
  108. data/docs/QueueMemberEntityListing.md +2 -2
  109. data/docs/RecipientListing.md +2 -2
  110. data/docs/RelationshipListing.md +2 -2
  111. data/docs/ReportMetaDataEntityListing.md +2 -2
  112. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  113. data/docs/ReportScheduleEntityListing.md +2 -2
  114. data/docs/ReportingExportJobListing.md +2 -2
  115. data/docs/ResponseEntityList.md +2 -2
  116. data/docs/ResponseEntityListing.md +2 -2
  117. data/docs/ResponseSetEntityListing.md +2 -2
  118. data/docs/RuleSetEntityListing.md +2 -2
  119. data/docs/ScheduleEntityListing.md +2 -2
  120. data/docs/ScheduleGroupEntityListing.md +2 -2
  121. data/docs/SchemaCategoryEntityListing.md +2 -2
  122. data/docs/SchemaReferenceEntityListing.md +2 -2
  123. data/docs/ScreenRecordingSessionListing.md +2 -2
  124. data/docs/ScriptEntityListing.md +2 -2
  125. data/docs/SecurityProfileEntityListing.md +2 -2
  126. data/docs/ShareEntityListing.md +2 -2
  127. data/docs/ShiftTradeResponse.md +1 -1
  128. data/docs/SiteEntityListing.md +2 -2
  129. data/docs/SkillEntityListing.md +2 -2
  130. data/docs/SmsPhoneNumberEntityListing.md +2 -2
  131. data/docs/StationEntityListing.md +2 -2
  132. data/docs/SubjectDivisionGrantsEntityListing.md +2 -2
  133. data/docs/SurveyFormEntityListing.md +2 -2
  134. data/docs/SystemPromptAssetEntityListing.md +2 -2
  135. data/docs/SystemPromptEntityListing.md +2 -2
  136. data/docs/TagValueEntityListing.md +2 -2
  137. data/docs/TextMessageListing.md +2 -2
  138. data/docs/TimeZoneEntityListing.md +2 -2
  139. data/docs/TrunkBaseEntityListing.md +2 -2
  140. data/docs/TrunkEntityListing.md +2 -2
  141. data/docs/TrunkMetabaseEntityListing.md +2 -2
  142. data/docs/TrustEntityListing.md +2 -2
  143. data/docs/TrustUserEntityListing.md +2 -2
  144. data/docs/TrustorEntityListing.md +2 -2
  145. data/docs/TwitterIntegrationEntityListing.md +2 -2
  146. data/docs/UserActionCategoryEntityListing.md +2 -2
  147. data/docs/UserEntityListing.md +2 -2
  148. data/docs/UserLanguageEntityListing.md +2 -2
  149. data/docs/UserProfileEntityListing.md +2 -2
  150. data/docs/UserQueueEntityListing.md +2 -2
  151. data/docs/UserRecordingEntityListing.md +2 -2
  152. data/docs/UserSkillEntityListing.md +2 -2
  153. data/docs/VoicemailMessageEntityListing.md +2 -2
  154. data/docs/WfmAgent.md +4 -4
  155. data/docs/WorkforceManagementApi.md +0 -652
  156. data/docs/WorkspaceEntityListing.md +2 -2
  157. data/docs/WorkspaceMemberEntityListing.md +2 -2
  158. data/docs/WrapupCodeEntityListing.md +2 -2
  159. data/lib/purecloudplatformclientv2.rb +0 -54
  160. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +53 -751
  161. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  162. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
  163. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
  164. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
  165. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +13 -13
  166. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
  167. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
  168. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
  169. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
  170. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
  171. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +13 -13
  172. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
  173. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
  174. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
  175. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
  176. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
  177. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
  178. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
  179. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
  180. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
  181. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
  182. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +13 -13
  183. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
  184. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
  185. data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
  186. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
  187. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
  188. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
  189. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
  190. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
  191. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +13 -13
  192. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
  193. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
  194. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
  195. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
  196. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
  197. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +13 -13
  198. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
  199. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
  200. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
  201. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
  202. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
  203. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
  204. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
  205. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
  206. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
  207. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
  208. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
  209. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
  210. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
  211. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
  212. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
  213. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
  214. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
  215. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
  216. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
  217. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
  218. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
  219. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +13 -13
  220. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
  221. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +13 -13
  222. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
  223. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
  224. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +13 -13
  225. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +13 -13
  226. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
  227. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
  228. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
  229. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
  230. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
  231. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
  232. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
  233. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
  234. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
  235. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
  236. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
  237. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
  238. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
  239. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
  240. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
  241. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
  242. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +13 -13
  243. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
  244. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
  245. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
  246. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
  247. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +13 -13
  248. data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
  249. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
  250. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
  251. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
  252. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
  253. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
  254. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
  255. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
  256. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
  257. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
  258. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
  259. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
  260. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
  261. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
  262. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
  263. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
  264. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
  265. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
  266. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
  267. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
  268. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
  269. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
  270. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
  271. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
  272. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
  273. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
  274. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
  275. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
  276. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
  277. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
  278. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
  279. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
  280. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
  281. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
  282. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
  283. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
  284. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
  285. data/lib/purecloudplatformclientv2/models/shift_trade_response.rb +1 -1
  286. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
  287. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
  288. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
  289. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
  290. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +13 -13
  291. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
  292. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
  293. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
  294. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
  295. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
  296. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
  297. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
  298. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
  299. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
  300. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
  301. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
  302. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
  303. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +13 -13
  304. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
  305. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
  306. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
  307. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
  308. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
  309. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
  310. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
  311. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
  312. data/lib/purecloudplatformclientv2/models/wfm_agent.rb +55 -55
  313. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
  314. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
  315. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
  316. data/lib/purecloudplatformclientv2/version.rb +1 -1
  317. metadata +2 -110
  318. data/docs/ActionMap.md +0 -30
  319. data/docs/ActionMapAction.md +0 -16
  320. data/docs/ActionProperties.md +0 -14
  321. data/docs/ActionSurvey.md +0 -13
  322. data/docs/ActionTarget.md +0 -15
  323. data/docs/Activation.md +0 -14
  324. data/docs/AddShiftTradeRequest.md +0 -17
  325. data/docs/Browser.md +0 -23
  326. data/docs/Context.md +0 -13
  327. data/docs/ContextPattern.md +0 -13
  328. data/docs/Criteria.md +0 -16
  329. data/docs/Cursors.md +0 -14
  330. data/docs/CustomEventAttribute.md +0 -14
  331. data/docs/Device.md +0 -20
  332. data/docs/EntityTypeCriteria.md +0 -17
  333. data/docs/Event.md +0 -24
  334. data/docs/EventAction.md +0 -17
  335. data/docs/EventCondition.md +0 -15
  336. data/docs/EventListing.md +0 -16
  337. data/docs/GenericActionEvent.md +0 -16
  338. data/docs/GenericEventAction.md +0 -18
  339. data/docs/Journey.md +0 -13
  340. data/docs/JourneyApi.md +0 -85
  341. data/docs/JourneyCampaign.md +0 -19
  342. data/docs/JourneyGeolocation.md +0 -22
  343. data/docs/JourneyPage.md +0 -22
  344. data/docs/JourneyPattern.md +0 -14
  345. data/docs/JourneySegment.md +0 -25
  346. data/docs/JourneySurveyQuestion.md +0 -17
  347. data/docs/MatchShiftTradeRequest.md +0 -15
  348. data/docs/MatchShiftTradeResponse.md +0 -15
  349. data/docs/Outcome.md +0 -24
  350. data/docs/OutcomeAchievedEvent.md +0 -22
  351. data/docs/OutcomeProbabilityCondition.md +0 -15
  352. data/docs/Referrer.md +0 -21
  353. data/docs/SearchShiftTradeResponse.md +0 -15
  354. data/docs/SearchShiftTradesRequest.md +0 -14
  355. data/docs/SearchShiftTradesResponse.md +0 -13
  356. data/docs/SegmentAssignedEvent.md +0 -22
  357. data/docs/Session.md +0 -15
  358. data/docs/ShiftTradeActivityPreviewResponse.md +0 -16
  359. data/docs/ShiftTradeMatchReviewResponse.md +0 -16
  360. data/docs/ShiftTradeMatchReviewUserResponse.md +0 -17
  361. data/docs/ShiftTradeMatchViolation.md +0 -14
  362. data/docs/ShiftTradePreviewResponse.md +0 -13
  363. data/docs/ShiftTradeResponseAcceptableIntervals.md +0 -14
  364. data/docs/UpdateAgentRequest.md +0 -13
  365. data/docs/UpdateShiftTradeRequest.md +0 -16
  366. data/docs/UpdateShiftTradeStateRequest.md +0 -14
  367. data/docs/UrlCondition.md +0 -14
  368. data/docs/WebActionEvent.md +0 -26
  369. data/docs/WebEvent.md +0 -25
  370. data/docs/WeekShiftTradeListResponse.md +0 -13
  371. data/docs/WeekShiftTradeResponse.md +0 -14
  372. data/lib/purecloudplatformclientv2/api/journey_api.rb +0 -119
  373. data/lib/purecloudplatformclientv2/models/action_map.rb +0 -666
  374. data/lib/purecloudplatformclientv2/models/action_map_action.rb +0 -299
  375. data/lib/purecloudplatformclientv2/models/action_properties.rb +0 -228
  376. data/lib/purecloudplatformclientv2/models/action_survey.rb +0 -209
  377. data/lib/purecloudplatformclientv2/models/action_target.rb +0 -253
  378. data/lib/purecloudplatformclientv2/models/activation.rb +0 -233
  379. data/lib/purecloudplatformclientv2/models/add_shift_trade_request.rb +0 -317
  380. data/lib/purecloudplatformclientv2/models/browser.rb +0 -472
  381. data/lib/purecloudplatformclientv2/models/context.rb +0 -209
  382. data/lib/purecloudplatformclientv2/models/context_pattern.rb +0 -209
  383. data/lib/purecloudplatformclientv2/models/criteria.rb +0 -311
  384. data/lib/purecloudplatformclientv2/models/cursors.rb +0 -226
  385. data/lib/purecloudplatformclientv2/models/custom_event_attribute.rb +0 -228
  386. data/lib/purecloudplatformclientv2/models/device.rb +0 -418
  387. data/lib/purecloudplatformclientv2/models/entity_type_criteria.rb +0 -351
  388. data/lib/purecloudplatformclientv2/models/event.rb +0 -503
  389. data/lib/purecloudplatformclientv2/models/event_action.rb +0 -339
  390. data/lib/purecloudplatformclientv2/models/event_condition.rb +0 -280
  391. data/lib/purecloudplatformclientv2/models/event_listing.rb +0 -278
  392. data/lib/purecloudplatformclientv2/models/generic_action_event.rb +0 -285
  393. data/lib/purecloudplatformclientv2/models/generic_event_action.rb +0 -365
  394. data/lib/purecloudplatformclientv2/models/journey.rb +0 -209
  395. data/lib/purecloudplatformclientv2/models/journey_campaign.rb +0 -358
  396. data/lib/purecloudplatformclientv2/models/journey_geolocation.rb +0 -436
  397. data/lib/purecloudplatformclientv2/models/journey_page.rb +0 -458
  398. data/lib/purecloudplatformclientv2/models/journey_pattern.rb +0 -235
  399. data/lib/purecloudplatformclientv2/models/journey_segment.rb +0 -518
  400. data/lib/purecloudplatformclientv2/models/journey_survey_question.rb +0 -341
  401. data/lib/purecloudplatformclientv2/models/match_shift_trade_request.rb +0 -264
  402. data/lib/purecloudplatformclientv2/models/match_shift_trade_response.rb +0 -258
  403. data/lib/purecloudplatformclientv2/models/outcome.rb +0 -492
  404. data/lib/purecloudplatformclientv2/models/outcome_achieved_event.rb +0 -441
  405. data/lib/purecloudplatformclientv2/models/outcome_probability_condition.rb +0 -264
  406. data/lib/purecloudplatformclientv2/models/referrer.rb +0 -444
  407. data/lib/purecloudplatformclientv2/models/search_shift_trade_response.rb +0 -256
  408. data/lib/purecloudplatformclientv2/models/search_shift_trades_request.rb +0 -235
  409. data/lib/purecloudplatformclientv2/models/search_shift_trades_response.rb +0 -204
  410. data/lib/purecloudplatformclientv2/models/segment_assigned_event.rb +0 -441
  411. data/lib/purecloudplatformclientv2/models/session.rb +0 -253
  412. data/lib/purecloudplatformclientv2/models/shift_trade_activity_preview_response.rb +0 -280
  413. data/lib/purecloudplatformclientv2/models/shift_trade_match_review_response.rb +0 -284
  414. data/lib/purecloudplatformclientv2/models/shift_trade_match_review_user_response.rb +0 -306
  415. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +0 -244
  416. data/lib/purecloudplatformclientv2/models/shift_trade_preview_response.rb +0 -204
  417. data/lib/purecloudplatformclientv2/models/shift_trade_response_acceptable_intervals.rb +0 -228
  418. data/lib/purecloudplatformclientv2/models/update_agent_request.rb +0 -202
  419. data/lib/purecloudplatformclientv2/models/update_shift_trade_request.rb +0 -286
  420. data/lib/purecloudplatformclientv2/models/update_shift_trade_state_request.rb +0 -252
  421. data/lib/purecloudplatformclientv2/models/url_condition.rb +0 -254
  422. data/lib/purecloudplatformclientv2/models/web_action_event.rb +0 -545
  423. data/lib/purecloudplatformclientv2/models/web_event.rb +0 -521
  424. data/lib/purecloudplatformclientv2/models/week_shift_trade_list_response.rb +0 -203
  425. data/lib/purecloudplatformclientv2/models/week_shift_trade_response.rb +0 -228
@@ -1,16 +0,0 @@
1
- ---
2
- title: UpdateShiftTradeRequest
3
- ---
4
- ## PureCloud::UpdateShiftTradeRequest
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **receiving_user_id** | **String** | Update the ID of the receiving user to direct the request at a specific user, or set to null to open up a trade to be matched by any user | [optional] |
11
- | **expiration** | **DateTime** | Update the expiration time for this shift trade. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
12
- | **acceptable_intervals** | [**Array<ShiftTradeResponseAcceptableIntervals>**](ShiftTradeResponseAcceptableIntervals.html) | | [optional] |
13
- | **metadata** | [**WfmVersionedEntityMetadata**](WfmVersionedEntityMetadata.html) | Version metadata | |
14
- {: class="table table-striped"}
15
-
16
-
@@ -1,14 +0,0 @@
1
- ---
2
- title: UpdateShiftTradeStateRequest
3
- ---
4
- ## PureCloud::UpdateShiftTradeStateRequest
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **state** | **String** | The new state for this shift trade | |
11
- | **metadata** | [**WfmVersionedEntityMetadata**](WfmVersionedEntityMetadata.html) | Version metadata for the shift trade | |
12
- {: class="table table-striped"}
13
-
14
-
@@ -1,14 +0,0 @@
1
- ---
2
- title: UrlCondition
3
- ---
4
- ## PureCloud::UrlCondition
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **values** | **Array<String>** | The URL condition value. | |
11
- | **operator** | **String** | The comparison operator. | |
12
- {: class="table table-striped"}
13
-
14
-
@@ -1,26 +0,0 @@
1
- ---
2
- title: WebActionEvent
3
- ---
4
- ## PureCloud::WebActionEvent
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **action** | [**EventAction**](EventAction.html) | The action that triggered the event. | |
11
- | **action_map** | [**ActionMap**](ActionMap.html) | The action map that triggered the action. | [optional] |
12
- | **action_target** | [**ActionTarget**](ActionTarget.html) | The target for engagement actions. | [optional] |
13
- | **time_to_disposition** | **Integer** | Milliseconds elapsed until the action is disposed. | [optional] |
14
- | **error_code** | **String** | Code of the error returned when the action fails. | [optional] |
15
- | **error_message** | **String** | Message of the error returned when the action fails. | [optional] |
16
- | **user_agent_string** | **String** | HTTP User-Agent string (see https://tools.ietf.org/html/rfc1945#section-10.15). | [optional] |
17
- | **browser** | [**Browser**](Browser.html) | Customer's browser. | [optional] |
18
- | **device** | [**Device**](Device.html) | Customer's device. | [optional] |
19
- | **geolocation** | [**JourneyGeolocation**](JourneyGeolocation.html) | Customer's geolocation. | [optional] |
20
- | **ip_address** | **String** | Visitor's IP address. | [optional] |
21
- | **ip_organization** | **String** | Visitor's IP-based organization or ISP name. | [optional] |
22
- | **mkt_campaign** | [**JourneyCampaign**](JourneyCampaign.html) | Marketing / traffic source information. | [optional] |
23
- | **visit_referrer** | [**Referrer**](Referrer.html) | Visit's referrer. | [optional] |
24
- {: class="table table-striped"}
25
-
26
-
@@ -1,25 +0,0 @@
1
- ---
2
- title: WebEvent
3
- ---
4
- ## PureCloud::WebEvent
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **event_name** | **String** | Represents the action the customer performed. A good event name is typically an object followed by the action performed in past tense (e.g. page_viewed, order_completed, user_registered). | |
11
- | **total_event_count** | **Integer** | The total count of events performed by the customer across all sessions. | [optional] |
12
- | **total_pageview_count** | **Integer** | The total count of pageviews performed by the customer across all sessions. | [optional] |
13
- | **page** | [**JourneyPage**](JourneyPage.html) | The webpage where the user interaction occurred. | [optional] |
14
- | **user_agent_string** | **String** | HTTP User-Agent string (see https://tools.ietf.org/html/rfc1945#section-10.15). | [optional] |
15
- | **browser** | [**Browser**](Browser.html) | Customer's browser. | [optional] |
16
- | **device** | [**Device**](Device.html) | Customer's device. | [optional] |
17
- | **geolocation** | [**JourneyGeolocation**](JourneyGeolocation.html) | Customer's geolocation. | [optional] |
18
- | **ip_address** | **String** | Customer's IP address. May be null if the business configures the tracker to not collect IP addresses. | [optional] |
19
- | **ip_organization** | **String** | Customer's IP-based organization or ISP name. | [optional] |
20
- | **mkt_campaign** | [**JourneyCampaign**](JourneyCampaign.html) | Marketing / traffic source information. | [optional] |
21
- | **referrer** | [**Referrer**](Referrer.html) | Identifies the page URL that originally generated the request for the current page being viewed. | [optional] |
22
- | **attributes** | [**Hash<String, CustomEventAttribute>**](CustomEventAttribute.html) | User-defined attributes associated with a particular event. | [optional] |
23
- {: class="table table-striped"}
24
-
25
-
@@ -1,13 +0,0 @@
1
- ---
2
- title: WeekShiftTradeListResponse
3
- ---
4
- ## PureCloud::WeekShiftTradeListResponse
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **entities** | [**Array<WeekShiftTradeResponse>**](WeekShiftTradeResponse.html) | | [optional] |
11
- {: class="table table-striped"}
12
-
13
-
@@ -1,14 +0,0 @@
1
- ---
2
- title: WeekShiftTradeResponse
3
- ---
4
- ## PureCloud::WeekShiftTradeResponse
5
-
6
- ## Properties
7
-
8
- |Name | Type | Description | Notes|
9
- |------------ | ------------- | ------------- | -------------|
10
- | **trade** | [**ShiftTradeResponse**](ShiftTradeResponse.html) | The shift trade details | [optional] |
11
- | **match_review** | [**ShiftTradeMatchReviewResponse**](ShiftTradeMatchReviewResponse.html) | A preview of what the schedule would look like if the shift trade is approved plus any violations | [optional] |
12
- {: class="table table-striped"}
13
-
14
-
@@ -1,119 +0,0 @@
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 "uri"
18
-
19
- module PureCloud
20
- class JourneyApi
21
- attr_accessor :api_client
22
-
23
- def initialize(api_client = ApiClient.default)
24
- @api_client = api_client
25
- end
26
-
27
- # Retrieve all events for a given session.
28
- #
29
- # @param session_id System-generated UUID that represents the session the event is a part of.
30
- # @param [Hash] opts the optional parameters
31
- # @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
32
- # @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
33
- # @option opts [String] :limit Number of entities to return. Maximum of 200.
34
- # @return [EventListing]
35
- def get_journey_session_events(session_id, opts = {})
36
- data, _status_code, _headers = get_journey_session_events_with_http_info(session_id, opts)
37
- return data
38
- end
39
-
40
- # Retrieve all events for a given session.
41
- #
42
- # @param session_id System-generated UUID that represents the session the event is a part of.
43
- # @param [Hash] opts the optional parameters
44
- # @option opts [String] :before The cursor that points to the start of the set of entities that has been returned.
45
- # @option opts [String] :after The cursor that points to the end of the set of entities that has been returned.
46
- # @option opts [String] :limit Number of entities to return. Maximum of 200.
47
- # @return [Array<(EventListing, Fixnum, Hash)>] EventListing data, response status code and response headers
48
- def get_journey_session_events_with_http_info(session_id, opts = {})
49
- if @api_client.config.debugging
50
- @api_client.config.logger.debug "Calling API: JourneyApi.get_journey_session_events ..."
51
- end
52
-
53
-
54
- # verify the required parameter 'session_id' is set
55
- fail ArgumentError, "Missing the required parameter 'session_id' when calling JourneyApi.get_journey_session_events" if session_id.nil?
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- # resource path
80
- local_var_path = "/api/v2/journey/sessions/{sessionId}/events".sub('{format}','json').sub('{' + 'sessionId' + '}', session_id.to_s)
81
-
82
- # query parameters
83
- query_params = {}
84
- query_params[:'before'] = opts[:'before'] if opts[:'before']
85
- query_params[:'after'] = opts[:'after'] if opts[:'after']
86
- query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
87
-
88
- # header parameters
89
- header_params = {}
90
-
91
- # HTTP header 'Accept' (if needed)
92
- local_header_accept = ['application/json']
93
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
94
-
95
- # HTTP header 'Content-Type'
96
- local_header_content_type = ['application/json']
97
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
98
-
99
- # form parameters
100
- form_params = {}
101
-
102
- # http body (model)
103
- post_body = nil
104
-
105
- auth_names = ['PureCloud OAuth']
106
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
107
- :header_params => header_params,
108
- :query_params => query_params,
109
- :form_params => form_params,
110
- :body => post_body,
111
- :auth_names => auth_names,
112
- :return_type => 'EventListing')
113
- if @api_client.config.debugging
114
- @api_client.config.logger.debug "API called: JourneyApi#get_journey_session_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
115
- end
116
- return data, status_code, headers
117
- end
118
- end
119
- end
@@ -1,666 +0,0 @@
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
- class ActionMap
21
- # The globally unique identifier for the object.
22
- attr_accessor :id
23
-
24
- attr_accessor :name
25
-
26
- # The version of the action map.
27
- attr_accessor :version
28
-
29
- # Whether the action map is active.
30
- attr_accessor :is_active
31
-
32
- # Display name of the action map.
33
- attr_accessor :display_name
34
-
35
- # Trigger action map if any segment in the list is assigned to a given customer.
36
- attr_accessor :trigger_with_segments
37
-
38
- # List of event conditions that must be satisfied to trigger the action map.
39
- attr_accessor :trigger_with_event_conditions
40
-
41
- # Probability conditions for outcomes that must be satisfied to trigger the action map.
42
- attr_accessor :trigger_with_outcome_probability_conditions
43
-
44
- # URL conditions that a page must match for web actions to be displayable.
45
- attr_accessor :page_url_conditions
46
-
47
- # Type of activation.
48
- attr_accessor :activation
49
-
50
- # Weight of the action map with higher number denoting higher weight.
51
- attr_accessor :weight
52
-
53
- # The action that will be executed if this action map is triggered.
54
- attr_accessor :action
55
-
56
- # The estimated wait time limit above which actions will not be offered.
57
- attr_accessor :estimated_wait_time_limit
58
-
59
- # The URI for this object
60
- attr_accessor :self_uri
61
-
62
- # Timestamp indicating when the action map was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
63
- attr_accessor :created_date
64
-
65
- # Timestamp indicating when the action map was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
66
- attr_accessor :modified_date
67
-
68
- # Timestamp at which the action map is scheduled to start firing. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
69
- attr_accessor :start_date
70
-
71
- # Timestamp at which the action map is scheduled to stop firing. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
72
- attr_accessor :end_date
73
-
74
- # Attribute mapping from ruby-style variable name to JSON key.
75
- def self.attribute_map
76
- {
77
-
78
- :'id' => :'id',
79
-
80
- :'name' => :'name',
81
-
82
- :'version' => :'version',
83
-
84
- :'is_active' => :'isActive',
85
-
86
- :'display_name' => :'displayName',
87
-
88
- :'trigger_with_segments' => :'triggerWithSegments',
89
-
90
- :'trigger_with_event_conditions' => :'triggerWithEventConditions',
91
-
92
- :'trigger_with_outcome_probability_conditions' => :'triggerWithOutcomeProbabilityConditions',
93
-
94
- :'page_url_conditions' => :'pageUrlConditions',
95
-
96
- :'activation' => :'activation',
97
-
98
- :'weight' => :'weight',
99
-
100
- :'action' => :'action',
101
-
102
- :'estimated_wait_time_limit' => :'estimatedWaitTimeLimit',
103
-
104
- :'self_uri' => :'selfUri',
105
-
106
- :'created_date' => :'createdDate',
107
-
108
- :'modified_date' => :'modifiedDate',
109
-
110
- :'start_date' => :'startDate',
111
-
112
- :'end_date' => :'endDate'
113
-
114
- }
115
- end
116
-
117
- # Attribute type mapping.
118
- def self.swagger_types
119
- {
120
-
121
- :'id' => :'String',
122
-
123
- :'name' => :'String',
124
-
125
- :'version' => :'Integer',
126
-
127
- :'is_active' => :'BOOLEAN',
128
-
129
- :'display_name' => :'String',
130
-
131
- :'trigger_with_segments' => :'Array<String>',
132
-
133
- :'trigger_with_event_conditions' => :'Array<EventCondition>',
134
-
135
- :'trigger_with_outcome_probability_conditions' => :'Array<OutcomeProbabilityCondition>',
136
-
137
- :'page_url_conditions' => :'Array<UrlCondition>',
138
-
139
- :'activation' => :'Activation',
140
-
141
- :'weight' => :'Integer',
142
-
143
- :'action' => :'ActionMapAction',
144
-
145
- :'estimated_wait_time_limit' => :'Integer',
146
-
147
- :'self_uri' => :'String',
148
-
149
- :'created_date' => :'DateTime',
150
-
151
- :'modified_date' => :'DateTime',
152
-
153
- :'start_date' => :'DateTime',
154
-
155
- :'end_date' => :'DateTime'
156
-
157
- }
158
- end
159
-
160
- # Initializes the object
161
- # @param [Hash] attributes Model attributes in the form of hash
162
- def initialize(attributes = {})
163
- return unless attributes.is_a?(Hash)
164
-
165
- # convert string to symbol for hash key
166
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
167
-
168
-
169
- if attributes.has_key?(:'id')
170
-
171
-
172
- self.id = attributes[:'id']
173
-
174
-
175
- end
176
-
177
-
178
- if attributes.has_key?(:'name')
179
-
180
-
181
- self.name = attributes[:'name']
182
-
183
-
184
- end
185
-
186
-
187
- if attributes.has_key?(:'version')
188
-
189
-
190
- self.version = attributes[:'version']
191
-
192
-
193
- end
194
-
195
-
196
- if attributes.has_key?(:'isActive')
197
-
198
-
199
- self.is_active = attributes[:'isActive']
200
-
201
-
202
- end
203
-
204
-
205
- if attributes.has_key?(:'displayName')
206
-
207
-
208
- self.display_name = attributes[:'displayName']
209
-
210
-
211
- end
212
-
213
-
214
- if attributes.has_key?(:'triggerWithSegments')
215
-
216
- if (value = attributes[:'triggerWithSegments']).is_a?(Array)
217
- self.trigger_with_segments = value
218
- end
219
-
220
-
221
-
222
- end
223
-
224
-
225
- if attributes.has_key?(:'triggerWithEventConditions')
226
-
227
- if (value = attributes[:'triggerWithEventConditions']).is_a?(Array)
228
- self.trigger_with_event_conditions = value
229
- end
230
-
231
-
232
-
233
- end
234
-
235
-
236
- if attributes.has_key?(:'triggerWithOutcomeProbabilityConditions')
237
-
238
- if (value = attributes[:'triggerWithOutcomeProbabilityConditions']).is_a?(Array)
239
- self.trigger_with_outcome_probability_conditions = value
240
- end
241
-
242
-
243
-
244
- end
245
-
246
-
247
- if attributes.has_key?(:'pageUrlConditions')
248
-
249
- if (value = attributes[:'pageUrlConditions']).is_a?(Array)
250
- self.page_url_conditions = value
251
- end
252
-
253
-
254
-
255
- end
256
-
257
-
258
- if attributes.has_key?(:'activation')
259
-
260
-
261
- self.activation = attributes[:'activation']
262
-
263
-
264
- end
265
-
266
-
267
- if attributes.has_key?(:'weight')
268
-
269
-
270
- self.weight = attributes[:'weight']
271
-
272
-
273
- end
274
-
275
-
276
- if attributes.has_key?(:'action')
277
-
278
-
279
- self.action = attributes[:'action']
280
-
281
-
282
- end
283
-
284
-
285
- if attributes.has_key?(:'estimatedWaitTimeLimit')
286
-
287
-
288
- self.estimated_wait_time_limit = attributes[:'estimatedWaitTimeLimit']
289
-
290
-
291
- end
292
-
293
-
294
- if attributes.has_key?(:'selfUri')
295
-
296
-
297
- self.self_uri = attributes[:'selfUri']
298
-
299
-
300
- end
301
-
302
-
303
- if attributes.has_key?(:'createdDate')
304
-
305
-
306
- self.created_date = attributes[:'createdDate']
307
-
308
-
309
- end
310
-
311
-
312
- if attributes.has_key?(:'modifiedDate')
313
-
314
-
315
- self.modified_date = attributes[:'modifiedDate']
316
-
317
-
318
- end
319
-
320
-
321
- if attributes.has_key?(:'startDate')
322
-
323
-
324
- self.start_date = attributes[:'startDate']
325
-
326
-
327
- end
328
-
329
-
330
- if attributes.has_key?(:'endDate')
331
-
332
-
333
- self.end_date = attributes[:'endDate']
334
-
335
-
336
- end
337
-
338
-
339
- end
340
-
341
- # Show invalid properties with the reasons. Usually used together with valid?
342
- # @return Array for valid properies with the reasons
343
- def list_invalid_properties
344
- invalid_properties = Array.new
345
-
346
-
347
- return invalid_properties
348
- end
349
-
350
- # Check to see if the all the properties in the model are valid
351
- # @return true if the model is valid
352
- def valid?
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
- if @display_name.nil?
372
- return false
373
- end
374
-
375
-
376
-
377
-
378
-
379
-
380
- if @trigger_with_segments.nil?
381
- return false
382
- end
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
- if @page_url_conditions.nil?
398
- return false
399
- end
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
-
439
-
440
-
441
- end
442
-
443
-
444
-
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
-
534
- # Checks equality by comparing each attribute.
535
- # @param [Object] Object to be compared
536
- def ==(o)
537
- return true if self.equal?(o)
538
- self.class == o.class &&
539
- id == o.id &&
540
- name == o.name &&
541
- version == o.version &&
542
- is_active == o.is_active &&
543
- display_name == o.display_name &&
544
- trigger_with_segments == o.trigger_with_segments &&
545
- trigger_with_event_conditions == o.trigger_with_event_conditions &&
546
- trigger_with_outcome_probability_conditions == o.trigger_with_outcome_probability_conditions &&
547
- page_url_conditions == o.page_url_conditions &&
548
- activation == o.activation &&
549
- weight == o.weight &&
550
- action == o.action &&
551
- estimated_wait_time_limit == o.estimated_wait_time_limit &&
552
- self_uri == o.self_uri &&
553
- created_date == o.created_date &&
554
- modified_date == o.modified_date &&
555
- start_date == o.start_date &&
556
- end_date == o.end_date
557
- end
558
-
559
- # @see the `==` method
560
- # @param [Object] Object to be compared
561
- def eql?(o)
562
- self == o
563
- end
564
-
565
- # Calculates hash code according to all attributes.
566
- # @return [Fixnum] Hash code
567
- def hash
568
- [id, name, version, is_active, display_name, trigger_with_segments, trigger_with_event_conditions, trigger_with_outcome_probability_conditions, page_url_conditions, activation, weight, action, estimated_wait_time_limit, self_uri, created_date, modified_date, start_date, end_date].hash
569
- end
570
-
571
- # build the object from hash
572
- def build_from_hash(attributes)
573
- return nil unless attributes.is_a?(Hash)
574
- self.class.swagger_types.each_pair do |key, type|
575
- if type =~ /^Array<(.*)>/i
576
- if attributes[self.class.attribute_map[key]].is_a?(Array)
577
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
578
- else
579
- #TODO show warning in debug mode
580
- end
581
- elsif !attributes[self.class.attribute_map[key]].nil?
582
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
583
- else
584
- # data not found in attributes(hash), not an issue as the data can be optional
585
- end
586
- end
587
-
588
- self
589
- end
590
-
591
- def _deserialize(type, value)
592
- case type.to_sym
593
- when :DateTime
594
- DateTime.parse(value)
595
- when :Date
596
- Date.parse(value)
597
- when :String
598
- value.to_s
599
- when :Integer
600
- value.to_i
601
- when :Float
602
- value.to_f
603
- when :BOOLEAN
604
- if value.to_s =~ /^(true|t|yes|y|1)$/i
605
- true
606
- else
607
- false
608
- end
609
- when :Object
610
- # generic object (usually a Hash), return directly
611
- value
612
- when /\AArray<(?<inner_type>.+)>\z/
613
- inner_type = Regexp.last_match[:inner_type]
614
- value.map { |v| _deserialize(inner_type, v) }
615
- when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
616
- k_type = Regexp.last_match[:k_type]
617
- v_type = Regexp.last_match[:v_type]
618
- {}.tap do |hash|
619
- value.each do |k, v|
620
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
621
- end
622
- end
623
- else # model
624
- _model = Object.const_get("PureCloud").const_get(type).new
625
- _model.build_from_hash(value)
626
- end
627
- end
628
-
629
- def to_s
630
- to_hash.to_s
631
- end
632
-
633
- # to_body is an alias to to_body (backward compatibility))
634
- def to_body
635
- to_hash
636
- end
637
-
638
- # return the object in the form of hash
639
- def to_hash
640
- hash = {}
641
- self.class.attribute_map.each_pair do |attr, param|
642
- value = self.send(attr)
643
- next if value.nil?
644
- hash[param] = _to_hash(value)
645
- end
646
- hash
647
- end
648
-
649
- # Method to output non-array value in the form of hash
650
- # For object, use to_hash. Otherwise, just return the value
651
- def _to_hash(value)
652
- if value.is_a?(Array)
653
- value.compact.map{ |v| _to_hash(v) }
654
- elsif value.is_a?(Hash)
655
- {}.tap do |hash|
656
- value.each { |k, v| hash[k] = _to_hash(v) }
657
- end
658
- elsif value.respond_to? :to_hash
659
- value.to_hash
660
- else
661
- value
662
- end
663
- end
664
-
665
- end
666
- end