purecloudplatformclientv2 40.0.0 → 41.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) 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/AnalyticsFlow.md +24 -0
  6. data/docs/AnalyticsFlowOutcome.md +17 -0
  7. data/docs/AnalyticsSession.md +1 -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/CallConversationNotificationCallMediaParticipant.md +1 -0
  13. data/docs/CallConversationNotificationParticipants.md +1 -0
  14. data/docs/CallHistoryConversationEntityListing.md +2 -2
  15. data/docs/CallMediaParticipant.md +1 -0
  16. data/docs/CallableTimeSetEntityListing.md +2 -2
  17. data/docs/CallbackConversationEntityListing.md +2 -2
  18. data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
  19. data/docs/CallbackConversationNotificationParticipants.md +1 -0
  20. data/docs/CallbackMediaParticipant.md +1 -0
  21. data/docs/CampaignDivisionViewListing.md +2 -2
  22. data/docs/CampaignEntityListing.md +2 -2
  23. data/docs/CampaignRuleEntityListing.md +2 -2
  24. data/docs/CampaignSequenceEntityListing.md +2 -2
  25. data/docs/CertificateAuthorityEntityListing.md +2 -2
  26. data/docs/ChatConversationEntityListing.md +2 -2
  27. data/docs/ChatConversationNotificationChatMediaParticipant.md +1 -0
  28. data/docs/ChatConversationNotificationParticipants.md +1 -0
  29. data/docs/ChatMediaParticipant.md +1 -0
  30. data/docs/ClientAppEntityListing.md +2 -2
  31. data/docs/CobrowseConversationEntityListing.md +2 -2
  32. data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +1 -0
  33. data/docs/CobrowseConversationNotificationParticipants.md +1 -0
  34. data/docs/CobrowseMediaParticipant.md +1 -0
  35. data/docs/CommandStatusEntityListing.md +2 -2
  36. data/docs/ConsumedResourcesEntityListing.md +2 -2
  37. data/docs/ConsumingResourcesEntityListing.md +2 -2
  38. data/docs/ContactListEntityListing.md +2 -2
  39. data/docs/ContactListFilterEntityListing.md +2 -2
  40. data/docs/ContactListing.md +2 -2
  41. data/docs/ConversationEntityListing.md +2 -2
  42. data/docs/ConversationNotificationParticipant.md +1 -0
  43. data/docs/ConversationNotificationParticipants.md +1 -0
  44. data/docs/CredentialInfoListing.md +2 -2
  45. data/docs/CredentialTypeListing.md +2 -2
  46. data/docs/DIDEntityListing.md +2 -2
  47. data/docs/DIDPoolEntityListing.md +2 -2
  48. data/docs/DataTableRowEntityListing.md +2 -2
  49. data/docs/DataTablesDomainEntityListing.md +2 -2
  50. data/docs/DependencyObjectEntityListing.md +2 -2
  51. data/docs/DependencyTypeEntityListing.md +2 -2
  52. data/docs/DialerEventEntityListing.md +2 -2
  53. data/docs/DirectoryUserDevicesListing.md +2 -2
  54. data/docs/DncListEntityListing.md +2 -2
  55. data/docs/DocumentAuditEntityListing.md +2 -2
  56. data/docs/DocumentEntityListing.md +2 -2
  57. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
  58. data/docs/DomainEntityListing.md +2 -2
  59. data/docs/DomainEntityListingEvaluationForm.md +2 -2
  60. data/docs/DomainEntityListingQueryResult.md +2 -2
  61. data/docs/DomainEntityListingSurveyForm.md +2 -2
  62. data/docs/DomainOrganizationRole.md +1 -1
  63. data/docs/DomainOrganizationRoleCreate.md +1 -1
  64. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  65. data/docs/EdgeEntityListing.md +2 -2
  66. data/docs/EdgeGroupEntityListing.md +2 -2
  67. data/docs/EdgeLineEntityListing.md +2 -2
  68. data/docs/EmailConversationEntityListing.md +2 -2
  69. data/docs/EmailConversationNotificationEmailMediaParticipant.md +1 -0
  70. data/docs/EmailConversationNotificationParticipants.md +1 -0
  71. data/docs/EmailMediaParticipant.md +1 -0
  72. data/docs/EmailMessageListing.md +2 -2
  73. data/docs/EmergencyGroupListing.md +2 -2
  74. data/docs/EncryptionKeyEntityListing.md +2 -2
  75. data/docs/EndpointEntityListing.md +2 -2
  76. data/docs/EvaluationEntityListing.md +2 -2
  77. data/docs/EvaluationFormEntityListing.md +2 -2
  78. data/docs/EvaluatorActivityEntityListing.md +2 -2
  79. data/docs/ExtensionEntityListing.md +2 -2
  80. data/docs/ExtensionPoolEntityListing.md +2 -2
  81. data/docs/ExternalOrganizationListing.md +2 -2
  82. data/docs/FaxDocumentEntityListing.md +2 -2
  83. data/docs/FlowDivisionViewEntityListing.md +2 -2
  84. data/docs/FlowEntityListing.md +2 -2
  85. data/docs/FlowVersionEntityListing.md +2 -2
  86. data/docs/GDPRRequestEntityListing.md +2 -2
  87. data/docs/GDPRSubjectEntityListing.md +2 -2
  88. data/docs/GreetingListing.md +2 -2
  89. data/docs/GroupEntityListing.md +2 -2
  90. data/docs/GroupProfileEntityListing.md +2 -2
  91. data/docs/IVREntityListing.md +2 -2
  92. data/docs/InboundDomainEntityListing.md +2 -2
  93. data/docs/InboundRouteEntityListing.md +2 -2
  94. data/docs/IntegrationEntityListing.md +2 -2
  95. data/docs/IntegrationEventEntityListing.md +2 -2
  96. data/docs/IntegrationTypeEntityListing.md +2 -2
  97. data/docs/InteractionStatsAlertContainer.md +2 -2
  98. data/docs/InteractionStatsRuleContainer.md +2 -2
  99. data/docs/JsonNode.md +2 -2
  100. data/docs/KeywordSetEntityListing.md +2 -2
  101. data/docs/LanguageEntityListing.md +2 -2
  102. data/docs/LibraryEntityListing.md +2 -2
  103. data/docs/LineBaseEntityListing.md +2 -2
  104. data/docs/LineEntityListing.md +2 -2
  105. data/docs/LocationEntityListing.md +2 -2
  106. data/docs/LogicalInterfaceEntityListing.md +2 -2
  107. data/docs/ManagementUnitListing.md +2 -2
  108. data/docs/MessageConversationEntityListing.md +2 -2
  109. data/docs/MessageConversationNotificationMessageMediaParticipant.md +1 -0
  110. data/docs/MessageConversationNotificationParticipants.md +1 -0
  111. data/docs/MessageMediaParticipant.md +1 -0
  112. data/docs/NoteListing.md +2 -2
  113. data/docs/OAuthClientEntityListing.md +2 -2
  114. data/docs/OAuthProviderEntityListing.md +2 -2
  115. data/docs/OrganizationPresenceEntityListing.md +2 -2
  116. data/docs/OrganizationRoleEntityListing.md +2 -2
  117. data/docs/OrphanRecordingListing.md +2 -2
  118. data/docs/OutboundApi.md +2 -2
  119. data/docs/OutboundRouteBaseEntityListing.md +2 -2
  120. data/docs/OutboundRouteEntityListing.md +2 -2
  121. data/docs/Participant.md +1 -0
  122. data/docs/ParticipantBasic.md +1 -0
  123. data/docs/PermissionCollectionEntityListing.md +2 -2
  124. data/docs/PhoneBaseEntityListing.md +2 -2
  125. data/docs/PhoneEntityListing.md +2 -2
  126. data/docs/PhoneMetaBaseEntityListing.md +2 -2
  127. data/docs/PhysicalInterfaceEntityListing.md +2 -2
  128. data/docs/PolicyEntityListing.md +2 -2
  129. data/docs/PromptAssetEntityListing.md +2 -2
  130. data/docs/PromptEntityListing.md +2 -2
  131. data/docs/QualityAuditPage.md +2 -2
  132. data/docs/QueueEntityListing.md +2 -2
  133. data/docs/QueueMemberEntityListing.md +2 -2
  134. data/docs/RecipientListing.md +2 -2
  135. data/docs/RelationshipListing.md +2 -2
  136. data/docs/ReportMetaDataEntityListing.md +2 -2
  137. data/docs/ReportRunEntryEntityDomainListing.md +2 -2
  138. data/docs/ReportScheduleEntityListing.md +2 -2
  139. data/docs/ReportingExportJobListing.md +2 -2
  140. data/docs/ResponseEntityList.md +2 -2
  141. data/docs/ResponseEntityListing.md +2 -2
  142. data/docs/ResponseSetEntityListing.md +2 -2
  143. data/docs/RuleSetEntityListing.md +2 -2
  144. data/docs/ScheduleEntityListing.md +2 -2
  145. data/docs/ScheduleGroupEntityListing.md +2 -2
  146. data/docs/SchemaCategoryEntityListing.md +2 -2
  147. data/docs/SchemaReferenceEntityListing.md +2 -2
  148. data/docs/ScreenRecordingSessionListing.md +2 -2
  149. data/docs/ScreenShareConversationNotificationParticipants.md +1 -0
  150. data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +1 -0
  151. data/docs/ScriptEntityListing.md +2 -2
  152. data/docs/SecurityProfileEntityListing.md +2 -2
  153. data/docs/ShareEntityListing.md +2 -2
  154. data/docs/SiteEntityListing.md +2 -2
  155. data/docs/SkillEntityListing.md +2 -2
  156. data/docs/SmsPhoneNumberEntityListing.md +2 -2
  157. data/docs/SocialConversationNotificationParticipants.md +1 -0
  158. data/docs/SocialConversationNotificationSocialMediaParticipant.md +1 -0
  159. data/docs/StationEntityListing.md +2 -2
  160. data/docs/SubjectDivisionGrantsEntityListing.md +2 -2
  161. data/docs/SurveyFormEntityListing.md +2 -2
  162. data/docs/SystemPromptAssetEntityListing.md +2 -2
  163. data/docs/SystemPromptEntityListing.md +2 -2
  164. data/docs/TagValueEntityListing.md +2 -2
  165. data/docs/TextMessageListing.md +2 -2
  166. data/docs/TimeZone.md +2 -2
  167. data/docs/TimeZoneEntityListing.md +2 -2
  168. data/docs/TrunkBaseEntityListing.md +2 -2
  169. data/docs/TrunkEntityListing.md +2 -2
  170. data/docs/TrunkMetabaseEntityListing.md +2 -2
  171. data/docs/TrustEntityListing.md +2 -2
  172. data/docs/TrustUserEntityListing.md +2 -2
  173. data/docs/TrustorEntityListing.md +2 -2
  174. data/docs/UserActionCategoryEntityListing.md +2 -2
  175. data/docs/UserEntityListing.md +2 -2
  176. data/docs/UserLanguageEntityListing.md +2 -2
  177. data/docs/UserProfileEntityListing.md +2 -2
  178. data/docs/UserQueueEntityListing.md +2 -2
  179. data/docs/UserRecordingEntityListing.md +2 -2
  180. data/docs/UserSkillEntityListing.md +2 -2
  181. data/docs/VideoConversationNotificationParticipants.md +1 -0
  182. data/docs/VideoConversationNotificationVideoMediaParticipant.md +1 -0
  183. data/docs/VoicemailMessageEntityListing.md +2 -2
  184. data/docs/WorkforceManagementApi.md +2 -2
  185. data/docs/WorkspaceEntityListing.md +2 -2
  186. data/docs/WorkspaceMemberEntityListing.md +2 -2
  187. data/docs/WrapupCodeEntityListing.md +2 -2
  188. data/lib/purecloudplatformclientv2.rb +2 -0
  189. data/lib/purecloudplatformclientv2/api/outbound_api.rb +3 -3
  190. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  191. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +13 -13
  192. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +13 -13
  193. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
  194. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +504 -0
  195. data/lib/purecloudplatformclientv2/models/analytics_flow_outcome.rb +306 -0
  196. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +4 -4
  197. data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
  198. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +13 -13
  199. data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +13 -13
  200. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +13 -13
  201. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +13 -13
  202. data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +26 -1
  203. data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +26 -1
  204. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +13 -13
  205. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +27 -1
  206. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +13 -13
  207. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +13 -13
  208. data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +26 -1
  209. data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +26 -1
  210. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +27 -1
  211. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +13 -13
  212. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +13 -13
  213. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +13 -13
  214. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +13 -13
  215. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +13 -13
  216. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +13 -13
  217. data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +26 -1
  218. data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +26 -1
  219. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +27 -1
  220. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +13 -13
  221. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +13 -13
  222. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +26 -1
  223. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +26 -1
  224. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +27 -1
  225. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +13 -13
  226. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +13 -13
  227. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +13 -13
  228. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +13 -13
  229. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +13 -13
  230. data/lib/purecloudplatformclientv2/models/contact_listing.rb +13 -13
  231. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +13 -13
  232. data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +26 -1
  233. data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +26 -1
  234. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +13 -13
  235. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +13 -13
  236. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +13 -13
  237. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +13 -13
  238. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +13 -13
  239. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +13 -13
  240. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +13 -13
  241. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +13 -13
  242. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +13 -13
  243. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +13 -13
  244. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +13 -13
  245. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +13 -13
  246. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +13 -13
  247. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +13 -13
  248. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +13 -13
  249. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +13 -13
  250. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +13 -13
  251. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +13 -13
  252. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +13 -13
  256. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +13 -13
  257. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +13 -13
  258. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +13 -13
  259. data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +26 -1
  260. data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +26 -1
  261. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +27 -1
  262. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +13 -13
  263. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +13 -13
  264. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +13 -13
  265. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +13 -13
  266. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +13 -13
  267. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +13 -13
  268. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +13 -13
  269. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +13 -13
  270. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +13 -13
  271. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +13 -13
  272. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +13 -13
  273. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +13 -13
  274. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +13 -13
  275. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +13 -13
  276. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +13 -13
  277. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +13 -13
  278. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +13 -13
  279. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +13 -13
  280. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +13 -13
  281. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +13 -13
  282. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +13 -13
  283. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +13 -13
  284. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +13 -13
  285. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +13 -13
  286. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +13 -13
  287. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +13 -13
  288. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +13 -13
  289. data/lib/purecloudplatformclientv2/models/json_node.rb +50 -50
  290. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +13 -13
  291. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +13 -13
  292. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +13 -13
  293. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +13 -13
  294. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +13 -13
  295. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +13 -13
  296. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +13 -13
  297. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +13 -13
  298. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +13 -13
  299. data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +26 -1
  300. data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +26 -1
  301. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +27 -1
  302. data/lib/purecloudplatformclientv2/models/note_listing.rb +13 -13
  303. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +13 -13
  304. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +13 -13
  305. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +13 -13
  306. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +13 -13
  307. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +13 -13
  308. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +13 -13
  309. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +13 -13
  310. data/lib/purecloudplatformclientv2/models/participant.rb +27 -1
  311. data/lib/purecloudplatformclientv2/models/participant_basic.rb +27 -1
  312. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +13 -13
  313. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +13 -13
  314. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +13 -13
  315. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +13 -13
  316. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +13 -13
  317. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +13 -13
  318. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +13 -13
  319. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +13 -13
  320. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +13 -13
  321. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +13 -13
  322. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +13 -13
  323. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +13 -13
  324. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +13 -13
  325. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +13 -13
  326. data/lib/purecloudplatformclientv2/models/report_run_entry.rb +2 -2
  327. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +13 -13
  328. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +13 -13
  329. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +13 -13
  330. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +13 -13
  331. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +13 -13
  332. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +13 -13
  333. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +13 -13
  334. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +13 -13
  335. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +13 -13
  336. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +13 -13
  337. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +13 -13
  338. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +13 -13
  339. data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +26 -1
  340. data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +26 -1
  341. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +13 -13
  342. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +13 -13
  343. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +13 -13
  344. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +13 -13
  345. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +13 -13
  346. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +13 -13
  347. data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +26 -1
  348. data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +26 -1
  349. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +13 -13
  350. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +13 -13
  351. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +13 -13
  352. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +13 -13
  353. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +13 -13
  354. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +13 -13
  355. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +13 -13
  356. data/lib/purecloudplatformclientv2/models/time_zone.rb +24 -24
  357. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +13 -13
  358. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +13 -13
  359. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +13 -13
  360. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +13 -13
  361. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +13 -13
  362. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +13 -13
  363. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +13 -13
  364. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +13 -13
  365. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +13 -13
  366. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +13 -13
  367. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +13 -13
  368. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +13 -13
  369. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +13 -13
  370. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +13 -13
  371. data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +26 -1
  372. data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +26 -1
  373. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +13 -13
  374. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +13 -13
  375. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +13 -13
  376. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +13 -13
  377. data/lib/purecloudplatformclientv2/version.rb +1 -1
  378. metadata +6 -2
