purecloudplatformclientv2 73.0.0 → 75.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ADFS.md +1 -1
  4. data/docs/ActionEntityListing.md +1 -1
  5. data/docs/AgentActivityEntityListing.md +1 -1
  6. data/docs/AnalyticsApi.md +4 -4
  7. data/docs/AnalyticsConversation.md +1 -1
  8. data/docs/AnalyticsConversationWithoutAttributes.md +22 -0
  9. data/docs/AnalyticsConversationWithoutAttributesMultiGetResponse.md +13 -0
  10. data/docs/AnalyticsParticipant.md +1 -1
  11. data/docs/AnalyticsParticipantWithoutAttributes.md +20 -0
  12. data/docs/AnalyticsSession.md +1 -0
  13. data/docs/ArrayNode.md +3 -3
  14. data/docs/AttemptLimitsEntityListing.md +1 -1
  15. data/docs/AuthorizationApi.md +7 -3
  16. data/docs/AuthzDivisionEntityListing.md +1 -1
  17. data/docs/CalibrationEntityListing.md +1 -1
  18. data/docs/CallConversationEntityListing.md +1 -1
  19. data/docs/CallHistoryConversationEntityListing.md +1 -1
  20. data/docs/CallableTimeSetEntityListing.md +1 -1
  21. data/docs/CallbackConversationEntityListing.md +1 -1
  22. data/docs/CampaignDivisionViewListing.md +1 -1
  23. data/docs/CampaignEntityListing.md +1 -1
  24. data/docs/CampaignRuleEntityListing.md +1 -1
  25. data/docs/CampaignSequenceEntityListing.md +1 -1
  26. data/docs/CertificateAuthorityEntityListing.md +1 -1
  27. data/docs/ChatConversationEntityListing.md +1 -1
  28. data/docs/ClientAppEntityListing.md +1 -1
  29. data/docs/CobrowseConversationEntityListing.md +1 -1
  30. data/docs/CommandStatusEntityListing.md +1 -1
  31. data/docs/ConsumedResourcesEntityListing.md +1 -1
  32. data/docs/ConsumingResourcesEntityListing.md +1 -1
  33. data/docs/ContactListDivisionViewListing.md +1 -1
  34. data/docs/ContactListEntityListing.md +1 -1
  35. data/docs/ContactListFilterEntityListing.md +1 -1
  36. data/docs/ContactListing.md +1 -1
  37. data/docs/ConversationEntityListing.md +1 -1
  38. data/docs/ConversationProperties.md +1 -0
  39. data/docs/ConversationsApi.md +4 -4
  40. data/docs/CredentialInfoListing.md +1 -1
  41. data/docs/CredentialTypeListing.md +1 -1
  42. data/docs/CustomerInteractionCenter.md +1 -1
  43. data/docs/DIDEntityListing.md +1 -1
  44. data/docs/DIDPoolEntityListing.md +1 -1
  45. data/docs/DataTableRowEntityListing.md +1 -1
  46. data/docs/DataTablesDomainEntityListing.md +1 -1
  47. data/docs/DependencyObjectEntityListing.md +1 -1
  48. data/docs/DependencyTypeEntityListing.md +1 -1
  49. data/docs/DialerEventEntityListing.md +1 -1
  50. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  51. data/docs/DirectoryUserDevicesListing.md +1 -1
  52. data/docs/DncListDivisionViewListing.md +1 -1
  53. data/docs/DncListEntityListing.md +1 -1
  54. data/docs/DocumentAuditEntityListing.md +1 -1
  55. data/docs/DocumentEntityListing.md +1 -1
  56. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  57. data/docs/DomainEntityListing.md +1 -1
  58. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  59. data/docs/DomainEntityListingQueryResult.md +1 -1
  60. data/docs/DomainEntityListingSurveyForm.md +1 -1
  61. data/docs/EdgeEntityListing.md +1 -1
  62. data/docs/EdgeGroupEntityListing.md +1 -1
  63. data/docs/EdgeLineEntityListing.md +1 -1
  64. data/docs/EmailConversationEntityListing.md +1 -1
  65. data/docs/EmailMessageListing.md +1 -1
  66. data/docs/EmergencyGroupListing.md +1 -1
  67. data/docs/EncryptionKeyEntityListing.md +1 -1
  68. data/docs/EvaluationEntityListing.md +1 -1
  69. data/docs/EvaluationFormEntityListing.md +1 -1
  70. data/docs/EvaluatorActivityEntityListing.md +1 -1
  71. data/docs/ExtensionEntityListing.md +1 -1
  72. data/docs/ExtensionPoolEntityListing.md +1 -1
  73. data/docs/ExternalOrganizationListing.md +1 -1
  74. data/docs/FacebookIntegrationEntityListing.md +1 -1
  75. data/docs/FaxDocumentEntityListing.md +1 -1
  76. data/docs/Flow.md +1 -0
  77. data/docs/FlowDivisionViewEntityListing.md +1 -1
  78. data/docs/FlowEntityListing.md +1 -1
  79. data/docs/FlowOutcomeListing.md +1 -1
  80. data/docs/FlowVersion.md +3 -0
  81. data/docs/FlowVersionEntityListing.md +1 -1
  82. data/docs/GDPRRequestEntityListing.md +1 -1
  83. data/docs/GDPRSubjectEntityListing.md +1 -1
  84. data/docs/GSuite.md +1 -1
  85. data/docs/GreetingListing.md +1 -1
  86. data/docs/GroupEntityListing.md +1 -1
  87. data/docs/GroupProfileEntityListing.md +1 -1
  88. data/docs/GroupsApi.md +1 -1
  89. data/docs/IVREntityListing.md +1 -1
  90. data/docs/IdentityNow.md +1 -1
  91. data/docs/InboundDomainEntityListing.md +1 -1
  92. data/docs/InboundRouteEntityListing.md +1 -1
  93. data/docs/IntegrationEntityListing.md +1 -1
  94. data/docs/IntegrationEventEntityListing.md +1 -1
  95. data/docs/IntegrationTypeEntityListing.md +1 -1
  96. data/docs/InteractionStatsAlertContainer.md +1 -1
  97. data/docs/InteractionStatsRuleContainer.md +1 -1
  98. data/docs/JsonNode.md +3 -3
  99. data/docs/KeywordSetEntityListing.md +1 -1
  100. data/docs/LanguageEntityListing.md +1 -1
  101. data/docs/LexBotAliasEntityListing.md +1 -1
  102. data/docs/LexBotEntityListing.md +1 -1
  103. data/docs/LibraryEntityListing.md +1 -1
  104. data/docs/LineBaseEntityListing.md +1 -1
  105. data/docs/LineEntityListing.md +1 -1
  106. data/docs/LineIntegrationEntityListing.md +1 -1
  107. data/docs/LocationEntityListing.md +1 -1
  108. data/docs/LogicalInterfaceEntityListing.md +1 -1
  109. data/docs/ManagementUnitListing.md +1 -1
  110. data/docs/{OrgMediaUtilization.md → MediaUtilization.md} +3 -3
  111. data/docs/MessageConversationEntityListing.md +1 -1
  112. data/docs/MessagingIntegrationEntityListing.md +1 -1
  113. data/docs/MessagingStickerEntityListing.md +1 -1
  114. data/docs/NoteListing.md +1 -1
  115. data/docs/OAuthClientEntityListing.md +1 -1
  116. data/docs/OAuthLastTokenIssued.md +13 -0
  117. data/docs/OAuthProviderEntityListing.md +1 -1
  118. data/docs/ObjectsApi.md +6 -2
  119. data/docs/Okta.md +1 -1
  120. data/docs/OneLogin.md +1 -1
  121. data/docs/OrgUser.md +1 -0
  122. data/docs/OrganizationAuthorizationApi.md +72 -0
  123. data/docs/OrganizationPresenceEntityListing.md +1 -1
  124. data/docs/OrganizationRoleEntityListing.md +1 -1
  125. data/docs/OrphanRecordingListing.md +1 -1
  126. data/docs/OutboundMessagingMessagingCampaignProgressEventCampaignProgress.md +17 -0
  127. data/docs/OutboundMessagingMessagingCampaignProgressEventUriReference.md +14 -0
  128. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  129. data/docs/OutboundRouteEntityListing.md +1 -1
  130. data/docs/PermissionCollectionEntityListing.md +1 -1
  131. data/docs/PhoneBaseEntityListing.md +1 -1
  132. data/docs/PhoneEntityListing.md +1 -1
  133. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  134. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  135. data/docs/PingIdentity.md +1 -1
  136. data/docs/PolicyActions.md +1 -0
  137. data/docs/PolicyEntityListing.md +1 -1
  138. data/docs/PromptAssetEntityListing.md +1 -1
  139. data/docs/PromptEntityListing.md +1 -1
  140. data/docs/PureEngage.md +1 -1
  141. data/docs/QualityApi.md +2 -2
  142. data/docs/QualityAuditPage.md +1 -1
  143. data/docs/QueueEntityListing.md +1 -1
  144. data/docs/QueueMemberEntityListing.md +1 -1
  145. data/docs/RecipientListing.md +1 -1
  146. data/docs/RecordingJobEntityListing.md +1 -1
  147. data/docs/RelationshipListing.md +1 -1
  148. data/docs/ReportMetaDataEntityListing.md +1 -1
  149. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  150. data/docs/ReportScheduleEntityListing.md +1 -1
  151. data/docs/ReportingExportJobListing.md +1 -1
  152. data/docs/ResponseEntityList.md +1 -1
  153. data/docs/ResponseEntityListing.md +1 -1
  154. data/docs/ResponseSetEntityListing.md +1 -1
  155. data/docs/RoutingApi.md +232 -10
  156. data/docs/RuleSetEntityListing.md +1 -1
  157. data/docs/Salesforce.md +1 -1
  158. data/docs/ScheduleEntityListing.md +1 -1
  159. data/docs/ScheduleGroupEntityListing.md +1 -1
  160. data/docs/SchemaCategoryEntityListing.md +1 -1
  161. data/docs/SchemaReferenceEntityListing.md +1 -1
  162. data/docs/ScreenRecordingSessionListing.md +1 -1
  163. data/docs/ScriptEntityListing.md +1 -1
  164. data/docs/SearchApi.md +2 -2
  165. data/docs/SecurityProfileEntityListing.md +1 -1
  166. data/docs/ShareEntityListing.md +1 -1
  167. data/docs/SiteEntityListing.md +1 -1
  168. data/docs/SkillEntityListing.md +1 -1
  169. data/docs/SmsAddressEntityListing.md +1 -1
  170. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  171. data/docs/StationEntityListing.md +1 -1
  172. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  173. data/docs/SuggestApi.md +2 -2
  174. data/docs/SurveyFormEntityListing.md +1 -1
  175. data/docs/SystemPromptAssetEntityListing.md +1 -1
  176. data/docs/SystemPromptEntityListing.md +1 -1
  177. data/docs/TagValueEntityListing.md +1 -1
  178. data/docs/TextMessageListing.md +1 -1
  179. data/docs/TimeZoneEntityListing.md +1 -1
  180. data/docs/TrunkBaseEntityListing.md +1 -1
  181. data/docs/TrunkEntityListing.md +1 -1
  182. data/docs/TrunkMetabaseEntityListing.md +1 -1
  183. data/docs/TrustEntityListing.md +1 -1
  184. data/docs/TrustMemberCreate.md +2 -1
  185. data/docs/TrustUser.md +1 -0
  186. data/docs/TrustUserEntityListing.md +1 -1
  187. data/docs/TrustorEntityListing.md +1 -1
  188. data/docs/TtsEngineEntityListing.md +1 -1
  189. data/docs/TtsVoiceEntityListing.md +1 -1
  190. data/docs/TwitterIntegrationEntityListing.md +1 -1
  191. data/docs/User.md +1 -0
  192. data/docs/UserActionCategoryEntityListing.md +1 -1
  193. data/docs/UserEntityListing.md +1 -1
  194. data/docs/UserLanguageEntityListing.md +1 -1
  195. data/docs/UserMe.md +1 -0
  196. data/docs/UserProfileEntityListing.md +1 -1
  197. data/docs/UserQueueEntityListing.md +1 -1
  198. data/docs/UserRecordingEntityListing.md +1 -1
  199. data/docs/UserScheduleAdherence.md +1 -0
  200. data/docs/UserSkillEntityListing.md +1 -1
  201. data/docs/UsersApi.md +9 -9
  202. data/docs/UtilitiesApi.md +0 -59
  203. data/docs/Utilization.md +1 -1
  204. data/docs/ViewFilter.md +8 -0
  205. data/docs/VoicemailMessageEntityListing.md +1 -1
  206. data/docs/WebChatMemberInfoEntityList.md +1 -1
  207. data/docs/WfmBuIntradayDataUpdateTopicBuIntradayDataGroup.md +19 -0
  208. data/docs/WfmBuIntradayDataUpdateTopicBuIntradayForecastData.md +14 -0
  209. data/docs/WfmBuIntradayDataUpdateTopicBuIntradayNotification.md +14 -0
  210. data/docs/WfmBuIntradayDataUpdateTopicBuIntradayResult.md +20 -0
  211. data/docs/WfmBuIntradayDataUpdateTopicBuIntradayScheduleData.md +13 -0
  212. data/docs/WfmBuIntradayDataUpdateTopicBuScheduleReference.md +14 -0
  213. data/docs/WfmBuIntradayDataUpdateTopicBuShortTermForecastReference.md +15 -0
  214. data/docs/WfmBuIntradayDataUpdateTopicIntradayPerformancePredictionData.md +15 -0
  215. data/docs/WfmBuIntradayDataUpdateTopicLocalDate.md +16 -0
  216. data/docs/WfmBuScheduleRunTopicBuScheduleRun.md +4 -1
  217. data/docs/WfmBuScheduleRunTopicBuSchedulingRunProgressNotification.md +2 -4
  218. data/docs/WfmHistoricalAdherenceCalculationsCompleteTopicWfmHistoricalAdherenceCalculationsCompleteNotice.md +1 -0
  219. data/docs/WfmHistoricalAdherenceResponse.md +2 -1
  220. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicQueueReference.md +13 -0
  221. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserReference.md +13 -0
  222. data/docs/WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate.md +27 -0
  223. data/docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md +1 -0
  224. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  225. data/docs/WorkforceManagementApi.md +1 -1
  226. data/docs/WorkspaceEntityListing.md +1 -1
  227. data/docs/WorkspaceMemberEntityListing.md +1 -1
  228. data/docs/WrapupCodeEntityListing.md +1 -1
  229. data/lib/purecloudplatformclientv2.rb +19 -4
  230. data/lib/purecloudplatformclientv2/api/analytics_api.rb +6 -6
  231. data/lib/purecloudplatformclientv2/api/authorization_api.rb +9 -0
  232. data/lib/purecloudplatformclientv2/api/conversations_api.rb +6 -6
  233. data/lib/purecloudplatformclientv2/api/objects_api.rb +9 -0
  234. data/lib/purecloudplatformclientv2/api/organization_authorization_api.rb +85 -0
  235. data/lib/purecloudplatformclientv2/api/quality_api.rb +1 -1
  236. data/lib/purecloudplatformclientv2/api/routing_api.rb +276 -6
  237. data/lib/purecloudplatformclientv2/api/utilities_api.rb +0 -55
  238. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +2 -2
  239. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  240. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  241. data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
  242. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  243. data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +23 -23
  244. data/lib/purecloudplatformclientv2/models/analytics_conversation_without_attributes.rb +458 -0
  245. data/lib/purecloudplatformclientv2/models/{analytics_conversation_multi_get_response.rb → analytics_conversation_without_attributes_multi_get_response.rb} +2 -2
  246. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +32 -32
  247. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +414 -0
  248. data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
  249. data/lib/purecloudplatformclientv2/models/array_node.rb +34 -34
  250. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  251. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  252. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  253. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  254. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  255. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  256. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  257. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  258. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  259. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  260. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  261. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  262. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  263. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  264. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  265. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  266. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  267. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  268. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  269. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  270. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  271. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  272. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  273. data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +2 -2
  274. data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +2 -2
  275. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  276. data/lib/purecloudplatformclientv2/models/conversation_properties.rb +27 -1
  277. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  278. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  279. data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
  280. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  281. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  282. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  283. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  284. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  285. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  288. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  289. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  290. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  291. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  292. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  293. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  294. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  295. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  296. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  297. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  298. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  299. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  300. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  302. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  303. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  304. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  306. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  307. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  308. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  309. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  310. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  312. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  313. data/lib/purecloudplatformclientv2/models/flow.rb +26 -1
  314. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  315. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  316. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  318. data/lib/purecloudplatformclientv2/models/flow_version.rb +76 -1
  319. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  320. data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
  321. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  322. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  323. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  324. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  325. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  326. data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
  327. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  328. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  329. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  330. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  331. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  332. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  333. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  334. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  335. data/lib/purecloudplatformclientv2/models/json_node.rb +34 -34
  336. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  337. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  338. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  339. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  340. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  341. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  342. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  343. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  344. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  345. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  346. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  347. data/lib/purecloudplatformclientv2/models/{org_media_utilization.rb → media_utilization.rb} +2 -2
  348. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  349. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  350. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/o_auth_last_token_issued.rb +202 -0
  354. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  355. data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
  356. data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/org_user.rb +26 -1
  358. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  361. data/lib/purecloudplatformclientv2/models/outbound_messaging_messaging_campaign_progress_event_campaign_progress.rb +301 -0
  362. data/lib/purecloudplatformclientv2/models/outbound_messaging_messaging_campaign_progress_event_uri_reference.rb +226 -0
  363. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  364. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  365. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  366. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  367. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  369. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  370. data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
  371. data/lib/purecloudplatformclientv2/models/policy_actions.rb +30 -4
  372. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  373. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  375. data/lib/purecloudplatformclientv2/models/pure_engage.rb +12 -12
  376. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  377. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  378. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  379. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  380. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  381. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  382. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  383. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  384. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  385. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  386. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  387. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  388. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  389. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  390. data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
  391. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  392. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  393. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  394. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  396. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  397. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  398. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  399. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  407. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  409. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  412. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  413. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  414. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  415. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  416. data/lib/purecloudplatformclientv2/models/trust_member_create.rb +30 -9
  417. data/lib/purecloudplatformclientv2/models/trust_user.rb +26 -1
  418. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  419. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  420. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  421. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  422. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  423. data/lib/purecloudplatformclientv2/models/user.rb +26 -1
  424. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  425. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  426. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  427. data/lib/purecloudplatformclientv2/models/user_me.rb +26 -1
  428. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  431. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +27 -1
  432. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/utilization.rb +2 -2
  434. data/lib/purecloudplatformclientv2/models/view_filter.rb +225 -1
  435. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  436. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  437. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_data_group.rb +371 -0
  438. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_forecast_data.rb +226 -0
  439. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_notification.rb +226 -0
  440. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_result.rb +380 -0
  441. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_intraday_schedule_data.rb +201 -0
  442. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_schedule_reference.rb +226 -0
  443. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_bu_short_term_forecast_reference.rb +251 -0
  444. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_intraday_performance_prediction_data.rb +251 -0
  445. data/lib/purecloudplatformclientv2/models/wfm_bu_intraday_data_update_topic_local_date.rb +276 -0
  446. data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_schedule_run.rb +96 -7
  447. data/lib/purecloudplatformclientv2/models/wfm_bu_schedule_run_topic_bu_scheduling_run_progress_notification.rb +26 -76
  448. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_calculations_complete_topic_wfm_historical_adherence_calculations_comple.rb +28 -1
  449. data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_response.rb +30 -2
  450. data/lib/purecloudplatformclientv2/models/{token.rb → wfm_user_schedule_adherence_updated_mu_topic_queue_reference.rb} +8 -14
  451. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_reference.rb +201 -0
  452. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update.rb +581 -0
  453. data/lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb +29 -4
  454. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  455. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  456. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  457. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  458. data/lib/purecloudplatformclientv2/version.rb +1 -1
  459. metadata +40 -10
  460. data/docs/AnalyticsConversationMultiGetResponse.md +0 -13
  461. data/docs/MessagingApi.md +0 -1020
  462. data/docs/Token.md +0 -13
  463. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -1059
