purecloudplatformclientv2 24.0.0 → 25.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -2
  3. data/docs/ActionEntityListing.md +2 -2
  4. data/docs/AgentActivity.md +6 -0
  5. data/docs/AgentActivityEntityListing.md +2 -2
  6. data/docs/AnalyticsSession.md +1 -0
  7. data/docs/AnalyticsSessionMetric.md +15 -0
  8. data/docs/AttemptLimitsEntityListing.md +2 -2
  9. data/docs/AttributeEntityListing.md +2 -2
  10. data/docs/CalibrationEntityListing.md +2 -2
  11. data/docs/CallConversationEntityListing.md +2 -2
  12. data/docs/CallHistoryConversationEntityListing.md +2 -2
  13. data/docs/CallableTimeSetEntityListing.md +2 -2
  14. data/docs/CallbackConversationEntityListing.md +2 -2
  15. data/docs/CampaignEntityListing.md +2 -2
  16. data/docs/CampaignRuleEntityListing.md +2 -2
  17. data/docs/CampaignSequenceEntityListing.md +2 -2
  18. data/docs/CertificateAuthorityEntityListing.md +2 -2
  19. data/docs/ChatConversationEntityListing.md +2 -2
  20. data/docs/CobrowseConversationEntityListing.md +2 -2
  21. data/docs/CommandStatusEntityListing.md +2 -2
  22. data/docs/ConsumedResourcesEntityListing.md +2 -2
  23. data/docs/ConsumingResourcesEntityListing.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/ConversationsApi.md +4 -4
  29. data/docs/CreateEmailRequest.md +4 -4
  30. data/docs/DIDEntityListing.md +2 -2
  31. data/docs/DIDPoolEntityListing.md +2 -2
  32. data/docs/DependencyObjectEntityListing.md +2 -2
  33. data/docs/DependencyTypeEntityListing.md +2 -2
  34. data/docs/DialerEventEntityListing.md +2 -2
  35. data/docs/DirectoryUserDevicesListing.md +2 -2
  36. data/docs/DncListEntityListing.md +2 -2
  37. data/docs/DocumentAuditEntityListing.md +2 -2
  38. data/docs/DocumentEntityListing.md +2 -2
  39. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  40. data/docs/DomainEntityListing.md +2 -2
  41. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  42. data/docs/DomainEntityListingQueryResult.md +2 -2
  43. data/docs/DomainEntityListingSurveyForm.md +22 -0
  44. data/docs/EdgeEntityListing.md +2 -2
  45. data/docs/EdgeGroupEntityListing.md +2 -2
  46. data/docs/EdgeLineEntityListing.md +2 -2
  47. data/docs/EmailConversationEntityListing.md +2 -2
  48. data/docs/EmailMessageListing.md +2 -2
  49. data/docs/EncryptionKeyEntityListing.md +2 -2
  50. data/docs/EndpointEntityListing.md +2 -2
  51. data/docs/EvaluationEntityListing.md +2 -2
  52. data/docs/EvaluationForm.md +0 -1
  53. data/docs/EvaluationFormEntityListing.md +2 -2
  54. data/docs/EvaluatorActivityEntityListing.md +2 -2
  55. data/docs/ExtensionEntityListing.md +2 -2
  56. data/docs/ExtensionPoolEntityListing.md +2 -2
  57. data/docs/ExternalOrganizationListing.md +2 -2
  58. data/docs/FaxDocumentEntityListing.md +2 -2
  59. data/docs/FlowEntityListing.md +2 -2
  60. data/docs/FlowVersionEntityListing.md +2 -2
  61. data/docs/GreetingListing.md +2 -2
  62. data/docs/GroupEntityListing.md +2 -2
  63. data/docs/IVREntityListing.md +2 -2
  64. data/docs/InboundDomainEntityListing.md +2 -2
  65. data/docs/InboundRouteEntityListing.md +2 -2
  66. data/docs/InteractionStatsAlertContainer.md +2 -2
  67. data/docs/InteractionStatsRuleContainer.md +2 -2
  68. data/docs/JsonNode.md +1 -1
  69. data/docs/KeywordSetEntityListing.md +2 -2
  70. data/docs/LanguageEntityListing.md +2 -2
  71. data/docs/LibraryEntityListing.md +2 -2
  72. data/docs/LineBaseEntityListing.md +2 -2
  73. data/docs/LineEntityListing.md +2 -2
  74. data/docs/LocationEntityListing.md +2 -2
  75. data/docs/LogicalInterfaceEntityListing.md +2 -2
  76. data/docs/ManagementUnitListing.md +2 -2
  77. data/docs/NoteListing.md +2 -2
  78. data/docs/OAuthClientEntityListing.md +2 -2
  79. data/docs/OAuthProviderEntityListing.md +2 -2
  80. data/docs/OrganizationPresenceEntityListing.md +2 -2
  81. data/docs/OrganizationRoleEntityListing.md +2 -2
  82. data/docs/OrphanRecordingListing.md +2 -2
  83. data/docs/OutboundApi.md +6 -4
  84. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  85. data/docs/OutboundRouteEntityListing.md +2 -2
  86. data/docs/PermissionCollectionEntityListing.md +2 -2
  87. data/docs/PhoneBaseEntityListing.md +2 -2
  88. data/docs/PhoneEntityListing.md +2 -2
  89. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  90. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  91. data/docs/PolicyEntityListing.md +2 -2
  92. data/docs/PromptAssetEntityListing.md +2 -2
  93. data/docs/PromptEntityListing.md +2 -2
  94. data/docs/PublishForm.md +14 -0
  95. data/docs/QualityApi.md +1320 -125
  96. data/docs/QualityAuditPage.md +2 -2
  97. data/docs/Question.md +5 -5
  98. data/docs/QueueEntityListing.md +2 -2
  99. data/docs/QueueMemberEntityListing.md +2 -2
  100. data/docs/RelationshipListing.md +2 -2
  101. data/docs/ReportMetaDataEntityListing.md +2 -2
  102. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  103. data/docs/ReportScheduleEntityListing.md +2 -2
  104. data/docs/ResponseEntityList.md +2 -2
  105. data/docs/ResponseEntityListing.md +2 -2
  106. data/docs/ResponseSetEntityListing.md +2 -2
  107. data/docs/RuleSetEntityListing.md +2 -2
  108. data/docs/ScheduleEntityListing.md +2 -2
  109. data/docs/ScheduleGroupEntityListing.md +2 -2
  110. data/docs/SchemaCategoryEntityListing.md +2 -2
  111. data/docs/SchemaReferenceEntityListing.md +2 -2
  112. data/docs/ScreenRecordingSessionListing.md +2 -2
  113. data/docs/ScriptEntityListing.md +2 -2
  114. data/docs/SecurityProfileEntityListing.md +2 -2
  115. data/docs/ShareEntityListing.md +2 -2
  116. data/docs/SiteEntityListing.md +2 -2
  117. data/docs/SkillEntityListing.md +2 -2
  118. data/docs/StationEntityListing.md +2 -2
  119. data/docs/SurveyForm.md +23 -0
  120. data/docs/SurveyFormEntityListing.md +22 -0
  121. data/docs/SystemPromptAssetEntityListing.md +2 -2
  122. data/docs/SystemPromptEntityListing.md +2 -2
  123. data/docs/TagValueEntityListing.md +2 -2
  124. data/docs/TimeZoneEntityListing.md +2 -2
  125. data/docs/TrunkBaseEntityListing.md +2 -2
  126. data/docs/TrunkEntityListing.md +2 -2
  127. data/docs/TrunkMetabaseEntityListing.md +2 -2
  128. data/docs/TrustEntityListing.md +2 -2
  129. data/docs/TrustUserEntityListing.md +2 -2
  130. data/docs/TrustorEntityListing.md +2 -2
  131. data/docs/UserEntityListing.md +2 -2
  132. data/docs/UserProfileEntityListing.md +2 -2
  133. data/docs/UserQueueEntityListing.md +2 -2
  134. data/docs/UserRecordingEntityListing.md +2 -2
  135. data/docs/UserSkillEntityListing.md +2 -2
  136. data/docs/VoicemailMessageEntityListing.md +2 -2
  137. data/docs/WebChatApi.md +535 -0
  138. data/docs/WebChatDeployment.md +19 -0
  139. data/docs/WebChatDeploymentEntityListing.md +15 -0
  140. data/docs/WebChatSettings.md +13 -0
  141. data/docs/WfmMoveAgentsCompleteNotification.md +15 -0
  142. data/docs/WfmMoveAgentsCompleteNotificationManagementUnit.md +13 -0
  143. data/docs/WfmMoveAgentsCompleteNotificationMoveAgentResults.md +14 -0
  144. data/docs/WfmMoveAgentsCompleteNotificationUser.md +13 -0
  145. data/docs/WfmMoveAgentsCompleteNotificationWfmMoveAgentData.md +14 -0
  146. data/docs/WfmUpdateAgentDetailsCompleteNotification.md +13 -0
  147. data/docs/WorkspaceEntityListing.md +2 -2
  148. data/docs/WorkspaceMemberEntityListing.md +2 -2
  149. data/docs/WrapupCodeEntityListing.md +2 -2
  150. data/lib/purecloudplatformclientv2.rb +15 -0
  151. data/lib/purecloudplatformclientv2/api/conversations_api.rb +4 -4
  152. data/lib/purecloudplatformclientv2/api/outbound_api.rb +13 -4
  153. data/lib/purecloudplatformclientv2/api/quality_api.rb +1652 -213
  154. data/lib/purecloudplatformclientv2/api/web_chat_api.rb +590 -0
  155. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  156. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +25 -25
  157. data/lib/purecloudplatformclientv2/models/agent_activity.rb +151 -1
  158. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +25 -25
  159. data/lib/purecloudplatformclientv2/models/analytics_session.rb +32 -4
  160. data/lib/purecloudplatformclientv2/models/analytics_session_metric.rb +269 -0
  161. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +25 -25
  162. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +25 -25
  163. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +25 -25
  164. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +25 -25
  165. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +25 -25
  166. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +25 -25
  167. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +25 -25
  168. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +25 -25
  169. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +25 -25
  170. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +25 -25
  171. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +25 -25
  172. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +25 -25
  173. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +25 -25
  174. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +25 -25
  175. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +25 -25
  176. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +25 -25
  177. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +25 -25
  178. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +25 -25
  179. data/lib/purecloudplatformclientv2/models/contact_listing.rb +25 -25
  180. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +25 -25
  181. data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +2 -2
  182. data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +2 -2
  183. data/lib/purecloudplatformclientv2/models/create_activity_code_request.rb +15 -1
  184. data/lib/purecloudplatformclientv2/models/create_email_request.rb +4 -4
  185. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +25 -25
  186. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +25 -25
  187. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +25 -25
  188. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +25 -25
  189. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +25 -25
  190. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +25 -25
  191. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +25 -25
  192. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +25 -25
  193. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +25 -25
  194. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +25 -25
  195. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +25 -25
  196. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +25 -25
  197. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +25 -25
  198. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +428 -0
  199. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +25 -25
  200. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +25 -25
  201. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +25 -25
  202. data/lib/purecloudplatformclientv2/models/email.rb +2 -2
  203. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +25 -25
  204. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +25 -25
  205. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +25 -25
  206. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +25 -25
  207. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +25 -25
  208. data/lib/purecloudplatformclientv2/models/evaluation_form.rb +1 -32
  209. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +25 -25
  210. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +25 -25
  211. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +25 -25
  212. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +25 -25
  213. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +25 -25
  214. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +25 -25
  215. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +25 -25
  216. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +25 -25
  217. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +25 -25
  218. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +25 -25
  219. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +25 -25
  220. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +25 -25
  221. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +25 -25
  222. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +25 -25
  223. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +25 -25
  224. data/lib/purecloudplatformclientv2/models/json_node.rb +17 -17
  225. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +25 -25
  226. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +25 -25
  227. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +25 -25
  228. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +25 -25
  229. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +25 -25
  230. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +25 -25
  231. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +25 -25
  232. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +25 -25
  233. data/lib/purecloudplatformclientv2/models/note_listing.rb +25 -25
  234. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +25 -25
  235. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +25 -25
  236. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +25 -25
  237. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +25 -25
  238. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +25 -25
  239. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +25 -25
  240. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +25 -25
  241. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +25 -25
  242. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +25 -25
  243. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +25 -25
  244. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +25 -25
  245. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +25 -25
  246. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +25 -25
  247. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +25 -25
  248. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +25 -25
  249. data/lib/purecloudplatformclientv2/models/publish_form.rb +238 -0
  250. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +25 -25
  251. data/lib/purecloudplatformclientv2/models/question.rb +67 -50
  252. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +25 -25
  253. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +25 -25
  254. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +25 -25
  255. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +25 -25
  256. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +25 -25
  257. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +25 -25
  258. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +25 -25
  259. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +25 -25
  260. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +25 -25
  261. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +25 -25
  262. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +25 -25
  263. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +25 -25
  264. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +25 -25
  265. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +25 -25
  266. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +25 -25
  267. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +25 -25
  268. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +25 -25
  269. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +25 -25
  270. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +25 -25
  271. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +25 -25
  272. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +25 -25
  273. data/lib/purecloudplatformclientv2/models/survey_form.rb +479 -0
  274. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +428 -0
  275. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +25 -25
  276. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +25 -25
  277. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +25 -25
  278. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +25 -25
  279. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +25 -25
  280. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +25 -25
  281. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +25 -25
  282. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +25 -25
  283. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +25 -25
  284. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +25 -25
  285. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +25 -25
  286. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +25 -25
  287. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +25 -25
  288. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +25 -25
  289. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +2 -2
  290. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +25 -25
  291. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +25 -25
  292. data/lib/purecloudplatformclientv2/models/web_chat_deployment.rb +354 -0
  293. data/lib/purecloudplatformclientv2/models/web_chat_deployment_entity_listing.rb +253 -0
  294. data/lib/purecloudplatformclientv2/models/web_chat_settings.rb +201 -0
  295. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_notification.rb +253 -0
  296. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_notification_management_unit.rb +201 -0
  297. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_notification_move_agent_results.rb +240 -0
  298. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_notification_user.rb +201 -0
  299. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_notification_wfm_move_agent_data.rb +240 -0
  300. data/lib/purecloudplatformclientv2/models/wfm_update_agent_details_complete_notification.rb +215 -0
  301. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +25 -25
  302. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +25 -25
  303. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +25 -25
  304. data/lib/purecloudplatformclientv2/version.rb +1 -1
  305. metadata +32 -2