@@ -0,0 +1,306 @@
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 AnalyticsFlowOutcome
21
+ # Unique identifiers of a flow outcome
22
+ attr_accessor :flow_outcome_id
23
+
24
+ # Flow outcome value, e.g. SUCCESS
25
+ attr_accessor :flow_outcome_value
26
+
27
+ # Colon-separated combinations of unique flow outcome identifier and value
28
+ attr_accessor :flow_outcome
29
+
30
+ # Date/time the outcome started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
31
+ attr_accessor :flow_outcome_start_timestamp
32
+
33
+ # Date/time the outcome ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
34
+ attr_accessor :flow_outcome_end_timestamp
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+
40
+ :'flow_outcome_id' => :'flowOutcomeId',
41
+
42
+ :'flow_outcome_value' => :'flowOutcomeValue',
43
+
44
+ :'flow_outcome' => :'flowOutcome',
45
+
46
+ :'flow_outcome_start_timestamp' => :'flowOutcomeStartTimestamp',
47
+
48
+ :'flow_outcome_end_timestamp' => :'flowOutcomeEndTimestamp'
49
+
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+
57
+ :'flow_outcome_id' => :'String',
58
+
59
+ :'flow_outcome_value' => :'String',
60
+
61
+ :'flow_outcome' => :'String',
62
+
63
+ :'flow_outcome_start_timestamp' => :'DateTime',
64
+
65
+ :'flow_outcome_end_timestamp' => :'DateTime'
66
+
67
+ }
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ return unless attributes.is_a?(Hash)
74
+
75
+ # convert string to symbol for hash key
76
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
77
+
78
+
79
+ if attributes.has_key?(:'flowOutcomeId')
80
+
81
+
82
+ self.flow_outcome_id = attributes[:'flowOutcomeId']
83
+
84
+
85
+ end
86
+
87
+
88
+ if attributes.has_key?(:'flowOutcomeValue')
89
+
90
+
91
+ self.flow_outcome_value = attributes[:'flowOutcomeValue']
92
+
93
+
94
+ end
95
+
96
+
97
+ if attributes.has_key?(:'flowOutcome')
98
+
99
+
100
+ self.flow_outcome = attributes[:'flowOutcome']
101
+
102
+
103
+ end
104
+
105
+
106
+ if attributes.has_key?(:'flowOutcomeStartTimestamp')
107
+
108
+
109
+ self.flow_outcome_start_timestamp = attributes[:'flowOutcomeStartTimestamp']
110
+
111
+
112
+ end
113
+
114
+
115
+ if attributes.has_key?(:'flowOutcomeEndTimestamp')
116
+
117
+
118
+ self.flow_outcome_end_timestamp = attributes[:'flowOutcomeEndTimestamp']
119
+
120
+
121
+ end
122
+
123
+
124
+ end
125
+
126
+ # Show invalid properties with the reasons. Usually used together with valid?
127
+ # @return Array for valid properies with the reasons
128
+ def list_invalid_properties
129
+ invalid_properties = Array.new
130
+
131
+
132
+ return invalid_properties
133
+ end
134
+
135
+ # Check to see if the all the properties in the model are valid
136
+ # @return true if the model is valid
137
+ def valid?
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ end
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ # Checks equality by comparing each attribute.
188
+ # @param [Object] Object to be compared
189
+ def ==(o)
190
+ return true if self.equal?(o)
191
+ self.class == o.class &&
192
+ flow_outcome_id == o.flow_outcome_id &&
193
+ flow_outcome_value == o.flow_outcome_value &&
194
+ flow_outcome == o.flow_outcome &&
195
+ flow_outcome_start_timestamp == o.flow_outcome_start_timestamp &&
196
+ flow_outcome_end_timestamp == o.flow_outcome_end_timestamp
197
+ end
198
+
199
+ # @see the `==` method
200
+ # @param [Object] Object to be compared
201
+ def eql?(o)
202
+ self == o
203
+ end
204
+
205
+ # Calculates hash code according to all attributes.
206
+ # @return [Fixnum] Hash code
207
+ def hash
208
+ [flow_outcome_id, flow_outcome_value, flow_outcome, flow_outcome_start_timestamp, flow_outcome_end_timestamp].hash
209
+ end
210
+
211
+ # build the object from hash
212
+ def build_from_hash(attributes)
213
+ return nil unless attributes.is_a?(Hash)
214
+ self.class.swagger_types.each_pair do |key, type|
215
+ if type =~ /^Array<(.*)>/i
216
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
217
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
218
+ else
219
+ #TODO show warning in debug mode
220
+ end
221
+ elsif !attributes[self.class.attribute_map[key]].nil?
222
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
223
+ else
224
+ # data not found in attributes(hash), not an issue as the data can be optional
225
+ end
226
+ end
227
+
228
+ self
229
+ end
230
+
231
+ def _deserialize(type, value)
232
+ case type.to_sym
233
+ when :DateTime
234
+ DateTime.parse(value)
235
+ when :Date
236
+ Date.parse(value)
237
+ when :String
238
+ value.to_s
239
+ when :Integer
240
+ value.to_i
241
+ when :Float
242
+ value.to_f
243
+ when :BOOLEAN
244
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
245
+ true
246
+ else
247
+ false
248
+ end
249
+ when :Object
250
+ # generic object (usually a Hash), return directly
251
+ value
252
+ when /\AArray<(?<inner_type>.+)>\z/
253
+ inner_type = Regexp.last_match[:inner_type]
254
+ value.map { |v| _deserialize(inner_type, v) }
255
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
256
+ k_type = Regexp.last_match[:k_type]
257
+ v_type = Regexp.last_match[:v_type]
258
+ {}.tap do |hash|
259
+ value.each do |k, v|
260
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
261
+ end
262
+ end
263
+ else # model
264
+ _model = Object.const_get("PureCloud").const_get(type).new
265
+ _model.build_from_hash(value)
266
+ end
267
+ end
268
+
269
+ def to_s
270
+ to_hash.to_s
271
+ end
272
+
273
+ # to_body is an alias to to_body (backward compatibility))
274
+ def to_body
275
+ to_hash
276
+ end
277
+
278
+ # return the object in the form of hash
279
+ def to_hash
280
+ hash = {}
281
+ self.class.attribute_map.each_pair do |attr, param|
282
+ value = self.send(attr)
283
+ next if value.nil?
284
+ hash[param] = _to_hash(value)
285
+ end
286
+ hash
287
+ end
288
+
289
+ # Method to output non-array value in the form of hash
290
+ # For object, use to_hash. Otherwise, just return the value
291
+ def _to_hash(value)
292
+ if value.is_a?(Array)
293
+ value.compact.map{ |v| _to_hash(v) }
294
+ elsif value.is_a?(Hash)
295
+ {}.tap do |hash|
296
+ value.each { |k, v| hash[k] = _to_hash(v) }
297
+ end
298
+ elsif value.respond_to? :to_hash
299
+ value.to_hash
300
+ else
301
+ value
302
+ end
303
+ end
304
+
305
+ end
306
+ end
@@ -195,7 +195,7 @@ module PureCloud
195
195
 