@@ -25,10 +25,10 @@ module PureCloud
25
25
 
26
26
  attr_accessor :relying_party_identifier
27
27
 
28
- attr_accessor :issuer_uri
29
-
30
28
  attr_accessor :certificate
31
29
 
30
+ attr_accessor :issuer_uri
31
+
32
32
  attr_accessor :sso_target_uri
33
33
 
34
34
  attr_accessor :disabled
@@ -46,10 +46,10 @@ module PureCloud
46
46
 
47
47
  :'relying_party_identifier' => :'relyingPartyIdentifier',
48
48
 
49
- :'issuer_uri' => :'issuerURI',
50
-
51
49
  :'certificate' => :'certificate',
52
50
 
51
+ :'issuer_uri' => :'issuerURI',
52
+
53
53
  :'sso_target_uri' => :'ssoTargetURI',
54
54
 
55
55
  :'disabled' => :'disabled',
@@ -69,10 +69,10 @@ module PureCloud
69
69
 
70
70
  :'relying_party_identifier' => :'String',
71
71
 
72
- :'issuer_uri' => :'String',
73
-
74
72
  :'certificate' => :'String',
75
73
 
74
+ :'issuer_uri' => :'String',
75
+
76
76
  :'sso_target_uri' => :'String',
77
77
 