@@ -0,0 +1,240 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class WfmMoveAgentsCompleteNotificationMoveAgentResults
21
+ attr_accessor :user
22
+
23
+ attr_accessor :move_agent_result
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+
29
+ :'user' => :'user',
30
+
31
+ :'move_agent_result' => :'moveAgentResult'
32
+
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+
40
+ :'user' => :'WfmMoveAgentsCompleteNotificationUser',
41
+
42
+ :'move_agent_result' => :'String'
43
+
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
54
+
55
+
56
+ if attributes.has_key?(:'user')
57
+
58
+
59
+ self.user = attributes[:'user']
60
+
61
+
62
+ end
63
+
64
+
65
+ if attributes.has_key?(:'moveAgentResult')
66
+
67
+
68
+ self.move_agent_result = attributes[:'moveAgentResult']
69
+
70
+
71
+ end
72
+
73
+
74
+ end
75
+
76
+ # Show invalid properties with the reasons. Usually used together with valid?
77
+ # @return Array for valid properies with the reasons
78
+ def list_invalid_properties
79
+ invalid_properties = Array.new
80
+
81
+
82
+ return invalid_properties
83
+ end
84
+
85
+ # Check to see if the all the properties in the model are valid
86
+ # @return true if the model is valid
87
+ def valid?
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ allowed_values = ["MoveSuccessful", "NothingToDo", "AlreadyMoved", "DestinationManagementUnitDoesNotExist", "DestinationManagementUnitAgentLimitExceeded", "MovingToDifferentManagementUnit"]
96
+ if @move_agent_result && !allowed_values.include?(@move_agent_result)
97
+ return false
98
+ end
99
+
100
+
101
+
102
+ end
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ # Custom attribute writer method checking allowed values (enum).
112
+ # @param [Object] move_agent_result Object to be assigned
113
+ def move_agent_result=(move_agent_result)
114
+ allowed_values = ["MoveSuccessful", "NothingToDo", "AlreadyMoved", "DestinationManagementUnitDoesNotExist", "DestinationManagementUnitAgentLimitExceeded", "MovingToDifferentManagementUnit"]
115
+ if move_agent_result && !allowed_values.include?(move_agent_result)
116
+ fail ArgumentError, "invalid value for 'move_agent_result', must be one of #{allowed_values}."
117
+ end
118
+ @move_agent_result = move_agent_result
119
+ end
120
+
121
+
122
+
123
+
124
+ # Checks equality by comparing each attribute.
125
+ # @param [Object] Object to be compared
126
+ def ==(o)
127
+ return true if self.equal?(o)
128
+ self.class == o.class &&
129
+ user == o.user &&
130
+ move_agent_result == o.move_agent_result
131
+ end
132
+
133
+ # @see the `==` method
134
+ # @param [Object] Object to be compared
135
+ def eql?(o)
136
+ self == o
137
+ end
138
+
139
+ # Calculates hash code according to all attributes.
140
+ # @return [Fixnum] Hash code
141
+ def hash
142
+ [user, move_agent_result].hash
143
+ end
144
+
145
+ # build the object from hash
146
+ def build_from_hash(attributes)
147
+ return nil unless attributes.is_a?(Hash)
148
+ self.class.swagger_types.each_pair do |key, type|
149
+ if type =~ /^Array<(.*)>/i
150
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
151
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
152
+ else
153
+ #TODO show warning in debug mode
154
+ end
155
+ elsif !attributes[self.class.attribute_map[key]].nil?
156
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
157
+ else
158
+ # data not found in attributes(hash), not an issue as the data can be optional
159
+ end
160
+ end
161
+
162
+ self
163
+ end
164
+
165
+ def _deserialize(type, value)
166
+ case type.to_sym
167
+ when :DateTime
168
+ DateTime.parse(value)
169
+ when :Date
170
+ Date.parse(value)
171
+ when :String
172
+ value.to_s
173
+ when :Integer
174
+ value.to_i
175
+ when :Float
176
+ value.to_f
177
+ when :BOOLEAN
178
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
179
+ true
180
+ else
181
+ false
182
+ end
183
+ when :Object
184
+ # generic object (usually a Hash), return directly
185
+ value
186
+ when /\AArray<(?<inner_type>.+)>\z/
187
+ inner_type = Regexp.last_match[:inner_type]
188
+ value.map { |v| _deserialize(inner_type, v) }
189
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
190
+ k_type = Regexp.last_match[:k_type]
191
+ v_type = Regexp.last_match[:v_type]
192
+ {}.tap do |hash|
193
+ value.each do |k, v|
194
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
195
+ end
196
+ end
197
+ else # model
198
+ _model = Object.const_get("PureCloud").const_get(type).new
199
+ _model.build_from_hash(value)
200
+ end
201
+ end
202
+
203
+ def to_s
204
+ to_hash.to_s
205
+ end
206
+
207
+ # to_body is an alias to to_body (backward compatibility))
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # return the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ next if value.nil?
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Method to output non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map{ |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+
239
+ end
240
+ end
@@ -0,0 +1,201 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class WfmMoveAgentsCompleteNotificationUser
21
+ attr_accessor :id
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+
27
+ :'id' => :'id'
28
+
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.swagger_types
34
+ {
35
+
36
+ :'id' => :'String'
37
+
38
+ }
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
48
+
49
+
50
+ if attributes.has_key?(:'id')
51
+
52
+
53
+ self.id = attributes[:'id']
54
+
55
+
56
+ end
57
+
58
+
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properies with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+
66
+
67
+ return invalid_properties
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+
74
+
75
+
76
+
77
+
78
+ end
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+ # Checks equality by comparing each attribute.
87
+ # @param [Object] Object to be compared
88
+ def ==(o)
89
+ return true if self.equal?(o)
90
+ self.class == o.class &&
91
+ id == o.id
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Fixnum] Hash code
102
+ def hash
103
+ [id].hash
104
+ end
105
+
106
+ # build the object from hash
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.swagger_types.each_pair do |key, type|
110
+ if type =~ /^Array<(.*)>/i
111
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
112
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
113
+ else
114
+ #TODO show warning in debug mode
115
+ end
116
+ elsif !attributes[self.class.attribute_map[key]].nil?
117
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
118
+ else
119
+ # data not found in attributes(hash), not an issue as the data can be optional
120
+ end
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ def _deserialize(type, value)
127
+ case type.to_sym
128
+ when :DateTime
129
+ DateTime.parse(value)
130
+ when :Date
131
+ Date.parse(value)
132
+ when :String
133
+ value.to_s
134
+ when :Integer
135
+ value.to_i
136
+ when :Float
137
+ value.to_f
138
+ when :BOOLEAN
139
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
140
+ true
141
+ else
142
+ false
143
+ end
144
+ when :Object
145
+ # generic object (usually a Hash), return directly
146
+ value
147
+ when /\AArray<(?<inner_type>.+)>\z/
148
+ inner_type = Regexp.last_match[:inner_type]
149
+ value.map { |v| _deserialize(inner_type, v) }
150
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
151
+ k_type = Regexp.last_match[:k_type]
152
+ v_type = Regexp.last_match[:v_type]
153
+ {}.tap do |hash|
154
+ value.each do |k, v|
155
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
156
+ end
157
+ end
158
+ else # model
159
+ _model = Object.const_get("PureCloud").const_get(type).new
160
+ _model.build_from_hash(value)
161
+ end
162
+ end
163
+
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_body (backward compatibility))
169
+ def to_body
170
+ to_hash
171
+ end
172
+
173
+ # return the object in the form of hash
174
+ def to_hash
175
+ hash = {}
176
+ self.class.attribute_map.each_pair do |attr, param|
177
+ value = self.send(attr)
178
+ next if value.nil?
179
+ hash[param] = _to_hash(value)
180
+ end
181
+ hash
182
+ end
183
+
184
+ # Method to output non-array value in the form of hash
185
+ # For object, use to_hash. Otherwise, just return the value
186
+ def _to_hash(value)
187
+ if value.is_a?(Array)
188
+ value.compact.map{ |v| _to_hash(v) }
189
+ elsif value.is_a?(Hash)
190
+ {}.tap do |hash|
191
+ value.each { |k, v| hash[k] = _to_hash(v) }
192
+ end
193
+ elsif value.respond_to? :to_hash
194
+ value.to_hash
195
+ else
196
+ value
197
+ end
198
+ end
199
+
200
+ end
201
+ end
@@ -0,0 +1,240 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class WfmMoveAgentsCompleteNotificationWfmMoveAgentData
21
+ attr_accessor :user
22
+
23
+ attr_accessor :move_agent_result
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+
29
+ :'user' => :'user',
30
+
31
+ :'move_agent_result' => :'moveAgentResult'
32
+
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+
40
+ :'user' => :'WfmMoveAgentsCompleteNotificationUser',
41
+
42
+ :'move_agent_result' => :'String'
43
+
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
54
+
55
+
56
+ if attributes.has_key?(:'user')
57
+
58
+
59
+ self.user = attributes[:'user']
60
+
61
+
62
+ end
63
+
64
+
65
+ if attributes.has_key?(:'moveAgentResult')
66
+
67
+
68
+ self.move_agent_result = attributes[:'moveAgentResult']
69
+
70
+
71
+ end
72
+
73
+
74
+ end
75
+
76
+ # Show invalid properties with the reasons. Usually used together with valid?
77
+ # @return Array for valid properies with the reasons
78
+ def list_invalid_properties
79
+ invalid_properties = Array.new
80
+
81
+
82
+ return invalid_properties
83
+ end
84
+
85
+ # Check to see if the all the properties in the model are valid
86
+ # @return true if the model is valid
87
+ def valid?
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ allowed_values = ["MoveSuccessful", "NothingToDo", "AlreadyMoved", "DestinationManagementUnitDoesNotExist", "DestinationManagementUnitAgentLimitExceeded", "MovingToDifferentManagementUnit"]
96
+ if @move_agent_result && !allowed_values.include?(@move_agent_result)
97
+ return false
98
+ end
99
+
100
+
101
+
102
+ end
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ # Custom attribute writer method checking allowed values (enum).
112
+ # @param [Object] move_agent_result Object to be assigned
113
+ def move_agent_result=(move_agent_result)
114
+ allowed_values = ["MoveSuccessful", "NothingToDo", "AlreadyMoved", "DestinationManagementUnitDoesNotExist", "DestinationManagementUnitAgentLimitExceeded", "MovingToDifferentManagementUnit"]
115
+ if move_agent_result && !allowed_values.include?(move_agent_result)
116
+ fail ArgumentError, "invalid value for 'move_agent_result', must be one of #{allowed_values}."
117
+ end
118
+ @move_agent_result = move_agent_result
119
+ end
120
+
121
+
122
+
123
+
124
+ # Checks equality by comparing each attribute.
125
+ # @param [Object] Object to be compared
126
+ def ==(o)
127
+ return true if self.equal?(o)
128
+ self.class == o.class &&
129
+ user == o.user &&
130
+ move_agent_result == o.move_agent_result
131
+ end
132
+
133
+ # @see the `==` method
134
+ # @param [Object] Object to be compared
135
+ def eql?(o)
136
+ self == o
137
+ end
138
+
139
+ # Calculates hash code according to all attributes.
140
+ # @return [Fixnum] Hash code
141
+ def hash
142
+ [user, move_agent_result].hash
143
+ end
144
+
145
+ # build the object from hash
146
+ def build_from_hash(attributes)
147
+ return nil unless attributes.is_a?(Hash)
148
+ self.class.swagger_types.each_pair do |key, type|
149
+ if type =~ /^Array<(.*)>/i
150
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
151
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
152
+ else
153
+ #TODO show warning in debug mode
154
+ end
155
+ elsif !attributes[self.class.attribute_map[key]].nil?
156
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
157
+ else
158
+ # data not found in attributes(hash), not an issue as the data can be optional
159
+ end
160
+ end
161
+
162
+ self
163
+ end
164
+
165
+ def _deserialize(type, value)
166
+ case type.to_sym
167
+ when :DateTime
168
+ DateTime.parse(value)
169
+ when :Date
170
+ Date.parse(value)
171
+ when :String
172
+ value.to_s
173
+ when :Integer
174
+ value.to_i
175
+ when :Float
176
+ value.to_f
177
+ when :BOOLEAN
178
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
179
+ true
180
+ else
181
+ false
182
+ end
183
+ when :Object
184
+ # generic object (usually a Hash), return directly
185
+ value
186
+ when /\AArray<(?<inner_type>.+)>\z/
187
+ inner_type = Regexp.last_match[:inner_type]
188
+ value.map { |v| _deserialize(inner_type, v) }
189
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
190
+ k_type = Regexp.last_match[:k_type]
191
+ v_type = Regexp.last_match[:v_type]
192
+ {}.tap do |hash|
193
+ value.each do |k, v|
194
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
195
+ end
196
+ end
197
+ else # model
198
+ _model = Object.const_get("PureCloud").const_get(type).new
199
+ _model.build_from_hash(value)
200
+ end
201
+ end
202
+
203
+ def to_s
204
+ to_hash.to_s
205
+ end
206
+
207
+ # to_body is an alias to to_body (backward compatibility))
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # return the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ next if value.nil?
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Method to output non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map{ |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+
239
+ end
240
+ end