196
196
 
197
197
 
198
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "systemPresence", "organizationPresenceId", "routingStatus"]
198
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome"]
199
199
  if @dimension && !allowed_values.include?(@dimension)
200
200
  return false
201
201
  end
@@ -217,7 +217,7 @@ module PureCloud
217
217
 
218
218
 
219
219
 
220
- allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveysBounced", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors"]
220
+ allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveysBounced", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowHangUp", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome"]
221
221
  if @metric && !allowed_values.include?(@metric)
222
222
  return false
223
223
  end
@@ -262,7 +262,7 @@ module PureCloud
262
262
  # Custom attribute writer method checking allowed values (enum).
263
263
  # @param [Object] dimension Object to be assigned
264
264
  def dimension=(dimension)
265
- allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "systemPresence", "organizationPresenceId", "routingStatus"]
265
+ allowed_values = ["conversationId", "sessionId", "mediaType", "queueId", "userId", "participantId", "participantName", "direction", "wrapUpCode", "wrapUpNote", "interactionType", "requestedRoutingSkillId", "requestedLanguageId", "requestedRoutingUserIds", "purpose", "participantType", "segmentType", "disconnectType", "errorCode", "conversationEnd", "segmentEnd", "externalContactId", "externalOrganizationId", "convertedFrom", "convertedTo", "divisionId", "flaggedReason", "stationId", "edgeId", "dnis", "ani", "outboundCampaignId", "outboundContactId", "outboundContactListId", "monitoredParticipantId", "sourceSessionId", "destinationSessionId", "sourceConversationId", "destinationConversationId", "remoteNameDisplayable", "sipResponseCode", "q850ResponseCode", "conference", "groupId", "roomId", "addressFrom", "addressTo", "addressSelf", "addressOther", "subject", "messageType", "peerId", "scriptId", "evaluationId", "evaluatorId", "contextId", "formId", "formName", "eventTime", "surveyId", "surveyFormContextId", "surveyFormId", "surveyAnswerId", "surveyQuestionId", "surveyQuestionGroupId", "systemPresence", "organizationPresenceId", "routingStatus", "flowId", "flowName", "flowVersion", "flowType", "exitReason", "transferType", "transferTargetName", "transferTargetAddress", "issuedCallback", "startingLanguage", "endingLanguage", "flowOutcomeId", "flowOutcomeValue", "flowOutcome"]
266
266
  if dimension && !allowed_values.include?(dimension)
