purecloudplatformclientv2 62.0.0 → 66.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsApi.md +32 -32
  4. data/docs/AnalyticsEvaluation.md +2 -0
  5. data/docs/AnalyticsParticipant.md +1 -0
  6. data/docs/ArchitectDependencyTrackingBuildNotificationClient.md +14 -0
  7. data/docs/ArchitectDependencyTrackingBuildNotificationDependencyTrackingBuildNotification.md +1 -0
  8. data/docs/ArchitectFlowNotificationArchitectOperation.md +1 -0
  9. data/docs/ArchitectFlowNotificationClient.md +14 -0
  10. data/docs/ArchitectFlowOutcomeNotificationArchitectOperation.md +1 -0
  11. data/docs/ArchitectFlowOutcomeNotificationClient.md +14 -0
  12. data/docs/ArchitectPromptNotificationArchitectOperation.md +1 -0
  13. data/docs/ArchitectPromptNotificationClient.md +14 -0
  14. data/docs/ArrayNode.md +5 -5
  15. data/docs/AsyncConversationQuery.md +7 -6
  16. data/docs/AuthorizationApi.md +7 -7
  17. data/docs/CallConversation.md +1 -0
  18. data/docs/ConversationAggregateDataContainer.md +14 -0
  19. data/docs/ConversationAggregateQueryClause.md +14 -0
  20. data/docs/ConversationAggregateQueryFilter.md +15 -0
  21. data/docs/ConversationAggregateQueryPredicate.md +17 -0
  22. data/docs/ConversationAggregateQueryResponse.md +13 -0
  23. data/docs/ConversationAggregationQuery.md +20 -0
  24. data/docs/ConversationAggregationView.md +16 -0
  25. data/docs/ConversationDetailQueryClause.md +14 -0
  26. data/docs/ConversationDetailQueryFilter.md +15 -0
  27. data/docs/ConversationDetailQueryPredicate.md +18 -0
  28. data/docs/ConversationQuery.md +6 -6
  29. data/docs/ConversationsApi.md +286 -4
  30. data/docs/CreateQueueMediaAssociationRequest.md +1 -0
  31. data/docs/DataSchema.md +1 -1
  32. data/docs/DependencyStatus.md +2 -1
  33. data/docs/DomainOrganizationRole.md +1 -1
  34. data/docs/DomainOrganizationRoleCreate.md +1 -1
  35. data/docs/DomainOrganizationRoleUpdate.md +1 -1
  36. data/docs/EvaluationAggregateDataContainer.md +14 -0
  37. data/docs/EvaluationAggregateQueryClause.md +14 -0
  38. data/docs/EvaluationAggregateQueryFilter.md +15 -0
  39. data/docs/EvaluationAggregateQueryPredicate.md +17 -0
  40. data/docs/EvaluationAggregateQueryResponse.md +13 -0
  41. data/docs/EvaluationAggregationQuery.md +21 -0
  42. data/docs/EvaluationAggregationView.md +16 -0
  43. data/docs/EvaluationDetailQueryClause.md +14 -0
  44. data/docs/EvaluationDetailQueryFilter.md +15 -0
  45. data/docs/EvaluationDetailQueryPredicate.md +18 -0
  46. data/docs/Flow.md +2 -1
  47. data/docs/{AggregateDataContainer.md → FlowAggregateDataContainer.md} +2 -2
  48. data/docs/FlowAggregateQueryClause.md +14 -0
  49. data/docs/FlowAggregateQueryFilter.md +15 -0
  50. data/docs/FlowAggregateQueryPredicate.md +17 -0
  51. data/docs/FlowAggregateQueryResponse.md +13 -0
  52. data/docs/{AggregationQuery.md → FlowAggregationQuery.md} +4 -4
  53. data/docs/{AnalyticsView.md → FlowAggregationView.md} +3 -3
  54. data/docs/{ObservationDataContainer.md → FlowObservationDataContainer.md} +2 -2
  55. data/docs/{ObservationQuery.md → FlowObservationQuery.md} +3 -3
  56. data/docs/FlowObservationQueryClause.md +14 -0
  57. data/docs/FlowObservationQueryFilter.md +15 -0
  58. data/docs/FlowObservationQueryPredicate.md +17 -0
  59. data/docs/FlowObservationQueryResponse.md +13 -0
  60. data/docs/FlowVersion.md +1 -0
  61. data/docs/FlowsApi.md +8 -8
  62. data/docs/HistoryEntry.md +2 -1
  63. data/docs/HistoryListing.md +1 -0
  64. data/docs/HomerRecord.md +63 -0
  65. data/docs/IpAddressRange.md +15 -0
  66. data/docs/IpAddressRangeListing.md +13 -0
  67. data/docs/JsonNode.md +5 -5
  68. data/docs/Location.md +4 -4
  69. data/docs/{LocationUpdateDefinition.md → LocationCreateUpdateDefinition.md} +7 -6
  70. data/docs/LocationDefinition.md +1 -0
  71. data/docs/LocationSearchRequest.md +1 -0
  72. data/docs/LocationsApi.md +6 -6
  73. data/docs/Manager.md +1 -1
  74. data/docs/MediaEndpointStatDetailQueryClause.md +14 -0
  75. data/docs/MediaEndpointStatDetailQueryFilter.md +15 -0
  76. data/docs/MediaEndpointStatDetailQueryPredicate.md +17 -0
  77. data/docs/MessageInfo.md +4 -4
  78. data/docs/ObjectsApi.md +1 -1
  79. data/docs/Operation.md +1 -0
  80. data/docs/PresenceDetailQueryClause.md +14 -0
  81. data/docs/PresenceDetailQueryFilter.md +15 -0
  82. data/docs/PresenceDetailQueryPredicate.md +17 -0
  83. data/docs/QualityApi.md +8 -8
  84. data/docs/QueueMediaAssociation.md +1 -1
  85. data/docs/QueueObservationDataContainer.md +14 -0
  86. data/docs/QueueObservationQuery.md +15 -0
  87. data/docs/QueueObservationQueryClause.md +14 -0
  88. data/docs/QueueObservationQueryFilter.md +15 -0
  89. data/docs/QueueObservationQueryPredicate.md +17 -0
  90. data/docs/{QualifierMappingObservationQueryResponse.md → QueueObservationQueryResponse.md} +3 -3
  91. data/docs/Recording.md +5 -4
  92. data/docs/RecordingApi.md +2 -2
  93. data/docs/RecordingJob.md +1 -0
  94. data/docs/RecordingJobsQuery.md +2 -2
  95. data/docs/RecordingMetadata.md +30 -0
  96. data/docs/ReportingExportJobRequest.md +2 -0
  97. data/docs/ReportingExportJobResponse.md +2 -0
  98. data/docs/RoutingApi.md +4 -4
  99. data/docs/RoutingStatusDetailQueryClause.md +14 -0
  100. data/docs/RoutingStatusDetailQueryFilter.md +15 -0
  101. data/docs/RoutingStatusDetailQueryPredicate.md +17 -0
  102. data/docs/SCIMApi.md +295 -31
  103. data/docs/SIPSearchPublicRequest.md +22 -0
  104. data/docs/ScimConfigResourceType.md +20 -0
  105. data/docs/ScimConfigResourceTypeSchemaExtension.md +14 -0
  106. data/docs/ScimConfigResourceTypesListResponse.md +17 -0
  107. data/docs/ScimError.md +16 -0
  108. data/docs/ScimGroupListResponse.md +2 -2
  109. data/docs/ScimMetadata.md +2 -2
  110. data/docs/ScimPhoneNumber.md +1 -1
  111. data/docs/ScimServiceProviderConfig.md +10 -2
  112. data/docs/ScimServiceProviderConfigAuthenticationScheme.md +18 -0
  113. data/docs/ScimServiceProviderConfigBulkFeature.md +15 -0
  114. data/docs/ScimServiceProviderConfigFilterFeature.md +14 -0
  115. data/docs/ScimServiceProviderConfigSimpleFeature.md +13 -0
  116. data/docs/ScimUserListResponse.md +2 -2
  117. data/docs/ScimV2CreateUser.md +8 -8
  118. data/docs/ScimV2Group.md +3 -3
  119. data/docs/ScimV2GroupReference.md +2 -2
  120. data/docs/ScimV2MemberReference.md +2 -2
  121. data/docs/ScimV2PatchOperation.md +2 -2
  122. data/docs/ScimV2PatchRequest.md +2 -2
  123. data/docs/ScimV2User.md +9 -9
  124. data/docs/SearchApi.md +4 -4
  125. data/docs/SegmentDetailQueryClause.md +14 -0
  126. data/docs/SegmentDetailQueryFilter.md +15 -0
  127. data/docs/{AnalyticsQueryPredicate.md → SegmentDetailQueryPredicate.md} +4 -4
  128. data/docs/SignedUrlResponse.md +16 -0
  129. data/docs/SipDownloadResponse.md +14 -0
  130. data/docs/SipSearchResult.md +20 -0
  131. data/docs/Site.md +1 -0
  132. data/docs/SmsPhoneNumber.md +1 -0
  133. data/docs/SuggestApi.md +2 -2
  134. data/docs/SurveyAggregateDataContainer.md +14 -0
  135. data/docs/SurveyAggregateQueryClause.md +14 -0
  136. data/docs/SurveyAggregateQueryFilter.md +15 -0
  137. data/docs/SurveyAggregateQueryPredicate.md +17 -0
  138. data/docs/SurveyAggregateQueryResponse.md +13 -0
  139. data/docs/SurveyAggregationQuery.md +20 -0
  140. data/docs/SurveyAggregationView.md +16 -0
  141. data/docs/SurveyDetailQueryClause.md +14 -0
  142. data/docs/SurveyDetailQueryFilter.md +15 -0
  143. data/docs/SurveyDetailQueryPredicate.md +18 -0
  144. data/docs/TelephonyApi.md +223 -0
  145. data/docs/TelephonyProvidersEdgeApi.md +6 -6
  146. data/docs/TokensApi.md +2 -1
  147. data/docs/TrusteeBillingOverview.md +1 -0
  148. data/docs/UserAggregateDataContainer.md +14 -0
  149. data/docs/UserAggregateQueryClause.md +14 -0
  150. data/docs/UserAggregateQueryFilter.md +15 -0
  151. data/docs/UserAggregateQueryPredicate.md +17 -0
  152. data/docs/{PresenceQueryResponse.md → UserAggregateQueryResponse.md} +3 -3
  153. data/docs/UserAggregationQuery.md +20 -0
  154. data/docs/UserAggregationView.md +16 -0
  155. data/docs/UserAuthorization.md +1 -1
  156. data/docs/UserDetailQueryClause.md +14 -0
  157. data/docs/UserDetailQueryFilter.md +15 -0
  158. data/docs/UserDetailQueryPredicate.md +17 -0
  159. data/docs/UserDetailsQuery.md +4 -4
  160. data/docs/UserObservationDataContainer.md +14 -0
  161. data/docs/UserObservationQuery.md +15 -0
  162. data/docs/UserObservationQueryClause.md +14 -0
  163. data/docs/UserObservationQueryFilter.md +15 -0
  164. data/docs/UserObservationQueryPredicate.md +17 -0
  165. data/docs/UserObservationQueryResponse.md +13 -0
  166. data/docs/UsersApi.md +10 -10
  167. data/docs/UtilitiesApi.md +59 -0
  168. data/lib/purecloudplatformclientv2.rb +99 -13
  169. data/lib/purecloudplatformclientv2/api/analytics_api.rb +24 -24
  170. data/lib/purecloudplatformclientv2/api/authorization_api.rb +8 -8
  171. data/lib/purecloudplatformclientv2/api/conversations_api.rb +343 -3
  172. data/lib/purecloudplatformclientv2/api/flows_api.rb +6 -6
  173. data/lib/purecloudplatformclientv2/api/locations_api.rb +2 -2
  174. data/lib/purecloudplatformclientv2/api/objects_api.rb +2 -2
  175. data/lib/purecloudplatformclientv2/api/quality_api.rb +6 -6
  176. data/lib/purecloudplatformclientv2/api/recording_api.rb +3 -3
  177. data/lib/purecloudplatformclientv2/api/routing_api.rb +3 -3
  178. data/lib/purecloudplatformclientv2/api/scim_api.rb +344 -30
  179. data/lib/purecloudplatformclientv2/api/search_api.rb +2 -2
  180. data/lib/purecloudplatformclientv2/api/telephony_api.rb +270 -0
  181. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +4 -4
  182. data/lib/purecloudplatformclientv2/api/users_api.rb +8 -8
  183. data/lib/purecloudplatformclientv2/api/utilities_api.rb +55 -0
  184. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  185. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +1 -15
  186. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +53 -1
  187. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +31 -3
  188. data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_client.rb +226 -0
  189. data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_dependency_tracking_build_notification.rb +26 -1
  190. data/lib/purecloudplatformclientv2/models/architect_flow_notification_architect_operation.rb +26 -1
  191. data/lib/purecloudplatformclientv2/models/architect_flow_notification_client.rb +226 -0
  192. data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_architect_operation.rb +26 -1
  193. data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_client.rb +226 -0
  194. data/lib/purecloudplatformclientv2/models/architect_prompt_notification_architect_operation.rb +26 -1
  195. data/lib/purecloudplatformclientv2/models/architect_prompt_notification_client.rb +226 -0
  196. data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
  197. data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +57 -31
  198. data/lib/purecloudplatformclientv2/models/call_conversation.rb +27 -1
  199. data/lib/purecloudplatformclientv2/models/conversation_aggregate_data_container.rb +231 -0
  200. data/lib/purecloudplatformclientv2/models/{analytics_query_clause.rb → conversation_aggregate_query_clause.rb} +3 -3
  201. data/lib/purecloudplatformclientv2/models/{analytics_query_filter.rb → conversation_aggregate_query_filter.rb} +4 -4
  202. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +348 -0
  203. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_response.rb +203 -0
  204. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +390 -0
  205. data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +323 -0
  206. data/lib/purecloudplatformclientv2/models/conversation_detail_query_clause.rb +254 -0
  207. data/lib/purecloudplatformclientv2/models/conversation_detail_query_filter.rb +277 -0
  208. data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +388 -0
  209. data/lib/purecloudplatformclientv2/models/conversation_query.rb +28 -28
  210. data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +27 -1
  211. data/lib/purecloudplatformclientv2/models/data_schema.rb +1 -1
  212. data/lib/purecloudplatformclientv2/models/dependency_status.rb +28 -1
  213. data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +1 -0
  214. data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +1 -0
  215. data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +1 -0
  216. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_data_container.rb +231 -0
  217. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_clause.rb +254 -0
  218. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_filter.rb +277 -0
  219. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_predicate.rb +348 -0
  220. data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_response.rb +203 -0
  221. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +430 -0
  222. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_view.rb +323 -0
  223. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_clause.rb +254 -0
  224. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_filter.rb +277 -0
  225. data/lib/purecloudplatformclientv2/models/evaluation_detail_query_predicate.rb +388 -0
  226. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  227. data/lib/purecloudplatformclientv2/models/flow.rb +28 -1
  228. data/lib/purecloudplatformclientv2/models/{aggregate_data_container.rb → flow_aggregate_data_container.rb} +1 -1
  229. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_clause.rb +254 -0
  230. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_filter.rb +277 -0
  231. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +348 -0
  232. data/lib/purecloudplatformclientv2/models/{aggregate_query_response.rb → flow_aggregate_query_response.rb} +2 -2
  233. data/lib/purecloudplatformclientv2/models/{aggregation_query.rb → flow_aggregation_query.rb} +3 -3
  234. data/lib/purecloudplatformclientv2/models/flow_aggregation_view.rb +323 -0
  235. data/lib/purecloudplatformclientv2/models/{observation_data_container.rb → flow_observation_data_container.rb} +1 -1
  236. data/lib/purecloudplatformclientv2/models/{observation_query.rb → flow_observation_query.rb} +2 -2
  237. data/lib/purecloudplatformclientv2/models/flow_observation_query_clause.rb +254 -0
  238. data/lib/purecloudplatformclientv2/models/flow_observation_query_filter.rb +277 -0
  239. data/lib/purecloudplatformclientv2/models/flow_observation_query_predicate.rb +348 -0
  240. data/lib/purecloudplatformclientv2/models/{observation_query_response.rb → flow_observation_query_response.rb} +2 -2
  241. data/lib/purecloudplatformclientv2/models/flow_version.rb +26 -1
  242. data/lib/purecloudplatformclientv2/models/history_entry.rb +28 -1
  243. data/lib/purecloudplatformclientv2/models/history_listing.rb +26 -1
  244. data/lib/purecloudplatformclientv2/models/homer_record.rb +1501 -0
  245. data/lib/purecloudplatformclientv2/models/ip_address_range.rb +265 -0
  246. data/lib/purecloudplatformclientv2/models/ip_address_range_listing.rb +203 -0
  247. data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
  248. data/lib/purecloudplatformclientv2/models/location.rb +4 -0
  249. data/lib/purecloudplatformclientv2/models/{location_update_definition.rb → location_create_update_definition.rb} +56 -25
  250. data/lib/purecloudplatformclientv2/models/location_definition.rb +27 -1
  251. data/lib/purecloudplatformclientv2/models/location_search_request.rb +29 -1
  252. data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
  253. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_clause.rb +254 -0
  254. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_filter.rb +277 -0
  255. data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_predicate.rb +348 -0
  256. data/lib/purecloudplatformclientv2/models/message_info.rb +4 -0
  257. data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +1 -15
  258. data/lib/purecloudplatformclientv2/models/operation.rb +26 -1
  259. data/lib/purecloudplatformclientv2/models/presence_detail_query_clause.rb +254 -0
  260. data/lib/purecloudplatformclientv2/models/presence_detail_query_filter.rb +277 -0
  261. data/lib/purecloudplatformclientv2/models/presence_detail_query_predicate.rb +348 -0
  262. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +17 -17
  263. data/lib/purecloudplatformclientv2/models/queue_observation_data_container.rb +231 -0
  264. data/lib/purecloudplatformclientv2/models/queue_observation_query.rb +263 -0
  265. data/lib/purecloudplatformclientv2/models/queue_observation_query_clause.rb +254 -0
  266. data/lib/purecloudplatformclientv2/models/queue_observation_query_filter.rb +277 -0
  267. data/lib/purecloudplatformclientv2/models/queue_observation_query_predicate.rb +348 -0
  268. data/lib/purecloudplatformclientv2/models/{qualifier_mapping_observation_query_response.rb → queue_observation_query_response.rb} +2 -2
  269. data/lib/purecloudplatformclientv2/models/recording.rb +31 -3
  270. data/lib/purecloudplatformclientv2/models/recording_job.rb +30 -4
  271. data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +2 -2
  272. data/lib/purecloudplatformclientv2/models/recording_metadata.rb +670 -0
  273. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -6
  274. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -3
  275. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_clause.rb +254 -0
  276. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_filter.rb +277 -0
  277. data/lib/purecloudplatformclientv2/models/routing_status_detail_query_predicate.rb +348 -0
  278. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +389 -0
  279. data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +229 -0
  280. data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +311 -0
  281. data/lib/purecloudplatformclientv2/models/scim_error.rb +297 -0
  282. data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +2 -2
  283. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +4 -4
  284. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
  285. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +216 -3
  286. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +362 -0
  287. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +255 -0
  288. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +229 -0
  289. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +203 -0
  290. data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +2 -2
  291. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +8 -8
  292. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +3 -3
  293. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +4 -4
  294. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +4 -4
  295. data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +3 -3
  296. data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +2 -1
  297. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +9 -9
  298. data/lib/purecloudplatformclientv2/models/segment_detail_query_clause.rb +254 -0
  299. data/lib/purecloudplatformclientv2/models/segment_detail_query_filter.rb +277 -0
  300. data/lib/purecloudplatformclientv2/models/{analytics_query_predicate.rb → segment_detail_query_predicate.rb} +7 -7
  301. data/lib/purecloudplatformclientv2/models/signed_url_response.rb +279 -0
  302. data/lib/purecloudplatformclientv2/models/sip_download_response.rb +228 -0
  303. data/lib/purecloudplatformclientv2/models/sip_search_public_request.rb +445 -0
  304. data/lib/purecloudplatformclientv2/models/sip_search_result.rb +386 -0
  305. data/lib/purecloudplatformclientv2/models/site.rb +26 -1
  306. data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +41 -1
  307. data/lib/purecloudplatformclientv2/models/subject_division_grants.rb +2 -2
  308. data/lib/purecloudplatformclientv2/models/survey_aggregate_data_container.rb +231 -0
  309. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_clause.rb +254 -0
  310. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_filter.rb +277 -0
  311. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_predicate.rb +348 -0
  312. data/lib/purecloudplatformclientv2/models/survey_aggregate_query_response.rb +203 -0
  313. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +390 -0
  314. data/lib/purecloudplatformclientv2/models/survey_aggregation_view.rb +323 -0
  315. data/lib/purecloudplatformclientv2/models/survey_detail_query_clause.rb +254 -0
  316. data/lib/purecloudplatformclientv2/models/survey_detail_query_filter.rb +277 -0
  317. data/lib/purecloudplatformclientv2/models/survey_detail_query_predicate.rb +388 -0
  318. data/lib/purecloudplatformclientv2/models/system_message_system_message.rb +4 -4
  319. data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +27 -1
  320. data/lib/purecloudplatformclientv2/models/user_aggregate_data_container.rb +231 -0
  321. data/lib/purecloudplatformclientv2/models/user_aggregate_query_clause.rb +254 -0
  322. data/lib/purecloudplatformclientv2/models/user_aggregate_query_filter.rb +277 -0
  323. data/lib/purecloudplatformclientv2/models/user_aggregate_query_predicate.rb +348 -0
  324. data/lib/purecloudplatformclientv2/models/{presence_query_response.rb → user_aggregate_query_response.rb} +2 -2
  325. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +390 -0
  326. data/lib/purecloudplatformclientv2/models/{analytics_view.rb → user_aggregation_view.rb} +17 -3
  327. data/lib/purecloudplatformclientv2/models/user_authorization.rb +1 -0
  328. data/lib/purecloudplatformclientv2/models/user_detail_query_clause.rb +254 -0
  329. data/lib/purecloudplatformclientv2/models/user_detail_query_filter.rb +277 -0
  330. data/lib/purecloudplatformclientv2/models/user_detail_query_predicate.rb +348 -0
  331. data/lib/purecloudplatformclientv2/models/user_details_query.rb +37 -38
  332. data/lib/purecloudplatformclientv2/models/user_observation_data_container.rb +231 -0
  333. data/lib/purecloudplatformclientv2/models/user_observation_query.rb +263 -0
  334. data/lib/purecloudplatformclientv2/models/user_observation_query_clause.rb +254 -0
  335. data/lib/purecloudplatformclientv2/models/user_observation_query_filter.rb +277 -0
  336. data/lib/purecloudplatformclientv2/models/user_observation_query_predicate.rb +348 -0
  337. data/lib/purecloudplatformclientv2/models/user_observation_query_response.rb +203 -0
  338. data/lib/purecloudplatformclientv2/version.rb +1 -1
  339. metadata +200 -28
  340. data/docs/AggregateQueryResponse.md +0 -13
  341. data/docs/AnalyticsQueryClause.md +0 -14
  342. data/docs/AnalyticsQueryFilter.md +0 -15
  343. data/docs/ObservationQueryResponse.md +0 -13
