visier-platform-sdk 22222222.99201.1892b3__py3-none-any.whl

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.

Potentially problematic release.


This version of visier-platform-sdk might be problematic. Click here for more details.

Files changed (664) hide show
  1. visier_platform_sdk/__init__.py +684 -0
  2. visier_platform_sdk/api/__init__.py +42 -0
  3. visier_platform_sdk/api/basic_authentication_api.py +625 -0
  4. visier_platform_sdk/api/benchmarks_api.py +936 -0
  5. visier_platform_sdk/api/concepts_v2_api.py +2307 -0
  6. visier_platform_sdk/api/consolidated_analytics_api.py +3265 -0
  7. visier_platform_sdk/api/data_and_job_handling_api.py +8346 -0
  8. visier_platform_sdk/api/data_intake_api.py +1866 -0
  9. visier_platform_sdk/api/data_model_api.py +13164 -0
  10. visier_platform_sdk/api/data_query_api.py +1226 -0
  11. visier_platform_sdk/api/data_upload_api.py +343 -0
  12. visier_platform_sdk/api/data_version_export_api.py +1724 -0
  13. visier_platform_sdk/api/dimensions_api.py +3050 -0
  14. visier_platform_sdk/api/direct_data_intake_api.py +3039 -0
  15. visier_platform_sdk/api/email_domains_api.py +880 -0
  16. visier_platform_sdk/api/encryption_keys_api.py +835 -0
  17. visier_platform_sdk/api/jobs_library_api.py +1168 -0
  18. visier_platform_sdk/api/network_subnets_api.py +1170 -0
  19. visier_platform_sdk/api/o_auth2_api.py +1021 -0
  20. visier_platform_sdk/api/object_configuration_api.py +1752 -0
  21. visier_platform_sdk/api/permissions_api.py +4295 -0
  22. visier_platform_sdk/api/pgp_key_api.py +1161 -0
  23. visier_platform_sdk/api/planning_data_load_api.py +740 -0
  24. visier_platform_sdk/api/production_versions_api.py +944 -0
  25. visier_platform_sdk/api/profiles_api.py +2873 -0
  26. visier_platform_sdk/api/projects_api.py +2128 -0
  27. visier_platform_sdk/api/release_version_configuration_api.py +835 -0
  28. visier_platform_sdk/api/reporting_api.py +1757 -0
  29. visier_platform_sdk/api/search_api.py +356 -0
  30. visier_platform_sdk/api/skills_library_api.py +2632 -0
  31. visier_platform_sdk/api/source_files_download_api.py +335 -0
  32. visier_platform_sdk/api/sources_api.py +652 -0
  33. visier_platform_sdk/api/system_status_api.py +570 -0
  34. visier_platform_sdk/api/tenants_v1_api.py +2836 -0
  35. visier_platform_sdk/api/tenants_v2_api.py +1595 -0
  36. visier_platform_sdk/api/user_groups_v2_api.py +2332 -0
  37. visier_platform_sdk/api/users_v1_api.py +6157 -0
  38. visier_platform_sdk/api/users_v2_api.py +973 -0
  39. visier_platform_sdk/api/vee_api.py +1161 -0
  40. visier_platform_sdk/api/webhooks_api.py +2281 -0
  41. visier_platform_sdk/api_client.py +811 -0
  42. visier_platform_sdk/api_response.py +21 -0
  43. visier_platform_sdk/configuration.py +808 -0
  44. visier_platform_sdk/exceptions.py +217 -0
  45. visier_platform_sdk/models/__init__.py +630 -0
  46. visier_platform_sdk/models/admin_all_tenants_status_apidto.py +100 -0
  47. visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py +112 -0
  48. visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py +96 -0
  49. visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py +98 -0
  50. visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py +92 -0
  51. visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py +96 -0
  52. visier_platform_sdk/models/admin_business_location_dto.py +90 -0
  53. visier_platform_sdk/models/admin_connector_info_response_dto.py +92 -0
  54. visier_platform_sdk/models/admin_connector_setting_request_dto.py +90 -0
  55. visier_platform_sdk/models/admin_connector_setting_response_dto.py +92 -0
  56. visier_platform_sdk/models/admin_connector_settings_response_dto.py +102 -0
  57. visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py +88 -0
  58. visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py +88 -0
  59. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py +88 -0
  60. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py +88 -0
  61. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py +92 -0
  62. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py +96 -0
  63. visier_platform_sdk/models/admin_custom_property_dto.py +90 -0
  64. visier_platform_sdk/models/admin_custom_tenant_property_dto.py +90 -0
  65. visier_platform_sdk/models/admin_data_import_definition_apidto.py +92 -0
  66. visier_platform_sdk/models/admin_data_import_definitions_apidto.py +100 -0
  67. visier_platform_sdk/models/admin_data_version_and_date_dto.py +90 -0
  68. visier_platform_sdk/models/admin_delete_user_group_v2_request.py +88 -0
  69. visier_platform_sdk/models/admin_element_ids_dto.py +88 -0
  70. visier_platform_sdk/models/admin_email_domains_dto.py +90 -0
  71. visier_platform_sdk/models/admin_excluded_sources_body.py +88 -0
  72. visier_platform_sdk/models/admin_extractor_setting_apidto.py +100 -0
  73. visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py +90 -0
  74. visier_platform_sdk/models/admin_extractor_settings_apidto.py +96 -0
  75. visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py +90 -0
  76. visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py +88 -0
  77. visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py +150 -0
  78. visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py +96 -0
  79. visier_platform_sdk/models/admin_key_name.py +88 -0
  80. visier_platform_sdk/models/admin_mask_message.py +88 -0
  81. visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py +98 -0
  82. visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py +100 -0
  83. visier_platform_sdk/models/admin_network_subnets_message_request.py +90 -0
  84. visier_platform_sdk/models/admin_network_subnets_message_response.py +88 -0
  85. visier_platform_sdk/models/admin_permission_response_dto.py +90 -0
  86. visier_platform_sdk/models/admin_permissions_list_dto.py +96 -0
  87. visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py +102 -0
  88. visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py +90 -0
  89. visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py +96 -0
  90. visier_platform_sdk/models/admin_product_release_dto.py +94 -0
  91. visier_platform_sdk/models/admin_product_releases_dto.py +96 -0
  92. visier_platform_sdk/models/admin_product_version_dto.py +92 -0
  93. visier_platform_sdk/models/admin_product_versions_dto.py +96 -0
  94. visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py +94 -0
  95. visier_platform_sdk/models/admin_product_versions_update_response_dto.py +106 -0
  96. visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py +92 -0
  97. visier_platform_sdk/models/admin_put_project_commits_request.py +88 -0
  98. visier_platform_sdk/models/admin_security_assignment_response_dto.py +96 -0
  99. visier_platform_sdk/models/admin_set_connector_setting_request_dto.py +98 -0
  100. visier_platform_sdk/models/admin_set_connector_setting_response_dto.py +112 -0
  101. visier_platform_sdk/models/admin_set_connector_settings_request_dto.py +96 -0
  102. visier_platform_sdk/models/admin_set_connector_settings_response_dto.py +96 -0
  103. visier_platform_sdk/models/admin_simple_user_dto.py +90 -0
  104. visier_platform_sdk/models/admin_target_project_for_tenant_dto.py +90 -0
  105. visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py +96 -0
  106. visier_platform_sdk/models/admin_tenant_assignments_dto.py +114 -0
  107. visier_platform_sdk/models/admin_tenant_code_body.py +88 -0
  108. visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py +98 -0
  109. visier_platform_sdk/models/admin_tenant_detail_apidto.py +130 -0
  110. visier_platform_sdk/models/admin_tenant_details_traits_dto.py +112 -0
  111. visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py +156 -0
  112. visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py +100 -0
  113. visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py +156 -0
  114. visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py +136 -0
  115. visier_platform_sdk/models/admin_tenant_provision_apidto.py +110 -0
  116. visier_platform_sdk/models/admin_tenant_status_apidto.py +94 -0
  117. visier_platform_sdk/models/admin_update_tenant_model.py +98 -0
  118. visier_platform_sdk/models/admin_user_group_change_definition_dto.py +108 -0
  119. visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py +104 -0
  120. visier_platform_sdk/models/admin_user_group_change_failure_dto.py +96 -0
  121. visier_platform_sdk/models/admin_user_group_change_filter_dto.py +100 -0
  122. visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py +90 -0
  123. visier_platform_sdk/models/admin_user_group_change_response_dto.py +106 -0
  124. visier_platform_sdk/models/admin_user_group_change_success_dto.py +94 -0
  125. visier_platform_sdk/models/admin_user_group_change_users_dto.py +105 -0
  126. visier_platform_sdk/models/admin_user_group_delete_dto.py +92 -0
  127. visier_platform_sdk/models/admin_user_group_delete_failure_dto.py +96 -0
  128. visier_platform_sdk/models/admin_user_group_delete_response_dto.py +106 -0
  129. visier_platform_sdk/models/admin_user_group_delete_success_dto.py +92 -0
  130. visier_platform_sdk/models/admin_user_group_filters_dto.py +96 -0
  131. visier_platform_sdk/models/admin_user_group_get_api_response_dto.py +100 -0
  132. visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py +98 -0
  133. visier_platform_sdk/models/admin_user_groups_change_dto.py +96 -0
  134. visier_platform_sdk/models/admin_user_groups_delete_request_dto.py +96 -0
  135. visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py +100 -0
  136. visier_platform_sdk/models/admin_user_groups_users_dto.py +100 -0
  137. visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py +98 -0
  138. visier_platform_sdk/models/admin_user_security_assignments_dto.py +100 -0
  139. visier_platform_sdk/models/admin_users_to_user_group_request_dto.py +90 -0
  140. visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py +102 -0
  141. visier_platform_sdk/models/analysis_common_report_create_request_dto.py +90 -0
  142. visier_platform_sdk/models/analysis_common_report_delete_success_dto.py +88 -0
  143. visier_platform_sdk/models/analysis_common_report_dto.py +115 -0
  144. visier_platform_sdk/models/analysis_common_report_list_response_dto.py +96 -0
  145. visier_platform_sdk/models/analysis_common_vee_clarification_dto.py +98 -0
  146. visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py +88 -0
  147. visier_platform_sdk/models/analysis_common_vee_corrections_dto.py +109 -0
  148. visier_platform_sdk/models/analysis_common_vee_data_dto.py +90 -0
  149. visier_platform_sdk/models/analysis_common_vee_feedback_dto.py +96 -0
  150. visier_platform_sdk/models/analysis_common_vee_options_dto.py +110 -0
  151. visier_platform_sdk/models/analysis_common_vee_question_dto.py +102 -0
  152. visier_platform_sdk/models/analysis_common_vee_response_dto.py +132 -0
  153. visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py +107 -0
  154. visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py +90 -0
  155. visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py +94 -0
  156. visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py +96 -0
  157. visier_platform_sdk/models/analysis_common_vee_status_code_dto.py +100 -0
  158. visier_platform_sdk/models/analysis_common_vee_visual_dto.py +92 -0
  159. visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py +90 -0
  160. visier_platform_sdk/models/api_error.py +92 -0
  161. visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py +117 -0
  162. visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py +100 -0
  163. visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py +96 -0
  164. visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py +96 -0
  165. visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py +88 -0
  166. visier_platform_sdk/models/benchmark_info.py +92 -0
  167. visier_platform_sdk/models/benchmark_value.py +108 -0
  168. visier_platform_sdk/models/data_in_assign_connector_credential_request.py +96 -0
  169. visier_platform_sdk/models/data_in_connector.py +98 -0
  170. visier_platform_sdk/models/data_in_data_load_request.py +92 -0
  171. visier_platform_sdk/models/data_in_data_load_request_model.py +90 -0
  172. visier_platform_sdk/models/data_in_data_load_response.py +88 -0
  173. visier_platform_sdk/models/data_in_data_transfer_result_detail.py +94 -0
  174. visier_platform_sdk/models/data_in_data_version_object.py +90 -0
  175. visier_platform_sdk/models/data_in_disable_dv_model.py +96 -0
  176. visier_platform_sdk/models/data_in_disable_dv_request.py +92 -0
  177. visier_platform_sdk/models/data_in_disable_dv_response.py +100 -0
  178. visier_platform_sdk/models/data_in_dispatching_job_status_response.py +94 -0
  179. visier_platform_sdk/models/data_in_exclude_data_uploads_request.py +96 -0
  180. visier_platform_sdk/models/data_in_extraction_job.py +94 -0
  181. visier_platform_sdk/models/data_in_extraction_job_and_status_response.py +104 -0
  182. visier_platform_sdk/models/data_in_include_data_uploads_request.py +96 -0
  183. visier_platform_sdk/models/data_in_job_status_list_response.py +100 -0
  184. visier_platform_sdk/models/data_in_job_status_with_start_time.py +96 -0
  185. visier_platform_sdk/models/data_in_processing_job.py +96 -0
  186. visier_platform_sdk/models/data_in_processing_job_and_status_response.py +104 -0
  187. visier_platform_sdk/models/data_in_processing_job_status_response.py +104 -0
  188. visier_platform_sdk/models/data_in_push_data_cancel_response.py +102 -0
  189. visier_platform_sdk/models/data_in_push_data_complete_request.py +90 -0
  190. visier_platform_sdk/models/data_in_push_data_complete_response.py +104 -0
  191. visier_platform_sdk/models/data_in_push_data_response.py +104 -0
  192. visier_platform_sdk/models/data_in_receiving_job.py +92 -0
  193. visier_platform_sdk/models/data_in_receiving_job_and_status_response.py +104 -0
  194. visier_platform_sdk/models/data_in_receiving_job_status_response.py +104 -0
  195. visier_platform_sdk/models/data_in_result.py +96 -0
  196. visier_platform_sdk/models/data_in_source.py +98 -0
  197. visier_platform_sdk/models/data_in_start_extraction_response.py +88 -0
  198. visier_platform_sdk/models/data_in_start_transfer_response.py +88 -0
  199. visier_platform_sdk/models/data_in_tenant.py +100 -0
  200. visier_platform_sdk/models/data_in_tenant_and_credential.py +90 -0
  201. visier_platform_sdk/models/data_in_upload_to_exclude.py +98 -0
  202. visier_platform_sdk/models/data_in_upload_to_include.py +98 -0
  203. visier_platform_sdk/models/data_out_list_response.py +101 -0
  204. visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py +90 -0
  205. visier_platform_sdk/models/dataservices_common_member_values_dto.py +105 -0
  206. visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py +96 -0
  207. visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py +102 -0
  208. visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py +130 -0
  209. visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py +96 -0
  210. visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py +96 -0
  211. visier_platform_sdk/models/dataservices_datamodel_currency_dto.py +94 -0
  212. visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py +96 -0
  213. visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py +96 -0
  214. visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py +120 -0
  215. visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py +102 -0
  216. visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py +90 -0
  217. visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py +90 -0
  218. visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py +96 -0
  219. visier_platform_sdk/models/dataservices_datamodel_level_dto.py +92 -0
  220. visier_platform_sdk/models/dataservices_datamodel_member_dto.py +106 -0
  221. visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py +102 -0
  222. visier_platform_sdk/models/dataservices_datamodel_members_dto.py +96 -0
  223. visier_platform_sdk/models/dataservices_datamodel_metric_dto.py +122 -0
  224. visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py +96 -0
  225. visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py +98 -0
  226. visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py +110 -0
  227. visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py +110 -0
  228. visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py +94 -0
  229. visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py +88 -0
  230. visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py +92 -0
  231. visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py +92 -0
  232. visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py +96 -0
  233. visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py +98 -0
  234. visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py +123 -0
  235. visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py +96 -0
  236. visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py +115 -0
  237. visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py +124 -0
  238. visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py +96 -0
  239. visier_platform_sdk/models/dataservices_datamodel_properties_dto.py +96 -0
  240. visier_platform_sdk/models/dataservices_datamodel_property_dto.py +118 -0
  241. visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py +90 -0
  242. visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py +90 -0
  243. visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py +106 -0
  244. visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py +90 -0
  245. visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py +96 -0
  246. visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py +90 -0
  247. visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py +90 -0
  248. visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py +128 -0
  249. visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py +98 -0
  250. visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py +96 -0
  251. visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py +94 -0
  252. visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py +96 -0
  253. visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py +90 -0
  254. visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py +90 -0
  255. visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py +88 -0
  256. visier_platform_sdk/models/dataservices_query_cell_dto.py +102 -0
  257. visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py +102 -0
  258. visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py +92 -0
  259. visier_platform_sdk/models/dataservices_query_cell_set_dto.py +114 -0
  260. visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py +98 -0
  261. visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py +100 -0
  262. visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py +100 -0
  263. visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py +96 -0
  264. visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py +100 -0
  265. visier_platform_sdk/models/dataservices_query_lineage_dto.py +100 -0
  266. visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py +144 -0
  267. visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py +158 -0
  268. visier_platform_sdk/models/dataservices_query_list_query_source_dto.py +94 -0
  269. visier_platform_sdk/models/dataservices_query_member_filter_dto.py +98 -0
  270. visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py +98 -0
  271. visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py +90 -0
  272. visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py +94 -0
  273. visier_platform_sdk/models/dataservices_query_property_column_dto.py +94 -0
  274. visier_platform_sdk/models/dataservices_query_query_axis_dto.py +141 -0
  275. visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py +100 -0
  276. visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py +92 -0
  277. visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py +92 -0
  278. visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py +108 -0
  279. visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py +96 -0
  280. visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py +102 -0
  281. visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py +94 -0
  282. visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py +100 -0
  283. visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py +100 -0
  284. visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py +192 -0
  285. visier_platform_sdk/models/dataservices_query_query_filter_dto.py +106 -0
  286. visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py +94 -0
  287. visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py +104 -0
  288. visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py +100 -0
  289. visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py +110 -0
  290. visier_platform_sdk/models/dataservices_query_query_property_dto.py +120 -0
  291. visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py +134 -0
  292. visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py +150 -0
  293. visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py +144 -0
  294. visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py +134 -0
  295. visier_platform_sdk/models/dataservices_query_sort_option_dto.py +100 -0
  296. visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py +94 -0
  297. visier_platform_sdk/models/dataservices_query_time_shift_dto.py +112 -0
  298. visier_platform_sdk/models/description_entry.py +90 -0
  299. visier_platform_sdk/models/designer_adp_auth_params_dto.py +88 -0
  300. visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py +100 -0
  301. visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py +96 -0
  302. visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py +96 -0
  303. visier_platform_sdk/models/designer_api_calculation_concept_dto.py +96 -0
  304. visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py +96 -0
  305. visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py +92 -0
  306. visier_platform_sdk/models/designer_api_dimension_filter_dto.py +100 -0
  307. visier_platform_sdk/models/designer_api_dimension_member_dto.py +88 -0
  308. visier_platform_sdk/models/designer_api_perspective_configuration_dto.py +100 -0
  309. visier_platform_sdk/models/designer_api_perspective_node_dto.py +100 -0
  310. visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py +96 -0
  311. visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py +96 -0
  312. visier_platform_sdk/models/designer_api_selection_concept_dto.py +96 -0
  313. visier_platform_sdk/models/designer_api_selection_concept_list_dto.py +96 -0
  314. visier_platform_sdk/models/designer_bamboo_auth_params_dto.py +90 -0
  315. visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py +96 -0
  316. visier_platform_sdk/models/designer_big_query_auth_params_dto.py +104 -0
  317. visier_platform_sdk/models/designer_big_query_service_account_params_dto.py +90 -0
  318. visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py +88 -0
  319. visier_platform_sdk/models/designer_credential_creation_api_response_dto.py +102 -0
  320. visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py +92 -0
  321. visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py +88 -0
  322. visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py +88 -0
  323. visier_platform_sdk/models/designer_crypto_public_key_dto.py +96 -0
  324. visier_platform_sdk/models/designer_crypto_public_keys_dto.py +96 -0
  325. visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py +96 -0
  326. visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py +94 -0
  327. visier_platform_sdk/models/designer_data_provider_auth_information_dto.py +104 -0
  328. visier_platform_sdk/models/designer_data_provider_auth_params_dto.py +344 -0
  329. visier_platform_sdk/models/designer_data_provider_basic_information_dto.py +90 -0
  330. visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py +88 -0
  331. visier_platform_sdk/models/designer_data_version_export_column_dto.py +94 -0
  332. visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py +92 -0
  333. visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py +96 -0
  334. visier_platform_sdk/models/designer_data_version_export_dto.py +108 -0
  335. visier_platform_sdk/models/designer_data_version_export_file_dto.py +106 -0
  336. visier_platform_sdk/models/designer_data_version_export_job_status_dto.py +94 -0
  337. visier_platform_sdk/models/designer_data_version_export_part_file_dto.py +90 -0
  338. visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py +90 -0
  339. visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py +88 -0
  340. visier_platform_sdk/models/designer_data_version_export_table_dto.py +101 -0
  341. visier_platform_sdk/models/designer_data_version_exports_dto.py +96 -0
  342. visier_platform_sdk/models/designer_databricks_auth_params_dto.py +94 -0
  343. visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py +96 -0
  344. visier_platform_sdk/models/designer_dimensions_auth_params_dto.py +98 -0
  345. visier_platform_sdk/models/designer_download_source_files_dto.py +102 -0
  346. visier_platform_sdk/models/designer_download_source_files_response_dto.py +90 -0
  347. visier_platform_sdk/models/designer_extractor_credential_apidto.py +96 -0
  348. visier_platform_sdk/models/designer_extractor_credentials_apidto.py +100 -0
  349. visier_platform_sdk/models/designer_fusion_auth_params_dto.py +92 -0
  350. visier_platform_sdk/models/designer_gong_auth_params_dto.py +90 -0
  351. visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py +94 -0
  352. visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py +96 -0
  353. visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py +88 -0
  354. visier_platform_sdk/models/designer_icims_auth_params_dto.py +108 -0
  355. visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py +90 -0
  356. visier_platform_sdk/models/designer_jdbc_auth_params_dto.py +92 -0
  357. visier_platform_sdk/models/designer_jira_auth_params_dto.py +96 -0
  358. visier_platform_sdk/models/designer_jira_connect_params_dto.py +92 -0
  359. visier_platform_sdk/models/designer_lever_auth_params_dto.py +88 -0
  360. visier_platform_sdk/models/designer_medallia_auth_params_dto.py +94 -0
  361. visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py +94 -0
  362. visier_platform_sdk/models/designer_module_settings_dto.py +92 -0
  363. visier_platform_sdk/models/designer_my_sql_auth_params_dto.py +98 -0
  364. visier_platform_sdk/models/designer_namely_auth_params_dto.py +88 -0
  365. visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py +96 -0
  366. visier_platform_sdk/models/designer_push_data_column_definition_dto.py +98 -0
  367. visier_platform_sdk/models/designer_push_data_source_definition_dto.py +102 -0
  368. visier_platform_sdk/models/designer_push_data_source_definitions_dto.py +96 -0
  369. visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py +90 -0
  370. visier_platform_sdk/models/designer_redshift_auth_params_dto.py +100 -0
  371. visier_platform_sdk/models/designer_salesforce_auth_params_dto.py +90 -0
  372. visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py +94 -0
  373. visier_platform_sdk/models/designer_service_now_auth_params_dto.py +92 -0
  374. visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py +96 -0
  375. visier_platform_sdk/models/designer_slack_auth_params_dto.py +92 -0
  376. visier_platform_sdk/models/designer_snowflake_auth_params_dto.py +100 -0
  377. visier_platform_sdk/models/designer_sql_server_auth_params_dto.py +96 -0
  378. visier_platform_sdk/models/designer_subject_missing_access_dto.py +102 -0
  379. visier_platform_sdk/models/designer_success_factors_auth_params_dto.py +100 -0
  380. visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py +92 -0
  381. visier_platform_sdk/models/designer_tenant_module_dto.py +96 -0
  382. visier_platform_sdk/models/designer_ultimate_auth_params_dto.py +96 -0
  383. visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py +90 -0
  384. visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py +94 -0
  385. visier_platform_sdk/models/designer_webhook_webhook_details_dto.py +104 -0
  386. visier_platform_sdk/models/designer_webhook_webhook_dto.py +96 -0
  387. visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py +88 -0
  388. visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py +94 -0
  389. visier_platform_sdk/models/designer_webhook_webhook_request_dto.py +98 -0
  390. visier_platform_sdk/models/designer_webhook_webhooks_dto.py +96 -0
  391. visier_platform_sdk/models/designer_willow_auth_params_dto.py +90 -0
  392. visier_platform_sdk/models/designer_workday_auth_params_dto.py +110 -0
  393. visier_platform_sdk/models/designer_workday_o_auth_params_dto.py +92 -0
  394. visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py +96 -0
  395. visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py +92 -0
  396. visier_platform_sdk/models/designer_zoom_auth_params_dto.py +92 -0
  397. visier_platform_sdk/models/dimension_member.py +139 -0
  398. visier_platform_sdk/models/direct_data_upload_file_response_dto.py +92 -0
  399. visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py +92 -0
  400. visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py +102 -0
  401. visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py +100 -0
  402. visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py +88 -0
  403. visier_platform_sdk/models/dp_job_cancellation_result_dto.py +110 -0
  404. visier_platform_sdk/models/dp_job_cancellation_results_dto.py +96 -0
  405. visier_platform_sdk/models/dv_export_status.py +96 -0
  406. visier_platform_sdk/models/extracted_skill.py +94 -0
  407. visier_platform_sdk/models/generate_impersonation_token_request.py +88 -0
  408. visier_platform_sdk/models/google_protobuf_any.py +101 -0
  409. visier_platform_sdk/models/hierarchy.py +92 -0
  410. visier_platform_sdk/models/job.py +121 -0
  411. visier_platform_sdk/models/job_entry.py +92 -0
  412. visier_platform_sdk/models/job_feedback_input.py +92 -0
  413. visier_platform_sdk/models/job_search_failure_output.py +94 -0
  414. visier_platform_sdk/models/job_search_input.py +88 -0
  415. visier_platform_sdk/models/job_search_output.py +106 -0
  416. visier_platform_sdk/models/job_standardization_input.py +98 -0
  417. visier_platform_sdk/models/job_standardization_input_skills.py +90 -0
  418. visier_platform_sdk/models/location_search_failure_output.py +96 -0
  419. visier_platform_sdk/models/location_search_input.py +98 -0
  420. visier_platform_sdk/models/location_search_input1.py +92 -0
  421. visier_platform_sdk/models/location_search_output.py +106 -0
  422. visier_platform_sdk/models/location_search_successful_output.py +98 -0
  423. visier_platform_sdk/models/output_entry.py +98 -0
  424. visier_platform_sdk/models/output_entry1.py +98 -0
  425. visier_platform_sdk/models/output_entry1_matches_inner.py +94 -0
  426. visier_platform_sdk/models/plan_data_load_change_dto.py +94 -0
  427. visier_platform_sdk/models/plan_data_load_change_list_dto.py +98 -0
  428. visier_platform_sdk/models/plan_data_upload_response_dto.py +110 -0
  429. visier_platform_sdk/models/plan_row_data_load_response_dto.py +114 -0
  430. visier_platform_sdk/models/planning_get_plan_list_response_dto.py +98 -0
  431. visier_platform_sdk/models/planning_plan_data_load_error_dto.py +92 -0
  432. visier_platform_sdk/models/planning_plan_info_dto.py +106 -0
  433. visier_platform_sdk/models/planning_plan_item_dto.py +102 -0
  434. visier_platform_sdk/models/planning_plan_schema_dto.py +126 -0
  435. visier_platform_sdk/models/planning_plan_segment_level_dto.py +96 -0
  436. visier_platform_sdk/models/planning_plan_segment_level_member_dto.py +94 -0
  437. visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py +100 -0
  438. visier_platform_sdk/models/planning_plan_time_period_dto.py +90 -0
  439. visier_platform_sdk/models/planning_plan_with_schema_dto.py +108 -0
  440. visier_platform_sdk/models/planning_scenario_info_dto.py +92 -0
  441. visier_platform_sdk/models/salary_benchmark_input.py +100 -0
  442. visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +96 -0
  443. visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +106 -0
  444. visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +110 -0
  445. visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py +102 -0
  446. visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py +128 -0
  447. visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py +98 -0
  448. visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py +125 -0
  449. visier_platform_sdk/models/servicing_additional_capabilities_dto.py +88 -0
  450. visier_platform_sdk/models/servicing_admin_capability_config_dto.py +90 -0
  451. visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py +96 -0
  452. visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py +96 -0
  453. visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py +96 -0
  454. visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py +96 -0
  455. visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py +100 -0
  456. visier_platform_sdk/models/servicing_analytic_object_dto.py +132 -0
  457. visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py +102 -0
  458. visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py +114 -0
  459. visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py +92 -0
  460. visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py +90 -0
  461. visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py +102 -0
  462. visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py +96 -0
  463. visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py +106 -0
  464. visier_platform_sdk/models/servicing_capabilities_dto.py +92 -0
  465. visier_platform_sdk/models/servicing_capability_dto.py +92 -0
  466. visier_platform_sdk/models/servicing_capability_group_dto.py +146 -0
  467. visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py +92 -0
  468. visier_platform_sdk/models/servicing_commit_dto.py +92 -0
  469. visier_platform_sdk/models/servicing_content_package_dto.py +92 -0
  470. visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py +96 -0
  471. visier_platform_sdk/models/servicing_data_access_set_dto.py +104 -0
  472. visier_platform_sdk/models/servicing_data_access_set_error_dto.py +90 -0
  473. visier_platform_sdk/models/servicing_data_access_set_failure_dto.py +96 -0
  474. visier_platform_sdk/models/servicing_data_access_set_success_dto.py +90 -0
  475. visier_platform_sdk/models/servicing_data_categories_response_dto.py +96 -0
  476. visier_platform_sdk/models/servicing_data_category_response_dto.py +90 -0
  477. visier_platform_sdk/models/servicing_data_security_profile_dto.py +134 -0
  478. visier_platform_sdk/models/servicing_delete_permissions_request_dto.py +88 -0
  479. visier_platform_sdk/models/servicing_dimension_filter_dto.py +98 -0
  480. visier_platform_sdk/models/servicing_direct_data_job_config_dto.py +100 -0
  481. visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py +96 -0
  482. visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py +96 -0
  483. visier_platform_sdk/models/servicing_direct_data_load_config_dto.py +92 -0
  484. visier_platform_sdk/models/servicing_direct_data_schema_dto.py +96 -0
  485. visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py +96 -0
  486. visier_platform_sdk/models/servicing_direct_data_transaction_dto.py +96 -0
  487. visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py +88 -0
  488. visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +92 -0
  489. visier_platform_sdk/models/servicing_document_search_link_dto.py +90 -0
  490. visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py +112 -0
  491. visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py +106 -0
  492. visier_platform_sdk/models/servicing_error_dto.py +92 -0
  493. visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py +92 -0
  494. visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py +98 -0
  495. visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py +94 -0
  496. visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py +90 -0
  497. visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py +96 -0
  498. visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py +96 -0
  499. visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py +96 -0
  500. visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py +96 -0
  501. visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py +96 -0
  502. visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py +96 -0
  503. visier_platform_sdk/models/servicing_get_projects_api_response_dto.py +123 -0
  504. visier_platform_sdk/models/servicing_hierarchy_property_dto.py +90 -0
  505. visier_platform_sdk/models/servicing_inherited_access_config_dto.py +100 -0
  506. visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py +90 -0
  507. visier_platform_sdk/models/servicing_job_id_response.py +88 -0
  508. visier_platform_sdk/models/servicing_last_login_dto.py +88 -0
  509. visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py +92 -0
  510. visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py +118 -0
  511. visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py +88 -0
  512. visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py +106 -0
  513. visier_platform_sdk/models/servicing_member_filter_config_dto.py +96 -0
  514. visier_platform_sdk/models/servicing_member_selection_dto.py +102 -0
  515. visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py +90 -0
  516. visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py +92 -0
  517. visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py +94 -0
  518. visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py +100 -0
  519. visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py +96 -0
  520. visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py +98 -0
  521. visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py +94 -0
  522. visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py +106 -0
  523. visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py +96 -0
  524. visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py +100 -0
  525. visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py +106 -0
  526. visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py +112 -0
  527. visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py +100 -0
  528. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py +92 -0
  529. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py +117 -0
  530. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py +113 -0
  531. visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py +98 -0
  532. visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py +88 -0
  533. visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py +88 -0
  534. visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py +98 -0
  535. visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py +92 -0
  536. visier_platform_sdk/models/servicing_permission_assigned_user_dto.py +92 -0
  537. visier_platform_sdk/models/servicing_permission_assigned_users_dto.py +100 -0
  538. visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py +106 -0
  539. visier_platform_sdk/models/servicing_permission_dto.py +114 -0
  540. visier_platform_sdk/models/servicing_permission_error_dto.py +90 -0
  541. visier_platform_sdk/models/servicing_permission_failure_dto.py +96 -0
  542. visier_platform_sdk/models/servicing_permission_success_dto.py +90 -0
  543. visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py +98 -0
  544. visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py +92 -0
  545. visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py +104 -0
  546. visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py +88 -0
  547. visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py +98 -0
  548. visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py +110 -0
  549. visier_platform_sdk/models/servicing_profile_get_api_response_dto.py +102 -0
  550. visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py +96 -0
  551. visier_platform_sdk/models/servicing_project_commits_api_response_dto.py +96 -0
  552. visier_platform_sdk/models/servicing_project_dto.py +111 -0
  553. visier_platform_sdk/models/servicing_project_operation_request_dto.py +98 -0
  554. visier_platform_sdk/models/servicing_project_operation_response_dto.py +92 -0
  555. visier_platform_sdk/models/servicing_property_access_config_dto.py +116 -0
  556. visier_platform_sdk/models/servicing_property_set_config_dto.py +102 -0
  557. visier_platform_sdk/models/servicing_question_categories_api_response_dto.py +96 -0
  558. visier_platform_sdk/models/servicing_question_category_api_response_dto.py +90 -0
  559. visier_platform_sdk/models/servicing_reduced_error_dto.py +88 -0
  560. visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py +96 -0
  561. visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py +94 -0
  562. visier_platform_sdk/models/servicing_related_analytic_object_dto.py +90 -0
  563. visier_platform_sdk/models/servicing_role_modules_config_dto.py +88 -0
  564. visier_platform_sdk/models/servicing_sample_question_api_response_dto.py +100 -0
  565. visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py +96 -0
  566. visier_platform_sdk/models/servicing_securable_dimension_dto.py +102 -0
  567. visier_platform_sdk/models/servicing_securable_property_dto.py +96 -0
  568. visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py +96 -0
  569. visier_platform_sdk/models/servicing_shareable_data_access_set.py +88 -0
  570. visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py +96 -0
  571. visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py +98 -0
  572. visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py +98 -0
  573. visier_platform_sdk/models/servicing_static_dimension_filter_dto.py +112 -0
  574. visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py +92 -0
  575. visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py +88 -0
  576. visier_platform_sdk/models/servicing_target_tenant_code_dto.py +90 -0
  577. visier_platform_sdk/models/servicing_tenant_code_error_dto.py +96 -0
  578. visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py +90 -0
  579. visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py +94 -0
  580. visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py +100 -0
  581. visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py +98 -0
  582. visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py +100 -0
  583. visier_platform_sdk/models/servicing_user_creation_api_request_dto.py +96 -0
  584. visier_platform_sdk/models/servicing_user_get_api_response_dto.py +122 -0
  585. visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py +90 -0
  586. visier_platform_sdk/models/servicing_user_group_assignment_dto.py +88 -0
  587. visier_platform_sdk/models/servicing_user_id_error_dto.py +94 -0
  588. visier_platform_sdk/models/servicing_user_property_dto.py +88 -0
  589. visier_platform_sdk/models/servicing_user_update_api_request_dto.py +96 -0
  590. visier_platform_sdk/models/servicing_users_api_error_message_dto.py +90 -0
  591. visier_platform_sdk/models/servicing_users_api_failure_dto.py +98 -0
  592. visier_platform_sdk/models/servicing_users_api_response_dto.py +106 -0
  593. visier_platform_sdk/models/servicing_users_api_success_dto.py +98 -0
  594. visier_platform_sdk/models/servicing_users_creation_api_request_dto.py +96 -0
  595. visier_platform_sdk/models/servicing_users_delete_api_request_dto.py +88 -0
  596. visier_platform_sdk/models/servicing_users_update_api_request_dto.py +96 -0
  597. visier_platform_sdk/models/servicing_users_update_api_user_dto.py +98 -0
  598. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py +102 -0
  599. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py +96 -0
  600. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py +98 -0
  601. visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py +102 -0
  602. visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py +106 -0
  603. visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py +92 -0
  604. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py +102 -0
  605. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py +96 -0
  606. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py +98 -0
  607. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py +96 -0
  608. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py +96 -0
  609. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py +92 -0
  610. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py +98 -0
  611. visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py +90 -0
  612. visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py +100 -0
  613. visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py +114 -0
  614. visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py +92 -0
  615. visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py +90 -0
  616. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py +128 -0
  617. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py +90 -0
  618. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py +96 -0
  619. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py +92 -0
  620. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py +96 -0
  621. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py +114 -0
  622. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py +96 -0
  623. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py +96 -0
  624. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py +92 -0
  625. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py +102 -0
  626. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py +96 -0
  627. visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py +102 -0
  628. visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py +104 -0
  629. visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py +90 -0
  630. visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py +98 -0
  631. visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py +88 -0
  632. visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py +88 -0
  633. visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py +96 -0
  634. visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py +100 -0
  635. visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py +100 -0
  636. visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py +106 -0
  637. visier_platform_sdk/models/servicing_vee_question_change_success_dto.py +104 -0
  638. visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py +92 -0
  639. visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py +106 -0
  640. visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py +96 -0
  641. visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py +96 -0
  642. visier_platform_sdk/models/skill.py +106 -0
  643. visier_platform_sdk/models/skill_category.py +102 -0
  644. visier_platform_sdk/models/skill_category_entry.py +92 -0
  645. visier_platform_sdk/models/skill_entry.py +92 -0
  646. visier_platform_sdk/models/skill_extraction_input.py +93 -0
  647. visier_platform_sdk/models/skill_group.py +104 -0
  648. visier_platform_sdk/models/skill_group_entry.py +92 -0
  649. visier_platform_sdk/models/skill_match_input.py +91 -0
  650. visier_platform_sdk/models/source_import_result_summary_dto.py +94 -0
  651. visier_platform_sdk/models/sources_api_put_response_dto.py +92 -0
  652. visier_platform_sdk/models/sql_like200_response.py +138 -0
  653. visier_platform_sdk/models/status.py +96 -0
  654. visier_platform_sdk/models/systemstatus_system_status_dto.py +88 -0
  655. visier_platform_sdk/models/systemstatus_vee_status_dto.py +88 -0
  656. visier_platform_sdk/models/table_response_dto.py +90 -0
  657. visier_platform_sdk/models/token_response.py +96 -0
  658. visier_platform_sdk/models/user_creation_api_response_dto.py +98 -0
  659. visier_platform_sdk/py.typed +0 -0
  660. visier_platform_sdk/rest.py +259 -0
  661. visier_platform_sdk-22222222.99201.1892b3.dist-info/METADATA +25 -0
  662. visier_platform_sdk-22222222.99201.1892b3.dist-info/RECORD +664 -0
  663. visier_platform_sdk-22222222.99201.1892b3.dist-info/WHEEL +5 -0
  664. visier_platform_sdk-22222222.99201.1892b3.dist-info/top_level.txt +1 -0