267
267
  fail ArgumentError, "invalid value for 'dimension', must be one of #{allowed_values}."
268
268
  end
@@ -295,7 +295,7 @@ module PureCloud
295
295
  # Custom attribute writer method checking allowed values (enum).
296
296
  # @param [Object] metric Object to be assigned
297
297
  def metric=(metric)
298
- allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveysBounced", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors"]
298
+ allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveysBounced", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowHangUp", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome"]
299
299
  if metric && !allowed_values.include?(metric)
300
300
  fail ArgumentError, "invalid value for 'metric', must be one of #{allowed_values}."
301
301
  end
@@ -122,6 +122,9 @@ module PureCloud
122
122
  # List of metrics for this session
123
123
  attr_accessor :metrics
124
124
 
125
+ # IVR flow execution associated with this session
126
+ attr_accessor :flow
127
+
125
128
  # Attribute mapping from ruby-style variable name to JSON key.
126
129
  def self.attribute_map
127
130
  {
@@ -198,7 +201,9 @@ module PureCloud
198
201
 
199
202
  :'segments' => :'segments',
200
203
 
201
- :'metrics' => :'metrics'
204
+ :'metrics' => :'metrics',
205
+
206
+ :'flow' => :'flow'
202
207
 
203
208
  }
204
209
  end