78
78
  :'disabled' => :'BOOLEAN',
@@ -118,19 +118,19 @@ module PureCloud
118
118
  end
119
119
 
120
120
 
121
- if attributes.has_key?(:'issuerURI')
121
+ if attributes.has_key?(:'certificate')
122
122
 
123
123
 
124
- self.issuer_uri = attributes[:'issuerURI']
124
+ self.certificate = attributes[:'certificate']
125
125
 
126
126
 
127
127
  end
128
128
 
129
129
 
130
- if attributes.has_key?(:'certificate')
130
+ if attributes.has_key?(:'issuerURI')
131
131
 
132
132
 
133
- self.certificate = attributes[:'certificate']
133
+ self.issuer_uri = attributes[:'issuerURI']
134
134
 
135
135
 
136
136
  end
@@ -261,8 +261,8 @@ module PureCloud
261
261
  id == o.id &&
262
262
  name == o.name &&
263
263
  relying_party_identifier == o.relying_party_identifier &&
264
- issuer_uri == o.issuer_uri &&
265
264
  certificate == o.certificate &&
265
+ issuer_uri == o.issuer_uri &&
266
266
  sso_target_uri == o.sso_target_uri &&
267
267
  disabled == o.disabled &&
268
268
  self_uri == o.self_uri