@@ -0,0 +1,3265 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ API Reference
5
+
6
+ Detailed API reference documentation for Visier APIs. Includes all endpoints, headers, path parameters, query parameters, request body schema, response schema, JSON request samples, and JSON response samples.
7
+
8
+ The version of the OpenAPI document: 22222222.99201.1892
9
+ Contact: alpine@visier.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+ import warnings
16
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
+ from typing import Any, Dict, List, Optional, Tuple, Union
18
+ from typing_extensions import Annotated
19
+
20
+ from pydantic import Field, StrictInt, StrictStr
21
+ from typing import Optional
22
+ from typing_extensions import Annotated
23
+ from visier_platform_sdk.models.admin_consolidated_analytics_api_excluded_source_list_dto import AdminConsolidatedAnalyticsAPIExcludedSourceListDTO
24
+ from visier_platform_sdk.models.admin_consolidated_analytics_api_source_tenant_list_dto import AdminConsolidatedAnalyticsAPISourceTenantListDTO
25
+ from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_create_request_dto import AdminConsolidatedAnalyticsAPITenantCreateRequestDTO
26
+ from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_list_response_dto import AdminConsolidatedAnalyticsAPITenantListResponseDTO
27
+ from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details_list_response_dto import AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO
28
+ from visier_platform_sdk.models.admin_excluded_sources_body import AdminExcludedSourcesBody
29
+ from visier_platform_sdk.models.admin_tenant_code_body import AdminTenantCodeBody
30
+
31
+ from visier_platform_sdk.api_client import ApiClient, RequestSerialized
32
+ from visier_platform_sdk.api_response import ApiResponse
33
+ from visier_platform_sdk.rest import RESTResponseType
34
+
35
+
36
+ class ConsolidatedAnalyticsApi:
37
+ """NOTE: This class is auto generated by OpenAPI Generator
38
+ Ref: https://openapi-generator.tech
39
+
40
+ Do not edit the class manually.
41
+ """
42
+
43
+ def __init__(self, api_client=None) -> None:
44
+ if api_client is None:
45
+ api_client = ApiClient.get_default()
46
+ self.api_client = api_client
47
+
48
+
49
+ @validate_call
50
+ def add_excluded_sources(
51
+ self,
52
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
53
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
54
+ _request_timeout: Union[
55
+ None,
56
+ Annotated[StrictFloat, Field(gt=0)],
57
+ Tuple[
58
+ Annotated[StrictFloat, Field(gt=0)],
59
+ Annotated[StrictFloat, Field(gt=0)]
60
+ ]
61
+ ] = None,
62
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
63
+ _content_type: Optional[StrictStr] = None,
64
+ _headers: Optional[Dict[StrictStr, Any]] = None,
65
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
66
+ ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO:
67
+ """Add excluded sources to a consolidated analytics tenant
68
+
69
+ Add excluded sources to the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
70
+
71
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
72
+ :type tenant_id: str
73
+ :param admin_excluded_sources_body: (required)
74
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
75
+ :param _request_timeout: timeout setting for this request. If one
76
+ number provided, it will be total request
77
+ timeout. It can also be a pair (tuple) of
78
+ (connection, read) timeouts.
79
+ :type _request_timeout: int, tuple(int, int), optional
80
+ :param _request_auth: set to override the auth_settings for an a single
81
+ request; this effectively ignores the
82
+ authentication in the spec for a single request.
83
+ :type _request_auth: dict, optional
84
+ :param _content_type: force content-type for the request.
85
+ :type _content_type: str, Optional
86
+ :param _headers: set to override the headers for a single
87
+ request; this effectively ignores the headers
88
+ in the spec for a single request.
89
+ :type _headers: dict, optional
90
+ :param _host_index: set to override the host_index for a single
91
+ request; this effectively ignores the host_index
92
+ in the spec for a single request.
93
+ :type _host_index: int, optional
94
+ :return: Returns the result object.
95
+ """ # noqa: E501
96
+
97
+ _param = self._add_excluded_sources_serialize(
98
+ tenant_id=tenant_id,
99
+ admin_excluded_sources_body=admin_excluded_sources_body,
100
+ _request_auth=_request_auth,
101
+ _content_type=_content_type,
102
+ _headers=_headers,
103
+ _host_index=_host_index
104
+ )
105
+
106
+ _response_types_map: Dict[str, Optional[str]] = {
107
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
108
+ }
109
+ response_data = self.api_client.call_api(
110
+ *_param,
111
+ _request_timeout=_request_timeout
112
+ )
113
+ response_data.read()
114
+ return self.api_client.response_deserialize(
115
+ response_data=response_data,
116
+ response_types_map=_response_types_map,
117
+ ).data
118
+
119
+
120
+ @validate_call
121
+ def add_excluded_sources_with_http_info(
122
+ self,
123
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
124
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
125
+ _request_timeout: Union[
126
+ None,
127
+ Annotated[StrictFloat, Field(gt=0)],
128
+ Tuple[
129
+ Annotated[StrictFloat, Field(gt=0)],
130
+ Annotated[StrictFloat, Field(gt=0)]
131
+ ]
132
+ ] = None,
133
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
134
+ _content_type: Optional[StrictStr] = None,
135
+ _headers: Optional[Dict[StrictStr, Any]] = None,
136
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
137
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]:
138
+ """Add excluded sources to a consolidated analytics tenant
139
+
140
+ Add excluded sources to the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
141
+
142
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
143
+ :type tenant_id: str
144
+ :param admin_excluded_sources_body: (required)
145
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
146
+ :param _request_timeout: timeout setting for this request. If one
147
+ number provided, it will be total request
148
+ timeout. It can also be a pair (tuple) of
149
+ (connection, read) timeouts.
150
+ :type _request_timeout: int, tuple(int, int), optional
151
+ :param _request_auth: set to override the auth_settings for an a single
152
+ request; this effectively ignores the
153
+ authentication in the spec for a single request.
154
+ :type _request_auth: dict, optional
155
+ :param _content_type: force content-type for the request.
156
+ :type _content_type: str, Optional
157
+ :param _headers: set to override the headers for a single
158
+ request; this effectively ignores the headers
159
+ in the spec for a single request.
160
+ :type _headers: dict, optional
161
+ :param _host_index: set to override the host_index for a single
162
+ request; this effectively ignores the host_index
163
+ in the spec for a single request.
164
+ :type _host_index: int, optional
165
+ :return: Returns the result object.
166
+ """ # noqa: E501
167
+
168
+ _param = self._add_excluded_sources_serialize(
169
+ tenant_id=tenant_id,
170
+ admin_excluded_sources_body=admin_excluded_sources_body,
171
+ _request_auth=_request_auth,
172
+ _content_type=_content_type,
173
+ _headers=_headers,
174
+ _host_index=_host_index
175
+ )
176
+
177
+ _response_types_map: Dict[str, Optional[str]] = {
178
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
179
+ }
180
+ response_data = self.api_client.call_api(
181
+ *_param,
182
+ _request_timeout=_request_timeout
183
+ )
184
+ response_data.read()
185
+ return self.api_client.response_deserialize(
186
+ response_data=response_data,
187
+ response_types_map=_response_types_map,
188
+ )
189
+
190
+
191
+ @validate_call
192
+ def add_excluded_sources_without_preload_content(
193
+ self,
194
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
195
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
196
+ _request_timeout: Union[
197
+ None,
198
+ Annotated[StrictFloat, Field(gt=0)],
199
+ Tuple[
200
+ Annotated[StrictFloat, Field(gt=0)],
201
+ Annotated[StrictFloat, Field(gt=0)]
202
+ ]
203
+ ] = None,
204
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
205
+ _content_type: Optional[StrictStr] = None,
206
+ _headers: Optional[Dict[StrictStr, Any]] = None,
207
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
208
+ ) -> RESTResponseType:
209
+ """Add excluded sources to a consolidated analytics tenant
210
+
211
+ Add excluded sources to the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
212
+
213
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
214
+ :type tenant_id: str
215
+ :param admin_excluded_sources_body: (required)
216
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
217
+ :param _request_timeout: timeout setting for this request. If one
218
+ number provided, it will be total request
219
+ timeout. It can also be a pair (tuple) of
220
+ (connection, read) timeouts.
221
+ :type _request_timeout: int, tuple(int, int), optional
222
+ :param _request_auth: set to override the auth_settings for an a single
223
+ request; this effectively ignores the
224
+ authentication in the spec for a single request.
225
+ :type _request_auth: dict, optional
226
+ :param _content_type: force content-type for the request.
227
+ :type _content_type: str, Optional
228
+ :param _headers: set to override the headers for a single
229
+ request; this effectively ignores the headers
230
+ in the spec for a single request.
231
+ :type _headers: dict, optional
232
+ :param _host_index: set to override the host_index for a single
233
+ request; this effectively ignores the host_index
234
+ in the spec for a single request.
235
+ :type _host_index: int, optional
236
+ :return: Returns the result object.
237
+ """ # noqa: E501
238
+
239
+ _param = self._add_excluded_sources_serialize(
240
+ tenant_id=tenant_id,
241
+ admin_excluded_sources_body=admin_excluded_sources_body,
242
+ _request_auth=_request_auth,
243
+ _content_type=_content_type,
244
+ _headers=_headers,
245
+ _host_index=_host_index
246
+ )
247
+
248
+ _response_types_map: Dict[str, Optional[str]] = {
249
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
250
+ }
251
+ response_data = self.api_client.call_api(
252
+ *_param,
253
+ _request_timeout=_request_timeout
254
+ )
255
+ return response_data.response
256
+
257
+
258
+ def _add_excluded_sources_serialize(
259
+ self,
260
+ tenant_id,
261
+ admin_excluded_sources_body,
262
+ _request_auth,
263
+ _content_type,
264
+ _headers,
265
+ _host_index,
266
+ ) -> RequestSerialized:
267
+
268
+ _host = None
269
+
270
+ _collection_formats: Dict[str, str] = {
271
+ }
272
+
273
+ _path_params: Dict[str, str] = {}
274
+ _query_params: List[Tuple[str, str]] = []
275
+ _header_params: Dict[str, Optional[str]] = _headers or {}
276
+ _form_params: List[Tuple[str, str]] = []
277
+ _files: Dict[
278
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
279
+ ] = {}
280
+ _body_params: Optional[bytes] = None
281
+
282
+ # process the path parameters
283
+ if tenant_id is not None:
284
+ _path_params['tenantId'] = tenant_id
285
+ # process the query parameters
286
+ # process the header parameters
287
+ # process the form parameters
288
+ # process the body parameter
289
+ if admin_excluded_sources_body is not None:
290
+ _body_params = admin_excluded_sources_body
291
+
292
+
293
+ # set the HTTP header `Accept`
294
+ if 'Accept' not in _header_params:
295
+ _header_params['Accept'] = self.api_client.select_header_accept(
296
+ [
297
+ 'application/json'
298
+ ]
299
+ )
300
+
301
+ # set the HTTP header `Content-Type`
302
+ if _content_type:
303
+ _header_params['Content-Type'] = _content_type
304
+ else:
305
+ _default_content_type = (
306
+ self.api_client.select_header_content_type(
307
+ [
308
+ 'application/json'
309
+ ]
310
+ )
311
+ )
312
+ if _default_content_type is not None:
313
+ _header_params['Content-Type'] = _default_content_type
314
+
315
+ # authentication setting
316
+ _auth_settings: List[str] = [
317
+ 'CookieAuth',
318
+ 'ApiKeyAuth',
319
+ 'OAuth2Auth',
320
+ 'OAuth2Auth',
321
+ 'BearerAuth'
322
+ ]
323
+
324
+ return self.api_client.param_serialize(
325
+ method='PATCH',
326
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/excluded-sources',
327
+ path_params=_path_params,
328
+ query_params=_query_params,
329
+ header_params=_header_params,
330
+ body=_body_params,
331
+ post_params=_form_params,
332
+ files=_files,
333
+ auth_settings=_auth_settings,
334
+ collection_formats=_collection_formats,
335
+ _host=_host,
336
+ _request_auth=_request_auth
337
+ )
338
+
339
+
340
+
341
+
342
+ @validate_call
343
+ def add_source_tenants(
344
+ self,
345
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
346
+ admin_tenant_code_body: AdminTenantCodeBody,
347
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
348
+ _request_timeout: Union[
349
+ None,
350
+ Annotated[StrictFloat, Field(gt=0)],
351
+ Tuple[
352
+ Annotated[StrictFloat, Field(gt=0)],
353
+ Annotated[StrictFloat, Field(gt=0)]
354
+ ]
355
+ ] = None,
356
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
357
+ _content_type: Optional[StrictStr] = None,
358
+ _headers: Optional[Dict[StrictStr, Any]] = None,
359
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
360
+ ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO:
361
+ """Add source tenants to a consolidated analytics tenant
362
+
363
+ Add source tenants to the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
364
+
365
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
366
+ :type tenant_id: str
367
+ :param admin_tenant_code_body: (required)
368
+ :type admin_tenant_code_body: AdminTenantCodeBody
369
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
370
+ :type limit: int
371
+ :param _request_timeout: timeout setting for this request. If one
372
+ number provided, it will be total request
373
+ timeout. It can also be a pair (tuple) of
374
+ (connection, read) timeouts.
375
+ :type _request_timeout: int, tuple(int, int), optional
376
+ :param _request_auth: set to override the auth_settings for an a single
377
+ request; this effectively ignores the
378
+ authentication in the spec for a single request.
379
+ :type _request_auth: dict, optional
380
+ :param _content_type: force content-type for the request.
381
+ :type _content_type: str, Optional
382
+ :param _headers: set to override the headers for a single
383
+ request; this effectively ignores the headers
384
+ in the spec for a single request.
385
+ :type _headers: dict, optional
386
+ :param _host_index: set to override the host_index for a single
387
+ request; this effectively ignores the host_index
388
+ in the spec for a single request.
389
+ :type _host_index: int, optional
390
+ :return: Returns the result object.
391
+ """ # noqa: E501
392
+
393
+ _param = self._add_source_tenants_serialize(
394
+ tenant_id=tenant_id,
395
+ admin_tenant_code_body=admin_tenant_code_body,
396
+ limit=limit,
397
+ _request_auth=_request_auth,
398
+ _content_type=_content_type,
399
+ _headers=_headers,
400
+ _host_index=_host_index
401
+ )
402
+
403
+ _response_types_map: Dict[str, Optional[str]] = {
404
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
405
+ }
406
+ response_data = self.api_client.call_api(
407
+ *_param,
408
+ _request_timeout=_request_timeout
409
+ )
410
+ response_data.read()
411
+ return self.api_client.response_deserialize(
412
+ response_data=response_data,
413
+ response_types_map=_response_types_map,
414
+ ).data
415
+
416
+
417
+ @validate_call
418
+ def add_source_tenants_with_http_info(
419
+ self,
420
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
421
+ admin_tenant_code_body: AdminTenantCodeBody,
422
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
423
+ _request_timeout: Union[
424
+ None,
425
+ Annotated[StrictFloat, Field(gt=0)],
426
+ Tuple[
427
+ Annotated[StrictFloat, Field(gt=0)],
428
+ Annotated[StrictFloat, Field(gt=0)]
429
+ ]
430
+ ] = None,
431
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
432
+ _content_type: Optional[StrictStr] = None,
433
+ _headers: Optional[Dict[StrictStr, Any]] = None,
434
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
435
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]:
436
+ """Add source tenants to a consolidated analytics tenant
437
+
438
+ Add source tenants to the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
439
+
440
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
441
+ :type tenant_id: str
442
+ :param admin_tenant_code_body: (required)
443
+ :type admin_tenant_code_body: AdminTenantCodeBody
444
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
445
+ :type limit: int
446
+ :param _request_timeout: timeout setting for this request. If one
447
+ number provided, it will be total request
448
+ timeout. It can also be a pair (tuple) of
449
+ (connection, read) timeouts.
450
+ :type _request_timeout: int, tuple(int, int), optional
451
+ :param _request_auth: set to override the auth_settings for an a single
452
+ request; this effectively ignores the
453
+ authentication in the spec for a single request.
454
+ :type _request_auth: dict, optional
455
+ :param _content_type: force content-type for the request.
456
+ :type _content_type: str, Optional
457
+ :param _headers: set to override the headers for a single
458
+ request; this effectively ignores the headers
459
+ in the spec for a single request.
460
+ :type _headers: dict, optional
461
+ :param _host_index: set to override the host_index for a single
462
+ request; this effectively ignores the host_index
463
+ in the spec for a single request.
464
+ :type _host_index: int, optional
465
+ :return: Returns the result object.
466
+ """ # noqa: E501
467
+
468
+ _param = self._add_source_tenants_serialize(
469
+ tenant_id=tenant_id,
470
+ admin_tenant_code_body=admin_tenant_code_body,
471
+ limit=limit,
472
+ _request_auth=_request_auth,
473
+ _content_type=_content_type,
474
+ _headers=_headers,
475
+ _host_index=_host_index
476
+ )
477
+
478
+ _response_types_map: Dict[str, Optional[str]] = {
479
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
480
+ }
481
+ response_data = self.api_client.call_api(
482
+ *_param,
483
+ _request_timeout=_request_timeout
484
+ )
485
+ response_data.read()
486
+ return self.api_client.response_deserialize(
487
+ response_data=response_data,
488
+ response_types_map=_response_types_map,
489
+ )
490
+
491
+
492
+ @validate_call
493
+ def add_source_tenants_without_preload_content(
494
+ self,
495
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
496
+ admin_tenant_code_body: AdminTenantCodeBody,
497
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
498
+ _request_timeout: Union[
499
+ None,
500
+ Annotated[StrictFloat, Field(gt=0)],
501
+ Tuple[
502
+ Annotated[StrictFloat, Field(gt=0)],
503
+ Annotated[StrictFloat, Field(gt=0)]
504
+ ]
505
+ ] = None,
506
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
507
+ _content_type: Optional[StrictStr] = None,
508
+ _headers: Optional[Dict[StrictStr, Any]] = None,
509
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
510
+ ) -> RESTResponseType:
511
+ """Add source tenants to a consolidated analytics tenant
512
+
513
+ Add source tenants to the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
514
+
515
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
516
+ :type tenant_id: str
517
+ :param admin_tenant_code_body: (required)
518
+ :type admin_tenant_code_body: AdminTenantCodeBody
519
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
520
+ :type limit: int
521
+ :param _request_timeout: timeout setting for this request. If one
522
+ number provided, it will be total request
523
+ timeout. It can also be a pair (tuple) of
524
+ (connection, read) timeouts.
525
+ :type _request_timeout: int, tuple(int, int), optional
526
+ :param _request_auth: set to override the auth_settings for an a single
527
+ request; this effectively ignores the
528
+ authentication in the spec for a single request.
529
+ :type _request_auth: dict, optional
530
+ :param _content_type: force content-type for the request.
531
+ :type _content_type: str, Optional
532
+ :param _headers: set to override the headers for a single
533
+ request; this effectively ignores the headers
534
+ in the spec for a single request.
535
+ :type _headers: dict, optional
536
+ :param _host_index: set to override the host_index for a single
537
+ request; this effectively ignores the host_index
538
+ in the spec for a single request.
539
+ :type _host_index: int, optional
540
+ :return: Returns the result object.
541
+ """ # noqa: E501
542
+
543
+ _param = self._add_source_tenants_serialize(
544
+ tenant_id=tenant_id,
545
+ admin_tenant_code_body=admin_tenant_code_body,
546
+ limit=limit,
547
+ _request_auth=_request_auth,
548
+ _content_type=_content_type,
549
+ _headers=_headers,
550
+ _host_index=_host_index
551
+ )
552
+
553
+ _response_types_map: Dict[str, Optional[str]] = {
554
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
555
+ }
556
+ response_data = self.api_client.call_api(
557
+ *_param,
558
+ _request_timeout=_request_timeout
559
+ )
560
+ return response_data.response
561
+
562
+
563
+ def _add_source_tenants_serialize(
564
+ self,
565
+ tenant_id,
566
+ admin_tenant_code_body,
567
+ limit,
568
+ _request_auth,
569
+ _content_type,
570
+ _headers,
571
+ _host_index,
572
+ ) -> RequestSerialized:
573
+
574
+ _host = None
575
+
576
+ _collection_formats: Dict[str, str] = {
577
+ }
578
+
579
+ _path_params: Dict[str, str] = {}
580
+ _query_params: List[Tuple[str, str]] = []
581
+ _header_params: Dict[str, Optional[str]] = _headers or {}
582
+ _form_params: List[Tuple[str, str]] = []
583
+ _files: Dict[
584
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
585
+ ] = {}
586
+ _body_params: Optional[bytes] = None
587
+
588
+ # process the path parameters
589
+ if tenant_id is not None:
590
+ _path_params['tenantId'] = tenant_id
591
+ # process the query parameters
592
+ if limit is not None:
593
+
594
+ _query_params.append(('limit', limit))
595
+
596
+ # process the header parameters
597
+ # process the form parameters
598
+ # process the body parameter
599
+ if admin_tenant_code_body is not None:
600
+ _body_params = admin_tenant_code_body
601
+
602
+
603
+ # set the HTTP header `Accept`
604
+ if 'Accept' not in _header_params:
605
+ _header_params['Accept'] = self.api_client.select_header_accept(
606
+ [
607
+ 'application/json'
608
+ ]
609
+ )
610
+
611
+ # set the HTTP header `Content-Type`
612
+ if _content_type:
613
+ _header_params['Content-Type'] = _content_type
614
+ else:
615
+ _default_content_type = (
616
+ self.api_client.select_header_content_type(
617
+ [
618
+ 'application/json'
619
+ ]
620
+ )
621
+ )
622
+ if _default_content_type is not None:
623
+ _header_params['Content-Type'] = _default_content_type
624
+
625
+ # authentication setting
626
+ _auth_settings: List[str] = [
627
+ 'CookieAuth',
628
+ 'ApiKeyAuth',
629
+ 'OAuth2Auth',
630
+ 'OAuth2Auth',
631
+ 'BearerAuth'
632
+ ]
633
+
634
+ return self.api_client.param_serialize(
635
+ method='PATCH',
636
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/source-tenants',
637
+ path_params=_path_params,
638
+ query_params=_query_params,
639
+ header_params=_header_params,
640
+ body=_body_params,
641
+ post_params=_form_params,
642
+ files=_files,
643
+ auth_settings=_auth_settings,
644
+ collection_formats=_collection_formats,
645
+ _host=_host,
646
+ _request_auth=_request_auth
647
+ )
648
+
649
+
650
+
651
+
652
+ @validate_call
653
+ def create_tenant(
654
+ self,
655
+ admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO,
656
+ _request_timeout: Union[
657
+ None,
658
+ Annotated[StrictFloat, Field(gt=0)],
659
+ Tuple[
660
+ Annotated[StrictFloat, Field(gt=0)],
661
+ Annotated[StrictFloat, Field(gt=0)]
662
+ ]
663
+ ] = None,
664
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
665
+ _content_type: Optional[StrictStr] = None,
666
+ _headers: Optional[Dict[StrictStr, Any]] = None,
667
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
668
+ ) -> AdminConsolidatedAnalyticsAPITenantCreateRequestDTO:
669
+ """Create a consolidated analytics tenant
670
+
671
+ Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
672
+
673
+ :param admin_consolidated_analytics_api_tenant_create_request_dto: (required)
674
+ :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO
675
+ :param _request_timeout: timeout setting for this request. If one
676
+ number provided, it will be total request
677
+ timeout. It can also be a pair (tuple) of
678
+ (connection, read) timeouts.
679
+ :type _request_timeout: int, tuple(int, int), optional
680
+ :param _request_auth: set to override the auth_settings for an a single
681
+ request; this effectively ignores the
682
+ authentication in the spec for a single request.
683
+ :type _request_auth: dict, optional
684
+ :param _content_type: force content-type for the request.
685
+ :type _content_type: str, Optional
686
+ :param _headers: set to override the headers for a single
687
+ request; this effectively ignores the headers
688
+ in the spec for a single request.
689
+ :type _headers: dict, optional
690
+ :param _host_index: set to override the host_index for a single
691
+ request; this effectively ignores the host_index
692
+ in the spec for a single request.
693
+ :type _host_index: int, optional
694
+ :return: Returns the result object.
695
+ """ # noqa: E501
696
+
697
+ _param = self._create_tenant_serialize(
698
+ admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto,
699
+ _request_auth=_request_auth,
700
+ _content_type=_content_type,
701
+ _headers=_headers,
702
+ _host_index=_host_index
703
+ )
704
+
705
+ _response_types_map: Dict[str, Optional[str]] = {
706
+ '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO",
707
+ }
708
+ response_data = self.api_client.call_api(
709
+ *_param,
710
+ _request_timeout=_request_timeout
711
+ )
712
+ response_data.read()
713
+ return self.api_client.response_deserialize(
714
+ response_data=response_data,
715
+ response_types_map=_response_types_map,
716
+ ).data
717
+
718
+
719
+ @validate_call
720
+ def create_tenant_with_http_info(
721
+ self,
722
+ admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO,
723
+ _request_timeout: Union[
724
+ None,
725
+ Annotated[StrictFloat, Field(gt=0)],
726
+ Tuple[
727
+ Annotated[StrictFloat, Field(gt=0)],
728
+ Annotated[StrictFloat, Field(gt=0)]
729
+ ]
730
+ ] = None,
731
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
732
+ _content_type: Optional[StrictStr] = None,
733
+ _headers: Optional[Dict[StrictStr, Any]] = None,
734
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
735
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantCreateRequestDTO]:
736
+ """Create a consolidated analytics tenant
737
+
738
+ Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
739
+
740
+ :param admin_consolidated_analytics_api_tenant_create_request_dto: (required)
741
+ :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO
742
+ :param _request_timeout: timeout setting for this request. If one
743
+ number provided, it will be total request
744
+ timeout. It can also be a pair (tuple) of
745
+ (connection, read) timeouts.
746
+ :type _request_timeout: int, tuple(int, int), optional
747
+ :param _request_auth: set to override the auth_settings for an a single
748
+ request; this effectively ignores the
749
+ authentication in the spec for a single request.
750
+ :type _request_auth: dict, optional
751
+ :param _content_type: force content-type for the request.
752
+ :type _content_type: str, Optional
753
+ :param _headers: set to override the headers for a single
754
+ request; this effectively ignores the headers
755
+ in the spec for a single request.
756
+ :type _headers: dict, optional
757
+ :param _host_index: set to override the host_index for a single
758
+ request; this effectively ignores the host_index
759
+ in the spec for a single request.
760
+ :type _host_index: int, optional
761
+ :return: Returns the result object.
762
+ """ # noqa: E501
763
+
764
+ _param = self._create_tenant_serialize(
765
+ admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto,
766
+ _request_auth=_request_auth,
767
+ _content_type=_content_type,
768
+ _headers=_headers,
769
+ _host_index=_host_index
770
+ )
771
+
772
+ _response_types_map: Dict[str, Optional[str]] = {
773
+ '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO",
774
+ }
775
+ response_data = self.api_client.call_api(
776
+ *_param,
777
+ _request_timeout=_request_timeout
778
+ )
779
+ response_data.read()
780
+ return self.api_client.response_deserialize(
781
+ response_data=response_data,
782
+ response_types_map=_response_types_map,
783
+ )
784
+
785
+
786
+ @validate_call
787
+ def create_tenant_without_preload_content(
788
+ self,
789
+ admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO,
790
+ _request_timeout: Union[
791
+ None,
792
+ Annotated[StrictFloat, Field(gt=0)],
793
+ Tuple[
794
+ Annotated[StrictFloat, Field(gt=0)],
795
+ Annotated[StrictFloat, Field(gt=0)]
796
+ ]
797
+ ] = None,
798
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
799
+ _content_type: Optional[StrictStr] = None,
800
+ _headers: Optional[Dict[StrictStr, Any]] = None,
801
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
802
+ ) -> RESTResponseType:
803
+ """Create a consolidated analytics tenant
804
+
805
+ Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
806
+
807
+ :param admin_consolidated_analytics_api_tenant_create_request_dto: (required)
808
+ :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO
809
+ :param _request_timeout: timeout setting for this request. If one
810
+ number provided, it will be total request
811
+ timeout. It can also be a pair (tuple) of
812
+ (connection, read) timeouts.
813
+ :type _request_timeout: int, tuple(int, int), optional
814
+ :param _request_auth: set to override the auth_settings for an a single
815
+ request; this effectively ignores the
816
+ authentication in the spec for a single request.
817
+ :type _request_auth: dict, optional
818
+ :param _content_type: force content-type for the request.
819
+ :type _content_type: str, Optional
820
+ :param _headers: set to override the headers for a single
821
+ request; this effectively ignores the headers
822
+ in the spec for a single request.
823
+ :type _headers: dict, optional
824
+ :param _host_index: set to override the host_index for a single
825
+ request; this effectively ignores the host_index
826
+ in the spec for a single request.
827
+ :type _host_index: int, optional
828
+ :return: Returns the result object.
829
+ """ # noqa: E501
830
+
831
+ _param = self._create_tenant_serialize(
832
+ admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto,
833
+ _request_auth=_request_auth,
834
+ _content_type=_content_type,
835
+ _headers=_headers,
836
+ _host_index=_host_index
837
+ )
838
+
839
+ _response_types_map: Dict[str, Optional[str]] = {
840
+ '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO",
841
+ }
842
+ response_data = self.api_client.call_api(
843
+ *_param,
844
+ _request_timeout=_request_timeout
845
+ )
846
+ return response_data.response
847
+
848
+
849
+ def _create_tenant_serialize(
850
+ self,
851
+ admin_consolidated_analytics_api_tenant_create_request_dto,
852
+ _request_auth,
853
+ _content_type,
854
+ _headers,
855
+ _host_index,
856
+ ) -> RequestSerialized:
857
+
858
+ _host = None
859
+
860
+ _collection_formats: Dict[str, str] = {
861
+ }
862
+
863
+ _path_params: Dict[str, str] = {}
864
+ _query_params: List[Tuple[str, str]] = []
865
+ _header_params: Dict[str, Optional[str]] = _headers or {}
866
+ _form_params: List[Tuple[str, str]] = []
867
+ _files: Dict[
868
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
869
+ ] = {}
870
+ _body_params: Optional[bytes] = None
871
+
872
+ # process the path parameters
873
+ # process the query parameters
874
+ # process the header parameters
875
+ # process the form parameters
876
+ # process the body parameter
877
+ if admin_consolidated_analytics_api_tenant_create_request_dto is not None:
878
+ _body_params = admin_consolidated_analytics_api_tenant_create_request_dto
879
+
880
+
881
+ # set the HTTP header `Accept`
882
+ if 'Accept' not in _header_params:
883
+ _header_params['Accept'] = self.api_client.select_header_accept(
884
+ [
885
+ 'application/json'
886
+ ]
887
+ )
888
+
889
+ # set the HTTP header `Content-Type`
890
+ if _content_type:
891
+ _header_params['Content-Type'] = _content_type
892
+ else:
893
+ _default_content_type = (
894
+ self.api_client.select_header_content_type(
895
+ [
896
+ 'application/json'
897
+ ]
898
+ )
899
+ )
900
+ if _default_content_type is not None:
901
+ _header_params['Content-Type'] = _default_content_type
902
+
903
+ # authentication setting
904
+ _auth_settings: List[str] = [
905
+ 'CookieAuth',
906
+ 'ApiKeyAuth',
907
+ 'OAuth2Auth',
908
+ 'OAuth2Auth',
909
+ 'BearerAuth'
910
+ ]
911
+
912
+ return self.api_client.param_serialize(
913
+ method='POST',
914
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants',
915
+ path_params=_path_params,
916
+ query_params=_query_params,
917
+ header_params=_header_params,
918
+ body=_body_params,
919
+ post_params=_form_params,
920
+ files=_files,
921
+ auth_settings=_auth_settings,
922
+ collection_formats=_collection_formats,
923
+ _host=_host,
924
+ _request_auth=_request_auth
925
+ )
926
+
927
+
928
+
929
+
930
+ @validate_call
931
+ def list_excluded_sources(
932
+ self,
933
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
934
+ _request_timeout: Union[
935
+ None,
936
+ Annotated[StrictFloat, Field(gt=0)],
937
+ Tuple[
938
+ Annotated[StrictFloat, Field(gt=0)],
939
+ Annotated[StrictFloat, Field(gt=0)]
940
+ ]
941
+ ] = None,
942
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
943
+ _content_type: Optional[StrictStr] = None,
944
+ _headers: Optional[Dict[StrictStr, Any]] = None,
945
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
946
+ ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO:
947
+ """Retrieve a consolidated analytics tenant's excluded sources
948
+
949
+ Retrieve a CA tenant's excluded sources. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
950
+
951
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
952
+ :type tenant_id: str
953
+ :param _request_timeout: timeout setting for this request. If one
954
+ number provided, it will be total request
955
+ timeout. It can also be a pair (tuple) of
956
+ (connection, read) timeouts.
957
+ :type _request_timeout: int, tuple(int, int), optional
958
+ :param _request_auth: set to override the auth_settings for an a single
959
+ request; this effectively ignores the
960
+ authentication in the spec for a single request.
961
+ :type _request_auth: dict, optional
962
+ :param _content_type: force content-type for the request.
963
+ :type _content_type: str, Optional
964
+ :param _headers: set to override the headers for a single
965
+ request; this effectively ignores the headers
966
+ in the spec for a single request.
967
+ :type _headers: dict, optional
968
+ :param _host_index: set to override the host_index for a single
969
+ request; this effectively ignores the host_index
970
+ in the spec for a single request.
971
+ :type _host_index: int, optional
972
+ :return: Returns the result object.
973
+ """ # noqa: E501
974
+
975
+ _param = self._list_excluded_sources_serialize(
976
+ tenant_id=tenant_id,
977
+ _request_auth=_request_auth,
978
+ _content_type=_content_type,
979
+ _headers=_headers,
980
+ _host_index=_host_index
981
+ )
982
+
983
+ _response_types_map: Dict[str, Optional[str]] = {
984
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
985
+ }
986
+ response_data = self.api_client.call_api(
987
+ *_param,
988
+ _request_timeout=_request_timeout
989
+ )
990
+ response_data.read()
991
+ return self.api_client.response_deserialize(
992
+ response_data=response_data,
993
+ response_types_map=_response_types_map,
994
+ ).data
995
+
996
+
997
+ @validate_call
998
+ def list_excluded_sources_with_http_info(
999
+ self,
1000
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
1001
+ _request_timeout: Union[
1002
+ None,
1003
+ Annotated[StrictFloat, Field(gt=0)],
1004
+ Tuple[
1005
+ Annotated[StrictFloat, Field(gt=0)],
1006
+ Annotated[StrictFloat, Field(gt=0)]
1007
+ ]
1008
+ ] = None,
1009
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1010
+ _content_type: Optional[StrictStr] = None,
1011
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1012
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1013
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]:
1014
+ """Retrieve a consolidated analytics tenant's excluded sources
1015
+
1016
+ Retrieve a CA tenant's excluded sources. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1017
+
1018
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
1019
+ :type tenant_id: str
1020
+ :param _request_timeout: timeout setting for this request. If one
1021
+ number provided, it will be total request
1022
+ timeout. It can also be a pair (tuple) of
1023
+ (connection, read) timeouts.
1024
+ :type _request_timeout: int, tuple(int, int), optional
1025
+ :param _request_auth: set to override the auth_settings for an a single
1026
+ request; this effectively ignores the
1027
+ authentication in the spec for a single request.
1028
+ :type _request_auth: dict, optional
1029
+ :param _content_type: force content-type for the request.
1030
+ :type _content_type: str, Optional
1031
+ :param _headers: set to override the headers for a single
1032
+ request; this effectively ignores the headers
1033
+ in the spec for a single request.
1034
+ :type _headers: dict, optional
1035
+ :param _host_index: set to override the host_index for a single
1036
+ request; this effectively ignores the host_index
1037
+ in the spec for a single request.
1038
+ :type _host_index: int, optional
1039
+ :return: Returns the result object.
1040
+ """ # noqa: E501
1041
+
1042
+ _param = self._list_excluded_sources_serialize(
1043
+ tenant_id=tenant_id,
1044
+ _request_auth=_request_auth,
1045
+ _content_type=_content_type,
1046
+ _headers=_headers,
1047
+ _host_index=_host_index
1048
+ )
1049
+
1050
+ _response_types_map: Dict[str, Optional[str]] = {
1051
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
1052
+ }
1053
+ response_data = self.api_client.call_api(
1054
+ *_param,
1055
+ _request_timeout=_request_timeout
1056
+ )
1057
+ response_data.read()
1058
+ return self.api_client.response_deserialize(
1059
+ response_data=response_data,
1060
+ response_types_map=_response_types_map,
1061
+ )
1062
+
1063
+
1064
+ @validate_call
1065
+ def list_excluded_sources_without_preload_content(
1066
+ self,
1067
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
1068
+ _request_timeout: Union[
1069
+ None,
1070
+ Annotated[StrictFloat, Field(gt=0)],
1071
+ Tuple[
1072
+ Annotated[StrictFloat, Field(gt=0)],
1073
+ Annotated[StrictFloat, Field(gt=0)]
1074
+ ]
1075
+ ] = None,
1076
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1077
+ _content_type: Optional[StrictStr] = None,
1078
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1079
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1080
+ ) -> RESTResponseType:
1081
+ """Retrieve a consolidated analytics tenant's excluded sources
1082
+
1083
+ Retrieve a CA tenant's excluded sources. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1084
+
1085
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
1086
+ :type tenant_id: str
1087
+ :param _request_timeout: timeout setting for this request. If one
1088
+ number provided, it will be total request
1089
+ timeout. It can also be a pair (tuple) of
1090
+ (connection, read) timeouts.
1091
+ :type _request_timeout: int, tuple(int, int), optional
1092
+ :param _request_auth: set to override the auth_settings for an a single
1093
+ request; this effectively ignores the
1094
+ authentication in the spec for a single request.
1095
+ :type _request_auth: dict, optional
1096
+ :param _content_type: force content-type for the request.
1097
+ :type _content_type: str, Optional
1098
+ :param _headers: set to override the headers for a single
1099
+ request; this effectively ignores the headers
1100
+ in the spec for a single request.
1101
+ :type _headers: dict, optional
1102
+ :param _host_index: set to override the host_index for a single
1103
+ request; this effectively ignores the host_index
1104
+ in the spec for a single request.
1105
+ :type _host_index: int, optional
1106
+ :return: Returns the result object.
1107
+ """ # noqa: E501
1108
+
1109
+ _param = self._list_excluded_sources_serialize(
1110
+ tenant_id=tenant_id,
1111
+ _request_auth=_request_auth,
1112
+ _content_type=_content_type,
1113
+ _headers=_headers,
1114
+ _host_index=_host_index
1115
+ )
1116
+
1117
+ _response_types_map: Dict[str, Optional[str]] = {
1118
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
1119
+ }
1120
+ response_data = self.api_client.call_api(
1121
+ *_param,
1122
+ _request_timeout=_request_timeout
1123
+ )
1124
+ return response_data.response
1125
+
1126
+
1127
+ def _list_excluded_sources_serialize(
1128
+ self,
1129
+ tenant_id,
1130
+ _request_auth,
1131
+ _content_type,
1132
+ _headers,
1133
+ _host_index,
1134
+ ) -> RequestSerialized:
1135
+
1136
+ _host = None
1137
+
1138
+ _collection_formats: Dict[str, str] = {
1139
+ }
1140
+
1141
+ _path_params: Dict[str, str] = {}
1142
+ _query_params: List[Tuple[str, str]] = []
1143
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1144
+ _form_params: List[Tuple[str, str]] = []
1145
+ _files: Dict[
1146
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1147
+ ] = {}
1148
+ _body_params: Optional[bytes] = None
1149
+
1150
+ # process the path parameters
1151
+ if tenant_id is not None:
1152
+ _path_params['tenantId'] = tenant_id
1153
+ # process the query parameters
1154
+ # process the header parameters
1155
+ # process the form parameters
1156
+ # process the body parameter
1157
+
1158
+
1159
+ # set the HTTP header `Accept`
1160
+ if 'Accept' not in _header_params:
1161
+ _header_params['Accept'] = self.api_client.select_header_accept(
1162
+ [
1163
+ 'application/json'
1164
+ ]
1165
+ )
1166
+
1167
+
1168
+ # authentication setting
1169
+ _auth_settings: List[str] = [
1170
+ 'CookieAuth',
1171
+ 'ApiKeyAuth',
1172
+ 'OAuth2Auth',
1173
+ 'OAuth2Auth',
1174
+ 'BearerAuth'
1175
+ ]
1176
+
1177
+ return self.api_client.param_serialize(
1178
+ method='GET',
1179
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/excluded-sources',
1180
+ path_params=_path_params,
1181
+ query_params=_query_params,
1182
+ header_params=_header_params,
1183
+ body=_body_params,
1184
+ post_params=_form_params,
1185
+ files=_files,
1186
+ auth_settings=_auth_settings,
1187
+ collection_formats=_collection_formats,
1188
+ _host=_host,
1189
+ _request_auth=_request_auth
1190
+ )
1191
+
1192
+
1193
+
1194
+
1195
+ @validate_call
1196
+ def list_source_tenants(
1197
+ self,
1198
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
1199
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
1200
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first source tenant to return. Default is 0.")] = None,
1201
+ _request_timeout: Union[
1202
+ None,
1203
+ Annotated[StrictFloat, Field(gt=0)],
1204
+ Tuple[
1205
+ Annotated[StrictFloat, Field(gt=0)],
1206
+ Annotated[StrictFloat, Field(gt=0)]
1207
+ ]
1208
+ ] = None,
1209
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1210
+ _content_type: Optional[StrictStr] = None,
1211
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1212
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1213
+ ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO:
1214
+ """Retrieve a consolidated analytics tenant's source tenants
1215
+
1216
+ Retrieve a CA tenant's source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1217
+
1218
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
1219
+ :type tenant_id: str
1220
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
1221
+ :type limit: int
1222
+ :param start: The starting index of the first source tenant to return. Default is 0.
1223
+ :type start: int
1224
+ :param _request_timeout: timeout setting for this request. If one
1225
+ number provided, it will be total request
1226
+ timeout. It can also be a pair (tuple) of
1227
+ (connection, read) timeouts.
1228
+ :type _request_timeout: int, tuple(int, int), optional
1229
+ :param _request_auth: set to override the auth_settings for an a single
1230
+ request; this effectively ignores the
1231
+ authentication in the spec for a single request.
1232
+ :type _request_auth: dict, optional
1233
+ :param _content_type: force content-type for the request.
1234
+ :type _content_type: str, Optional
1235
+ :param _headers: set to override the headers for a single
1236
+ request; this effectively ignores the headers
1237
+ in the spec for a single request.
1238
+ :type _headers: dict, optional
1239
+ :param _host_index: set to override the host_index for a single
1240
+ request; this effectively ignores the host_index
1241
+ in the spec for a single request.
1242
+ :type _host_index: int, optional
1243
+ :return: Returns the result object.
1244
+ """ # noqa: E501
1245
+
1246
+ _param = self._list_source_tenants_serialize(
1247
+ tenant_id=tenant_id,
1248
+ limit=limit,
1249
+ start=start,
1250
+ _request_auth=_request_auth,
1251
+ _content_type=_content_type,
1252
+ _headers=_headers,
1253
+ _host_index=_host_index
1254
+ )
1255
+
1256
+ _response_types_map: Dict[str, Optional[str]] = {
1257
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
1258
+ }
1259
+ response_data = self.api_client.call_api(
1260
+ *_param,
1261
+ _request_timeout=_request_timeout
1262
+ )
1263
+ response_data.read()
1264
+ return self.api_client.response_deserialize(
1265
+ response_data=response_data,
1266
+ response_types_map=_response_types_map,
1267
+ ).data
1268
+
1269
+
1270
+ @validate_call
1271
+ def list_source_tenants_with_http_info(
1272
+ self,
1273
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
1274
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
1275
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first source tenant to return. Default is 0.")] = None,
1276
+ _request_timeout: Union[
1277
+ None,
1278
+ Annotated[StrictFloat, Field(gt=0)],
1279
+ Tuple[
1280
+ Annotated[StrictFloat, Field(gt=0)],
1281
+ Annotated[StrictFloat, Field(gt=0)]
1282
+ ]
1283
+ ] = None,
1284
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1285
+ _content_type: Optional[StrictStr] = None,
1286
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1287
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1288
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]:
1289
+ """Retrieve a consolidated analytics tenant's source tenants
1290
+
1291
+ Retrieve a CA tenant's source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1292
+
1293
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
1294
+ :type tenant_id: str
1295
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
1296
+ :type limit: int
1297
+ :param start: The starting index of the first source tenant to return. Default is 0.
1298
+ :type start: int
1299
+ :param _request_timeout: timeout setting for this request. If one
1300
+ number provided, it will be total request
1301
+ timeout. It can also be a pair (tuple) of
1302
+ (connection, read) timeouts.
1303
+ :type _request_timeout: int, tuple(int, int), optional
1304
+ :param _request_auth: set to override the auth_settings for an a single
1305
+ request; this effectively ignores the
1306
+ authentication in the spec for a single request.
1307
+ :type _request_auth: dict, optional
1308
+ :param _content_type: force content-type for the request.
1309
+ :type _content_type: str, Optional
1310
+ :param _headers: set to override the headers for a single
1311
+ request; this effectively ignores the headers
1312
+ in the spec for a single request.
1313
+ :type _headers: dict, optional
1314
+ :param _host_index: set to override the host_index for a single
1315
+ request; this effectively ignores the host_index
1316
+ in the spec for a single request.
1317
+ :type _host_index: int, optional
1318
+ :return: Returns the result object.
1319
+ """ # noqa: E501
1320
+
1321
+ _param = self._list_source_tenants_serialize(
1322
+ tenant_id=tenant_id,
1323
+ limit=limit,
1324
+ start=start,
1325
+ _request_auth=_request_auth,
1326
+ _content_type=_content_type,
1327
+ _headers=_headers,
1328
+ _host_index=_host_index
1329
+ )
1330
+
1331
+ _response_types_map: Dict[str, Optional[str]] = {
1332
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
1333
+ }
1334
+ response_data = self.api_client.call_api(
1335
+ *_param,
1336
+ _request_timeout=_request_timeout
1337
+ )
1338
+ response_data.read()
1339
+ return self.api_client.response_deserialize(
1340
+ response_data=response_data,
1341
+ response_types_map=_response_types_map,
1342
+ )
1343
+
1344
+
1345
+ @validate_call
1346
+ def list_source_tenants_without_preload_content(
1347
+ self,
1348
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
1349
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
1350
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first source tenant to return. Default is 0.")] = None,
1351
+ _request_timeout: Union[
1352
+ None,
1353
+ Annotated[StrictFloat, Field(gt=0)],
1354
+ Tuple[
1355
+ Annotated[StrictFloat, Field(gt=0)],
1356
+ Annotated[StrictFloat, Field(gt=0)]
1357
+ ]
1358
+ ] = None,
1359
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1360
+ _content_type: Optional[StrictStr] = None,
1361
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1362
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1363
+ ) -> RESTResponseType:
1364
+ """Retrieve a consolidated analytics tenant's source tenants
1365
+
1366
+ Retrieve a CA tenant's source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1367
+
1368
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
1369
+ :type tenant_id: str
1370
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
1371
+ :type limit: int
1372
+ :param start: The starting index of the first source tenant to return. Default is 0.
1373
+ :type start: int
1374
+ :param _request_timeout: timeout setting for this request. If one
1375
+ number provided, it will be total request
1376
+ timeout. It can also be a pair (tuple) of
1377
+ (connection, read) timeouts.
1378
+ :type _request_timeout: int, tuple(int, int), optional
1379
+ :param _request_auth: set to override the auth_settings for an a single
1380
+ request; this effectively ignores the
1381
+ authentication in the spec for a single request.
1382
+ :type _request_auth: dict, optional
1383
+ :param _content_type: force content-type for the request.
1384
+ :type _content_type: str, Optional
1385
+ :param _headers: set to override the headers for a single
1386
+ request; this effectively ignores the headers
1387
+ in the spec for a single request.
1388
+ :type _headers: dict, optional
1389
+ :param _host_index: set to override the host_index for a single
1390
+ request; this effectively ignores the host_index
1391
+ in the spec for a single request.
1392
+ :type _host_index: int, optional
1393
+ :return: Returns the result object.
1394
+ """ # noqa: E501
1395
+
1396
+ _param = self._list_source_tenants_serialize(
1397
+ tenant_id=tenant_id,
1398
+ limit=limit,
1399
+ start=start,
1400
+ _request_auth=_request_auth,
1401
+ _content_type=_content_type,
1402
+ _headers=_headers,
1403
+ _host_index=_host_index
1404
+ )
1405
+
1406
+ _response_types_map: Dict[str, Optional[str]] = {
1407
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
1408
+ }
1409
+ response_data = self.api_client.call_api(
1410
+ *_param,
1411
+ _request_timeout=_request_timeout
1412
+ )
1413
+ return response_data.response
1414
+
1415
+
1416
+ def _list_source_tenants_serialize(
1417
+ self,
1418
+ tenant_id,
1419
+ limit,
1420
+ start,
1421
+ _request_auth,
1422
+ _content_type,
1423
+ _headers,
1424
+ _host_index,
1425
+ ) -> RequestSerialized:
1426
+
1427
+ _host = None
1428
+
1429
+ _collection_formats: Dict[str, str] = {
1430
+ }
1431
+
1432
+ _path_params: Dict[str, str] = {}
1433
+ _query_params: List[Tuple[str, str]] = []
1434
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1435
+ _form_params: List[Tuple[str, str]] = []
1436
+ _files: Dict[
1437
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1438
+ ] = {}
1439
+ _body_params: Optional[bytes] = None
1440
+
1441
+ # process the path parameters
1442
+ if tenant_id is not None:
1443
+ _path_params['tenantId'] = tenant_id
1444
+ # process the query parameters
1445
+ if limit is not None:
1446
+
1447
+ _query_params.append(('limit', limit))
1448
+
1449
+ if start is not None:
1450
+
1451
+ _query_params.append(('start', start))
1452
+
1453
+ # process the header parameters
1454
+ # process the form parameters
1455
+ # process the body parameter
1456
+
1457
+
1458
+ # set the HTTP header `Accept`
1459
+ if 'Accept' not in _header_params:
1460
+ _header_params['Accept'] = self.api_client.select_header_accept(
1461
+ [
1462
+ 'application/json'
1463
+ ]
1464
+ )
1465
+
1466
+
1467
+ # authentication setting
1468
+ _auth_settings: List[str] = [
1469
+ 'CookieAuth',
1470
+ 'ApiKeyAuth',
1471
+ 'OAuth2Auth',
1472
+ 'OAuth2Auth',
1473
+ 'BearerAuth'
1474
+ ]
1475
+
1476
+ return self.api_client.param_serialize(
1477
+ method='GET',
1478
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/source-tenants',
1479
+ path_params=_path_params,
1480
+ query_params=_query_params,
1481
+ header_params=_header_params,
1482
+ body=_body_params,
1483
+ post_params=_form_params,
1484
+ files=_files,
1485
+ auth_settings=_auth_settings,
1486
+ collection_formats=_collection_formats,
1487
+ _host=_host,
1488
+ _request_auth=_request_auth
1489
+ )
1490
+
1491
+
1492
+
1493
+
1494
+ @validate_call
1495
+ def list_tenants(
1496
+ self,
1497
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1498
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1499
+ _request_timeout: Union[
1500
+ None,
1501
+ Annotated[StrictFloat, Field(gt=0)],
1502
+ Tuple[
1503
+ Annotated[StrictFloat, Field(gt=0)],
1504
+ Annotated[StrictFloat, Field(gt=0)]
1505
+ ]
1506
+ ] = None,
1507
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1508
+ _content_type: Optional[StrictStr] = None,
1509
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1510
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1511
+ ) -> AdminConsolidatedAnalyticsAPITenantListResponseDTO:
1512
+ """Retrieve a list of all consolidated analytics tenants
1513
+
1514
+ Retrieve the full list of consolidated analytics tenants in your administrating tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1515
+
1516
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1517
+ :type limit: int
1518
+ :param start: The starting index of the first tenant to return. Default is 0.
1519
+ :type start: int
1520
+ :param _request_timeout: timeout setting for this request. If one
1521
+ number provided, it will be total request
1522
+ timeout. It can also be a pair (tuple) of
1523
+ (connection, read) timeouts.
1524
+ :type _request_timeout: int, tuple(int, int), optional
1525
+ :param _request_auth: set to override the auth_settings for an a single
1526
+ request; this effectively ignores the
1527
+ authentication in the spec for a single request.
1528
+ :type _request_auth: dict, optional
1529
+ :param _content_type: force content-type for the request.
1530
+ :type _content_type: str, Optional
1531
+ :param _headers: set to override the headers for a single
1532
+ request; this effectively ignores the headers
1533
+ in the spec for a single request.
1534
+ :type _headers: dict, optional
1535
+ :param _host_index: set to override the host_index for a single
1536
+ request; this effectively ignores the host_index
1537
+ in the spec for a single request.
1538
+ :type _host_index: int, optional
1539
+ :return: Returns the result object.
1540
+ """ # noqa: E501
1541
+
1542
+ _param = self._list_tenants_serialize(
1543
+ limit=limit,
1544
+ start=start,
1545
+ _request_auth=_request_auth,
1546
+ _content_type=_content_type,
1547
+ _headers=_headers,
1548
+ _host_index=_host_index
1549
+ )
1550
+
1551
+ _response_types_map: Dict[str, Optional[str]] = {
1552
+ '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO",
1553
+ }
1554
+ response_data = self.api_client.call_api(
1555
+ *_param,
1556
+ _request_timeout=_request_timeout
1557
+ )
1558
+ response_data.read()
1559
+ return self.api_client.response_deserialize(
1560
+ response_data=response_data,
1561
+ response_types_map=_response_types_map,
1562
+ ).data
1563
+
1564
+
1565
+ @validate_call
1566
+ def list_tenants_with_http_info(
1567
+ self,
1568
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1569
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1570
+ _request_timeout: Union[
1571
+ None,
1572
+ Annotated[StrictFloat, Field(gt=0)],
1573
+ Tuple[
1574
+ Annotated[StrictFloat, Field(gt=0)],
1575
+ Annotated[StrictFloat, Field(gt=0)]
1576
+ ]
1577
+ ] = None,
1578
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1579
+ _content_type: Optional[StrictStr] = None,
1580
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1581
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1582
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantListResponseDTO]:
1583
+ """Retrieve a list of all consolidated analytics tenants
1584
+
1585
+ Retrieve the full list of consolidated analytics tenants in your administrating tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1586
+
1587
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1588
+ :type limit: int
1589
+ :param start: The starting index of the first tenant to return. Default is 0.
1590
+ :type start: int
1591
+ :param _request_timeout: timeout setting for this request. If one
1592
+ number provided, it will be total request
1593
+ timeout. It can also be a pair (tuple) of
1594
+ (connection, read) timeouts.
1595
+ :type _request_timeout: int, tuple(int, int), optional
1596
+ :param _request_auth: set to override the auth_settings for an a single
1597
+ request; this effectively ignores the
1598
+ authentication in the spec for a single request.
1599
+ :type _request_auth: dict, optional
1600
+ :param _content_type: force content-type for the request.
1601
+ :type _content_type: str, Optional
1602
+ :param _headers: set to override the headers for a single
1603
+ request; this effectively ignores the headers
1604
+ in the spec for a single request.
1605
+ :type _headers: dict, optional
1606
+ :param _host_index: set to override the host_index for a single
1607
+ request; this effectively ignores the host_index
1608
+ in the spec for a single request.
1609
+ :type _host_index: int, optional
1610
+ :return: Returns the result object.
1611
+ """ # noqa: E501
1612
+
1613
+ _param = self._list_tenants_serialize(
1614
+ limit=limit,
1615
+ start=start,
1616
+ _request_auth=_request_auth,
1617
+ _content_type=_content_type,
1618
+ _headers=_headers,
1619
+ _host_index=_host_index
1620
+ )
1621
+
1622
+ _response_types_map: Dict[str, Optional[str]] = {
1623
+ '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO",
1624
+ }
1625
+ response_data = self.api_client.call_api(
1626
+ *_param,
1627
+ _request_timeout=_request_timeout
1628
+ )
1629
+ response_data.read()
1630
+ return self.api_client.response_deserialize(
1631
+ response_data=response_data,
1632
+ response_types_map=_response_types_map,
1633
+ )
1634
+
1635
+
1636
+ @validate_call
1637
+ def list_tenants_without_preload_content(
1638
+ self,
1639
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1640
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1641
+ _request_timeout: Union[
1642
+ None,
1643
+ Annotated[StrictFloat, Field(gt=0)],
1644
+ Tuple[
1645
+ Annotated[StrictFloat, Field(gt=0)],
1646
+ Annotated[StrictFloat, Field(gt=0)]
1647
+ ]
1648
+ ] = None,
1649
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1650
+ _content_type: Optional[StrictStr] = None,
1651
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1652
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1653
+ ) -> RESTResponseType:
1654
+ """Retrieve a list of all consolidated analytics tenants
1655
+
1656
+ Retrieve the full list of consolidated analytics tenants in your administrating tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1657
+
1658
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1659
+ :type limit: int
1660
+ :param start: The starting index of the first tenant to return. Default is 0.
1661
+ :type start: int
1662
+ :param _request_timeout: timeout setting for this request. If one
1663
+ number provided, it will be total request
1664
+ timeout. It can also be a pair (tuple) of
1665
+ (connection, read) timeouts.
1666
+ :type _request_timeout: int, tuple(int, int), optional
1667
+ :param _request_auth: set to override the auth_settings for an a single
1668
+ request; this effectively ignores the
1669
+ authentication in the spec for a single request.
1670
+ :type _request_auth: dict, optional
1671
+ :param _content_type: force content-type for the request.
1672
+ :type _content_type: str, Optional
1673
+ :param _headers: set to override the headers for a single
1674
+ request; this effectively ignores the headers
1675
+ in the spec for a single request.
1676
+ :type _headers: dict, optional
1677
+ :param _host_index: set to override the host_index for a single
1678
+ request; this effectively ignores the host_index
1679
+ in the spec for a single request.
1680
+ :type _host_index: int, optional
1681
+ :return: Returns the result object.
1682
+ """ # noqa: E501
1683
+
1684
+ _param = self._list_tenants_serialize(
1685
+ limit=limit,
1686
+ start=start,
1687
+ _request_auth=_request_auth,
1688
+ _content_type=_content_type,
1689
+ _headers=_headers,
1690
+ _host_index=_host_index
1691
+ )
1692
+
1693
+ _response_types_map: Dict[str, Optional[str]] = {
1694
+ '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO",
1695
+ }
1696
+ response_data = self.api_client.call_api(
1697
+ *_param,
1698
+ _request_timeout=_request_timeout
1699
+ )
1700
+ return response_data.response
1701
+
1702
+
1703
+ def _list_tenants_serialize(
1704
+ self,
1705
+ limit,
1706
+ start,
1707
+ _request_auth,
1708
+ _content_type,
1709
+ _headers,
1710
+ _host_index,
1711
+ ) -> RequestSerialized:
1712
+
1713
+ _host = None
1714
+
1715
+ _collection_formats: Dict[str, str] = {
1716
+ }
1717
+
1718
+ _path_params: Dict[str, str] = {}
1719
+ _query_params: List[Tuple[str, str]] = []
1720
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1721
+ _form_params: List[Tuple[str, str]] = []
1722
+ _files: Dict[
1723
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1724
+ ] = {}
1725
+ _body_params: Optional[bytes] = None
1726
+
1727
+ # process the path parameters
1728
+ # process the query parameters
1729
+ if limit is not None:
1730
+
1731
+ _query_params.append(('limit', limit))
1732
+
1733
+ if start is not None:
1734
+
1735
+ _query_params.append(('start', start))
1736
+
1737
+ # process the header parameters
1738
+ # process the form parameters
1739
+ # process the body parameter
1740
+
1741
+
1742
+ # set the HTTP header `Accept`
1743
+ if 'Accept' not in _header_params:
1744
+ _header_params['Accept'] = self.api_client.select_header_accept(
1745
+ [
1746
+ 'application/json'
1747
+ ]
1748
+ )
1749
+
1750
+
1751
+ # authentication setting
1752
+ _auth_settings: List[str] = [
1753
+ 'CookieAuth',
1754
+ 'ApiKeyAuth',
1755
+ 'OAuth2Auth',
1756
+ 'OAuth2Auth',
1757
+ 'BearerAuth'
1758
+ ]
1759
+
1760
+ return self.api_client.param_serialize(
1761
+ method='GET',
1762
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants',
1763
+ path_params=_path_params,
1764
+ query_params=_query_params,
1765
+ header_params=_header_params,
1766
+ body=_body_params,
1767
+ post_params=_form_params,
1768
+ files=_files,
1769
+ auth_settings=_auth_settings,
1770
+ collection_formats=_collection_formats,
1771
+ _host=_host,
1772
+ _request_auth=_request_auth
1773
+ )
1774
+
1775
+
1776
+
1777
+
1778
+ @validate_call
1779
+ def list_tenants_with_details(
1780
+ self,
1781
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1782
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1783
+ _request_timeout: Union[
1784
+ None,
1785
+ Annotated[StrictFloat, Field(gt=0)],
1786
+ Tuple[
1787
+ Annotated[StrictFloat, Field(gt=0)],
1788
+ Annotated[StrictFloat, Field(gt=0)]
1789
+ ]
1790
+ ] = None,
1791
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1792
+ _content_type: Optional[StrictStr] = None,
1793
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1794
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1795
+ ) -> AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO:
1796
+ """Retrieve the details of all consolidated analytics tenants
1797
+
1798
+ Retrieve the full list of consolidated analytics tenants and their details in your administrating tenant. **Note:** If your consolidated analytics tenants have thousands of source tenants, we recommend that you use the `GET /admin/consolidated-analytics/tenants` endpoint to get all CA tenants and then use the `GET /admin/consolidated-analytics/tenants/{tenantId}/source-tenants` and `GET /admin/consolidated-analytics/tenants/{tenantId}/excluded-sources` endpoints to retrieve information about specific CA tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1799
+
1800
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1801
+ :type limit: int
1802
+ :param start: The starting index of the first tenant to return. Default is 0.
1803
+ :type start: int
1804
+ :param _request_timeout: timeout setting for this request. If one
1805
+ number provided, it will be total request
1806
+ timeout. It can also be a pair (tuple) of
1807
+ (connection, read) timeouts.
1808
+ :type _request_timeout: int, tuple(int, int), optional
1809
+ :param _request_auth: set to override the auth_settings for an a single
1810
+ request; this effectively ignores the
1811
+ authentication in the spec for a single request.
1812
+ :type _request_auth: dict, optional
1813
+ :param _content_type: force content-type for the request.
1814
+ :type _content_type: str, Optional
1815
+ :param _headers: set to override the headers for a single
1816
+ request; this effectively ignores the headers
1817
+ in the spec for a single request.
1818
+ :type _headers: dict, optional
1819
+ :param _host_index: set to override the host_index for a single
1820
+ request; this effectively ignores the host_index
1821
+ in the spec for a single request.
1822
+ :type _host_index: int, optional
1823
+ :return: Returns the result object.
1824
+ """ # noqa: E501
1825
+
1826
+ _param = self._list_tenants_with_details_serialize(
1827
+ limit=limit,
1828
+ start=start,
1829
+ _request_auth=_request_auth,
1830
+ _content_type=_content_type,
1831
+ _headers=_headers,
1832
+ _host_index=_host_index
1833
+ )
1834
+
1835
+ _response_types_map: Dict[str, Optional[str]] = {
1836
+ '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO",
1837
+ }
1838
+ response_data = self.api_client.call_api(
1839
+ *_param,
1840
+ _request_timeout=_request_timeout
1841
+ )
1842
+ response_data.read()
1843
+ return self.api_client.response_deserialize(
1844
+ response_data=response_data,
1845
+ response_types_map=_response_types_map,
1846
+ ).data
1847
+
1848
+
1849
+ @validate_call
1850
+ def list_tenants_with_details_with_http_info(
1851
+ self,
1852
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1853
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1854
+ _request_timeout: Union[
1855
+ None,
1856
+ Annotated[StrictFloat, Field(gt=0)],
1857
+ Tuple[
1858
+ Annotated[StrictFloat, Field(gt=0)],
1859
+ Annotated[StrictFloat, Field(gt=0)]
1860
+ ]
1861
+ ] = None,
1862
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1863
+ _content_type: Optional[StrictStr] = None,
1864
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1865
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1866
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO]:
1867
+ """Retrieve the details of all consolidated analytics tenants
1868
+
1869
+ Retrieve the full list of consolidated analytics tenants and their details in your administrating tenant. **Note:** If your consolidated analytics tenants have thousands of source tenants, we recommend that you use the `GET /admin/consolidated-analytics/tenants` endpoint to get all CA tenants and then use the `GET /admin/consolidated-analytics/tenants/{tenantId}/source-tenants` and `GET /admin/consolidated-analytics/tenants/{tenantId}/excluded-sources` endpoints to retrieve information about specific CA tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1870
+
1871
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1872
+ :type limit: int
1873
+ :param start: The starting index of the first tenant to return. Default is 0.
1874
+ :type start: int
1875
+ :param _request_timeout: timeout setting for this request. If one
1876
+ number provided, it will be total request
1877
+ timeout. It can also be a pair (tuple) of
1878
+ (connection, read) timeouts.
1879
+ :type _request_timeout: int, tuple(int, int), optional
1880
+ :param _request_auth: set to override the auth_settings for an a single
1881
+ request; this effectively ignores the
1882
+ authentication in the spec for a single request.
1883
+ :type _request_auth: dict, optional
1884
+ :param _content_type: force content-type for the request.
1885
+ :type _content_type: str, Optional
1886
+ :param _headers: set to override the headers for a single
1887
+ request; this effectively ignores the headers
1888
+ in the spec for a single request.
1889
+ :type _headers: dict, optional
1890
+ :param _host_index: set to override the host_index for a single
1891
+ request; this effectively ignores the host_index
1892
+ in the spec for a single request.
1893
+ :type _host_index: int, optional
1894
+ :return: Returns the result object.
1895
+ """ # noqa: E501
1896
+
1897
+ _param = self._list_tenants_with_details_serialize(
1898
+ limit=limit,
1899
+ start=start,
1900
+ _request_auth=_request_auth,
1901
+ _content_type=_content_type,
1902
+ _headers=_headers,
1903
+ _host_index=_host_index
1904
+ )
1905
+
1906
+ _response_types_map: Dict[str, Optional[str]] = {
1907
+ '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO",
1908
+ }
1909
+ response_data = self.api_client.call_api(
1910
+ *_param,
1911
+ _request_timeout=_request_timeout
1912
+ )
1913
+ response_data.read()
1914
+ return self.api_client.response_deserialize(
1915
+ response_data=response_data,
1916
+ response_types_map=_response_types_map,
1917
+ )
1918
+
1919
+
1920
+ @validate_call
1921
+ def list_tenants_with_details_without_preload_content(
1922
+ self,
1923
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. The maximum value is 1000. Default is 400.")] = None,
1924
+ start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None,
1925
+ _request_timeout: Union[
1926
+ None,
1927
+ Annotated[StrictFloat, Field(gt=0)],
1928
+ Tuple[
1929
+ Annotated[StrictFloat, Field(gt=0)],
1930
+ Annotated[StrictFloat, Field(gt=0)]
1931
+ ]
1932
+ ] = None,
1933
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1934
+ _content_type: Optional[StrictStr] = None,
1935
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1936
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1937
+ ) -> RESTResponseType:
1938
+ """Retrieve the details of all consolidated analytics tenants
1939
+
1940
+ Retrieve the full list of consolidated analytics tenants and their details in your administrating tenant. **Note:** If your consolidated analytics tenants have thousands of source tenants, we recommend that you use the `GET /admin/consolidated-analytics/tenants` endpoint to get all CA tenants and then use the `GET /admin/consolidated-analytics/tenants/{tenantId}/source-tenants` and `GET /admin/consolidated-analytics/tenants/{tenantId}/excluded-sources` endpoints to retrieve information about specific CA tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1941
+
1942
+ :param limit: The maximum number of tenants to return. The maximum value is 1000. Default is 400.
1943
+ :type limit: int
1944
+ :param start: The starting index of the first tenant to return. Default is 0.
1945
+ :type start: int
1946
+ :param _request_timeout: timeout setting for this request. If one
1947
+ number provided, it will be total request
1948
+ timeout. It can also be a pair (tuple) of
1949
+ (connection, read) timeouts.
1950
+ :type _request_timeout: int, tuple(int, int), optional
1951
+ :param _request_auth: set to override the auth_settings for an a single
1952
+ request; this effectively ignores the
1953
+ authentication in the spec for a single request.
1954
+ :type _request_auth: dict, optional
1955
+ :param _content_type: force content-type for the request.
1956
+ :type _content_type: str, Optional
1957
+ :param _headers: set to override the headers for a single
1958
+ request; this effectively ignores the headers
1959
+ in the spec for a single request.
1960
+ :type _headers: dict, optional
1961
+ :param _host_index: set to override the host_index for a single
1962
+ request; this effectively ignores the host_index
1963
+ in the spec for a single request.
1964
+ :type _host_index: int, optional
1965
+ :return: Returns the result object.
1966
+ """ # noqa: E501
1967
+
1968
+ _param = self._list_tenants_with_details_serialize(
1969
+ limit=limit,
1970
+ start=start,
1971
+ _request_auth=_request_auth,
1972
+ _content_type=_content_type,
1973
+ _headers=_headers,
1974
+ _host_index=_host_index
1975
+ )
1976
+
1977
+ _response_types_map: Dict[str, Optional[str]] = {
1978
+ '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO",
1979
+ }
1980
+ response_data = self.api_client.call_api(
1981
+ *_param,
1982
+ _request_timeout=_request_timeout
1983
+ )
1984
+ return response_data.response
1985
+
1986
+
1987
+ def _list_tenants_with_details_serialize(
1988
+ self,
1989
+ limit,
1990
+ start,
1991
+ _request_auth,
1992
+ _content_type,
1993
+ _headers,
1994
+ _host_index,
1995
+ ) -> RequestSerialized:
1996
+
1997
+ _host = None
1998
+
1999
+ _collection_formats: Dict[str, str] = {
2000
+ }
2001
+
2002
+ _path_params: Dict[str, str] = {}
2003
+ _query_params: List[Tuple[str, str]] = []
2004
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2005
+ _form_params: List[Tuple[str, str]] = []
2006
+ _files: Dict[
2007
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2008
+ ] = {}
2009
+ _body_params: Optional[bytes] = None
2010
+
2011
+ # process the path parameters
2012
+ # process the query parameters
2013
+ if limit is not None:
2014
+
2015
+ _query_params.append(('limit', limit))
2016
+
2017
+ if start is not None:
2018
+
2019
+ _query_params.append(('start', start))
2020
+
2021
+ # process the header parameters
2022
+ # process the form parameters
2023
+ # process the body parameter
2024
+
2025
+
2026
+ # set the HTTP header `Accept`
2027
+ if 'Accept' not in _header_params:
2028
+ _header_params['Accept'] = self.api_client.select_header_accept(
2029
+ [
2030
+ 'application/json'
2031
+ ]
2032
+ )
2033
+
2034
+
2035
+ # authentication setting
2036
+ _auth_settings: List[str] = [
2037
+ 'CookieAuth',
2038
+ 'ApiKeyAuth',
2039
+ 'OAuth2Auth',
2040
+ 'OAuth2Auth',
2041
+ 'BearerAuth'
2042
+ ]
2043
+
2044
+ return self.api_client.param_serialize(
2045
+ method='GET',
2046
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants-with-details',
2047
+ path_params=_path_params,
2048
+ query_params=_query_params,
2049
+ header_params=_header_params,
2050
+ body=_body_params,
2051
+ post_params=_form_params,
2052
+ files=_files,
2053
+ auth_settings=_auth_settings,
2054
+ collection_formats=_collection_formats,
2055
+ _host=_host,
2056
+ _request_auth=_request_auth
2057
+ )
2058
+
2059
+
2060
+
2061
+
2062
+ @validate_call
2063
+ def remove_excluded_sources(
2064
+ self,
2065
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2066
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2067
+ _request_timeout: Union[
2068
+ None,
2069
+ Annotated[StrictFloat, Field(gt=0)],
2070
+ Tuple[
2071
+ Annotated[StrictFloat, Field(gt=0)],
2072
+ Annotated[StrictFloat, Field(gt=0)]
2073
+ ]
2074
+ ] = None,
2075
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2076
+ _content_type: Optional[StrictStr] = None,
2077
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2078
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2079
+ ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO:
2080
+ """Remove excluded sources from a consolidated analytics tenants
2081
+
2082
+ Remove excluded sources from the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2083
+
2084
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2085
+ :type tenant_id: str
2086
+ :param admin_excluded_sources_body: (required)
2087
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2088
+ :param _request_timeout: timeout setting for this request. If one
2089
+ number provided, it will be total request
2090
+ timeout. It can also be a pair (tuple) of
2091
+ (connection, read) timeouts.
2092
+ :type _request_timeout: int, tuple(int, int), optional
2093
+ :param _request_auth: set to override the auth_settings for an a single
2094
+ request; this effectively ignores the
2095
+ authentication in the spec for a single request.
2096
+ :type _request_auth: dict, optional
2097
+ :param _content_type: force content-type for the request.
2098
+ :type _content_type: str, Optional
2099
+ :param _headers: set to override the headers for a single
2100
+ request; this effectively ignores the headers
2101
+ in the spec for a single request.
2102
+ :type _headers: dict, optional
2103
+ :param _host_index: set to override the host_index for a single
2104
+ request; this effectively ignores the host_index
2105
+ in the spec for a single request.
2106
+ :type _host_index: int, optional
2107
+ :return: Returns the result object.
2108
+ """ # noqa: E501
2109
+
2110
+ _param = self._remove_excluded_sources_serialize(
2111
+ tenant_id=tenant_id,
2112
+ admin_excluded_sources_body=admin_excluded_sources_body,
2113
+ _request_auth=_request_auth,
2114
+ _content_type=_content_type,
2115
+ _headers=_headers,
2116
+ _host_index=_host_index
2117
+ )
2118
+
2119
+ _response_types_map: Dict[str, Optional[str]] = {
2120
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2121
+ }
2122
+ response_data = self.api_client.call_api(
2123
+ *_param,
2124
+ _request_timeout=_request_timeout
2125
+ )
2126
+ response_data.read()
2127
+ return self.api_client.response_deserialize(
2128
+ response_data=response_data,
2129
+ response_types_map=_response_types_map,
2130
+ ).data
2131
+
2132
+
2133
+ @validate_call
2134
+ def remove_excluded_sources_with_http_info(
2135
+ self,
2136
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2137
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2138
+ _request_timeout: Union[
2139
+ None,
2140
+ Annotated[StrictFloat, Field(gt=0)],
2141
+ Tuple[
2142
+ Annotated[StrictFloat, Field(gt=0)],
2143
+ Annotated[StrictFloat, Field(gt=0)]
2144
+ ]
2145
+ ] = None,
2146
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2147
+ _content_type: Optional[StrictStr] = None,
2148
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2149
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2150
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]:
2151
+ """Remove excluded sources from a consolidated analytics tenants
2152
+
2153
+ Remove excluded sources from the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2154
+
2155
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2156
+ :type tenant_id: str
2157
+ :param admin_excluded_sources_body: (required)
2158
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2159
+ :param _request_timeout: timeout setting for this request. If one
2160
+ number provided, it will be total request
2161
+ timeout. It can also be a pair (tuple) of
2162
+ (connection, read) timeouts.
2163
+ :type _request_timeout: int, tuple(int, int), optional
2164
+ :param _request_auth: set to override the auth_settings for an a single
2165
+ request; this effectively ignores the
2166
+ authentication in the spec for a single request.
2167
+ :type _request_auth: dict, optional
2168
+ :param _content_type: force content-type for the request.
2169
+ :type _content_type: str, Optional
2170
+ :param _headers: set to override the headers for a single
2171
+ request; this effectively ignores the headers
2172
+ in the spec for a single request.
2173
+ :type _headers: dict, optional
2174
+ :param _host_index: set to override the host_index for a single
2175
+ request; this effectively ignores the host_index
2176
+ in the spec for a single request.
2177
+ :type _host_index: int, optional
2178
+ :return: Returns the result object.
2179
+ """ # noqa: E501
2180
+
2181
+ _param = self._remove_excluded_sources_serialize(
2182
+ tenant_id=tenant_id,
2183
+ admin_excluded_sources_body=admin_excluded_sources_body,
2184
+ _request_auth=_request_auth,
2185
+ _content_type=_content_type,
2186
+ _headers=_headers,
2187
+ _host_index=_host_index
2188
+ )
2189
+
2190
+ _response_types_map: Dict[str, Optional[str]] = {
2191
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2192
+ }
2193
+ response_data = self.api_client.call_api(
2194
+ *_param,
2195
+ _request_timeout=_request_timeout
2196
+ )
2197
+ response_data.read()
2198
+ return self.api_client.response_deserialize(
2199
+ response_data=response_data,
2200
+ response_types_map=_response_types_map,
2201
+ )
2202
+
2203
+
2204
+ @validate_call
2205
+ def remove_excluded_sources_without_preload_content(
2206
+ self,
2207
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2208
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2209
+ _request_timeout: Union[
2210
+ None,
2211
+ Annotated[StrictFloat, Field(gt=0)],
2212
+ Tuple[
2213
+ Annotated[StrictFloat, Field(gt=0)],
2214
+ Annotated[StrictFloat, Field(gt=0)]
2215
+ ]
2216
+ ] = None,
2217
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2218
+ _content_type: Optional[StrictStr] = None,
2219
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2220
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2221
+ ) -> RESTResponseType:
2222
+ """Remove excluded sources from a consolidated analytics tenants
2223
+
2224
+ Remove excluded sources from the list of excluded sources for a consolidated analytics tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2225
+
2226
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2227
+ :type tenant_id: str
2228
+ :param admin_excluded_sources_body: (required)
2229
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2230
+ :param _request_timeout: timeout setting for this request. If one
2231
+ number provided, it will be total request
2232
+ timeout. It can also be a pair (tuple) of
2233
+ (connection, read) timeouts.
2234
+ :type _request_timeout: int, tuple(int, int), optional
2235
+ :param _request_auth: set to override the auth_settings for an a single
2236
+ request; this effectively ignores the
2237
+ authentication in the spec for a single request.
2238
+ :type _request_auth: dict, optional
2239
+ :param _content_type: force content-type for the request.
2240
+ :type _content_type: str, Optional
2241
+ :param _headers: set to override the headers for a single
2242
+ request; this effectively ignores the headers
2243
+ in the spec for a single request.
2244
+ :type _headers: dict, optional
2245
+ :param _host_index: set to override the host_index for a single
2246
+ request; this effectively ignores the host_index
2247
+ in the spec for a single request.
2248
+ :type _host_index: int, optional
2249
+ :return: Returns the result object.
2250
+ """ # noqa: E501
2251
+
2252
+ _param = self._remove_excluded_sources_serialize(
2253
+ tenant_id=tenant_id,
2254
+ admin_excluded_sources_body=admin_excluded_sources_body,
2255
+ _request_auth=_request_auth,
2256
+ _content_type=_content_type,
2257
+ _headers=_headers,
2258
+ _host_index=_host_index
2259
+ )
2260
+
2261
+ _response_types_map: Dict[str, Optional[str]] = {
2262
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2263
+ }
2264
+ response_data = self.api_client.call_api(
2265
+ *_param,
2266
+ _request_timeout=_request_timeout
2267
+ )
2268
+ return response_data.response
2269
+
2270
+
2271
+ def _remove_excluded_sources_serialize(
2272
+ self,
2273
+ tenant_id,
2274
+ admin_excluded_sources_body,
2275
+ _request_auth,
2276
+ _content_type,
2277
+ _headers,
2278
+ _host_index,
2279
+ ) -> RequestSerialized:
2280
+
2281
+ _host = None
2282
+
2283
+ _collection_formats: Dict[str, str] = {
2284
+ }
2285
+
2286
+ _path_params: Dict[str, str] = {}
2287
+ _query_params: List[Tuple[str, str]] = []
2288
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2289
+ _form_params: List[Tuple[str, str]] = []
2290
+ _files: Dict[
2291
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2292
+ ] = {}
2293
+ _body_params: Optional[bytes] = None
2294
+
2295
+ # process the path parameters
2296
+ if tenant_id is not None:
2297
+ _path_params['tenantId'] = tenant_id
2298
+ # process the query parameters
2299
+ # process the header parameters
2300
+ # process the form parameters
2301
+ # process the body parameter
2302
+ if admin_excluded_sources_body is not None:
2303
+ _body_params = admin_excluded_sources_body
2304
+
2305
+
2306
+ # set the HTTP header `Accept`
2307
+ if 'Accept' not in _header_params:
2308
+ _header_params['Accept'] = self.api_client.select_header_accept(
2309
+ [
2310
+ 'application/json'
2311
+ ]
2312
+ )
2313
+
2314
+ # set the HTTP header `Content-Type`
2315
+ if _content_type:
2316
+ _header_params['Content-Type'] = _content_type
2317
+ else:
2318
+ _default_content_type = (
2319
+ self.api_client.select_header_content_type(
2320
+ [
2321
+ 'application/json'
2322
+ ]
2323
+ )
2324
+ )
2325
+ if _default_content_type is not None:
2326
+ _header_params['Content-Type'] = _default_content_type
2327
+
2328
+ # authentication setting
2329
+ _auth_settings: List[str] = [
2330
+ 'CookieAuth',
2331
+ 'ApiKeyAuth',
2332
+ 'OAuth2Auth',
2333
+ 'OAuth2Auth',
2334
+ 'BearerAuth'
2335
+ ]
2336
+
2337
+ return self.api_client.param_serialize(
2338
+ method='DELETE',
2339
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/excluded-sources',
2340
+ path_params=_path_params,
2341
+ query_params=_query_params,
2342
+ header_params=_header_params,
2343
+ body=_body_params,
2344
+ post_params=_form_params,
2345
+ files=_files,
2346
+ auth_settings=_auth_settings,
2347
+ collection_formats=_collection_formats,
2348
+ _host=_host,
2349
+ _request_auth=_request_auth
2350
+ )
2351
+
2352
+
2353
+
2354
+
2355
+ @validate_call
2356
+ def remove_source_tenants(
2357
+ self,
2358
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2359
+ admin_tenant_code_body: AdminTenantCodeBody,
2360
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
2361
+ _request_timeout: Union[
2362
+ None,
2363
+ Annotated[StrictFloat, Field(gt=0)],
2364
+ Tuple[
2365
+ Annotated[StrictFloat, Field(gt=0)],
2366
+ Annotated[StrictFloat, Field(gt=0)]
2367
+ ]
2368
+ ] = None,
2369
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2370
+ _content_type: Optional[StrictStr] = None,
2371
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2372
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2373
+ ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO:
2374
+ """Remove source tenants from a consolidated analytics tenants
2375
+
2376
+ Remove source tenants from the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2377
+
2378
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2379
+ :type tenant_id: str
2380
+ :param admin_tenant_code_body: (required)
2381
+ :type admin_tenant_code_body: AdminTenantCodeBody
2382
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
2383
+ :type limit: int
2384
+ :param _request_timeout: timeout setting for this request. If one
2385
+ number provided, it will be total request
2386
+ timeout. It can also be a pair (tuple) of
2387
+ (connection, read) timeouts.
2388
+ :type _request_timeout: int, tuple(int, int), optional
2389
+ :param _request_auth: set to override the auth_settings for an a single
2390
+ request; this effectively ignores the
2391
+ authentication in the spec for a single request.
2392
+ :type _request_auth: dict, optional
2393
+ :param _content_type: force content-type for the request.
2394
+ :type _content_type: str, Optional
2395
+ :param _headers: set to override the headers for a single
2396
+ request; this effectively ignores the headers
2397
+ in the spec for a single request.
2398
+ :type _headers: dict, optional
2399
+ :param _host_index: set to override the host_index for a single
2400
+ request; this effectively ignores the host_index
2401
+ in the spec for a single request.
2402
+ :type _host_index: int, optional
2403
+ :return: Returns the result object.
2404
+ """ # noqa: E501
2405
+
2406
+ _param = self._remove_source_tenants_serialize(
2407
+ tenant_id=tenant_id,
2408
+ admin_tenant_code_body=admin_tenant_code_body,
2409
+ limit=limit,
2410
+ _request_auth=_request_auth,
2411
+ _content_type=_content_type,
2412
+ _headers=_headers,
2413
+ _host_index=_host_index
2414
+ )
2415
+
2416
+ _response_types_map: Dict[str, Optional[str]] = {
2417
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
2418
+ }
2419
+ response_data = self.api_client.call_api(
2420
+ *_param,
2421
+ _request_timeout=_request_timeout
2422
+ )
2423
+ response_data.read()
2424
+ return self.api_client.response_deserialize(
2425
+ response_data=response_data,
2426
+ response_types_map=_response_types_map,
2427
+ ).data
2428
+
2429
+
2430
+ @validate_call
2431
+ def remove_source_tenants_with_http_info(
2432
+ self,
2433
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2434
+ admin_tenant_code_body: AdminTenantCodeBody,
2435
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
2436
+ _request_timeout: Union[
2437
+ None,
2438
+ Annotated[StrictFloat, Field(gt=0)],
2439
+ Tuple[
2440
+ Annotated[StrictFloat, Field(gt=0)],
2441
+ Annotated[StrictFloat, Field(gt=0)]
2442
+ ]
2443
+ ] = None,
2444
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2445
+ _content_type: Optional[StrictStr] = None,
2446
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2447
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2448
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]:
2449
+ """Remove source tenants from a consolidated analytics tenants
2450
+
2451
+ Remove source tenants from the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2452
+
2453
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2454
+ :type tenant_id: str
2455
+ :param admin_tenant_code_body: (required)
2456
+ :type admin_tenant_code_body: AdminTenantCodeBody
2457
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
2458
+ :type limit: int
2459
+ :param _request_timeout: timeout setting for this request. If one
2460
+ number provided, it will be total request
2461
+ timeout. It can also be a pair (tuple) of
2462
+ (connection, read) timeouts.
2463
+ :type _request_timeout: int, tuple(int, int), optional
2464
+ :param _request_auth: set to override the auth_settings for an a single
2465
+ request; this effectively ignores the
2466
+ authentication in the spec for a single request.
2467
+ :type _request_auth: dict, optional
2468
+ :param _content_type: force content-type for the request.
2469
+ :type _content_type: str, Optional
2470
+ :param _headers: set to override the headers for a single
2471
+ request; this effectively ignores the headers
2472
+ in the spec for a single request.
2473
+ :type _headers: dict, optional
2474
+ :param _host_index: set to override the host_index for a single
2475
+ request; this effectively ignores the host_index
2476
+ in the spec for a single request.
2477
+ :type _host_index: int, optional
2478
+ :return: Returns the result object.
2479
+ """ # noqa: E501
2480
+
2481
+ _param = self._remove_source_tenants_serialize(
2482
+ tenant_id=tenant_id,
2483
+ admin_tenant_code_body=admin_tenant_code_body,
2484
+ limit=limit,
2485
+ _request_auth=_request_auth,
2486
+ _content_type=_content_type,
2487
+ _headers=_headers,
2488
+ _host_index=_host_index
2489
+ )
2490
+
2491
+ _response_types_map: Dict[str, Optional[str]] = {
2492
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
2493
+ }
2494
+ response_data = self.api_client.call_api(
2495
+ *_param,
2496
+ _request_timeout=_request_timeout
2497
+ )
2498
+ response_data.read()
2499
+ return self.api_client.response_deserialize(
2500
+ response_data=response_data,
2501
+ response_types_map=_response_types_map,
2502
+ )
2503
+
2504
+
2505
+ @validate_call
2506
+ def remove_source_tenants_without_preload_content(
2507
+ self,
2508
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2509
+ admin_tenant_code_body: AdminTenantCodeBody,
2510
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
2511
+ _request_timeout: Union[
2512
+ None,
2513
+ Annotated[StrictFloat, Field(gt=0)],
2514
+ Tuple[
2515
+ Annotated[StrictFloat, Field(gt=0)],
2516
+ Annotated[StrictFloat, Field(gt=0)]
2517
+ ]
2518
+ ] = None,
2519
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2520
+ _content_type: Optional[StrictStr] = None,
2521
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2522
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2523
+ ) -> RESTResponseType:
2524
+ """Remove source tenants from a consolidated analytics tenants
2525
+
2526
+ Remove source tenants from the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2527
+
2528
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2529
+ :type tenant_id: str
2530
+ :param admin_tenant_code_body: (required)
2531
+ :type admin_tenant_code_body: AdminTenantCodeBody
2532
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
2533
+ :type limit: int
2534
+ :param _request_timeout: timeout setting for this request. If one
2535
+ number provided, it will be total request
2536
+ timeout. It can also be a pair (tuple) of
2537
+ (connection, read) timeouts.
2538
+ :type _request_timeout: int, tuple(int, int), optional
2539
+ :param _request_auth: set to override the auth_settings for an a single
2540
+ request; this effectively ignores the
2541
+ authentication in the spec for a single request.
2542
+ :type _request_auth: dict, optional
2543
+ :param _content_type: force content-type for the request.
2544
+ :type _content_type: str, Optional
2545
+ :param _headers: set to override the headers for a single
2546
+ request; this effectively ignores the headers
2547
+ in the spec for a single request.
2548
+ :type _headers: dict, optional
2549
+ :param _host_index: set to override the host_index for a single
2550
+ request; this effectively ignores the host_index
2551
+ in the spec for a single request.
2552
+ :type _host_index: int, optional
2553
+ :return: Returns the result object.
2554
+ """ # noqa: E501
2555
+
2556
+ _param = self._remove_source_tenants_serialize(
2557
+ tenant_id=tenant_id,
2558
+ admin_tenant_code_body=admin_tenant_code_body,
2559
+ limit=limit,
2560
+ _request_auth=_request_auth,
2561
+ _content_type=_content_type,
2562
+ _headers=_headers,
2563
+ _host_index=_host_index
2564
+ )
2565
+
2566
+ _response_types_map: Dict[str, Optional[str]] = {
2567
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
2568
+ }
2569
+ response_data = self.api_client.call_api(
2570
+ *_param,
2571
+ _request_timeout=_request_timeout
2572
+ )
2573
+ return response_data.response
2574
+
2575
+
2576
+ def _remove_source_tenants_serialize(
2577
+ self,
2578
+ tenant_id,
2579
+ admin_tenant_code_body,
2580
+ limit,
2581
+ _request_auth,
2582
+ _content_type,
2583
+ _headers,
2584
+ _host_index,
2585
+ ) -> RequestSerialized:
2586
+
2587
+ _host = None
2588
+
2589
+ _collection_formats: Dict[str, str] = {
2590
+ }
2591
+
2592
+ _path_params: Dict[str, str] = {}
2593
+ _query_params: List[Tuple[str, str]] = []
2594
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2595
+ _form_params: List[Tuple[str, str]] = []
2596
+ _files: Dict[
2597
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2598
+ ] = {}
2599
+ _body_params: Optional[bytes] = None
2600
+
2601
+ # process the path parameters
2602
+ if tenant_id is not None:
2603
+ _path_params['tenantId'] = tenant_id
2604
+ # process the query parameters
2605
+ if limit is not None:
2606
+
2607
+ _query_params.append(('limit', limit))
2608
+
2609
+ # process the header parameters
2610
+ # process the form parameters
2611
+ # process the body parameter
2612
+ if admin_tenant_code_body is not None:
2613
+ _body_params = admin_tenant_code_body
2614
+
2615
+
2616
+ # set the HTTP header `Accept`
2617
+ if 'Accept' not in _header_params:
2618
+ _header_params['Accept'] = self.api_client.select_header_accept(
2619
+ [
2620
+ 'application/json'
2621
+ ]
2622
+ )
2623
+
2624
+ # set the HTTP header `Content-Type`
2625
+ if _content_type:
2626
+ _header_params['Content-Type'] = _content_type
2627
+ else:
2628
+ _default_content_type = (
2629
+ self.api_client.select_header_content_type(
2630
+ [
2631
+ 'application/json'
2632
+ ]
2633
+ )
2634
+ )
2635
+ if _default_content_type is not None:
2636
+ _header_params['Content-Type'] = _default_content_type
2637
+
2638
+ # authentication setting
2639
+ _auth_settings: List[str] = [
2640
+ 'CookieAuth',
2641
+ 'ApiKeyAuth',
2642
+ 'OAuth2Auth',
2643
+ 'OAuth2Auth',
2644
+ 'BearerAuth'
2645
+ ]
2646
+
2647
+ return self.api_client.param_serialize(
2648
+ method='DELETE',
2649
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/source-tenants',
2650
+ path_params=_path_params,
2651
+ query_params=_query_params,
2652
+ header_params=_header_params,
2653
+ body=_body_params,
2654
+ post_params=_form_params,
2655
+ files=_files,
2656
+ auth_settings=_auth_settings,
2657
+ collection_formats=_collection_formats,
2658
+ _host=_host,
2659
+ _request_auth=_request_auth
2660
+ )
2661
+
2662
+
2663
+
2664
+
2665
+ @validate_call
2666
+ def set_excluded_sources(
2667
+ self,
2668
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2669
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2670
+ _request_timeout: Union[
2671
+ None,
2672
+ Annotated[StrictFloat, Field(gt=0)],
2673
+ Tuple[
2674
+ Annotated[StrictFloat, Field(gt=0)],
2675
+ Annotated[StrictFloat, Field(gt=0)]
2676
+ ]
2677
+ ] = None,
2678
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2679
+ _content_type: Optional[StrictStr] = None,
2680
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2681
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2682
+ ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO:
2683
+ """Set a consolidated analytics tenant's excluded sources
2684
+
2685
+ Define the excluded sources for a consolidated analytics tenant. After you create a CA tenant, you may optionally define a list of excluded sources. The excluded sources are the sources whose data is excluded from the CA tenant. You can also use this API to replace the list of excluded sources for an existing CA tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2686
+
2687
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2688
+ :type tenant_id: str
2689
+ :param admin_excluded_sources_body: (required)
2690
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2691
+ :param _request_timeout: timeout setting for this request. If one
2692
+ number provided, it will be total request
2693
+ timeout. It can also be a pair (tuple) of
2694
+ (connection, read) timeouts.
2695
+ :type _request_timeout: int, tuple(int, int), optional
2696
+ :param _request_auth: set to override the auth_settings for an a single
2697
+ request; this effectively ignores the
2698
+ authentication in the spec for a single request.
2699
+ :type _request_auth: dict, optional
2700
+ :param _content_type: force content-type for the request.
2701
+ :type _content_type: str, Optional
2702
+ :param _headers: set to override the headers for a single
2703
+ request; this effectively ignores the headers
2704
+ in the spec for a single request.
2705
+ :type _headers: dict, optional
2706
+ :param _host_index: set to override the host_index for a single
2707
+ request; this effectively ignores the host_index
2708
+ in the spec for a single request.
2709
+ :type _host_index: int, optional
2710
+ :return: Returns the result object.
2711
+ """ # noqa: E501
2712
+
2713
+ _param = self._set_excluded_sources_serialize(
2714
+ tenant_id=tenant_id,
2715
+ admin_excluded_sources_body=admin_excluded_sources_body,
2716
+ _request_auth=_request_auth,
2717
+ _content_type=_content_type,
2718
+ _headers=_headers,
2719
+ _host_index=_host_index
2720
+ )
2721
+
2722
+ _response_types_map: Dict[str, Optional[str]] = {
2723
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2724
+ }
2725
+ response_data = self.api_client.call_api(
2726
+ *_param,
2727
+ _request_timeout=_request_timeout
2728
+ )
2729
+ response_data.read()
2730
+ return self.api_client.response_deserialize(
2731
+ response_data=response_data,
2732
+ response_types_map=_response_types_map,
2733
+ ).data
2734
+
2735
+
2736
+ @validate_call
2737
+ def set_excluded_sources_with_http_info(
2738
+ self,
2739
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2740
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2741
+ _request_timeout: Union[
2742
+ None,
2743
+ Annotated[StrictFloat, Field(gt=0)],
2744
+ Tuple[
2745
+ Annotated[StrictFloat, Field(gt=0)],
2746
+ Annotated[StrictFloat, Field(gt=0)]
2747
+ ]
2748
+ ] = None,
2749
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2750
+ _content_type: Optional[StrictStr] = None,
2751
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2752
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2753
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]:
2754
+ """Set a consolidated analytics tenant's excluded sources
2755
+
2756
+ Define the excluded sources for a consolidated analytics tenant. After you create a CA tenant, you may optionally define a list of excluded sources. The excluded sources are the sources whose data is excluded from the CA tenant. You can also use this API to replace the list of excluded sources for an existing CA tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2757
+
2758
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2759
+ :type tenant_id: str
2760
+ :param admin_excluded_sources_body: (required)
2761
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2762
+ :param _request_timeout: timeout setting for this request. If one
2763
+ number provided, it will be total request
2764
+ timeout. It can also be a pair (tuple) of
2765
+ (connection, read) timeouts.
2766
+ :type _request_timeout: int, tuple(int, int), optional
2767
+ :param _request_auth: set to override the auth_settings for an a single
2768
+ request; this effectively ignores the
2769
+ authentication in the spec for a single request.
2770
+ :type _request_auth: dict, optional
2771
+ :param _content_type: force content-type for the request.
2772
+ :type _content_type: str, Optional
2773
+ :param _headers: set to override the headers for a single
2774
+ request; this effectively ignores the headers
2775
+ in the spec for a single request.
2776
+ :type _headers: dict, optional
2777
+ :param _host_index: set to override the host_index for a single
2778
+ request; this effectively ignores the host_index
2779
+ in the spec for a single request.
2780
+ :type _host_index: int, optional
2781
+ :return: Returns the result object.
2782
+ """ # noqa: E501
2783
+
2784
+ _param = self._set_excluded_sources_serialize(
2785
+ tenant_id=tenant_id,
2786
+ admin_excluded_sources_body=admin_excluded_sources_body,
2787
+ _request_auth=_request_auth,
2788
+ _content_type=_content_type,
2789
+ _headers=_headers,
2790
+ _host_index=_host_index
2791
+ )
2792
+
2793
+ _response_types_map: Dict[str, Optional[str]] = {
2794
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2795
+ }
2796
+ response_data = self.api_client.call_api(
2797
+ *_param,
2798
+ _request_timeout=_request_timeout
2799
+ )
2800
+ response_data.read()
2801
+ return self.api_client.response_deserialize(
2802
+ response_data=response_data,
2803
+ response_types_map=_response_types_map,
2804
+ )
2805
+
2806
+
2807
+ @validate_call
2808
+ def set_excluded_sources_without_preload_content(
2809
+ self,
2810
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2811
+ admin_excluded_sources_body: AdminExcludedSourcesBody,
2812
+ _request_timeout: Union[
2813
+ None,
2814
+ Annotated[StrictFloat, Field(gt=0)],
2815
+ Tuple[
2816
+ Annotated[StrictFloat, Field(gt=0)],
2817
+ Annotated[StrictFloat, Field(gt=0)]
2818
+ ]
2819
+ ] = None,
2820
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2821
+ _content_type: Optional[StrictStr] = None,
2822
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2823
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2824
+ ) -> RESTResponseType:
2825
+ """Set a consolidated analytics tenant's excluded sources
2826
+
2827
+ Define the excluded sources for a consolidated analytics tenant. After you create a CA tenant, you may optionally define a list of excluded sources. The excluded sources are the sources whose data is excluded from the CA tenant. You can also use this API to replace the list of excluded sources for an existing CA tenant. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2828
+
2829
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2830
+ :type tenant_id: str
2831
+ :param admin_excluded_sources_body: (required)
2832
+ :type admin_excluded_sources_body: AdminExcludedSourcesBody
2833
+ :param _request_timeout: timeout setting for this request. If one
2834
+ number provided, it will be total request
2835
+ timeout. It can also be a pair (tuple) of
2836
+ (connection, read) timeouts.
2837
+ :type _request_timeout: int, tuple(int, int), optional
2838
+ :param _request_auth: set to override the auth_settings for an a single
2839
+ request; this effectively ignores the
2840
+ authentication in the spec for a single request.
2841
+ :type _request_auth: dict, optional
2842
+ :param _content_type: force content-type for the request.
2843
+ :type _content_type: str, Optional
2844
+ :param _headers: set to override the headers for a single
2845
+ request; this effectively ignores the headers
2846
+ in the spec for a single request.
2847
+ :type _headers: dict, optional
2848
+ :param _host_index: set to override the host_index for a single
2849
+ request; this effectively ignores the host_index
2850
+ in the spec for a single request.
2851
+ :type _host_index: int, optional
2852
+ :return: Returns the result object.
2853
+ """ # noqa: E501
2854
+
2855
+ _param = self._set_excluded_sources_serialize(
2856
+ tenant_id=tenant_id,
2857
+ admin_excluded_sources_body=admin_excluded_sources_body,
2858
+ _request_auth=_request_auth,
2859
+ _content_type=_content_type,
2860
+ _headers=_headers,
2861
+ _host_index=_host_index
2862
+ )
2863
+
2864
+ _response_types_map: Dict[str, Optional[str]] = {
2865
+ '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO",
2866
+ }
2867
+ response_data = self.api_client.call_api(
2868
+ *_param,
2869
+ _request_timeout=_request_timeout
2870
+ )
2871
+ return response_data.response
2872
+
2873
+
2874
+ def _set_excluded_sources_serialize(
2875
+ self,
2876
+ tenant_id,
2877
+ admin_excluded_sources_body,
2878
+ _request_auth,
2879
+ _content_type,
2880
+ _headers,
2881
+ _host_index,
2882
+ ) -> RequestSerialized:
2883
+
2884
+ _host = None
2885
+
2886
+ _collection_formats: Dict[str, str] = {
2887
+ }
2888
+
2889
+ _path_params: Dict[str, str] = {}
2890
+ _query_params: List[Tuple[str, str]] = []
2891
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2892
+ _form_params: List[Tuple[str, str]] = []
2893
+ _files: Dict[
2894
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2895
+ ] = {}
2896
+ _body_params: Optional[bytes] = None
2897
+
2898
+ # process the path parameters
2899
+ if tenant_id is not None:
2900
+ _path_params['tenantId'] = tenant_id
2901
+ # process the query parameters
2902
+ # process the header parameters
2903
+ # process the form parameters
2904
+ # process the body parameter
2905
+ if admin_excluded_sources_body is not None:
2906
+ _body_params = admin_excluded_sources_body
2907
+
2908
+
2909
+ # set the HTTP header `Accept`
2910
+ if 'Accept' not in _header_params:
2911
+ _header_params['Accept'] = self.api_client.select_header_accept(
2912
+ [
2913
+ 'application/json'
2914
+ ]
2915
+ )
2916
+
2917
+ # set the HTTP header `Content-Type`
2918
+ if _content_type:
2919
+ _header_params['Content-Type'] = _content_type
2920
+ else:
2921
+ _default_content_type = (
2922
+ self.api_client.select_header_content_type(
2923
+ [
2924
+ 'application/json'
2925
+ ]
2926
+ )
2927
+ )
2928
+ if _default_content_type is not None:
2929
+ _header_params['Content-Type'] = _default_content_type
2930
+
2931
+ # authentication setting
2932
+ _auth_settings: List[str] = [
2933
+ 'CookieAuth',
2934
+ 'ApiKeyAuth',
2935
+ 'OAuth2Auth',
2936
+ 'OAuth2Auth',
2937
+ 'BearerAuth'
2938
+ ]
2939
+
2940
+ return self.api_client.param_serialize(
2941
+ method='PUT',
2942
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/excluded-sources',
2943
+ path_params=_path_params,
2944
+ query_params=_query_params,
2945
+ header_params=_header_params,
2946
+ body=_body_params,
2947
+ post_params=_form_params,
2948
+ files=_files,
2949
+ auth_settings=_auth_settings,
2950
+ collection_formats=_collection_formats,
2951
+ _host=_host,
2952
+ _request_auth=_request_auth
2953
+ )
2954
+
2955
+
2956
+
2957
+
2958
+ @validate_call
2959
+ def set_source_tenants(
2960
+ self,
2961
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
2962
+ admin_tenant_code_body: AdminTenantCodeBody,
2963
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
2964
+ _request_timeout: Union[
2965
+ None,
2966
+ Annotated[StrictFloat, Field(gt=0)],
2967
+ Tuple[
2968
+ Annotated[StrictFloat, Field(gt=0)],
2969
+ Annotated[StrictFloat, Field(gt=0)]
2970
+ ]
2971
+ ] = None,
2972
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2973
+ _content_type: Optional[StrictStr] = None,
2974
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2975
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2976
+ ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO:
2977
+ """Set a consolidated analytics tenant's source tenants
2978
+
2979
+ Define the source tenants for a consolidated analytics tenant. After you create a CA tenant, you must define a list of its source tenants. The source tenants are the tenants whose data is aggregated in the CA tenant. You can also use this API to replace the list of source tenants for an existing CA tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2980
+
2981
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
2982
+ :type tenant_id: str
2983
+ :param admin_tenant_code_body: (required)
2984
+ :type admin_tenant_code_body: AdminTenantCodeBody
2985
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
2986
+ :type limit: int
2987
+ :param _request_timeout: timeout setting for this request. If one
2988
+ number provided, it will be total request
2989
+ timeout. It can also be a pair (tuple) of
2990
+ (connection, read) timeouts.
2991
+ :type _request_timeout: int, tuple(int, int), optional
2992
+ :param _request_auth: set to override the auth_settings for an a single
2993
+ request; this effectively ignores the
2994
+ authentication in the spec for a single request.
2995
+ :type _request_auth: dict, optional
2996
+ :param _content_type: force content-type for the request.
2997
+ :type _content_type: str, Optional
2998
+ :param _headers: set to override the headers for a single
2999
+ request; this effectively ignores the headers
3000
+ in the spec for a single request.
3001
+ :type _headers: dict, optional
3002
+ :param _host_index: set to override the host_index for a single
3003
+ request; this effectively ignores the host_index
3004
+ in the spec for a single request.
3005
+ :type _host_index: int, optional
3006
+ :return: Returns the result object.
3007
+ """ # noqa: E501
3008
+
3009
+ _param = self._set_source_tenants_serialize(
3010
+ tenant_id=tenant_id,
3011
+ admin_tenant_code_body=admin_tenant_code_body,
3012
+ limit=limit,
3013
+ _request_auth=_request_auth,
3014
+ _content_type=_content_type,
3015
+ _headers=_headers,
3016
+ _host_index=_host_index
3017
+ )
3018
+
3019
+ _response_types_map: Dict[str, Optional[str]] = {
3020
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
3021
+ }
3022
+ response_data = self.api_client.call_api(
3023
+ *_param,
3024
+ _request_timeout=_request_timeout
3025
+ )
3026
+ response_data.read()
3027
+ return self.api_client.response_deserialize(
3028
+ response_data=response_data,
3029
+ response_types_map=_response_types_map,
3030
+ ).data
3031
+
3032
+
3033
+ @validate_call
3034
+ def set_source_tenants_with_http_info(
3035
+ self,
3036
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
3037
+ admin_tenant_code_body: AdminTenantCodeBody,
3038
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
3039
+ _request_timeout: Union[
3040
+ None,
3041
+ Annotated[StrictFloat, Field(gt=0)],
3042
+ Tuple[
3043
+ Annotated[StrictFloat, Field(gt=0)],
3044
+ Annotated[StrictFloat, Field(gt=0)]
3045
+ ]
3046
+ ] = None,
3047
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3048
+ _content_type: Optional[StrictStr] = None,
3049
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3050
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3051
+ ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]:
3052
+ """Set a consolidated analytics tenant's source tenants
3053
+
3054
+ Define the source tenants for a consolidated analytics tenant. After you create a CA tenant, you must define a list of its source tenants. The source tenants are the tenants whose data is aggregated in the CA tenant. You can also use this API to replace the list of source tenants for an existing CA tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
3055
+
3056
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
3057
+ :type tenant_id: str
3058
+ :param admin_tenant_code_body: (required)
3059
+ :type admin_tenant_code_body: AdminTenantCodeBody
3060
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
3061
+ :type limit: int
3062
+ :param _request_timeout: timeout setting for this request. If one
3063
+ number provided, it will be total request
3064
+ timeout. It can also be a pair (tuple) of
3065
+ (connection, read) timeouts.
3066
+ :type _request_timeout: int, tuple(int, int), optional
3067
+ :param _request_auth: set to override the auth_settings for an a single
3068
+ request; this effectively ignores the
3069
+ authentication in the spec for a single request.
3070
+ :type _request_auth: dict, optional
3071
+ :param _content_type: force content-type for the request.
3072
+ :type _content_type: str, Optional
3073
+ :param _headers: set to override the headers for a single
3074
+ request; this effectively ignores the headers
3075
+ in the spec for a single request.
3076
+ :type _headers: dict, optional
3077
+ :param _host_index: set to override the host_index for a single
3078
+ request; this effectively ignores the host_index
3079
+ in the spec for a single request.
3080
+ :type _host_index: int, optional
3081
+ :return: Returns the result object.
3082
+ """ # noqa: E501
3083
+
3084
+ _param = self._set_source_tenants_serialize(
3085
+ tenant_id=tenant_id,
3086
+ admin_tenant_code_body=admin_tenant_code_body,
3087
+ limit=limit,
3088
+ _request_auth=_request_auth,
3089
+ _content_type=_content_type,
3090
+ _headers=_headers,
3091
+ _host_index=_host_index
3092
+ )
3093
+
3094
+ _response_types_map: Dict[str, Optional[str]] = {
3095
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
3096
+ }
3097
+ response_data = self.api_client.call_api(
3098
+ *_param,
3099
+ _request_timeout=_request_timeout
3100
+ )
3101
+ response_data.read()
3102
+ return self.api_client.response_deserialize(
3103
+ response_data=response_data,
3104
+ response_types_map=_response_types_map,
3105
+ )
3106
+
3107
+
3108
+ @validate_call
3109
+ def set_source_tenants_without_preload_content(
3110
+ self,
3111
+ tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")],
3112
+ admin_tenant_code_body: AdminTenantCodeBody,
3113
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None,
3114
+ _request_timeout: Union[
3115
+ None,
3116
+ Annotated[StrictFloat, Field(gt=0)],
3117
+ Tuple[
3118
+ Annotated[StrictFloat, Field(gt=0)],
3119
+ Annotated[StrictFloat, Field(gt=0)]
3120
+ ]
3121
+ ] = None,
3122
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3123
+ _content_type: Optional[StrictStr] = None,
3124
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3125
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3126
+ ) -> RESTResponseType:
3127
+ """Set a consolidated analytics tenant's source tenants
3128
+
3129
+ Define the source tenants for a consolidated analytics tenant. After you create a CA tenant, you must define a list of its source tenants. The source tenants are the tenants whose data is aggregated in the CA tenant. You can also use this API to replace the list of source tenants for an existing CA tenant. If successful, the response returns an updated list of source tenants. <br>**Note:** <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
3130
+
3131
+ :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required)
3132
+ :type tenant_id: str
3133
+ :param admin_tenant_code_body: (required)
3134
+ :type admin_tenant_code_body: AdminTenantCodeBody
3135
+ :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400.
3136
+ :type limit: int
3137
+ :param _request_timeout: timeout setting for this request. If one
3138
+ number provided, it will be total request
3139
+ timeout. It can also be a pair (tuple) of
3140
+ (connection, read) timeouts.
3141
+ :type _request_timeout: int, tuple(int, int), optional
3142
+ :param _request_auth: set to override the auth_settings for an a single
3143
+ request; this effectively ignores the
3144
+ authentication in the spec for a single request.
3145
+ :type _request_auth: dict, optional
3146
+ :param _content_type: force content-type for the request.
3147
+ :type _content_type: str, Optional
3148
+ :param _headers: set to override the headers for a single
3149
+ request; this effectively ignores the headers
3150
+ in the spec for a single request.
3151
+ :type _headers: dict, optional
3152
+ :param _host_index: set to override the host_index for a single
3153
+ request; this effectively ignores the host_index
3154
+ in the spec for a single request.
3155
+ :type _host_index: int, optional
3156
+ :return: Returns the result object.
3157
+ """ # noqa: E501
3158
+
3159
+ _param = self._set_source_tenants_serialize(
3160
+ tenant_id=tenant_id,
3161
+ admin_tenant_code_body=admin_tenant_code_body,
3162
+ limit=limit,
3163
+ _request_auth=_request_auth,
3164
+ _content_type=_content_type,
3165
+ _headers=_headers,
3166
+ _host_index=_host_index
3167
+ )
3168
+
3169
+ _response_types_map: Dict[str, Optional[str]] = {
3170
+ '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO",
3171
+ }
3172
+ response_data = self.api_client.call_api(
3173
+ *_param,
3174
+ _request_timeout=_request_timeout
3175
+ )
3176
+ return response_data.response
3177
+
3178
+
3179
+ def _set_source_tenants_serialize(
3180
+ self,
3181
+ tenant_id,
3182
+ admin_tenant_code_body,
3183
+ limit,
3184
+ _request_auth,
3185
+ _content_type,
3186
+ _headers,
3187
+ _host_index,
3188
+ ) -> RequestSerialized:
3189
+
3190
+ _host = None
3191
+
3192
+ _collection_formats: Dict[str, str] = {
3193
+ }
3194
+
3195
+ _path_params: Dict[str, str] = {}
3196
+ _query_params: List[Tuple[str, str]] = []
3197
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3198
+ _form_params: List[Tuple[str, str]] = []
3199
+ _files: Dict[
3200
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3201
+ ] = {}
3202
+ _body_params: Optional[bytes] = None
3203
+
3204
+ # process the path parameters
3205
+ if tenant_id is not None:
3206
+ _path_params['tenantId'] = tenant_id
3207
+ # process the query parameters
3208
+ if limit is not None:
3209
+
3210
+ _query_params.append(('limit', limit))
3211
+
3212
+ # process the header parameters
3213
+ # process the form parameters
3214
+ # process the body parameter
3215
+ if admin_tenant_code_body is not None:
3216
+ _body_params = admin_tenant_code_body
3217
+
3218
+
3219
+ # set the HTTP header `Accept`
3220
+ if 'Accept' not in _header_params:
3221
+ _header_params['Accept'] = self.api_client.select_header_accept(
3222
+ [
3223
+ 'application/json'
3224
+ ]
3225
+ )
3226
+
3227
+ # set the HTTP header `Content-Type`
3228
+ if _content_type:
3229
+ _header_params['Content-Type'] = _content_type
3230
+ else:
3231
+ _default_content_type = (
3232
+ self.api_client.select_header_content_type(
3233
+ [
3234
+ 'application/json'
3235
+ ]
3236
+ )
3237
+ )
3238
+ if _default_content_type is not None:
3239
+ _header_params['Content-Type'] = _default_content_type
3240
+
3241
+ # authentication setting
3242
+ _auth_settings: List[str] = [
3243
+ 'CookieAuth',
3244
+ 'ApiKeyAuth',
3245
+ 'OAuth2Auth',
3246
+ 'OAuth2Auth',
3247
+ 'BearerAuth'
3248
+ ]
3249
+
3250
+ return self.api_client.param_serialize(
3251
+ method='PUT',
3252
+ resource_path='/v1alpha/admin/consolidated-analytics/tenants/{tenantId}/source-tenants',
3253
+ path_params=_path_params,
3254
+ query_params=_query_params,
3255
+ header_params=_header_params,
3256
+ body=_body_params,
3257
+ post_params=_form_params,
3258
+ files=_files,
3259
+ auth_settings=_auth_settings,
3260
+ collection_formats=_collection_formats,
3261
+ _host=_host,
3262
+ _request_auth=_request_auth
3263
+ )
3264
+
3265
+