@@ -279,7 +284,9 @@ module PureCloud
279
284
 
280
285
  :'segments' => :'Array<AnalyticsConversationSegment>',
281
286
 
282
- :'metrics' => :'Array<AnalyticsSessionMetric>'
287
+ :'metrics' => :'Array<AnalyticsSessionMetric>',
288
+
289
+ :'flow' => :'AnalyticsFlow'
283
290
 
284
291
  }
285
292
  end
@@ -632,6 +639,15 @@ module PureCloud
632
639
  end
633
640
 
634
641
 
642
+ if attributes.has_key?(:'flow')
643
+
644
+
645
+ self.flow = attributes[:'flow']
646
+
647
+
648
+ end
649
+
650
+
635
651
  end
636
652
 
637
653
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -805,6 +821,10 @@ module PureCloud
805
821
 
806
822
 
807
823
 
824
+
825
+
826
+
827
+
808
828
 
809
829
 
810
830
 
@@ -1019,6 +1039,11 @@ module PureCloud
1019
1039
 
1020
1040
 
1021
1041
 
1042
+
1043
+
1044
+
1045
+
1046
+
1022
1047
 
1023
1048
 
1024
1049
 
@@ -1066,7 +1091,8 @@ module PureCloud
1066
1091
  video_room_id == o.video_room_id &&
