waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__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 waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
- waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
- waldur_api_client/api/customers/customers_add_user.py +17 -10
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
- waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
- waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
- waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
- waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
- waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
- waldur_api_client/api/projects/projects_add_user.py +17 -10
- waldur_api_client/api/projects/projects_count.py +30 -0
- waldur_api_client/api/projects/projects_list.py +30 -0
- waldur_api_client/api/projects/projects_move_project.py +19 -10
- waldur_api_client/api/projects/projects_recover.py +166 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
- waldur_api_client/models/__init__.py +152 -4
- waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
- waldur_api_client/models/agent_identity.py +211 -0
- waldur_api_client/models/agent_identity_request.py +157 -0
- waldur_api_client/models/agent_processor.py +170 -0
- waldur_api_client/models/agent_processor_create_request.py +89 -0
- waldur_api_client/models/agent_service.py +172 -0
- waldur_api_client/models/agent_service_create_request.py +81 -0
- waldur_api_client/models/agent_service_state.py +10 -0
- waldur_api_client/models/agent_service_statistics_request.py +59 -0
- waldur_api_client/models/base_provider_plan.py +21 -0
- waldur_api_client/models/base_public_plan.py +21 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/booking_resource.py +33 -0
- waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/booking_resources_list_field_item.py +1 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
- waldur_api_client/models/constance_settings.py +81 -45
- waldur_api_client/models/constance_settings_request.py +81 -45
- waldur_api_client/models/constance_settings_request_form.py +81 -45
- waldur_api_client/models/constance_settings_request_multipart.py +134 -71
- waldur_api_client/models/customer_component_usage_policy.py +175 -0
- waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
- waldur_api_client/models/customers_add_user_response_400.py +65 -0
- waldur_api_client/models/discount_config_request.py +91 -0
- waldur_api_client/models/discounts_update_request.py +65 -0
- waldur_api_client/models/discounts_update_request_discounts.py +57 -0
- waldur_api_client/models/issue.py +0 -25
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
- waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
- waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
- waldur_api_client/models/merged_plugin_options.py +47 -8
- waldur_api_client/models/merged_plugin_options_request.py +47 -8
- waldur_api_client/models/nested_agent_processor.py +154 -0
- waldur_api_client/models/nested_agent_service.py +134 -0
- waldur_api_client/models/nested_agent_service_request.py +90 -0
- waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
- waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
- waldur_api_client/models/nested_partition.py +412 -0
- waldur_api_client/models/nested_partition_request.py +397 -0
- waldur_api_client/models/nested_plan_component.py +155 -0
- waldur_api_client/models/nested_plan_component_request.py +128 -0
- waldur_api_client/models/nested_software_catalog.py +134 -0
- waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
- waldur_api_client/models/nested_software_catalog_partition.py +86 -0
- waldur_api_client/models/nested_software_catalog_request.py +68 -0
- waldur_api_client/models/nested_software_target.py +84 -0
- waldur_api_client/models/nested_software_target_request.py +75 -0
- waldur_api_client/models/nested_software_version.py +124 -0
- waldur_api_client/models/nested_software_version_request.py +93 -0
- waldur_api_client/models/observable_object_type_enum.py +14 -0
- waldur_api_client/models/offering.py +42 -0
- waldur_api_client/models/offering_create.py +36 -0
- waldur_api_client/models/offering_partition.py +440 -0
- waldur_api_client/models/offering_partition_request.py +406 -0
- waldur_api_client/models/offering_software_catalog.py +176 -0
- waldur_api_client/models/offering_software_catalog_request.py +118 -0
- waldur_api_client/models/onboarding_justification.py +35 -6
- waldur_api_client/models/onboarding_justification_create_request.py +8 -5
- waldur_api_client/models/onboarding_justification_request.py +20 -6
- waldur_api_client/models/onboarding_justification_review_request.py +59 -0
- waldur_api_client/models/order_backend_id_request.py +59 -0
- waldur_api_client/models/order_details.py +39 -0
- waldur_api_client/models/order_state.py +1 -0
- waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
- waldur_api_client/models/patched_offering_partition_request.py +412 -0
- waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
- waldur_api_client/models/patched_project_request.py +9 -0
- waldur_api_client/models/patched_project_request_form.py +9 -0
- waldur_api_client/models/patched_project_request_multipart.py +12 -0
- waldur_api_client/models/patched_software_catalog_request.py +86 -0
- waldur_api_client/models/patched_software_package_request.py +86 -0
- waldur_api_client/models/plan_component.py +40 -0
- waldur_api_client/models/project.py +27 -0
- waldur_api_client/models/project_recovery_request.py +70 -0
- waldur_api_client/models/project_request.py +9 -0
- waldur_api_client/models/project_request_form.py +9 -0
- waldur_api_client/models/project_request_multipart.py +12 -0
- waldur_api_client/models/project_user.py +21 -4
- waldur_api_client/models/projects_add_user_response_400.py +65 -0
- waldur_api_client/models/projects_list_field_item.py +3 -0
- waldur_api_client/models/projects_move_project_response_400.py +65 -0
- waldur_api_client/models/projects_retrieve_field_item.py +3 -0
- waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
- waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
- waldur_api_client/models/provider_offering_details.py +42 -0
- waldur_api_client/models/provider_plan_details.py +18 -0
- waldur_api_client/models/public_offering_details.py +42 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
- waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
- waldur_api_client/models/remove_software_catalog_request.py +60 -0
- waldur_api_client/models/resource.py +33 -0
- waldur_api_client/models/resource_downscaled_request.py +59 -0
- waldur_api_client/models/resource_paused_request.py +59 -0
- waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
- waldur_api_client/models/software_catalog.py +130 -0
- waldur_api_client/models/software_catalog_request.py +87 -0
- waldur_api_client/models/software_catalog_uuid.py +60 -0
- waldur_api_client/models/software_package.py +168 -0
- waldur_api_client/models/software_package_request.py +87 -0
- waldur_api_client/models/software_target.py +110 -0
- waldur_api_client/models/software_version.py +135 -0
- waldur_api_client/models/user.py +20 -0
- waldur_api_client/models/users_list_field_item.py +1 -0
- waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
- waldur_api_client/models/users_retrieve_field_item.py +1 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.resource_restrict_member_access_request import ResourceRestrictMemberAccessRequest
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
uuid: UUID,
|
|
15
|
+
*,
|
|
16
|
+
body: ResourceRestrictMemberAccessRequest,
|
|
17
|
+
) -> dict[str, Any]:
|
|
18
|
+
headers: dict[str, Any] = {}
|
|
19
|
+
|
|
20
|
+
_kwargs: dict[str, Any] = {
|
|
21
|
+
"method": "post",
|
|
22
|
+
"url": f"/api/marketplace-provider-resources/{uuid}/set_restrict_member_access/",
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
_kwargs["json"] = body.to_dict()
|
|
26
|
+
|
|
27
|
+
headers["Content-Type"] = "application/json"
|
|
28
|
+
|
|
29
|
+
_kwargs["headers"] = headers
|
|
30
|
+
return _kwargs
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
|
|
34
|
+
if response.status_code == 200:
|
|
35
|
+
return None
|
|
36
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
|
40
|
+
return Response(
|
|
41
|
+
status_code=HTTPStatus(response.status_code),
|
|
42
|
+
content=response.content,
|
|
43
|
+
headers=response.headers,
|
|
44
|
+
parsed=_parse_response(client=client, response=response),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def sync_detailed(
|
|
49
|
+
uuid: UUID,
|
|
50
|
+
*,
|
|
51
|
+
client: AuthenticatedClient,
|
|
52
|
+
body: ResourceRestrictMemberAccessRequest,
|
|
53
|
+
) -> Response[Any]:
|
|
54
|
+
"""Set restrict_member_access flag for resource.
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
uuid (UUID):
|
|
58
|
+
body (ResourceRestrictMemberAccessRequest):
|
|
59
|
+
|
|
60
|
+
Raises:
|
|
61
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
62
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
63
|
+
|
|
64
|
+
Returns:
|
|
65
|
+
Response[Any]
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
kwargs = _get_kwargs(
|
|
69
|
+
uuid=uuid,
|
|
70
|
+
body=body,
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
response = client.get_httpx_client().request(
|
|
74
|
+
**kwargs,
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
return _build_response(client=client, response=response)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
async def asyncio_detailed(
|
|
81
|
+
uuid: UUID,
|
|
82
|
+
*,
|
|
83
|
+
client: AuthenticatedClient,
|
|
84
|
+
body: ResourceRestrictMemberAccessRequest,
|
|
85
|
+
) -> Response[Any]:
|
|
86
|
+
"""Set restrict_member_access flag for resource.
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
uuid (UUID):
|
|
90
|
+
body (ResourceRestrictMemberAccessRequest):
|
|
91
|
+
|
|
92
|
+
Raises:
|
|
93
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
94
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
Response[Any]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
kwargs = _get_kwargs(
|
|
101
|
+
uuid=uuid,
|
|
102
|
+
body=body,
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
106
|
+
|
|
107
|
+
return _build_response(client=client, response=response)
|
|
@@ -44,6 +44,7 @@ def _get_kwargs(
|
|
|
44
44
|
state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
|
|
45
45
|
type_: Union[Unset, list[str]] = UNSET,
|
|
46
46
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
47
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
47
48
|
uuid_list: Union[Unset, str] = UNSET,
|
|
48
49
|
) -> dict[str, Any]:
|
|
49
50
|
params: dict[str, Any] = {}
|
|
@@ -166,6 +167,8 @@ def _get_kwargs(
|
|
|
166
167
|
|
|
167
168
|
params["user_has_consent"] = user_has_consent
|
|
168
169
|
|
|
170
|
+
params["user_has_offering_user"] = user_has_offering_user
|
|
171
|
+
|
|
169
172
|
params["uuid_list"] = uuid_list
|
|
170
173
|
|
|
171
174
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
@@ -236,6 +239,7 @@ def sync_detailed(
|
|
|
236
239
|
state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
|
|
237
240
|
type_: Union[Unset, list[str]] = UNSET,
|
|
238
241
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
242
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
239
243
|
uuid_list: Union[Unset, str] = UNSET,
|
|
240
244
|
) -> Response[int]:
|
|
241
245
|
"""Get number of items in the collection matching the request parameters.
|
|
@@ -271,6 +275,7 @@ def sync_detailed(
|
|
|
271
275
|
state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
|
|
272
276
|
type_ (Union[Unset, list[str]]):
|
|
273
277
|
user_has_consent (Union[Unset, bool]):
|
|
278
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
274
279
|
uuid_list (Union[Unset, str]):
|
|
275
280
|
|
|
276
281
|
Raises:
|
|
@@ -312,6 +317,7 @@ def sync_detailed(
|
|
|
312
317
|
state=state,
|
|
313
318
|
type_=type_,
|
|
314
319
|
user_has_consent=user_has_consent,
|
|
320
|
+
user_has_offering_user=user_has_offering_user,
|
|
315
321
|
uuid_list=uuid_list,
|
|
316
322
|
)
|
|
317
323
|
|
|
@@ -355,6 +361,7 @@ def sync(
|
|
|
355
361
|
state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
|
|
356
362
|
type_: Union[Unset, list[str]] = UNSET,
|
|
357
363
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
364
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
358
365
|
uuid_list: Union[Unset, str] = UNSET,
|
|
359
366
|
) -> int:
|
|
360
367
|
"""Get number of items in the collection matching the request parameters.
|
|
@@ -390,6 +397,7 @@ def sync(
|
|
|
390
397
|
state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
|
|
391
398
|
type_ (Union[Unset, list[str]]):
|
|
392
399
|
user_has_consent (Union[Unset, bool]):
|
|
400
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
393
401
|
uuid_list (Union[Unset, str]):
|
|
394
402
|
|
|
395
403
|
Raises:
|
|
@@ -432,6 +440,7 @@ def sync(
|
|
|
432
440
|
state=state,
|
|
433
441
|
type_=type_,
|
|
434
442
|
user_has_consent=user_has_consent,
|
|
443
|
+
user_has_offering_user=user_has_offering_user,
|
|
435
444
|
uuid_list=uuid_list,
|
|
436
445
|
).parsed
|
|
437
446
|
|
|
@@ -469,6 +478,7 @@ async def asyncio_detailed(
|
|
|
469
478
|
state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
|
|
470
479
|
type_: Union[Unset, list[str]] = UNSET,
|
|
471
480
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
481
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
472
482
|
uuid_list: Union[Unset, str] = UNSET,
|
|
473
483
|
) -> Response[int]:
|
|
474
484
|
"""Get number of items in the collection matching the request parameters.
|
|
@@ -504,6 +514,7 @@ async def asyncio_detailed(
|
|
|
504
514
|
state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
|
|
505
515
|
type_ (Union[Unset, list[str]]):
|
|
506
516
|
user_has_consent (Union[Unset, bool]):
|
|
517
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
507
518
|
uuid_list (Union[Unset, str]):
|
|
508
519
|
|
|
509
520
|
Raises:
|
|
@@ -545,6 +556,7 @@ async def asyncio_detailed(
|
|
|
545
556
|
state=state,
|
|
546
557
|
type_=type_,
|
|
547
558
|
user_has_consent=user_has_consent,
|
|
559
|
+
user_has_offering_user=user_has_offering_user,
|
|
548
560
|
uuid_list=uuid_list,
|
|
549
561
|
)
|
|
550
562
|
|
|
@@ -586,6 +598,7 @@ async def asyncio(
|
|
|
586
598
|
state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
|
|
587
599
|
type_: Union[Unset, list[str]] = UNSET,
|
|
588
600
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
601
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
589
602
|
uuid_list: Union[Unset, str] = UNSET,
|
|
590
603
|
) -> int:
|
|
591
604
|
"""Get number of items in the collection matching the request parameters.
|
|
@@ -621,6 +634,7 @@ async def asyncio(
|
|
|
621
634
|
state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
|
|
622
635
|
type_ (Union[Unset, list[str]]):
|
|
623
636
|
user_has_consent (Union[Unset, bool]):
|
|
637
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
624
638
|
uuid_list (Union[Unset, str]):
|
|
625
639
|
|
|
626
640
|
Raises:
|
|
@@ -664,6 +678,7 @@ async def asyncio(
|
|
|
664
678
|
state=state,
|
|
665
679
|
type_=type_,
|
|
666
680
|
user_has_consent=user_has_consent,
|
|
681
|
+
user_has_offering_user=user_has_offering_user,
|
|
667
682
|
uuid_list=uuid_list,
|
|
668
683
|
)
|
|
669
684
|
).parsed
|
|
@@ -47,6 +47,7 @@ def _get_kwargs(
|
|
|
47
47
|
state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
|
|
48
48
|
type_: Union[Unset, list[str]] = UNSET,
|
|
49
49
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
50
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
50
51
|
uuid_list: Union[Unset, str] = UNSET,
|
|
51
52
|
) -> dict[str, Any]:
|
|
52
53
|
params: dict[str, Any] = {}
|
|
@@ -178,6 +179,8 @@ def _get_kwargs(
|
|
|
178
179
|
|
|
179
180
|
params["user_has_consent"] = user_has_consent
|
|
180
181
|
|
|
182
|
+
params["user_has_offering_user"] = user_has_offering_user
|
|
183
|
+
|
|
181
184
|
params["uuid_list"] = uuid_list
|
|
182
185
|
|
|
183
186
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
@@ -251,6 +254,7 @@ def sync_detailed(
|
|
|
251
254
|
state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
|
|
252
255
|
type_: Union[Unset, list[str]] = UNSET,
|
|
253
256
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
257
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
254
258
|
uuid_list: Union[Unset, str] = UNSET,
|
|
255
259
|
) -> Response[list["PublicOfferingDetails"]]:
|
|
256
260
|
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
@@ -287,6 +291,7 @@ def sync_detailed(
|
|
|
287
291
|
state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
|
|
288
292
|
type_ (Union[Unset, list[str]]):
|
|
289
293
|
user_has_consent (Union[Unset, bool]):
|
|
294
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
290
295
|
uuid_list (Union[Unset, str]):
|
|
291
296
|
|
|
292
297
|
Raises:
|
|
@@ -329,6 +334,7 @@ def sync_detailed(
|
|
|
329
334
|
state=state,
|
|
330
335
|
type_=type_,
|
|
331
336
|
user_has_consent=user_has_consent,
|
|
337
|
+
user_has_offering_user=user_has_offering_user,
|
|
332
338
|
uuid_list=uuid_list,
|
|
333
339
|
)
|
|
334
340
|
|
|
@@ -373,6 +379,7 @@ def sync(
|
|
|
373
379
|
state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
|
|
374
380
|
type_: Union[Unset, list[str]] = UNSET,
|
|
375
381
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
382
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
376
383
|
uuid_list: Union[Unset, str] = UNSET,
|
|
377
384
|
) -> list["PublicOfferingDetails"]:
|
|
378
385
|
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
@@ -409,6 +416,7 @@ def sync(
|
|
|
409
416
|
state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
|
|
410
417
|
type_ (Union[Unset, list[str]]):
|
|
411
418
|
user_has_consent (Union[Unset, bool]):
|
|
419
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
412
420
|
uuid_list (Union[Unset, str]):
|
|
413
421
|
|
|
414
422
|
Raises:
|
|
@@ -452,6 +460,7 @@ def sync(
|
|
|
452
460
|
state=state,
|
|
453
461
|
type_=type_,
|
|
454
462
|
user_has_consent=user_has_consent,
|
|
463
|
+
user_has_offering_user=user_has_offering_user,
|
|
455
464
|
uuid_list=uuid_list,
|
|
456
465
|
).parsed
|
|
457
466
|
|
|
@@ -490,6 +499,7 @@ async def asyncio_detailed(
|
|
|
490
499
|
state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
|
|
491
500
|
type_: Union[Unset, list[str]] = UNSET,
|
|
492
501
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
502
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
493
503
|
uuid_list: Union[Unset, str] = UNSET,
|
|
494
504
|
) -> Response[list["PublicOfferingDetails"]]:
|
|
495
505
|
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
@@ -526,6 +536,7 @@ async def asyncio_detailed(
|
|
|
526
536
|
state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
|
|
527
537
|
type_ (Union[Unset, list[str]]):
|
|
528
538
|
user_has_consent (Union[Unset, bool]):
|
|
539
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
529
540
|
uuid_list (Union[Unset, str]):
|
|
530
541
|
|
|
531
542
|
Raises:
|
|
@@ -568,6 +579,7 @@ async def asyncio_detailed(
|
|
|
568
579
|
state=state,
|
|
569
580
|
type_=type_,
|
|
570
581
|
user_has_consent=user_has_consent,
|
|
582
|
+
user_has_offering_user=user_has_offering_user,
|
|
571
583
|
uuid_list=uuid_list,
|
|
572
584
|
)
|
|
573
585
|
|
|
@@ -610,6 +622,7 @@ async def asyncio(
|
|
|
610
622
|
state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
|
|
611
623
|
type_: Union[Unset, list[str]] = UNSET,
|
|
612
624
|
user_has_consent: Union[Unset, bool] = UNSET,
|
|
625
|
+
user_has_offering_user: Union[Unset, bool] = UNSET,
|
|
613
626
|
uuid_list: Union[Unset, str] = UNSET,
|
|
614
627
|
) -> list["PublicOfferingDetails"]:
|
|
615
628
|
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
@@ -646,6 +659,7 @@ async def asyncio(
|
|
|
646
659
|
state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
|
|
647
660
|
type_ (Union[Unset, list[str]]):
|
|
648
661
|
user_has_consent (Union[Unset, bool]):
|
|
662
|
+
user_has_offering_user (Union[Unset, bool]):
|
|
649
663
|
uuid_list (Union[Unset, str]):
|
|
650
664
|
|
|
651
665
|
Raises:
|
|
@@ -690,6 +704,7 @@ async def asyncio(
|
|
|
690
704
|
state=state,
|
|
691
705
|
type_=type_,
|
|
692
706
|
user_has_consent=user_has_consent,
|
|
707
|
+
user_has_offering_user=user_has_offering_user,
|
|
693
708
|
uuid_list=uuid_list,
|
|
694
709
|
)
|
|
695
710
|
).parsed
|