@@ -24,6 +24,8 @@ module PureCloud
24
24
 
25
25
  attr_accessor :user
26
26
 
27
+ attr_accessor :client
28
+
27
29
  attr_accessor :error_message
28
30
 
29
31
  attr_accessor :error_code
@@ -70,6 +72,8 @@ module PureCloud
70
72
 
71
73
  :'user' => :'user',
72
74
 
75
+ :'client' => :'client',
76
+
73
77
  :'error_message' => :'errorMessage',
74
78
 
75
79
  :'error_code' => :'errorCode',
@@ -115,6 +119,8 @@ module PureCloud
115
119
 
116
120
  :'user' => :'User',
117
121
 
122
+ :'client' => :'DomainEntityRef',
123
+
118
124
  :'error_message' => :'String',
119
125
 
120
126
  :'error_code' => :'String',
@@ -186,6 +192,15 @@ module PureCloud
186
192
  end
187
193
 
188
194
 
195
+ if attributes.has_key?(:'client')
196
+
197
+
198
+ self.client = attributes[:'client']
199
+
200
+
201
+ end
202
+
203
+
189
204
  if attributes.has_key?(:'errorMessage')
190
205
 
191
206
 
@@ -376,6 +391,10 @@ module PureCloud
376
391
 
377
392
 