1067
1092
  video_address_self == o.video_address_self &&
1068
1093
  segments == o.segments &&
1069
- metrics == o.metrics
1094
+ metrics == o.metrics &&
1095
+ flow == o.flow
1070
1096
  end
1071
1097
 
1072
1098
  # @see the `==` method
@@ -1078,7 +1104,7 @@ module PureCloud
1078
1104
  # Calculates hash code according to all attributes.
1079
1105
  # @return [Fixnum] Hash code
1080
1106
  def hash
1081
- [media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics].hash
1107
+ [media_type, session_id, address_other, address_self, address_from, address_to, message_type, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, peer_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments, metrics, flow].hash
1082
1108
  end
1083
1109
 
1084
1110
  # build the object from hash
@@ -28,13 +28,13 @@ module PureCloud
28
28
 
29
29
  attr_accessor :self_uri
30
30
 
31
- attr_accessor :previous_uri
31
+ attr_accessor :first_uri
32
32
 
33
33
  attr_accessor :next_uri
34
34
 
35
35
  attr_accessor :last_uri
36
36
 
37
- attr_accessor :first_uri
37
+ attr_accessor :previous_uri
38
38
 
39
39
  attr_accessor :page_count
40
40
 
@@ -52,13 +52,13 @@ module PureCloud
52
52
 