@@ -277,7 +277,7 @@ module PureCloud
277
277
  # Calculates hash code according to all attributes.
278
278
  # @return [Fixnum] Hash code
279
279
  def hash
280
- [id, name, relying_party_identifier, issuer_uri, certificate, sso_target_uri, disabled, self_uri].hash
280
+ [id, name, relying_party_identifier, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
281
281
  end
282
282
 
283
283
  # build the object from hash
@@ -30,10 +30,10 @@ module PureCloud
30
30
 
31
31
  attr_accessor :self_uri
32
32
 
33
- attr_accessor :last_uri
34
-
35
33
  attr_accessor :next_uri
36
34
 
35
+ attr_accessor :last_uri
36
+
37
37
  attr_accessor :previous_uri
38
38
 
39
39
  attr_accessor :page_count
@@ -54,10 +54,10 @@ module PureCloud
54
54
 
55
55
  :'self_uri' => :'selfUri',
56
56
 
57
- :'last_uri' => :'lastUri',
58
-
59
57
  :'next_uri' => :'nextUri',
60
58
 
59
+ :'last_uri' => :'lastUri',
60
+
61
61
  :'previous_uri' => :'previousUri',
62
62
 
63
63
  :'page_count' => :'pageCount'
@@ -81,10 +81,10 @@ module PureCloud
81
81
 
82
82
  :'self_uri' => :'String',
83
83
 
84
- :'last_uri' => :'String',
85
-
86
84
  :'next_uri' => :'String',
87
85
 
86
+ :'last_uri' => :'String',
87
+
88
88
  :'previous_uri' => :'String',
89
89
 
90
90
  :'page_count' => :'Integer'
@@ -157,19 +157,19 @@ module PureCloud
157
157
  end
158
158
 
159
159
 
160
- if attributes.has_key?(:'lastUri')
160
+ if attributes.has_key?(:'nextUri')
161
161
 
162
162
 
163
- self.last_uri = attributes[:'lastUri']
163
+ self.next_uri = attributes[:'nextUri']
164
164
 
165
165
 
166
166
  end
167
167
 
168
168
 
169
- if attributes.has_key?(:'nextUri')
169
+ if attributes.has_key?(:'lastUri')
170
170
 
171
171
 
172
- self.next_uri = attributes[:'nextUri']
172
+ self.last_uri = attributes[:'lastUri']
173
173
 
174
174
 
175
175
  end
@@ -312,8 +312,8 @@ module PureCloud
312
312
  total == o.total &&
313
313
  first_uri == o.first_uri &&
314
314
  self_uri == o.self_uri &&
315
- last_uri == o.last_uri &&
316
315
  next_uri == o.next_uri &&
316
+ last_uri == o.last_uri &&
317
317
  previous_uri == o.previous_uri &&
318
318
  page_count == o.page_count
319
319
  end
@@ -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, first_uri, self_uri, last_uri, next_uri, previous_uri, page_count].hash
330
+ [entities, page_size, page_number, total, first_uri, self_uri, next_uri, last_uri, previous_uri, page_count].hash
331
331
  end