378
393
 
394
+
395
+
396
+
397
+
379
398
 
380
399
 
381
400
 
@@ -470,6 +489,11 @@ module PureCloud
470
489
 
471
490
 
472
491
 
492
+
493
+
494
+
495
+
496
+
473
497
 
474
498
 
475
499
 
@@ -561,6 +585,7 @@ module PureCloud
561
585
  id == o.id &&
562
586
  complete == o.complete &&
563
587
  user == o.user &&
588
+ client == o.client &&
564
589
  error_message == o.error_message &&
565
590
  error_code == o.error_code &&
566
591
  error_details == o.error_details &&
@@ -588,7 +613,7 @@ module PureCloud
588
613
  # Calculates hash code according to all attributes.
589
614
  # @return [Fixnum] Hash code
590
615
  def hash
591
- [id, complete, user, error_message, error_code, error_details, error_message_params, action_name, action_status, name, description, system, started, completed, entities, total, page_size, page_number, page_count].hash
616
+ [id, complete, user, client, error_message, error_code, error_details, error_message_params, action_name, action_status, name, description, system, started, completed, entities, total, page_size, page_number, page_count].hash
592
617
  end
593
618
 
594
619
  # build the object from hash
@@ -0,0 +1,1501 @@
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 HomerRecord
21
+ # The globally unique identifier for the object.
22
+ attr_accessor :id
23
+
24
+ attr_accessor :name
25
+
26
+ # metadata associated to the SIP calls. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
27
+ attr_accessor :date
28
+
29
+ # metadata associated to the SIP calls
30
+ attr_accessor :milli_ts
31
+
32
+ # metadata associated to the SIP calls
33
+ attr_accessor :micro_ts
34
+
35
+ # metadata associated to the SIP calls
36
+ attr_accessor :method
37
+
38
+ # metadata associated to the SIP calls
39
+ attr_accessor :reply_reason
40
+
41
+ # metadata associated to the SIP calls
42
+ attr_accessor :ruri
43
+
44
+ # metadata associated to the SIP calls
45
+ attr_accessor :ruri_user
46
+
47
+ # metadata associated to the SIP calls
48
+ attr_accessor :ruri_domain
49
+
50
+ # metadata associated to the SIP calls
51
+ attr_accessor :from_user
52
+
53
+ # metadata associated to the SIP calls
54
+ attr_accessor :from_domain
55
+
56
+ # metadata associated to the SIP calls
57
+ attr_accessor :from_tag
58
+
59
+ # metadata associated to the SIP calls
60
+ attr_accessor :to_user
61
+
62
+ # metadata associated to the SIP calls
63
+ attr_accessor :to_domain
64
+
65
+ # metadata associated to the SIP calls
66
+ attr_accessor :to_tag
67
+
68
+ # metadata associated to the SIP calls
69
+ attr_accessor :pid_user
70
+
71
+ # metadata associated to the SIP calls
72
+ attr_accessor :contact_user
73
+
74
+ # metadata associated to the SIP calls
75
+ attr_accessor :auth_user
76
+
77
+ # metadata associated to the SIP calls
78
+ attr_accessor :callid
79
+
80
+ # metadata associated to the SIP calls
81
+ attr_accessor :callid_aleg
82
+
83
+ # metadata associated to the SIP calls
84
+ attr_accessor :via1
85
+
86
+ # metadata associated to the SIP calls
87
+ attr_accessor :via1_branch
88
+
89
+ # metadata associated to the SIP calls
90
+ attr_accessor :cseq
91
+
92
+ # metadata associated to the SIP calls
93
+ attr_accessor :diversion
94
+
95
+ # metadata associated to the SIP calls
96
+ attr_accessor :reason
97
+
98
+ # metadata associated to the SIP calls
99
+ attr_accessor :content_type
100
+
101
+ # metadata associated to the SIP calls
102
+ attr_accessor :auth
103
+
104
+ # metadata associated to the SIP calls
105
+ attr_accessor :user_agent
106
+
107
+ # metadata associated to the SIP calls
108
+ attr_accessor :source_ip
109
+
110
+ # metadata associated to the SIP calls
111
+ attr_accessor :source_port
112
+
113
+ # metadata associated to the SIP calls
114
+ attr_accessor :destination_ip
115
+
116
+ # metadata associated to the SIP calls
117
+ attr_accessor :destination_port
118
+
119
+ # metadata associated to the SIP calls
120
+ attr_accessor :contact_ip
121
+
122
+ # metadata associated to the SIP calls
123
+ attr_accessor :contact_port
124
+
125
+ # metadata associated to the SIP calls
126
+ attr_accessor :originator_ip
127
+
128
+ # metadata associated to the SIP calls
129
+ attr_accessor :originator_port
130
+
131
+ # metadata associated to the SIP calls
132
+ attr_accessor :correlation_id
133
+
134
+ # metadata associated to the SIP calls
135
+ attr_accessor :proto
136
+
137
+ # metadata associated to the SIP calls
138
+ attr_accessor :family
139
+
140
+ # metadata associated to the SIP calls
141
+ attr_accessor :rtp_stat
142
+
143
+ # metadata associated to the SIP calls
144
+ attr_accessor :type
145
+
146
+ # metadata associated to the SIP calls
147
+ attr_accessor :node
148
+
149
+ # metadata associated to the SIP calls
150
+ attr_accessor :trans
151
+
152
+ # metadata associated to the SIP calls
153
+ attr_accessor :dbnode
154
+
155
+ # metadata associated to the SIP calls
156
+ attr_accessor :msg
157
+
158
+ # metadata associated to the SIP calls
159
+ attr_accessor :source_alias
160
+
161
+ # metadata associated to the SIP calls
162
+ attr_accessor :destination_alias
163
+
164
+ # metadata associated to the SIP calls
165
+ attr_accessor :conversation_id
166
+
167
+ # metadata associated to the SIP calls
168
+ attr_accessor :participant_id
169
+
170
+ # The URI for this object
171
+ attr_accessor :self_uri
172
+
173
+ # Attribute mapping from ruby-style variable name to JSON key.
174
+ def self.attribute_map
175
+ {
176
+
177
+ :'id' => :'id',
178
+
179
+ :'name' => :'name',
180
+
181
+ :'date' => :'date',
182
+
183
+ :'milli_ts' => :'milliTs',
184
+
185
+ :'micro_ts' => :'microTs',
186
+
187
+ :'method' => :'method',
188
+
189
+ :'reply_reason' => :'replyReason',
190
+
191
+ :'ruri' => :'ruri',
192
+
193
+ :'ruri_user' => :'ruriUser',
194
+
195
+ :'ruri_domain' => :'ruriDomain',
196
+
197
+ :'from_user' => :'fromUser',
198
+
199
+ :'from_domain' => :'fromDomain',
200
+
201
+ :'from_tag' => :'fromTag',
202
+
203
+ :'to_user' => :'toUser',
204
+
205
+ :'to_domain' => :'toDomain',
206
+
207
+ :'to_tag' => :'toTag',
208
+
209
+ :'pid_user' => :'pidUser',
210
+
211
+ :'contact_user' => :'contactUser',
212
+
213
+ :'auth_user' => :'authUser',
214
+
215
+ :'callid' => :'callid',
216
+
217
+ :'callid_aleg' => :'callidAleg',
218
+
219
+ :'via1' => :'via1',
220
+
221
+ :'via1_branch' => :'via1Branch',
222
+
223
+ :'cseq' => :'cseq',
224
+
225
+ :'diversion' => :'diversion',
226
+
227
+ :'reason' => :'reason',
228
+
229
+ :'content_type' => :'contentType',
230
+
231
+ :'auth' => :'auth',
232
+
233
+ :'user_agent' => :'userAgent',
234
+
235
+ :'source_ip' => :'sourceIp',
236
+
237
+ :'source_port' => :'sourcePort',
238
+
239
+ :'destination_ip' => :'destinationIp',
240
+
241
+ :'destination_port' => :'destinationPort',
242
+
243
+ :'contact_ip' => :'contactIp',
244
+
245
+ :'contact_port' => :'contactPort',
246
+
247
+ :'originator_ip' => :'originatorIp',
248
+
249
+ :'originator_port' => :'originatorPort',
250
+
251
+ :'correlation_id' => :'correlationId',
252
+
253
+ :'proto' => :'proto',
254
+
255
+ :'family' => :'family',
256
+
257
+ :'rtp_stat' => :'rtpStat',
258
+
259
+ :'type' => :'type',
260
+
261
+ :'node' => :'node',
262
+
263
+ :'trans' => :'trans',
264
+
265
+ :'dbnode' => :'dbnode',
266
+
267
+ :'msg' => :'msg',
268
+
269
+ :'source_alias' => :'sourceAlias',
270
+
271
+ :'destination_alias' => :'destinationAlias',
272
+
273
+ :'conversation_id' => :'conversationId',
274
+
275
+ :'participant_id' => :'participantId',
276
+
277
+ :'self_uri' => :'selfUri'
278
+
279
+ }
280
+ end
281
+
282
+ # Attribute type mapping.
283
+ def self.swagger_types
284
+ {
285
+
286
+ :'id' => :'String',
287
+
288
+ :'name' => :'String',
289
+
290
+ :'date' => :'DateTime',
291
+
292
+ :'milli_ts' => :'String',
293
+
294
+ :'micro_ts' => :'String',
295
+
296
+ :'method' => :'String',
297
+
298
+ :'reply_reason' => :'String',
299
+
300
+ :'ruri' => :'String',
301
+
302
+ :'ruri_user' => :'String',
303
+
304
+ :'ruri_domain' => :'String',
305
+
306
+ :'from_user' => :'String',
307
+
308
+ :'from_domain' => :'String',
309
+
310
+ :'from_tag' => :'String',
311
+
312
+ :'to_user' => :'String',
313
+
314
+ :'to_domain' => :'String',
315
+
316
+ :'to_tag' => :'String',
317
+
318
+ :'pid_user' => :'String',
319
+
320
+ :'contact_user' => :'String',
321
+
322
+ :'auth_user' => :'String',
323
+
324
+ :'callid' => :'String',
325
+
326
+ :'callid_aleg' => :'String',
327
+
328
+ :'via1' => :'String',
329
+
330
+ :'via1_branch' => :'String',
331
+
332
+ :'cseq' => :'String',
333
+
334
+ :'diversion' => :'String',
335
+
336
+ :'reason' => :'String',
337
+
338
+ :'content_type' => :'String',
339
+
340
+ :'auth' => :'String',
341
+
342
+ :'user_agent' => :'String',
343
+
344
+ :'source_ip' => :'String',
345
+
346
+ :'source_port' => :'String',
347
+
348
+ :'destination_ip' => :'String',
349
+
350
+ :'destination_port' => :'String',
351
+
352
+ :'contact_ip' => :'String',
353
+
354
+ :'contact_port' => :'String',
355
+
356
+ :'originator_ip' => :'String',
357
+
358
+ :'originator_port' => :'String',
359
+
360
+ :'correlation_id' => :'String',
361
+
362
+ :'proto' => :'String',
363
+
364
+ :'family' => :'String',
365
+
366
+ :'rtp_stat' => :'String',
367
+
368
+ :'type' => :'String',
369
+
370
+ :'node' => :'String',
371
+
372
+ :'trans' => :'String',
373
+
374
+ :'dbnode' => :'String',
375
+
376
+ :'msg' => :'String',
377
+
378
+ :'source_alias' => :'String',
379
+
380
+ :'destination_alias' => :'String',
381
+
382
+ :'conversation_id' => :'String',
383
+
384
+ :'participant_id' => :'String',
385
+
386
+ :'self_uri' => :'String'
387
+
388
+ }
389
+ end
390
+
391
+ # Initializes the object
392
+ # @param [Hash] attributes Model attributes in the form of hash
393
+ def initialize(attributes = {})
394
+ return unless attributes.is_a?(Hash)
395
+
396
+ # convert string to symbol for hash key
397
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
398
+
399
+
400
+ if attributes.has_key?(:'id')
401
+
402
+
403
+ self.id = attributes[:'id']
404
+
405
+
406
+ end
407
+
408
+
409
+ if attributes.has_key?(:'name')
410
+
411
+
412
+ self.name = attributes[:'name']
413
+
414
+
415
+ end
416
+
417
+
418
+ if attributes.has_key?(:'date')
419
+
420
+
421
+ self.date = attributes[:'date']
422
+
423
+
424
+ end
425
+
426
+
427
+ if attributes.has_key?(:'milliTs')
428
+
429
+
430
+ self.milli_ts = attributes[:'milliTs']
431
+
432
+
433
+ end
434
+
435
+
436
+ if attributes.has_key?(:'microTs')
437
+
438
+
439
+ self.micro_ts = attributes[:'microTs']
440
+
441
+
442
+ end
443
+
444
+
445
+ if attributes.has_key?(:'method')
446
+
447
+
448
+ self.method = attributes[:'method']
449
+
450
+
451
+ end
452
+
453
+
454
+ if attributes.has_key?(:'replyReason')
455
+
456
+
457
+ self.reply_reason = attributes[:'replyReason']
458
+
459
+
460
+ end
461
+
462
+
463
+ if attributes.has_key?(:'ruri')
464
+
465
+
466
+ self.ruri = attributes[:'ruri']
467
+
468
+
469
+ end
470
+
471
+
472
+ if attributes.has_key?(:'ruriUser')
473
+
474
+
475
+ self.ruri_user = attributes[:'ruriUser']
476
+
477
+
478
+ end
479
+
480
+
481
+ if attributes.has_key?(:'ruriDomain')
482
+
483
+
484
+ self.ruri_domain = attributes[:'ruriDomain']
485
+
486
+
487
+ end
488
+
489
+
490
+ if attributes.has_key?(:'fromUser')
491
+
492
+
493
+ self.from_user = attributes[:'fromUser']
494
+
495
+
496
+ end
497
+
498
+
499
+ if attributes.has_key?(:'fromDomain')
500
+
501
+
502
+ self.from_domain = attributes[:'fromDomain']
503
+
504
+
505
+ end
506
+
507
+
508
+ if attributes.has_key?(:'fromTag')
509
+
510
+
511
+ self.from_tag = attributes[:'fromTag']
512
+
513
+
514
+ end
515
+
516
+
517
+ if attributes.has_key?(:'toUser')
518
+
519
+
520
+ self.to_user = attributes[:'toUser']
521
+
522
+
523
+ end
524
+
525
+
526
+ if attributes.has_key?(:'toDomain')
527
+
528
+
529
+ self.to_domain = attributes[:'toDomain']
530
+
531
+
532
+ end
533
+
534
+
535
+ if attributes.has_key?(:'toTag')
536
+
537
+
538
+ self.to_tag = attributes[:'toTag']
539
+
540
+
541
+ end
542
+
543
+
544
+ if attributes.has_key?(:'pidUser')
545
+
546
+
547
+ self.pid_user = attributes[:'pidUser']
548
+
549
+
550
+ end
551
+
552
+
553
+ if attributes.has_key?(:'contactUser')
554
+
555
+
556
+ self.contact_user = attributes[:'contactUser']
557
+
558
+
559
+ end
560
+
561
+
562
+ if attributes.has_key?(:'authUser')
563
+
564
+
565
+ self.auth_user = attributes[:'authUser']
566
+
567
+
568
+ end
569
+
570
+
571
+ if attributes.has_key?(:'callid')
572
+
573
+
574
+ self.callid = attributes[:'callid']
575
+
576
+
577
+ end
578
+
579
+
580
+ if attributes.has_key?(:'callidAleg')
581
+
582
+
583
+ self.callid_aleg = attributes[:'callidAleg']
584
+
585
+
586
+ end
587
+
588
+
589
+ if attributes.has_key?(:'via1')
590
+
591
+
592
+ self.via1 = attributes[:'via1']
593
+
594
+
595
+ end
596
+
597
+
598
+ if attributes.has_key?(:'via1Branch')
599
+
600
+
601
+ self.via1_branch = attributes[:'via1Branch']
602
+
603
+
604
+ end
605
+
606
+
607
+ if attributes.has_key?(:'cseq')
608
+
609
+
610
+ self.cseq = attributes[:'cseq']
611
+
612
+
613
+ end
614
+
615
+
616
+ if attributes.has_key?(:'diversion')
617
+
618
+
619
+ self.diversion = attributes[:'diversion']
620
+
621
+
622
+ end
623
+
624
+
625
+ if attributes.has_key?(:'reason')
626
+
627
+
628
+ self.reason = attributes[:'reason']
629
+
630
+
631
+ end
632
+
633
+
634
+ if attributes.has_key?(:'contentType')
635
+
636
+
637
+ self.content_type = attributes[:'contentType']
638
+
639
+
640
+ end
641
+
642
+
643
+ if attributes.has_key?(:'auth')
644
+
645
+
646
+ self.auth = attributes[:'auth']
647
+
648
+
649
+ end
650
+
651
+
652
+ if attributes.has_key?(:'userAgent')
653
+
654
+
655
+ self.user_agent = attributes[:'userAgent']
656
+
657
+
658
+ end
659
+
660
+
661
+ if attributes.has_key?(:'sourceIp')
662
+
663
+
664
+ self.source_ip = attributes[:'sourceIp']
665
+
666
+
667
+ end
668
+
669
+
670
+ if attributes.has_key?(:'sourcePort')
671
+
672
+
673
+ self.source_port = attributes[:'sourcePort']
674
+
675
+
676
+ end
677
+
678
+
679
+ if attributes.has_key?(:'destinationIp')
680
+
681
+
682
+ self.destination_ip = attributes[:'destinationIp']
683
+
684
+
685
+ end
686
+
687
+
688
+ if attributes.has_key?(:'destinationPort')
689
+
690
+
691
+ self.destination_port = attributes[:'destinationPort']
692
+
693
+
694
+ end
695
+
696
+
697
+ if attributes.has_key?(:'contactIp')
698
+
699
+
700
+ self.contact_ip = attributes[:'contactIp']
701
+
702
+
703
+ end
704
+
705
+
706
+ if attributes.has_key?(:'contactPort')
707
+
708
+
709
+ self.contact_port = attributes[:'contactPort']
710
+
711
+
712
+ end
713
+
714
+
715
+ if attributes.has_key?(:'originatorIp')
716
+
717
+
718
+ self.originator_ip = attributes[:'originatorIp']
719
+
720
+
721
+ end
722
+
723
+
724
+ if attributes.has_key?(:'originatorPort')
725
+
726
+
727
+ self.originator_port = attributes[:'originatorPort']
728
+
729
+
730
+ end
731
+
732
+
733
+ if attributes.has_key?(:'correlationId')
734
+
735
+
736
+ self.correlation_id = attributes[:'correlationId']
737
+
738
+
739
+ end
740
+
741
+
742
+ if attributes.has_key?(:'proto')
743
+
744
+
745
+ self.proto = attributes[:'proto']
746
+
747
+
748
+ end
749
+
750
+
751
+ if attributes.has_key?(:'family')
752
+
753
+
754
+ self.family = attributes[:'family']
755
+
756
+
757
+ end
758
+
759
+
760
+ if attributes.has_key?(:'rtpStat')
761
+
762
+
763
+ self.rtp_stat = attributes[:'rtpStat']
764
+
765
+
766
+ end
767
+
768
+
769
+ if attributes.has_key?(:'type')
770
+
771
+
772
+ self.type = attributes[:'type']
773
+
774
+
775
+ end
776
+
777
+
778
+ if attributes.has_key?(:'node')
779
+
780
+
781
+ self.node = attributes[:'node']
782
+
783
+
784
+ end
785
+
786
+
787
+ if attributes.has_key?(:'trans')
788
+
789
+
790
+ self.trans = attributes[:'trans']
791
+
792
+
793
+ end
794
+
795
+
796
+ if attributes.has_key?(:'dbnode')
797
+
798
+
799
+ self.dbnode = attributes[:'dbnode']
800
+
801
+
802
+ end
803
+
804
+
805
+ if attributes.has_key?(:'msg')
806
+
807
+
808
+ self.msg = attributes[:'msg']
809
+
810
+
811
+ end
812
+
813
+
814
+ if attributes.has_key?(:'sourceAlias')
815
+
816
+
817
+ self.source_alias = attributes[:'sourceAlias']
818
+
819
+
820
+ end
821
+
822
+
823
+ if attributes.has_key?(:'destinationAlias')
824
+
825
+
826
+ self.destination_alias = attributes[:'destinationAlias']
827
+
828
+
829
+ end
830
+
831
+
832
+ if attributes.has_key?(:'conversationId')
833
+
834
+
835
+ self.conversation_id = attributes[:'conversationId']
836
+
837
+
838
+ end
839
+
840
+
841
+ if attributes.has_key?(:'participantId')
842
+
843
+
844
+ self.participant_id = attributes[:'participantId']
845
+
846
+
847
+ end
848
+
849
+
850
+ if attributes.has_key?(:'selfUri')
851
+
852
+
853
+ self.self_uri = attributes[:'selfUri']
854
+
855
+
856
+ end
857
+
858
+
859
+ end
860
+
861
+ # Show invalid properties with the reasons. Usually used together with valid?
862
+ # @return Array for valid properies with the reasons
863
+ def list_invalid_properties
864
+ invalid_properties = Array.new
865
+
866
+
867
+ return invalid_properties
868
+ end
869
+
870
+ # Check to see if the all the properties in the model are valid
871
+ # @return true if the model is valid
872
+ def valid?
873
+
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+ end
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+ # Checks equality by comparing each attribute.
1337
+ # @param [Object] Object to be compared
1338
+ def ==(o)
1339
+ return true if self.equal?(o)
1340
+ self.class == o.class &&
1341
+ id == o.id &&
1342
+ name == o.name &&
1343
+ date == o.date &&
1344
+ milli_ts == o.milli_ts &&
1345
+ micro_ts == o.micro_ts &&
1346
+ method == o.method &&
1347
+ reply_reason == o.reply_reason &&
1348
+ ruri == o.ruri &&
1349
+ ruri_user == o.ruri_user &&
1350
+ ruri_domain == o.ruri_domain &&
1351
+ from_user == o.from_user &&
1352
+ from_domain == o.from_domain &&
1353
+ from_tag == o.from_tag &&
1354
+ to_user == o.to_user &&
1355
+ to_domain == o.to_domain &&
1356
+ to_tag == o.to_tag &&
1357
+ pid_user == o.pid_user &&
1358
+ contact_user == o.contact_user &&
1359
+ auth_user == o.auth_user &&
1360
+ callid == o.callid &&
1361
+ callid_aleg == o.callid_aleg &&
1362
+ via1 == o.via1 &&
1363
+ via1_branch == o.via1_branch &&
1364
+ cseq == o.cseq &&
1365
+ diversion == o.diversion &&
1366
+ reason == o.reason &&
1367
+ content_type == o.content_type &&
1368
+ auth == o.auth &&
1369
+ user_agent == o.user_agent &&
1370
+ source_ip == o.source_ip &&
1371
+ source_port == o.source_port &&
1372
+ destination_ip == o.destination_ip &&
1373
+ destination_port == o.destination_port &&
1374
+ contact_ip == o.contact_ip &&
1375
+ contact_port == o.contact_port &&
1376
+ originator_ip == o.originator_ip &&
1377
+ originator_port == o.originator_port &&
1378
+ correlation_id == o.correlation_id &&
1379
+ proto == o.proto &&
1380
+ family == o.family &&
1381
+ rtp_stat == o.rtp_stat &&
1382
+ type == o.type &&
1383
+ node == o.node &&
1384
+ trans == o.trans &&
1385
+ dbnode == o.dbnode &&
1386
+ msg == o.msg &&
1387
+ source_alias == o.source_alias &&
1388
+ destination_alias == o.destination_alias &&
1389
+ conversation_id == o.conversation_id &&
1390
+ participant_id == o.participant_id &&
1391
+ self_uri == o.self_uri
1392
+ end
1393
+
1394
+ # @see the `==` method
1395
+ # @param [Object] Object to be compared
1396
+ def eql?(o)
1397
+ self == o
1398
+ end
1399
+
1400
+ # Calculates hash code according to all attributes.
1401
+ # @return [Fixnum] Hash code
1402
+ def hash
1403
+ [id, name, date, milli_ts, micro_ts, method, reply_reason, ruri, ruri_user, ruri_domain, from_user, from_domain, from_tag, to_user, to_domain, to_tag, pid_user, contact_user, auth_user, callid, callid_aleg, via1, via1_branch, cseq, diversion, reason, content_type, auth, user_agent, source_ip, source_port, destination_ip, destination_port, contact_ip, contact_port, originator_ip, originator_port, correlation_id, proto, family, rtp_stat, type, node, trans, dbnode, msg, source_alias, destination_alias, conversation_id, participant_id, self_uri].hash
1404
+ end
1405
+
1406
+ # build the object from hash
1407
+ def build_from_hash(attributes)
1408
+ return nil unless attributes.is_a?(Hash)
1409
+ self.class.swagger_types.each_pair do |key, type|
1410
+ if type =~ /^Array<(.*)>/i
1411
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
1412
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
1413
+ else
1414
+ #TODO show warning in debug mode
1415
+ end
1416
+ elsif !attributes[self.class.attribute_map[key]].nil?
1417
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1418
+ else
1419
+ # data not found in attributes(hash), not an issue as the data can be optional
1420
+ end
1421
+ end
1422
+
1423
+ self
1424
+ end
1425
+
1426
+ def _deserialize(type, value)
1427
+ case type.to_sym
1428
+ when :DateTime
1429
+ DateTime.parse(value)
1430
+ when :Date
1431
+ Date.parse(value)
1432
+ when :String
1433
+ value.to_s
1434
+ when :Integer
1435
+ value.to_i
1436
+ when :Float
1437
+ value.to_f
1438
+ when :BOOLEAN
1439
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
1440
+ true
1441
+ else
1442
+ false
1443
+ end
1444
+ when :Object
1445
+ # generic object (usually a Hash), return directly
1446
+ value
1447
+ when /\AArray<(?<inner_type>.+)>\z/
1448
+ inner_type = Regexp.last_match[:inner_type]
1449
+ value.map { |v| _deserialize(inner_type, v) }
1450
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
1451
+ k_type = Regexp.last_match[:k_type]
1452
+ v_type = Regexp.last_match[:v_type]
1453
+ {}.tap do |hash|
1454
+ value.each do |k, v|
1455
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1456
+ end
1457
+ end
1458
+ else # model
1459
+ _model = Object.const_get("PureCloud").const_get(type).new
1460
+ _model.build_from_hash(value)
1461
+ end
1462
+ end
1463
+
1464
+ def to_s
1465
+ to_hash.to_s
1466
+ end
1467
+
1468
+ # to_body is an alias to to_body (backward compatibility))
1469
+ def to_body
1470
+ to_hash
1471
+ end
1472
+
1473
+ # return the object in the form of hash
1474
+ def to_hash
1475
+ hash = {}
1476
+ self.class.attribute_map.each_pair do |attr, param|
1477
+ value = self.send(attr)
1478
+ next if value.nil?
1479
+ hash[param] = _to_hash(value)
1480
+ end
1481
+ hash
1482
+ end
1483
+
1484
+ # Method to output non-array value in the form of hash
1485
+ # For object, use to_hash. Otherwise, just return the value
1486
+ def _to_hash(value)
1487
+ if value.is_a?(Array)
1488
+ value.compact.map{ |v| _to_hash(v) }
1489
+ elsif value.is_a?(Hash)
1490
+ {}.tap do |hash|
1491
+ value.each { |k, v| hash[k] = _to_hash(v) }
1492
+ end
1493
+ elsif value.respond_to? :to_hash
1494
+ value.to_hash
1495
+ else
1496
+ value
1497
+ end
1498
+ end
1499
+
1500
+ end
1501
+ end