53
53
  :'self_uri' => :'selfUri',
54
54
 
55
- :'previous_uri' => :'previousUri',
55
+ :'first_uri' => :'firstUri',
56
56
 
57
57
  :'next_uri' => :'nextUri',
58
58
 
59
59
  :'last_uri' => :'lastUri',
60
60
 
61
- :'first_uri' => :'firstUri',
61
+ :'previous_uri' => :'previousUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
64
64
 
@@ -79,13 +79,13 @@ module PureCloud
79
79
 
80
80
  :'self_uri' => :'String',
81
81
 
82
- :'previous_uri' => :'String',
82
+ :'first_uri' => :'String',
83
83
 
84
84
  :'next_uri' => :'String',
85
85
 
86
86
  :'last_uri' => :'String',
87
87
 
88
- :'first_uri' => :'String',
88
+ :'previous_uri' => :'String',
89
89
 
90
90
  :'page_count' => :'Integer'
91
91
 
@@ -148,10 +148,10 @@ module PureCloud
148
148
  end
149
149
 
150
150
 
151
- if attributes.has_key?(:'previousUri')
151
+ if attributes.has_key?(:'firstUri')
152
152
 
153
153
 
154
- self.previous_uri = attributes[:'previousUri']
154
+ self.first_uri = attributes[:'firstUri']
155
155
 