332
332
 
333
333
  # build the object from hash
@@ -36,9 +36,6 @@ module PureCloud
36
36
  # The original direction of the conversation
37
37
  attr_accessor :originating_direction
38
38
 
39
- # Participants in the conversation
40
- attr_accessor :participants
41
-
42
39
  # Evaluations tied to this conversation
43
40
  attr_accessor :evaluations
44
41
 
@@ -48,6 +45,9 @@ module PureCloud
48
45
  # Identifiers of divisions associated with this conversation
49
46
  attr_accessor :division_ids
50
47
 
48
+ # Participants in the conversation
49
+ attr_accessor :participants
50
+
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
@@ -64,13 +64,13 @@ module PureCloud
64
64
 
65
65
  :'originating_direction' => :'originatingDirection',
66
66
 
67
- :'participants' => :'participants',
68
-
69
67
  :'evaluations' => :'evaluations',
70
68
 
71
69
  :'surveys' => :'surveys',
72
70
 
73
- :'division_ids' => :'divisionIds'
71
+ :'division_ids' => :'divisionIds',
72
+
73
+ :'participants' => :'participants'
74
74
 
75
75
  }
76
76
  end
@@ -91,13 +91,13 @@ module PureCloud
91
91
 
92
92
  :'originating_direction' => :'String',
93
93
 
94
- :'participants' => :'Array<AnalyticsParticipant>',
95
-
96
94
  :'evaluations' => :'Array<AnalyticsEvaluation>',
97
95
 
98
96
  :'surveys' => :'Array<AnalyticsSurvey>',
99
97
 
100
- :'division_ids' => :'Array<String>'
98
+ :'division_ids' => :'Array<String>',
99
+
100
+ :'participants' => :'Array<AnalyticsParticipant>'
101
101
 
102
102
  }
103
103
  end
@@ -165,17 +165,6 @@ module PureCloud
165
165
  end
166
166
 
167
167
 
168
- if attributes.has_key?(:'participants')
169
-
170
- if (value = attributes[:'participants']).is_a?(Array)
171
- self.participants = value
172
- end
173
-
174
-
175
-
176
- end
177
-
178
-
179
168
  if attributes.has_key?(:'evaluations')
180
169
 
181
170
  if (value = attributes[:'evaluations']).is_a?(Array)
@@ -209,6 +198,17 @@ module PureCloud
209
198
  end
210
199
 
211
200
 
201
+ if attributes.has_key?(:'participants')
202
+
203
+ if (value = attributes[:'participants']).is_a?(Array)
204
+ self.participants = value
205
+ end
206
+
207
+
208
+
209
+ end
210
+
211
+
212
212
  end
213
213
 
214
214
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -342,10 +342,10 @@ module PureCloud
342
342
  media_stats_min_conversation_mos == o.media_stats_min_conversation_mos &&
343
343
  media_stats_min_conversation_r_factor == o.media_stats_min_conversation_r_factor &&
344
344
  originating_direction == o.originating_direction &&
345
- participants == o.participants &&
346
345
  evaluations == o.evaluations &&
347
346
  surveys == o.surveys &&
348
- division_ids == o.division_ids
347
+ division_ids == o.division_ids &&
348
+ participants == o.participants
349
349
  end
350
350
 
351
351
  # @see the `==` method
@@ -357,7 +357,7 @@ module PureCloud
357
357
  # Calculates hash code according to all attributes.
358
358
  # @return [Fixnum] Hash code
359
359
  def hash
360
- [conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, originating_direction, participants, evaluations, surveys, division_ids].hash
360
+ [conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, originating_direction, evaluations, surveys, division_ids, participants].hash
361
361
  end
362
362
 
363
363
  # build the object from hash
@@ -0,0 +1,458 @@
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 AnalyticsConversationWithoutAttributes
21
+ # Unique identifier for the conversation
22
+ attr_accessor :conversation_id
23
+
24
+ # Date/time the conversation started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
25
+ attr_accessor :conversation_start
26
+
27
+ # Date/time the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
28
+ attr_accessor :conversation_end
29
+
30
+ # The lowest estimated average MOS among all the audio streams belonging to this conversation
31
+ attr_accessor :media_stats_min_conversation_mos
32
+
33
+ # The lowest R-factor value among all of the audio streams belonging to this conversation
34
+ attr_accessor :media_stats_min_conversation_r_factor
35
+
36
+ # The original direction of the conversation
37
+ attr_accessor :originating_direction
38
+
39
+ # Evaluations tied to this conversation
40
+ attr_accessor :evaluations
41
+
42
+ # Surveys tied to this conversation
43
+ attr_accessor :surveys
44
+
45
+ # Identifiers of divisions associated with this conversation
46
+ attr_accessor :division_ids
47
+
48
+ # Participants in the conversation
49
+ attr_accessor :participants
50
+
51
+ # Attribute mapping from ruby-style variable name to JSON key.
52
+ def self.attribute_map
53
+ {
54
+
55
+ :'conversation_id' => :'conversationId',
56
+
57
+ :'conversation_start' => :'conversationStart',
58
+
59
+ :'conversation_end' => :'conversationEnd',
60
+
61
+ :'media_stats_min_conversation_mos' => :'mediaStatsMinConversationMos',
62
+
63
+ :'media_stats_min_conversation_r_factor' => :'mediaStatsMinConversationRFactor',
64
+
65
+ :'originating_direction' => :'originatingDirection',
66
+
67
+ :'evaluations' => :'evaluations',
68
+
69
+ :'surveys' => :'surveys',
70
+
71
+ :'division_ids' => :'divisionIds',
72
+
73
+ :'participants' => :'participants'
74
+
75
+ }
76
+ end
77
+
78
+ # Attribute type mapping.
79
+ def self.swagger_types
80
+ {
81
+
82
+ :'conversation_id' => :'String',
83
+
84
+ :'conversation_start' => :'DateTime',
85
+
86
+ :'conversation_end' => :'DateTime',
87
+
88
+ :'media_stats_min_conversation_mos' => :'Float',
89
+
90
+ :'media_stats_min_conversation_r_factor' => :'Float',
91
+
92
+ :'originating_direction' => :'String',
93
+
94
+ :'evaluations' => :'Array<AnalyticsEvaluation>',
95
+
96
+ :'surveys' => :'Array<AnalyticsSurvey>',
97
+
98
+ :'division_ids' => :'Array<String>',
99
+
100
+ :'participants' => :'Array<AnalyticsParticipantWithoutAttributes>'
101
+
102
+ }
103
+ end
104
+
105
+ # Initializes the object
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ def initialize(attributes = {})
108
+ return unless attributes.is_a?(Hash)
109
+
110
+ # convert string to symbol for hash key
111
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
112
+
113
+
114
+ if attributes.has_key?(:'conversationId')
115
+
116
+
117
+ self.conversation_id = attributes[:'conversationId']
118
+
119
+
120
+ end
121
+
122
+
123
+ if attributes.has_key?(:'conversationStart')
124
+
125
+
126
+ self.conversation_start = attributes[:'conversationStart']
127
+
128
+
129
+ end
130
+
131
+
132
+ if attributes.has_key?(:'conversationEnd')
133
+
134
+
135
+ self.conversation_end = attributes[:'conversationEnd']
136
+
137
+
138
+ end
139
+
140
+
141
+ if attributes.has_key?(:'mediaStatsMinConversationMos')
142
+
143
+
144
+ self.media_stats_min_conversation_mos = attributes[:'mediaStatsMinConversationMos']
145
+
146
+
147
+ end
148
+
149
+
150
+ if attributes.has_key?(:'mediaStatsMinConversationRFactor')
151
+
152
+
153
+ self.media_stats_min_conversation_r_factor = attributes[:'mediaStatsMinConversationRFactor']
154
+
155
+
156
+ end
157
+
158
+
159
+ if attributes.has_key?(:'originatingDirection')
160
+
161
+
162
+ self.originating_direction = attributes[:'originatingDirection']
163
+
164
+
165
+ end
166
+
167
+
168
+ if attributes.has_key?(:'evaluations')
169
+
170
+ if (value = attributes[:'evaluations']).is_a?(Array)
171
+ self.evaluations = value
172
+ end
173
+
174
+
175
+
176
+ end
177
+
178
+
179
+ if attributes.has_key?(:'surveys')
180
+
181
+ if (value = attributes[:'surveys']).is_a?(Array)
182
+ self.surveys = value
183
+ end
184
+
185
+
186
+
187
+ end
188
+
189
+
190
+ if attributes.has_key?(:'divisionIds')
191
+
192
+ if (value = attributes[:'divisionIds']).is_a?(Array)
193
+ self.division_ids = value
194
+ end
195
+
196
+
197
+
198
+ end
199
+
200
+
201
+ if attributes.has_key?(:'participants')
202
+
203
+ if (value = attributes[:'participants']).is_a?(Array)
204
+ self.participants = value
205
+ end
206
+
207
+
208
+
209
+ end
210
+
211
+
212
+ end
213
+
214
+ # Show invalid properties with the reasons. Usually used together with valid?
215
+ # @return Array for valid properies with the reasons
216
+ def list_invalid_properties
217
+ invalid_properties = Array.new
218
+
219
+
220
+ return invalid_properties
221
+ end
222
+
223
+ # Check to see if the all the properties in the model are valid
224
+ # @return true if the model is valid
225
+ def valid?
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+ allowed_values = ["inbound", "outbound"]
250
+ if @originating_direction && !allowed_values.include?(@originating_direction)
251
+ return false
252
+ end
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ end
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+ # Custom attribute writer method checking allowed values (enum).
302
+ # @param [Object] originating_direction Object to be assigned
303
+ def originating_direction=(originating_direction)
304
+ allowed_values = ["inbound", "outbound"]
305
+ if originating_direction && !allowed_values.include?(originating_direction)
306
+ fail ArgumentError, "invalid value for 'originating_direction', must be one of #{allowed_values}."
307
+ end
308
+ @originating_direction = originating_direction
309
+ end
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ # Checks equality by comparing each attribute.
335
+ # @param [Object] Object to be compared
336
+ def ==(o)
337
+ return true if self.equal?(o)
338
+ self.class == o.class &&
339
+ conversation_id == o.conversation_id &&
340
+ conversation_start == o.conversation_start &&
341
+ conversation_end == o.conversation_end &&
342
+ media_stats_min_conversation_mos == o.media_stats_min_conversation_mos &&
343
+ media_stats_min_conversation_r_factor == o.media_stats_min_conversation_r_factor &&
344
+ originating_direction == o.originating_direction &&
345
+ evaluations == o.evaluations &&
346
+ surveys == o.surveys &&
347
+ division_ids == o.division_ids &&
348
+ participants == o.participants
349
+ end
350
+
351
+ # @see the `==` method
352
+ # @param [Object] Object to be compared
353
+ def eql?(o)
354
+ self == o
355
+ end
356
+
357
+ # Calculates hash code according to all attributes.
358
+ # @return [Fixnum] Hash code
359
+ def hash
360
+ [conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, originating_direction, evaluations, surveys, division_ids, participants].hash
361
+ end
362
+
363
+ # build the object from hash
364
+ def build_from_hash(attributes)
365
+ return nil unless attributes.is_a?(Hash)
366
+ self.class.swagger_types.each_pair do |key, type|
367
+ if type =~ /^Array<(.*)>/i
368
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
369
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
370
+ else
371
+ #TODO show warning in debug mode
372
+ end
373
+ elsif !attributes[self.class.attribute_map[key]].nil?
374
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
375
+ else
376
+ # data not found in attributes(hash), not an issue as the data can be optional
377
+ end
378
+ end
379
+
380
+ self
381
+ end
382
+
383
+ def _deserialize(type, value)
384
+ case type.to_sym
385
+ when :DateTime
386
+ DateTime.parse(value)
387
+ when :Date
388
+ Date.parse(value)
389
+ when :String
390
+ value.to_s
391
+ when :Integer
392
+ value.to_i
393
+ when :Float
394
+ value.to_f
395
+ when :BOOLEAN
396
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
397
+ true
398
+ else
399
+ false
400
+ end
401
+ when :Object
402
+ # generic object (usually a Hash), return directly
403
+ value
404
+ when /\AArray<(?<inner_type>.+)>\z/
405
+ inner_type = Regexp.last_match[:inner_type]
406
+ value.map { |v| _deserialize(inner_type, v) }
407
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
408
+ k_type = Regexp.last_match[:k_type]
409
+ v_type = Regexp.last_match[:v_type]
410
+ {}.tap do |hash|
411
+ value.each do |k, v|
412
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
413
+ end
414
+ end
415
+ else # model
416
+ _model = Object.const_get("PureCloud").const_get(type).new
417
+ _model.build_from_hash(value)
418
+ end
419
+ end
420
+
421
+ def to_s
422
+ to_hash.to_s
423
+ end
424
+
425
+ # to_body is an alias to to_body (backward compatibility))
426
+ def to_body
427
+ to_hash
428
+ end
429
+
430
+ # return the object in the form of hash
431
+ def to_hash
432
+ hash = {}
433
+ self.class.attribute_map.each_pair do |attr, param|
434
+ value = self.send(attr)
435
+ next if value.nil?
436
+ hash[param] = _to_hash(value)
437
+ end
438
+ hash
439
+ end
440
+
441
+ # Method to output non-array value in the form of hash
442
+ # For object, use to_hash. Otherwise, just return the value
443
+ def _to_hash(value)
444
+ if value.is_a?(Array)
445
+ value.compact.map{ |v| _to_hash(v) }
446
+ elsif value.is_a?(Hash)
447
+ {}.tap do |hash|
448
+ value.each { |k, v| hash[k] = _to_hash(v) }
449
+ end
450
+ elsif value.respond_to? :to_hash
451
+ value.to_hash
452
+ else
453
+ value
454
+ end
455
+ end
456
+
457
+ end
458
+ end