gooddata-api-client 1.3.1.dev5__py3-none-any.whl → 1.4.1.dev1__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.
- gooddata_api_client/__init__.py +1 -1
- gooddata_api_client/api/actions_api.py +155 -154
- gooddata_api_client/api/analytics_model_api.py +12 -0
- gooddata_api_client/api/api_tokens_api.py +4 -4
- gooddata_api_client/api/appearance_api.py +12 -12
- gooddata_api_client/api/attributes_api.py +2 -2
- gooddata_api_client/api/available_drivers_api.py +2 -2
- gooddata_api_client/api/computation_api.py +2 -1
- gooddata_api_client/api/context_filters_api.py +17 -16
- gooddata_api_client/api/cookie_security_configuration_api.py +3 -3
- gooddata_api_client/api/csp_directives_api.py +12 -6
- gooddata_api_client/api/dashboards_api.py +32 -16
- gooddata_api_client/api/data_filters_api.py +688 -40
- gooddata_api_client/api/data_source_entity_apis_api.py +14 -8
- gooddata_api_client/api/datasets_api.py +4 -2
- gooddata_api_client/api/entities_api.py +2308 -325
- gooddata_api_client/api/entitlement_api.py +4 -2
- gooddata_api_client/api/exporting_api.py +467 -0
- gooddata_api_client/api/facts_api.py +2 -2
- gooddata_api_client/api/labels_api.py +2 -2
- gooddata_api_client/api/layout_api.py +48 -0
- gooddata_api_client/api/metrics_api.py +32 -16
- gooddata_api_client/api/organization_controller_api.py +6 -6
- gooddata_api_client/api/organization_declarative_apis_api.py +12 -0
- gooddata_api_client/api/organization_entity_apis_api.py +9 -9
- gooddata_api_client/api/organization_model_controller_api.py +1388 -182
- gooddata_api_client/api/permissions_api.py +435 -0
- gooddata_api_client/api/plugins_api.py +92 -16
- gooddata_api_client/api/user_groups_entity_apis_api.py +12 -6
- gooddata_api_client/api/user_model_controller_api.py +8 -8
- gooddata_api_client/api/user_settings_api.py +4 -4
- gooddata_api_client/api/users_entity_apis_api.py +12 -6
- gooddata_api_client/api/visualization_object_api.py +32 -16
- gooddata_api_client/api/workspace_object_controller_api.py +982 -205
- gooddata_api_client/api/workspaces_declarative_apis_api.py +24 -0
- gooddata_api_client/api/workspaces_entity_apis_api.py +12 -6
- gooddata_api_client/api/workspaces_settings_api.py +34 -32
- gooddata_api_client/api_client.py +1 -1
- gooddata_api_client/apis/__init__.py +1 -0
- gooddata_api_client/apis/path_to_api.py +323 -0
- gooddata_api_client/apis/paths/__init__.py +3 -0
- gooddata_api_client/apis/paths/api_v1_actions_collect_usage.py +9 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_source_test.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_schemata.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_scan_sql.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_test.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_data_sources_data_source_id_upload_notification.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_resolve_entitlements.py +9 -0
- gooddata_api_client/apis/paths/api_v1_actions_resolve_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph.py +9 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities.py +7 -0
- gooddata_api_client/apis/paths/api_v1_actions_workspaces_workspace_id_resolve_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_admin_cookie_security_configurations_id.py +11 -0
- gooddata_api_client/apis/paths/api_v1_entities_admin_organizations_id.py +11 -0
- gooddata_api_client/apis/paths/api_v1_entities_color_palettes.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_color_palettes_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_csp_directives.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_csp_directives_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_source_identifiers_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_sources.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_data_sources_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_entitlements.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_entitlements_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_organization.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_organization_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_organization_settings_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_themes.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_themes_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_user_groups.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_user_groups_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_users.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_users_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_users_user_id_api_tokens_id.py +11 -0
- gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_users_user_id_user_settings_id.py +11 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_facts_object_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_labels_object_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id.py +7 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings.py +9 -0
- gooddata_api_client/apis/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id.py +13 -0
- gooddata_api_client/apis/paths/api_v1_layout_data_sources.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_data_sources_data_source_id_physical_model.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_organization.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_user_groups.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_user_groups_user_group_id_permissions.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_users.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_users_and_user_groups.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_users_user_id_permissions.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspace_data_filters.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_analytics_model.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_logical_model.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_permissions.py +9 -0
- gooddata_api_client/apis/paths/api_v1_layout_workspaces_workspace_id_user_data_filters.py +9 -0
- gooddata_api_client/apis/paths/api_v1_options.py +7 -0
- gooddata_api_client/apis/paths/api_v1_options_available_drivers.py +7 -0
- gooddata_api_client/apis/tag_to_api.py +167 -0
- gooddata_api_client/apis/tags/__init__.py +59 -0
- gooddata_api_client/apis/tags/actions_api.py +90 -0
- gooddata_api_client/apis/tags/analytics_model_api.py +26 -0
- gooddata_api_client/apis/tags/api_tokens_api.py +32 -0
- gooddata_api_client/apis/tags/appearance_api.py +46 -0
- gooddata_api_client/apis/tags/attributes_api.py +26 -0
- gooddata_api_client/apis/tags/available_drivers_api.py +24 -0
- gooddata_api_client/apis/tags/computation_api.py +38 -0
- gooddata_api_client/apis/tags/context_filters_api.py +34 -0
- gooddata_api_client/apis/tags/cookie_security_configuration_api.py +28 -0
- gooddata_api_client/apis/tags/csp_directives_api.py +34 -0
- gooddata_api_client/apis/tags/dashboards_api.py +34 -0
- gooddata_api_client/apis/tags/data_filters_api.py +54 -0
- gooddata_api_client/apis/tags/data_source_declarative_apis_api.py +26 -0
- gooddata_api_client/apis/tags/data_source_entities_controller_api.py +26 -0
- gooddata_api_client/apis/tags/data_source_entity_apis_api.py +42 -0
- gooddata_api_client/apis/tags/datasets_api.py +26 -0
- gooddata_api_client/apis/tags/dependency_graph_api.py +26 -0
- gooddata_api_client/apis/tags/entities_api.py +296 -0
- gooddata_api_client/apis/tags/entitlement_api.py +30 -0
- gooddata_api_client/apis/tags/exporting_api.py +28 -0
- gooddata_api_client/apis/tags/facts_api.py +26 -0
- gooddata_api_client/apis/tags/generate_logical_data_model_api.py +24 -0
- gooddata_api_client/apis/tags/invalidate_cache_api.py +24 -0
- gooddata_api_client/apis/tags/labels_api.py +26 -0
- gooddata_api_client/apis/tags/layout_api.py +82 -0
- gooddata_api_client/apis/tags/ldm_declarative_apis_api.py +26 -0
- gooddata_api_client/apis/tags/metrics_api.py +34 -0
- gooddata_api_client/apis/tags/options_api.py +24 -0
- gooddata_api_client/apis/tags/organization_controller_api.py +34 -0
- gooddata_api_client/apis/tags/organization_declarative_apis_api.py +26 -0
- gooddata_api_client/apis/tags/organization_entity_apis_api.py +42 -0
- gooddata_api_client/apis/tags/organization_model_controller_api.py +126 -0
- gooddata_api_client/apis/tags/pdm_declarative_apis_api.py +26 -0
- gooddata_api_client/apis/tags/permissions_api.py +32 -0
- gooddata_api_client/apis/tags/plugins_api.py +34 -0
- gooddata_api_client/apis/tags/reporting_settings_api.py +26 -0
- gooddata_api_client/apis/tags/scanning_api.py +28 -0
- gooddata_api_client/apis/tags/test_connection_api.py +26 -0
- gooddata_api_client/apis/tags/usage_api.py +26 -0
- gooddata_api_client/apis/tags/user_data_filters_api.py +26 -0
- gooddata_api_client/apis/tags/user_groups_declarative_apis_api.py +30 -0
- gooddata_api_client/apis/tags/user_groups_entity_apis_api.py +34 -0
- gooddata_api_client/apis/tags/user_model_controller_api.py +42 -0
- gooddata_api_client/apis/tags/user_settings_api.py +32 -0
- gooddata_api_client/apis/tags/users_declarative_apis_api.py +26 -0
- gooddata_api_client/apis/tags/users_entity_apis_api.py +34 -0
- gooddata_api_client/apis/tags/visualization_object_api.py +34 -0
- gooddata_api_client/apis/tags/workspace_object_controller_api.py +150 -0
- gooddata_api_client/apis/tags/workspaces_declarative_apis_api.py +30 -0
- gooddata_api_client/apis/tags/workspaces_entity_apis_api.py +34 -0
- gooddata_api_client/apis/tags/workspaces_settings_api.py +50 -0
- gooddata_api_client/configuration.py +1 -1
- gooddata_api_client/model/api_entitlement.py +2 -0
- gooddata_api_client/model/data_source_table_identifier.py +4 -0
- gooddata_api_client/model/dataset_workspace_data_filter_identifier.py +286 -0
- gooddata_api_client/model/declarative_analytical_dashboard.py +30 -2
- gooddata_api_client/model/declarative_color_palette.py +2 -2
- gooddata_api_client/model/declarative_custom_application_setting.py +2 -2
- gooddata_api_client/model/declarative_dashboard_plugin.py +34 -2
- gooddata_api_client/model/declarative_dataset.py +8 -2
- gooddata_api_client/model/declarative_dataset_extension.py +285 -0
- gooddata_api_client/model/declarative_filter_context.py +2 -2
- gooddata_api_client/model/declarative_jwk.py +287 -0
- gooddata_api_client/model/declarative_jwk_specification.py +365 -0
- gooddata_api_client/model/declarative_ldm.py +6 -0
- gooddata_api_client/model/declarative_metric.py +34 -2
- gooddata_api_client/model/declarative_organization.py +6 -0
- gooddata_api_client/model/declarative_reference.py +9 -0
- gooddata_api_client/model/declarative_rsa_specification.py +333 -0
- gooddata_api_client/model/declarative_setting.py +3 -2
- gooddata_api_client/model/declarative_theme.py +2 -2
- gooddata_api_client/model/declarative_user_data_filter.py +5 -5
- gooddata_api_client/model/{user_identifier.py → declarative_user_identifier.py} +3 -3
- gooddata_api_client/model/declarative_visualization_object.py +34 -2
- gooddata_api_client/model/declarative_workspace.py +4 -0
- gooddata_api_client/model/declarative_workspace_data_filter_references.py +297 -0
- gooddata_api_client/model/dependent_entities_node.py +13 -0
- gooddata_api_client/model/entitlements_request.py +2 -0
- gooddata_api_client/model/entity_identifier.py +13 -0
- gooddata_api_client/model/filter_by.py +2 -10
- gooddata_api_client/model/generate_ldm_request.py +4 -0
- gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py +2 -2
- gooddata_api_client/model/json_api_analytical_dashboard_out.py +5 -5
- gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py +294 -0
- gooddata_api_client/model/json_api_analytical_dashboard_out_includes.py +17 -14
- gooddata_api_client/model/json_api_analytical_dashboard_out_relationships.py +10 -0
- gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_created_by.py +276 -0
- gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py +5 -5
- gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py +294 -0
- gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_color_palette_in_attributes.py +2 -2
- gooddata_api_client/model/json_api_color_palette_patch_attributes.py +2 -2
- gooddata_api_client/model/json_api_custom_application_setting_in_attributes.py +2 -2
- gooddata_api_client/model/json_api_custom_application_setting_patch_attributes.py +2 -2
- gooddata_api_client/model/json_api_custom_application_setting_post_optional_id.py +296 -0
- gooddata_api_client/model/json_api_custom_application_setting_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_dashboard_plugin_in_attributes.py +2 -2
- gooddata_api_client/model/json_api_dashboard_plugin_out.py +11 -5
- gooddata_api_client/model/json_api_dashboard_plugin_out_attributes.py +294 -0
- gooddata_api_client/model/json_api_dashboard_plugin_out_document.py +8 -0
- gooddata_api_client/model/json_api_dashboard_plugin_out_list.py +8 -0
- gooddata_api_client/model/json_api_dashboard_plugin_out_relationships.py +274 -0
- gooddata_api_client/model/json_api_dashboard_plugin_out_with_links.py +11 -5
- gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id.py +294 -0
- gooddata_api_client/model/json_api_dashboard_plugin_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_dataset_out_attributes.py +10 -0
- gooddata_api_client/model/json_api_dataset_out_attributes_grain_inner.py +8 -2
- gooddata_api_client/model/json_api_dataset_out_attributes_reference_properties_inner.py +9 -0
- gooddata_api_client/model/json_api_dataset_out_attributes_sql.py +14 -6
- gooddata_api_client/model/json_api_dataset_out_attributes_workspace_data_filter_properties_inner.py +297 -0
- gooddata_api_client/model/json_api_dataset_out_includes.py +16 -13
- gooddata_api_client/model/json_api_dataset_out_relationships.py +6 -0
- gooddata_api_client/model/json_api_dataset_out_relationships_workspace_data_filters.py +276 -0
- gooddata_api_client/model/json_api_filter_context_post_optional_id.py +294 -0
- gooddata_api_client/model/json_api_filter_context_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_jwk_in.py +296 -0
- gooddata_api_client/model/json_api_jwk_in_attributes.py +270 -0
- gooddata_api_client/model/json_api_jwk_in_attributes_content.py +366 -0
- gooddata_api_client/model/json_api_jwk_in_document.py +276 -0
- gooddata_api_client/model/json_api_jwk_out.py +296 -0
- gooddata_api_client/model/json_api_jwk_out_document.py +282 -0
- gooddata_api_client/model/json_api_jwk_out_list.py +284 -0
- gooddata_api_client/model/json_api_jwk_out_with_links.py +349 -0
- gooddata_api_client/model/json_api_jwk_patch.py +296 -0
- gooddata_api_client/model/json_api_jwk_patch_document.py +276 -0
- gooddata_api_client/model/json_api_metric_out.py +5 -5
- gooddata_api_client/model/json_api_metric_out_attributes.py +306 -0
- gooddata_api_client/model/json_api_metric_out_includes.py +7 -4
- gooddata_api_client/model/json_api_metric_out_relationships.py +10 -0
- gooddata_api_client/model/json_api_metric_out_with_links.py +5 -5
- gooddata_api_client/model/json_api_metric_post_optional_id.py +296 -0
- gooddata_api_client/model/json_api_metric_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_organization_out_attributes.py +10 -0
- gooddata_api_client/model/json_api_organization_out_attributes_cache_settings.py +275 -0
- gooddata_api_client/model/json_api_organization_setting_in_attributes.py +3 -2
- gooddata_api_client/model/json_api_user_data_filter_post_optional_id.py +302 -0
- gooddata_api_client/model/json_api_user_data_filter_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_user_identifier_linkage.py +281 -0
- gooddata_api_client/model/json_api_user_identifier_out.py +296 -0
- gooddata_api_client/model/json_api_user_identifier_out_attributes.py +281 -0
- gooddata_api_client/model/json_api_user_identifier_out_document.py +282 -0
- gooddata_api_client/model/json_api_user_identifier_out_list.py +284 -0
- gooddata_api_client/model/json_api_user_identifier_out_with_links.py +349 -0
- gooddata_api_client/model/json_api_user_identifier_to_one_linkage.py +327 -0
- gooddata_api_client/model/json_api_visualization_object_out.py +5 -5
- gooddata_api_client/model/json_api_visualization_object_out_with_links.py +5 -5
- gooddata_api_client/model/json_api_visualization_object_post_optional_id.py +294 -0
- gooddata_api_client/model/json_api_visualization_object_post_optional_id_document.py +276 -0
- gooddata_api_client/model/json_api_workspace_data_filter_setting_in.py +302 -0
- gooddata_api_client/model/{json_api_workspace_data_filter_setting_out_attributes.py → json_api_workspace_data_filter_setting_in_attributes.py} +3 -3
- gooddata_api_client/model/json_api_workspace_data_filter_setting_in_document.py +276 -0
- gooddata_api_client/model/{json_api_workspace_data_filter_setting_out_relationships.py → json_api_workspace_data_filter_setting_in_relationships.py} +8 -8
- gooddata_api_client/model/{json_api_workspace_data_filter_setting_out_relationships_workspace_data_filter.py → json_api_workspace_data_filter_setting_in_relationships_workspace_data_filter.py} +3 -3
- gooddata_api_client/model/json_api_workspace_data_filter_setting_out.py +10 -10
- gooddata_api_client/model/json_api_workspace_data_filter_setting_out_with_links.py +10 -10
- gooddata_api_client/model/json_api_workspace_data_filter_setting_patch.py +302 -0
- gooddata_api_client/model/json_api_workspace_data_filter_setting_patch_document.py +276 -0
- gooddata_api_client/model/json_api_workspace_data_filter_to_many_linkage.py +292 -0
- gooddata_api_client/model/json_api_workspace_in_attributes.py +4 -0
- gooddata_api_client/model/json_api_workspace_out_meta_config.py +6 -22
- gooddata_api_client/model/json_api_workspace_setting_post_optional_id.py +294 -0
- gooddata_api_client/model/json_api_workspace_setting_post_optional_id_document.py +276 -0
- gooddata_api_client/model/pdf_export_request.py +2 -2
- gooddata_api_client/model/pdm_ldm_request.py +6 -0
- gooddata_api_client/model/resolved_setting.py +3 -2
- gooddata_api_client/model/rsa_specification.py +334 -0
- gooddata_api_client/models/__init__.py +57 -4
- gooddata_api_client/paths/__init__.py +111 -0
- gooddata_api_client/paths/api_v1_actions_collect_usage/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_collect_usage/get.py +264 -0
- gooddata_api_client/paths/api_v1_actions_collect_usage/post.py +359 -0
- gooddata_api_client/paths/api_v1_actions_data_source_test/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_source_test/post.py +334 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_generate_logical_model/post.py +391 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan/post.py +401 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_schemata/get.py +303 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_scan_sql/post.py +401 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_test/post.py +401 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_data_sources_data_source_id_upload_notification/post.py +260 -0
- gooddata_api_client/paths/api_v1_actions_resolve_entitlements/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_resolve_entitlements/get.py +264 -0
- gooddata_api_client/paths/api_v1_actions_resolve_entitlements/post.py +359 -0
- gooddata_api_client/paths/api_v1_actions_resolve_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_resolve_settings/get.py +264 -0
- gooddata_api_client/paths/api_v1_actions_resolve_settings/post.py +359 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_available_assignees/get.py +302 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_manage_permissions/post.py +394 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_analytical_dashboards_dashboard_id_permissions/get.py +302 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_check_entity_overrides/post.py +441 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/get.py +293 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_dependent_entities_graph/post.py +391 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_compute_valid_objects/post.py +401 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute/post.py +460 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id/get.py +447 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_execute_result_result_id_metadata/get.py +312 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_afm_explain/post.py +526 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_execution_collect_label_elements/post.py +538 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular/post.py +391 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_tabular_export_id/get.py +356 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual/post.py +391 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id/get.py +349 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_export_visual_export_id_metadata/get.py +298 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_inherited_entity_conflicts/get.py +318 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_overridden_child_entities/get.py +318 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/get.py +318 -0
- gooddata_api_client/paths/api_v1_actions_workspaces_workspace_id_resolve_settings/post.py +416 -0
- gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_admin_cookie_security_configurations_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_admin_organizations_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_admin_organizations_id/get.py +478 -0
- gooddata_api_client/paths/api_v1_entities_admin_organizations_id/patch.py +523 -0
- gooddata_api_client/paths/api_v1_entities_admin_organizations_id/put.py +523 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes/get.py +342 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes/post.py +334 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_color_palettes_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives/get.py +342 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives/post.py +334 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_csp_directives_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_data_source_identifiers/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_source_identifiers/get.py +398 -0
- gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_source_identifiers_id/get.py +413 -0
- gooddata_api_client/paths/api_v1_entities_data_sources/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_sources/get.py +398 -0
- gooddata_api_client/paths/api_v1_entities_data_sources/post.py +438 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables/get.py +395 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_data_source_id_data_source_tables_id/get.py +365 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_id/get.py +413 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_data_sources_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_entitlements/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_entitlements/get.py +342 -0
- gooddata_api_client/paths/api_v1_entities_entitlements_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_entitlements_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_organization/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_organization/get.py +296 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings/get.py +342 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings/post.py +334 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_organization_settings_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_themes/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_themes/get.py +342 -0
- gooddata_api_client/paths/api_v1_entities_themes/post.py +334 -0
- gooddata_api_client/paths/api_v1_entities_themes_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_themes_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_themes_id/get.py +357 -0
- gooddata_api_client/paths/api_v1_entities_themes_id/patch.py +458 -0
- gooddata_api_client/paths/api_v1_entities_themes_id/put.py +458 -0
- gooddata_api_client/paths/api_v1_entities_user_groups/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_user_groups/get.py +397 -0
- gooddata_api_client/paths/api_v1_entities_user_groups/post.py +437 -0
- gooddata_api_client/paths/api_v1_entities_user_groups_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_user_groups_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_user_groups_id/get.py +412 -0
- gooddata_api_client/paths/api_v1_entities_user_groups_id/patch.py +513 -0
- gooddata_api_client/paths/api_v1_entities_user_groups_id/put.py +513 -0
- gooddata_api_client/paths/api_v1_entities_users/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users/get.py +392 -0
- gooddata_api_client/paths/api_v1_entities_users/post.py +432 -0
- gooddata_api_client/paths/api_v1_entities_users_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_users_id/get.py +407 -0
- gooddata_api_client/paths/api_v1_entities_users_id/patch.py +508 -0
- gooddata_api_client/paths/api_v1_entities_users_id/put.py +508 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/get.py +396 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens/post.py +391 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/delete.py +333 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/get.py +366 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_api_tokens_id/put.py +467 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/get.py +396 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings/post.py +391 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/delete.py +333 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/get.py +366 -0
- gooddata_api_client/paths/api_v1_entities_users_user_id_user_settings_id/put.py +467 -0
- gooddata_api_client/paths/api_v1_entities_workspaces/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces/get.py +458 -0
- gooddata_api_client/paths/api_v1_entities_workspaces/post.py +498 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_id/delete.py +324 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_id/get.py +473 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_id/patch.py +513 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_id/put.py +513 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/get.py +624 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards/post.py +585 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/get.py +550 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/patch.py +537 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_analytical_dashboards_object_id/put.py +537 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes/get.py +599 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_attributes_object_id/get.py +525 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/get.py +534 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings/post.py +495 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/get.py +460 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/patch.py +457 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_custom_application_settings_object_id/put.py +457 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/get.py +534 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins/post.py +495 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/get.py +460 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/patch.py +457 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_dashboard_plugins_object_id/put.py +457 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets/get.py +599 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_datasets_object_id/get.py +525 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts/get.py +589 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_facts_object_id/get.py +515 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/get.py +594 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts/post.py +555 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/get.py +520 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/patch.py +517 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_filter_contexts_object_id/put.py +517 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels/get.py +589 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_labels_object_id/get.py +515 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/get.py +604 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics/post.py +565 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/get.py +530 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/patch.py +527 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_metrics_object_id/put.py +527 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/get.py +624 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters/post.py +585 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/get.py +550 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/patch.py +547 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_user_data_filters_object_id/put.py +547 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/get.py +604 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects/post.py +565 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/get.py +530 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/patch.py +527 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_visualization_objects_object_id/put.py +527 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings/get.py +533 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filter_settings_object_id/get.py +459 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/get.py +533 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters/post.py +494 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/get.py +459 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.py +512 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/put.py +512 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/get.py +534 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings/post.py +495 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/delete.py +323 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/get.py +460 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/patch.py +457 -0
- gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_settings_object_id/put.py +457 -0
- gooddata_api_client/paths/api_v1_layout_data_sources/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_data_sources/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_data_sources/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_data_sources_data_source_id_physical_model/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_organization/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_organization/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_organization/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_user_groups/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_user_groups/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_user_groups/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_user_groups_user_group_id_permissions/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_users/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_users/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_users/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_users_and_user_groups/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_users_and_user_groups/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_users_and_user_groups/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_users_user_id_permissions/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_workspace_data_filters/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspace_data_filters/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_workspace_data_filters/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_workspaces/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces/get.py +239 -0
- gooddata_api_client/paths/api_v1_layout_workspaces/put.py +303 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_analytics_model/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/get.py +347 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_logical_model/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_permissions/put.py +360 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/get.py +293 -0
- gooddata_api_client/paths/api_v1_layout_workspaces_workspace_id_user_data_filters/put.py +360 -0
- gooddata_api_client/paths/api_v1_options/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_options/get.py +237 -0
- gooddata_api_client/paths/api_v1_options_available_drivers/__init__.py +7 -0
- gooddata_api_client/paths/api_v1_options_available_drivers/get.py +237 -0
- gooddata_api_client/schemas.py +2476 -0
- {gooddata_api_client-1.3.1.dev5.dist-info → gooddata_api_client-1.4.1.dev1.dist-info}/METADATA +488 -400
- gooddata_api_client-1.4.1.dev1.dist-info/RECORD +1105 -0
- {gooddata_api_client-1.3.1.dev5.dist-info → gooddata_api_client-1.4.1.dev1.dist-info}/WHEEL +1 -1
- gooddata_api_client-1.3.1.dev5.dist-info/RECORD +0 -587
- {gooddata_api_client-1.3.1.dev5.dist-info → gooddata_api_client-1.4.1.dev1.dist-info}/LICENSE.txt +0 -0
- {gooddata_api_client-1.3.1.dev5.dist-info → gooddata_api_client-1.4.1.dev1.dist-info}/top_level.txt +0 -0
|
@@ -31,11 +31,13 @@ from gooddata_api_client.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def lazy_import():
|
|
34
|
+
from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_created_by import JsonApiAnalyticalDashboardOutRelationshipsCreatedBy
|
|
34
35
|
from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_datasets import JsonApiAnalyticalDashboardOutRelationshipsDatasets
|
|
35
36
|
from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_labels import JsonApiAnalyticalDashboardOutRelationshipsLabels
|
|
36
37
|
from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_metrics import JsonApiAnalyticalDashboardOutRelationshipsMetrics
|
|
37
38
|
from gooddata_api_client.model.json_api_dataset_out_relationships_attributes import JsonApiDatasetOutRelationshipsAttributes
|
|
38
39
|
from gooddata_api_client.model.json_api_dataset_out_relationships_facts import JsonApiDatasetOutRelationshipsFacts
|
|
40
|
+
globals()['JsonApiAnalyticalDashboardOutRelationshipsCreatedBy'] = JsonApiAnalyticalDashboardOutRelationshipsCreatedBy
|
|
39
41
|
globals()['JsonApiAnalyticalDashboardOutRelationshipsDatasets'] = JsonApiAnalyticalDashboardOutRelationshipsDatasets
|
|
40
42
|
globals()['JsonApiAnalyticalDashboardOutRelationshipsLabels'] = JsonApiAnalyticalDashboardOutRelationshipsLabels
|
|
41
43
|
globals()['JsonApiAnalyticalDashboardOutRelationshipsMetrics'] = JsonApiAnalyticalDashboardOutRelationshipsMetrics
|
|
@@ -97,10 +99,12 @@ class JsonApiMetricOutRelationships(ModelNormal):
|
|
|
97
99
|
lazy_import()
|
|
98
100
|
return {
|
|
99
101
|
'attributes': (JsonApiDatasetOutRelationshipsAttributes,), # noqa: E501
|
|
102
|
+
'created_by': (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy,), # noqa: E501
|
|
100
103
|
'datasets': (JsonApiAnalyticalDashboardOutRelationshipsDatasets,), # noqa: E501
|
|
101
104
|
'facts': (JsonApiDatasetOutRelationshipsFacts,), # noqa: E501
|
|
102
105
|
'labels': (JsonApiAnalyticalDashboardOutRelationshipsLabels,), # noqa: E501
|
|
103
106
|
'metrics': (JsonApiAnalyticalDashboardOutRelationshipsMetrics,), # noqa: E501
|
|
107
|
+
'modified_by': (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy,), # noqa: E501
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
@cached_property
|
|
@@ -110,10 +114,12 @@ class JsonApiMetricOutRelationships(ModelNormal):
|
|
|
110
114
|
|
|
111
115
|
attribute_map = {
|
|
112
116
|
'attributes': 'attributes', # noqa: E501
|
|
117
|
+
'created_by': 'createdBy', # noqa: E501
|
|
113
118
|
'datasets': 'datasets', # noqa: E501
|
|
114
119
|
'facts': 'facts', # noqa: E501
|
|
115
120
|
'labels': 'labels', # noqa: E501
|
|
116
121
|
'metrics': 'metrics', # noqa: E501
|
|
122
|
+
'modified_by': 'modifiedBy', # noqa: E501
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
read_only_vars = {
|
|
@@ -158,10 +164,12 @@ class JsonApiMetricOutRelationships(ModelNormal):
|
|
|
158
164
|
through its discriminator because we passed in
|
|
159
165
|
_visited_composed_classes = (Animal,)
|
|
160
166
|
attributes (JsonApiDatasetOutRelationshipsAttributes): [optional] # noqa: E501
|
|
167
|
+
created_by (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy): [optional] # noqa: E501
|
|
161
168
|
datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501
|
|
162
169
|
facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501
|
|
163
170
|
labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501
|
|
164
171
|
metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501
|
|
172
|
+
modified_by (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy): [optional] # noqa: E501
|
|
165
173
|
"""
|
|
166
174
|
|
|
167
175
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -248,10 +256,12 @@ class JsonApiMetricOutRelationships(ModelNormal):
|
|
|
248
256
|
through its discriminator because we passed in
|
|
249
257
|
_visited_composed_classes = (Animal,)
|
|
250
258
|
attributes (JsonApiDatasetOutRelationshipsAttributes): [optional] # noqa: E501
|
|
259
|
+
created_by (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy): [optional] # noqa: E501
|
|
251
260
|
datasets (JsonApiAnalyticalDashboardOutRelationshipsDatasets): [optional] # noqa: E501
|
|
252
261
|
facts (JsonApiDatasetOutRelationshipsFacts): [optional] # noqa: E501
|
|
253
262
|
labels (JsonApiAnalyticalDashboardOutRelationshipsLabels): [optional] # noqa: E501
|
|
254
263
|
metrics (JsonApiAnalyticalDashboardOutRelationshipsMetrics): [optional] # noqa: E501
|
|
264
|
+
modified_by (JsonApiAnalyticalDashboardOutRelationshipsCreatedBy): [optional] # noqa: E501
|
|
255
265
|
"""
|
|
256
266
|
|
|
257
267
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -32,14 +32,14 @@ from gooddata_api_client.exceptions import ApiAttributeError
|
|
|
32
32
|
|
|
33
33
|
def lazy_import():
|
|
34
34
|
from gooddata_api_client.model.json_api_attribute_out_meta import JsonApiAttributeOutMeta
|
|
35
|
-
from gooddata_api_client.model.json_api_metric_in_attributes import JsonApiMetricInAttributes
|
|
36
35
|
from gooddata_api_client.model.json_api_metric_out import JsonApiMetricOut
|
|
36
|
+
from gooddata_api_client.model.json_api_metric_out_attributes import JsonApiMetricOutAttributes
|
|
37
37
|
from gooddata_api_client.model.json_api_metric_out_relationships import JsonApiMetricOutRelationships
|
|
38
38
|
from gooddata_api_client.model.object_links import ObjectLinks
|
|
39
39
|
from gooddata_api_client.model.object_links_container import ObjectLinksContainer
|
|
40
40
|
globals()['JsonApiAttributeOutMeta'] = JsonApiAttributeOutMeta
|
|
41
|
-
globals()['JsonApiMetricInAttributes'] = JsonApiMetricInAttributes
|
|
42
41
|
globals()['JsonApiMetricOut'] = JsonApiMetricOut
|
|
42
|
+
globals()['JsonApiMetricOutAttributes'] = JsonApiMetricOutAttributes
|
|
43
43
|
globals()['JsonApiMetricOutRelationships'] = JsonApiMetricOutRelationships
|
|
44
44
|
globals()['ObjectLinks'] = ObjectLinks
|
|
45
45
|
globals()['ObjectLinksContainer'] = ObjectLinksContainer
|
|
@@ -106,7 +106,7 @@ class JsonApiMetricOutWithLinks(ModelComposed):
|
|
|
106
106
|
"""
|
|
107
107
|
lazy_import()
|
|
108
108
|
return {
|
|
109
|
-
'attributes': (
|
|
109
|
+
'attributes': (JsonApiMetricOutAttributes,), # noqa: E501
|
|
110
110
|
'id': (str,), # noqa: E501
|
|
111
111
|
'type': (str,), # noqa: E501
|
|
112
112
|
'meta': (JsonApiAttributeOutMeta,), # noqa: E501
|
|
@@ -137,7 +137,7 @@ class JsonApiMetricOutWithLinks(ModelComposed):
|
|
|
137
137
|
"""JsonApiMetricOutWithLinks - a model defined in OpenAPI
|
|
138
138
|
|
|
139
139
|
Keyword Args:
|
|
140
|
-
attributes (
|
|
140
|
+
attributes (JsonApiMetricOutAttributes):
|
|
141
141
|
id (str): API identifier of an object
|
|
142
142
|
type (str): Object type. defaults to "metric", must be one of ["metric", ] # noqa: E501
|
|
143
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -247,7 +247,7 @@ class JsonApiMetricOutWithLinks(ModelComposed):
|
|
|
247
247
|
"""JsonApiMetricOutWithLinks - a model defined in OpenAPI
|
|
248
248
|
|
|
249
249
|
Keyword Args:
|
|
250
|
-
attributes (
|
|
250
|
+
attributes (JsonApiMetricOutAttributes):
|
|
251
251
|
id (str): API identifier of an object
|
|
252
252
|
type (str): Object type. defaults to "metric", must be one of ["metric", ] # noqa: E501
|
|
253
253
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
"""
|
|
2
|
+
OpenAPI definition
|
|
3
|
+
|
|
4
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v0
|
|
7
|
+
Contact: support@gooddata.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
|
|
15
|
+
from gooddata_api_client.model_utils import ( # noqa: F401
|
|
16
|
+
ApiTypeError,
|
|
17
|
+
ModelComposed,
|
|
18
|
+
ModelNormal,
|
|
19
|
+
ModelSimple,
|
|
20
|
+
cached_property,
|
|
21
|
+
change_keys_js_to_python,
|
|
22
|
+
convert_js_args_to_python_args,
|
|
23
|
+
date,
|
|
24
|
+
datetime,
|
|
25
|
+
file_type,
|
|
26
|
+
none_type,
|
|
27
|
+
validate_get_composed_info,
|
|
28
|
+
OpenApiModel
|
|
29
|
+
)
|
|
30
|
+
from gooddata_api_client.exceptions import ApiAttributeError
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def lazy_import():
|
|
34
|
+
from gooddata_api_client.model.json_api_metric_in_attributes import JsonApiMetricInAttributes
|
|
35
|
+
globals()['JsonApiMetricInAttributes'] = JsonApiMetricInAttributes
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class JsonApiMetricPostOptionalId(ModelNormal):
|
|
39
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
40
|
+
Ref: https://openapi-generator.tech
|
|
41
|
+
|
|
42
|
+
Do not edit the class manually.
|
|
43
|
+
|
|
44
|
+
Attributes:
|
|
45
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
46
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
47
|
+
with a capitalized key describing the allowed value and an allowed
|
|
48
|
+
value. These dicts store the allowed enum values.
|
|
49
|
+
attribute_map (dict): The key is attribute name
|
|
50
|
+
and the value is json key in definition.
|
|
51
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
52
|
+
variable value to the discriminator class name.
|
|
53
|
+
validations (dict): The key is the tuple path to the attribute
|
|
54
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
55
|
+
that stores validations for max_length, min_length, max_items,
|
|
56
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
57
|
+
inclusive_minimum, and regex.
|
|
58
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
59
|
+
as additional properties values.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
allowed_values = {
|
|
63
|
+
('type',): {
|
|
64
|
+
'METRIC': "metric",
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validations = {
|
|
69
|
+
('id',): {
|
|
70
|
+
'regex': {
|
|
71
|
+
'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@cached_property
|
|
77
|
+
def additional_properties_type():
|
|
78
|
+
"""
|
|
79
|
+
This must be a method because a model may have properties that are
|
|
80
|
+
of type self, this must run after the class is loaded
|
|
81
|
+
"""
|
|
82
|
+
lazy_import()
|
|
83
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
84
|
+
|
|
85
|
+
_nullable = False
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def openapi_types():
|
|
89
|
+
"""
|
|
90
|
+
This must be a method because a model may have properties that are
|
|
91
|
+
of type self, this must run after the class is loaded
|
|
92
|
+
|
|
93
|
+
Returns
|
|
94
|
+
openapi_types (dict): The key is attribute name
|
|
95
|
+
and the value is attribute type.
|
|
96
|
+
"""
|
|
97
|
+
lazy_import()
|
|
98
|
+
return {
|
|
99
|
+
'attributes': (JsonApiMetricInAttributes,), # noqa: E501
|
|
100
|
+
'type': (str,), # noqa: E501
|
|
101
|
+
'id': (str,), # noqa: E501
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@cached_property
|
|
105
|
+
def discriminator():
|
|
106
|
+
return None
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
attribute_map = {
|
|
110
|
+
'attributes': 'attributes', # noqa: E501
|
|
111
|
+
'type': 'type', # noqa: E501
|
|
112
|
+
'id': 'id', # noqa: E501
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
read_only_vars = {
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
_composed_schemas = {}
|
|
119
|
+
|
|
120
|
+
@classmethod
|
|
121
|
+
@convert_js_args_to_python_args
|
|
122
|
+
def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501
|
|
123
|
+
"""JsonApiMetricPostOptionalId - a model defined in OpenAPI
|
|
124
|
+
|
|
125
|
+
Args:
|
|
126
|
+
attributes (JsonApiMetricInAttributes):
|
|
127
|
+
|
|
128
|
+
Keyword Args:
|
|
129
|
+
type (str): Object type. defaults to "metric", must be one of ["metric", ] # noqa: E501
|
|
130
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
131
|
+
will be type checked and a TypeError will be
|
|
132
|
+
raised if the wrong type is input.
|
|
133
|
+
Defaults to True
|
|
134
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
135
|
+
drill down to the model in received_data
|
|
136
|
+
when deserializing a response
|
|
137
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
138
|
+
are serialized names, as specified in the OpenAPI document.
|
|
139
|
+
False if the variable names in the input data
|
|
140
|
+
are pythonic names, e.g. snake case (default)
|
|
141
|
+
_configuration (Configuration): the instance to use when
|
|
142
|
+
deserializing a file_type parameter.
|
|
143
|
+
If passed, type conversion is attempted
|
|
144
|
+
If omitted no type conversion is done.
|
|
145
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
146
|
+
classes that we have traveled through so that
|
|
147
|
+
if we see that class again we will not use its
|
|
148
|
+
discriminator again.
|
|
149
|
+
When traveling through a discriminator, the
|
|
150
|
+
composed schema that is
|
|
151
|
+
is traveled through is added to this set.
|
|
152
|
+
For example if Animal has a discriminator
|
|
153
|
+
petType and we pass in "Dog", and the class Dog
|
|
154
|
+
allOf includes Animal, we move through Animal
|
|
155
|
+
once using the discriminator, and pick Dog.
|
|
156
|
+
Then in Dog, we will make an instance of the
|
|
157
|
+
Animal class but this time we won't travel
|
|
158
|
+
through its discriminator because we passed in
|
|
159
|
+
_visited_composed_classes = (Animal,)
|
|
160
|
+
id (str): API identifier of an object. [optional] # noqa: E501
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
type = kwargs.get('type', "metric")
|
|
164
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
165
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
166
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
167
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
168
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
169
|
+
|
|
170
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
171
|
+
|
|
172
|
+
if args:
|
|
173
|
+
for arg in args:
|
|
174
|
+
if isinstance(arg, dict):
|
|
175
|
+
kwargs.update(arg)
|
|
176
|
+
else:
|
|
177
|
+
raise ApiTypeError(
|
|
178
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
179
|
+
args,
|
|
180
|
+
self.__class__.__name__,
|
|
181
|
+
),
|
|
182
|
+
path_to_item=_path_to_item,
|
|
183
|
+
valid_classes=(self.__class__,),
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
self._data_store = {}
|
|
187
|
+
self._check_type = _check_type
|
|
188
|
+
self._spec_property_naming = _spec_property_naming
|
|
189
|
+
self._path_to_item = _path_to_item
|
|
190
|
+
self._configuration = _configuration
|
|
191
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
192
|
+
|
|
193
|
+
self.attributes = attributes
|
|
194
|
+
self.type = type
|
|
195
|
+
for var_name, var_value in kwargs.items():
|
|
196
|
+
if var_name not in self.attribute_map and \
|
|
197
|
+
self._configuration is not None and \
|
|
198
|
+
self._configuration.discard_unknown_keys and \
|
|
199
|
+
self.additional_properties_type is None:
|
|
200
|
+
# discard variable.
|
|
201
|
+
continue
|
|
202
|
+
setattr(self, var_name, var_value)
|
|
203
|
+
return self
|
|
204
|
+
|
|
205
|
+
required_properties = set([
|
|
206
|
+
'_data_store',
|
|
207
|
+
'_check_type',
|
|
208
|
+
'_spec_property_naming',
|
|
209
|
+
'_path_to_item',
|
|
210
|
+
'_configuration',
|
|
211
|
+
'_visited_composed_classes',
|
|
212
|
+
])
|
|
213
|
+
|
|
214
|
+
@convert_js_args_to_python_args
|
|
215
|
+
def __init__(self, attributes, *args, **kwargs): # noqa: E501
|
|
216
|
+
"""JsonApiMetricPostOptionalId - a model defined in OpenAPI
|
|
217
|
+
|
|
218
|
+
Args:
|
|
219
|
+
attributes (JsonApiMetricInAttributes):
|
|
220
|
+
|
|
221
|
+
Keyword Args:
|
|
222
|
+
type (str): Object type. defaults to "metric", must be one of ["metric", ] # noqa: E501
|
|
223
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
224
|
+
will be type checked and a TypeError will be
|
|
225
|
+
raised if the wrong type is input.
|
|
226
|
+
Defaults to True
|
|
227
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
228
|
+
drill down to the model in received_data
|
|
229
|
+
when deserializing a response
|
|
230
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
231
|
+
are serialized names, as specified in the OpenAPI document.
|
|
232
|
+
False if the variable names in the input data
|
|
233
|
+
are pythonic names, e.g. snake case (default)
|
|
234
|
+
_configuration (Configuration): the instance to use when
|
|
235
|
+
deserializing a file_type parameter.
|
|
236
|
+
If passed, type conversion is attempted
|
|
237
|
+
If omitted no type conversion is done.
|
|
238
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
239
|
+
classes that we have traveled through so that
|
|
240
|
+
if we see that class again we will not use its
|
|
241
|
+
discriminator again.
|
|
242
|
+
When traveling through a discriminator, the
|
|
243
|
+
composed schema that is
|
|
244
|
+
is traveled through is added to this set.
|
|
245
|
+
For example if Animal has a discriminator
|
|
246
|
+
petType and we pass in "Dog", and the class Dog
|
|
247
|
+
allOf includes Animal, we move through Animal
|
|
248
|
+
once using the discriminator, and pick Dog.
|
|
249
|
+
Then in Dog, we will make an instance of the
|
|
250
|
+
Animal class but this time we won't travel
|
|
251
|
+
through its discriminator because we passed in
|
|
252
|
+
_visited_composed_classes = (Animal,)
|
|
253
|
+
id (str): API identifier of an object. [optional] # noqa: E501
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
type = kwargs.get('type', "metric")
|
|
257
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
258
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
259
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
260
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
261
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
262
|
+
|
|
263
|
+
if args:
|
|
264
|
+
for arg in args:
|
|
265
|
+
if isinstance(arg, dict):
|
|
266
|
+
kwargs.update(arg)
|
|
267
|
+
else:
|
|
268
|
+
raise ApiTypeError(
|
|
269
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
270
|
+
args,
|
|
271
|
+
self.__class__.__name__,
|
|
272
|
+
),
|
|
273
|
+
path_to_item=_path_to_item,
|
|
274
|
+
valid_classes=(self.__class__,),
|
|
275
|
+
)
|
|
276
|
+
|
|
277
|
+
self._data_store = {}
|
|
278
|
+
self._check_type = _check_type
|
|
279
|
+
self._spec_property_naming = _spec_property_naming
|
|
280
|
+
self._path_to_item = _path_to_item
|
|
281
|
+
self._configuration = _configuration
|
|
282
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
283
|
+
|
|
284
|
+
self.attributes = attributes
|
|
285
|
+
self.type = type
|
|
286
|
+
for var_name, var_value in kwargs.items():
|
|
287
|
+
if var_name not in self.attribute_map and \
|
|
288
|
+
self._configuration is not None and \
|
|
289
|
+
self._configuration.discard_unknown_keys and \
|
|
290
|
+
self.additional_properties_type is None:
|
|
291
|
+
# discard variable.
|
|
292
|
+
continue
|
|
293
|
+
setattr(self, var_name, var_value)
|
|
294
|
+
if var_name in self.read_only_vars:
|
|
295
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
296
|
+
f"class with read only attributes.")
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
"""
|
|
2
|
+
OpenAPI definition
|
|
3
|
+
|
|
4
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v0
|
|
7
|
+
Contact: support@gooddata.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
|
|
15
|
+
from gooddata_api_client.model_utils import ( # noqa: F401
|
|
16
|
+
ApiTypeError,
|
|
17
|
+
ModelComposed,
|
|
18
|
+
ModelNormal,
|
|
19
|
+
ModelSimple,
|
|
20
|
+
cached_property,
|
|
21
|
+
change_keys_js_to_python,
|
|
22
|
+
convert_js_args_to_python_args,
|
|
23
|
+
date,
|
|
24
|
+
datetime,
|
|
25
|
+
file_type,
|
|
26
|
+
none_type,
|
|
27
|
+
validate_get_composed_info,
|
|
28
|
+
OpenApiModel
|
|
29
|
+
)
|
|
30
|
+
from gooddata_api_client.exceptions import ApiAttributeError
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def lazy_import():
|
|
34
|
+
from gooddata_api_client.model.json_api_metric_post_optional_id import JsonApiMetricPostOptionalId
|
|
35
|
+
globals()['JsonApiMetricPostOptionalId'] = JsonApiMetricPostOptionalId
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class JsonApiMetricPostOptionalIdDocument(ModelNormal):
|
|
39
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
40
|
+
Ref: https://openapi-generator.tech
|
|
41
|
+
|
|
42
|
+
Do not edit the class manually.
|
|
43
|
+
|
|
44
|
+
Attributes:
|
|
45
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
46
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
47
|
+
with a capitalized key describing the allowed value and an allowed
|
|
48
|
+
value. These dicts store the allowed enum values.
|
|
49
|
+
attribute_map (dict): The key is attribute name
|
|
50
|
+
and the value is json key in definition.
|
|
51
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
52
|
+
variable value to the discriminator class name.
|
|
53
|
+
validations (dict): The key is the tuple path to the attribute
|
|
54
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
55
|
+
that stores validations for max_length, min_length, max_items,
|
|
56
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
57
|
+
inclusive_minimum, and regex.
|
|
58
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
59
|
+
as additional properties values.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
allowed_values = {
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validations = {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@cached_property
|
|
69
|
+
def additional_properties_type():
|
|
70
|
+
"""
|
|
71
|
+
This must be a method because a model may have properties that are
|
|
72
|
+
of type self, this must run after the class is loaded
|
|
73
|
+
"""
|
|
74
|
+
lazy_import()
|
|
75
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
76
|
+
|
|
77
|
+
_nullable = False
|
|
78
|
+
|
|
79
|
+
@cached_property
|
|
80
|
+
def openapi_types():
|
|
81
|
+
"""
|
|
82
|
+
This must be a method because a model may have properties that are
|
|
83
|
+
of type self, this must run after the class is loaded
|
|
84
|
+
|
|
85
|
+
Returns
|
|
86
|
+
openapi_types (dict): The key is attribute name
|
|
87
|
+
and the value is attribute type.
|
|
88
|
+
"""
|
|
89
|
+
lazy_import()
|
|
90
|
+
return {
|
|
91
|
+
'data': (JsonApiMetricPostOptionalId,), # noqa: E501
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@cached_property
|
|
95
|
+
def discriminator():
|
|
96
|
+
return None
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
attribute_map = {
|
|
100
|
+
'data': 'data', # noqa: E501
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
read_only_vars = {
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
_composed_schemas = {}
|
|
107
|
+
|
|
108
|
+
@classmethod
|
|
109
|
+
@convert_js_args_to_python_args
|
|
110
|
+
def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501
|
|
111
|
+
"""JsonApiMetricPostOptionalIdDocument - a model defined in OpenAPI
|
|
112
|
+
|
|
113
|
+
Args:
|
|
114
|
+
data (JsonApiMetricPostOptionalId):
|
|
115
|
+
|
|
116
|
+
Keyword Args:
|
|
117
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
118
|
+
will be type checked and a TypeError will be
|
|
119
|
+
raised if the wrong type is input.
|
|
120
|
+
Defaults to True
|
|
121
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
122
|
+
drill down to the model in received_data
|
|
123
|
+
when deserializing a response
|
|
124
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
125
|
+
are serialized names, as specified in the OpenAPI document.
|
|
126
|
+
False if the variable names in the input data
|
|
127
|
+
are pythonic names, e.g. snake case (default)
|
|
128
|
+
_configuration (Configuration): the instance to use when
|
|
129
|
+
deserializing a file_type parameter.
|
|
130
|
+
If passed, type conversion is attempted
|
|
131
|
+
If omitted no type conversion is done.
|
|
132
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
133
|
+
classes that we have traveled through so that
|
|
134
|
+
if we see that class again we will not use its
|
|
135
|
+
discriminator again.
|
|
136
|
+
When traveling through a discriminator, the
|
|
137
|
+
composed schema that is
|
|
138
|
+
is traveled through is added to this set.
|
|
139
|
+
For example if Animal has a discriminator
|
|
140
|
+
petType and we pass in "Dog", and the class Dog
|
|
141
|
+
allOf includes Animal, we move through Animal
|
|
142
|
+
once using the discriminator, and pick Dog.
|
|
143
|
+
Then in Dog, we will make an instance of the
|
|
144
|
+
Animal class but this time we won't travel
|
|
145
|
+
through its discriminator because we passed in
|
|
146
|
+
_visited_composed_classes = (Animal,)
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
150
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
151
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
152
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
153
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
154
|
+
|
|
155
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
156
|
+
|
|
157
|
+
if args:
|
|
158
|
+
for arg in args:
|
|
159
|
+
if isinstance(arg, dict):
|
|
160
|
+
kwargs.update(arg)
|
|
161
|
+
else:
|
|
162
|
+
raise ApiTypeError(
|
|
163
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
164
|
+
args,
|
|
165
|
+
self.__class__.__name__,
|
|
166
|
+
),
|
|
167
|
+
path_to_item=_path_to_item,
|
|
168
|
+
valid_classes=(self.__class__,),
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
self._data_store = {}
|
|
172
|
+
self._check_type = _check_type
|
|
173
|
+
self._spec_property_naming = _spec_property_naming
|
|
174
|
+
self._path_to_item = _path_to_item
|
|
175
|
+
self._configuration = _configuration
|
|
176
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
177
|
+
|
|
178
|
+
self.data = data
|
|
179
|
+
for var_name, var_value in kwargs.items():
|
|
180
|
+
if var_name not in self.attribute_map and \
|
|
181
|
+
self._configuration is not None and \
|
|
182
|
+
self._configuration.discard_unknown_keys and \
|
|
183
|
+
self.additional_properties_type is None:
|
|
184
|
+
# discard variable.
|
|
185
|
+
continue
|
|
186
|
+
setattr(self, var_name, var_value)
|
|
187
|
+
return self
|
|
188
|
+
|
|
189
|
+
required_properties = set([
|
|
190
|
+
'_data_store',
|
|
191
|
+
'_check_type',
|
|
192
|
+
'_spec_property_naming',
|
|
193
|
+
'_path_to_item',
|
|
194
|
+
'_configuration',
|
|
195
|
+
'_visited_composed_classes',
|
|
196
|
+
])
|
|
197
|
+
|
|
198
|
+
@convert_js_args_to_python_args
|
|
199
|
+
def __init__(self, data, *args, **kwargs): # noqa: E501
|
|
200
|
+
"""JsonApiMetricPostOptionalIdDocument - a model defined in OpenAPI
|
|
201
|
+
|
|
202
|
+
Args:
|
|
203
|
+
data (JsonApiMetricPostOptionalId):
|
|
204
|
+
|
|
205
|
+
Keyword Args:
|
|
206
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
207
|
+
will be type checked and a TypeError will be
|
|
208
|
+
raised if the wrong type is input.
|
|
209
|
+
Defaults to True
|
|
210
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
211
|
+
drill down to the model in received_data
|
|
212
|
+
when deserializing a response
|
|
213
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
214
|
+
are serialized names, as specified in the OpenAPI document.
|
|
215
|
+
False if the variable names in the input data
|
|
216
|
+
are pythonic names, e.g. snake case (default)
|
|
217
|
+
_configuration (Configuration): the instance to use when
|
|
218
|
+
deserializing a file_type parameter.
|
|
219
|
+
If passed, type conversion is attempted
|
|
220
|
+
If omitted no type conversion is done.
|
|
221
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
222
|
+
classes that we have traveled through so that
|
|
223
|
+
if we see that class again we will not use its
|
|
224
|
+
discriminator again.
|
|
225
|
+
When traveling through a discriminator, the
|
|
226
|
+
composed schema that is
|
|
227
|
+
is traveled through is added to this set.
|
|
228
|
+
For example if Animal has a discriminator
|
|
229
|
+
petType and we pass in "Dog", and the class Dog
|
|
230
|
+
allOf includes Animal, we move through Animal
|
|
231
|
+
once using the discriminator, and pick Dog.
|
|
232
|
+
Then in Dog, we will make an instance of the
|
|
233
|
+
Animal class but this time we won't travel
|
|
234
|
+
through its discriminator because we passed in
|
|
235
|
+
_visited_composed_classes = (Animal,)
|
|
236
|
+
"""
|
|
237
|
+
|
|
238
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
239
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
240
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
241
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
242
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
243
|
+
|
|
244
|
+
if args:
|
|
245
|
+
for arg in args:
|
|
246
|
+
if isinstance(arg, dict):
|
|
247
|
+
kwargs.update(arg)
|
|
248
|
+
else:
|
|
249
|
+
raise ApiTypeError(
|
|
250
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
251
|
+
args,
|
|
252
|
+
self.__class__.__name__,
|
|
253
|
+
),
|
|
254
|
+
path_to_item=_path_to_item,
|
|
255
|
+
valid_classes=(self.__class__,),
|
|
256
|
+
)
|
|
257
|
+
|
|
258
|
+
self._data_store = {}
|
|
259
|
+
self._check_type = _check_type
|
|
260
|
+
self._spec_property_naming = _spec_property_naming
|
|
261
|
+
self._path_to_item = _path_to_item
|
|
262
|
+
self._configuration = _configuration
|
|
263
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
264
|
+
|
|
265
|
+
self.data = data
|
|
266
|
+
for var_name, var_value in kwargs.items():
|
|
267
|
+
if var_name not in self.attribute_map and \
|
|
268
|
+
self._configuration is not None and \
|
|
269
|
+
self._configuration.discard_unknown_keys and \
|
|
270
|
+
self.additional_properties_type is None:
|
|
271
|
+
# discard variable.
|
|
272
|
+
continue
|
|
273
|
+
setattr(self, var_name, var_value)
|
|
274
|
+
if var_name in self.read_only_vars:
|
|
275
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
276
|
+
f"class with read only attributes.")
|