156
156
 
157
157
  end
@@ -175,10 +175,10 @@ module PureCloud
175
175
  end
176
176
 
177
177
 
178
- if attributes.has_key?(:'firstUri')
178
+ if attributes.has_key?(:'previousUri')
179
179
 
180
180
 
181
- self.first_uri = attributes[:'firstUri']
181
+ self.previous_uri = attributes[:'previousUri']
182
182
 
183
183
 
184
184
  end
@@ -311,10 +311,10 @@ module PureCloud
311
311
  page_number == o.page_number &&
312
312
  total == o.total &&
313
313
  self_uri == o.self_uri &&
314
- previous_uri == o.previous_uri &&
314
+ first_uri == o.first_uri &&
315
315
  next_uri == o.next_uri &&
316
316
  last_uri == o.last_uri &&
317
- first_uri == o.first_uri &&
317
+ previous_uri == o.previous_uri &&
318
318
  page_count == o.page_count
319
319
  end
320
320
 
@@ -327,7 +327,7 @@ module PureCloud
327
327
  # Calculates hash code according to all attributes.
328
328
  # @return [Fixnum] Hash code
329
329
  def hash
330
- [entities, page_size, page_number, total, self_uri, previous_uri, next_uri, last_uri, first_uri, page_count].hash
330
+ [entities, page_size, page_number, total, self_uri, first_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash