waldur-api-client 0.2.0__py3-none-any.whl → 7.6.7__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/access_subnets/access_subnets_list.py +8 -4
- waldur_api_client/api/admin_announcements/admin_announcements_list.py +8 -4
- waldur_api_client/api/auth_tokens/auth_tokens_list.py +8 -4
- waldur_api_client/api/autoprovisioning_rule_plans/__init__.py +1 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_create.py +148 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_destroy.py +89 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_list.py +173 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_partial_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_retrieve.py +140 -0
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rules/__init__.py +1 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_create.py +148 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_destroy.py +89 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_list.py +171 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_partial_update.py +162 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_retrieve.py +140 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_update.py +162 -0
- waldur_api_client/api/aws_images/aws_images_list.py +8 -4
- waldur_api_client/api/aws_instances/aws_instances_list.py +8 -4
- waldur_api_client/api/aws_regions/aws_regions_list.py +8 -4
- waldur_api_client/api/aws_sizes/aws_sizes_list.py +8 -4
- waldur_api_client/api/aws_volumes/aws_volumes_list.py +8 -4
- waldur_api_client/api/azure_images/azure_images_list.py +8 -4
- waldur_api_client/api/azure_locations/azure_locations_list.py +8 -4
- waldur_api_client/api/azure_public_ips/azure_public_ips_list.py +8 -4
- waldur_api_client/api/azure_resource_groups/azure_resource_groups_list.py +8 -4
- waldur_api_client/api/azure_sizes/azure_sizes_list.py +8 -4
- waldur_api_client/api/azure_sql_databases/azure_sql_databases_list.py +8 -4
- waldur_api_client/api/azure_sql_servers/azure_sql_servers_list.py +8 -4
- waldur_api_client/api/azure_virtualmachines/azure_virtualmachines_list.py +8 -4
- waldur_api_client/api/booking_offerings/booking_offerings_list.py +8 -4
- waldur_api_client/api/booking_resources/booking_resources_list.py +8 -4
- waldur_api_client/api/broadcast_message_templates/broadcast_message_templates_list.py +8 -4
- waldur_api_client/api/broadcast_messages/broadcast_messages_list.py +8 -4
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_list.py +8 -4
- waldur_api_client/api/call_rounds/call_rounds_list.py +8 -4
- waldur_api_client/api/component_user_usage_limits/component_user_usage_limits_list.py +8 -4
- waldur_api_client/api/customer_credits/customer_credits_list.py +8 -4
- waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +8 -4
- waldur_api_client/api/digitalocean_droplets/digitalocean_droplets_list.py +8 -4
- waldur_api_client/api/digitalocean_images/digitalocean_images_list.py +8 -4
- waldur_api_client/api/digitalocean_regions/digitalocean_regions_list.py +8 -4
- waldur_api_client/api/digitalocean_sizes/digitalocean_sizes_list.py +8 -4
- waldur_api_client/api/email_logs/email_logs_list.py +8 -4
- waldur_api_client/api/event_subscriptions/event_subscriptions_list.py +8 -4
- waldur_api_client/api/events/events_list.py +8 -4
- waldur_api_client/api/events_stats/events_stats_list.py +8 -4
- waldur_api_client/api/financial_reports/financial_reports_list.py +8 -4
- waldur_api_client/api/freeipa_profiles/freeipa_profiles_list.py +8 -4
- waldur_api_client/api/google_auth/google_auth_list.py +8 -4
- waldur_api_client/api/hooks/hooks_list.py +4 -2
- waldur_api_client/api/hooks_email/hooks_email_list.py +8 -4
- waldur_api_client/api/hooks_web/hooks_web_list.py +8 -4
- waldur_api_client/api/identity_providers/identity_providers_list.py +8 -4
- waldur_api_client/api/invoice_items/invoice_items_list.py +8 -4
- waldur_api_client/api/invoices/invoices_list.py +8 -4
- waldur_api_client/api/keycloak_groups/keycloak_groups_list.py +8 -4
- waldur_api_client/api/keycloak_user_group_memberships/keycloak_user_group_memberships_list.py +8 -4
- waldur_api_client/api/keys/keys_list.py +8 -4
- waldur_api_client/api/lexis_links/lexis_links_list.py +8 -4
- waldur_api_client/api/marketplace_categories/marketplace_categories_list.py +8 -4
- waldur_api_client/api/marketplace_category_columns/marketplace_category_columns_list.py +8 -4
- waldur_api_client/api/marketplace_category_component_usages/marketplace_category_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_category_components/marketplace_category_components_list.py +8 -4
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_list.py +8 -4
- waldur_api_client/api/marketplace_category_help_articles/marketplace_category_help_articles_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_questions_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_user_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_list.py +8 -4
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_component_user_usages/marketplace_component_user_usages_list.py +8 -4
- waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +8 -4
- waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +8 -4
- waldur_api_client/api/marketplace_offering_permissions/marketplace_offering_permissions_list.py +18 -17
- waldur_api_client/api/marketplace_offering_permissions_log/marketplace_offering_permissions_log_list.py +18 -17
- waldur_api_client/api/marketplace_offering_referrals/marketplace_offering_referrals_list.py +8 -4
- waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +8 -4
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +8 -4
- waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +8 -4
- waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_list.py +8 -4
- waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +8 -4
- waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +8 -4
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +25 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +33 -17
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +8 -4
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_as_erred.py +11 -68
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_id.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_metadata.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_limits.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_submit_report.py +20 -16
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +33 -17
- waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_list.py +8 -4
- waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_update_options.py +20 -16
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +8 -4
- waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_list.py +8 -4
- waldur_api_client/api/marketplace_sections/marketplace_sections_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +25 -13
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_permissions_list.py +10 -13
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_users_list.py +15 -0
- waldur_api_client/api/notification_messages/notification_messages_list.py +8 -4
- waldur_api_client/api/notification_messages_templates/notification_messages_templates_list.py +8 -4
- waldur_api_client/api/openstack_backups/openstack_backups_list.py +8 -4
- waldur_api_client/api/openstack_flavors/openstack_flavors_list.py +26 -4
- waldur_api_client/api/openstack_images/openstack_images_list.py +26 -4
- waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_instances/openstack_instances_list.py +8 -4
- waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_list.py +8 -4
- waldur_api_client/api/openstack_migrations/openstack_migrations_list.py +8 -4
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +8 -4
- waldur_api_client/api/openstack_networks/openstack_networks_list.py +8 -4
- waldur_api_client/api/openstack_ports/openstack_ports_list.py +8 -4
- waldur_api_client/api/openstack_routers/openstack_routers_list.py +8 -4
- waldur_api_client/api/openstack_security_groups/openstack_security_groups_list.py +8 -4
- waldur_api_client/api/openstack_server_groups/openstack_server_groups_list.py +8 -4
- waldur_api_client/api/openstack_snapshots/openstack_snapshots_list.py +8 -4
- waldur_api_client/api/openstack_subnets/openstack_subnets_list.py +8 -4
- waldur_api_client/api/openstack_tenants/openstack_tenants_list.py +8 -4
- waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_list.py +26 -4
- waldur_api_client/api/openstack_volumes/openstack_volumes_list.py +8 -4
- waldur_api_client/api/organization_groups/organization_groups_list.py +8 -4
- waldur_api_client/api/payment_profiles/payment_profiles_list.py +8 -4
- waldur_api_client/api/payments/payments_list.py +8 -4
- waldur_api_client/api/project_credits/project_credits_list.py +8 -4
- waldur_api_client/api/project_types/project_types_list.py +8 -4
- waldur_api_client/api/projects/projects_list.py +8 -4
- waldur_api_client/api/promotions_campaigns/promotions_campaigns_list.py +8 -4
- waldur_api_client/api/proposal_proposals/proposal_proposals_list.py +8 -4
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_list.py +8 -4
- waldur_api_client/api/proposal_public_calls/proposal_public_calls_list.py +8 -4
- waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_list.py +8 -4
- waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_list.py +8 -4
- waldur_api_client/api/proposal_reviews/proposal_reviews_list.py +8 -4
- waldur_api_client/api/provider_invoice_items/provider_invoice_items_list.py +8 -4
- waldur_api_client/api/rancher_apps/rancher_apps_list.py +8 -4
- waldur_api_client/api/rancher_catalogs/rancher_catalogs_list.py +8 -4
- waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_list.py +8 -4
- waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_list.py +8 -4
- waldur_api_client/api/rancher_clusters/rancher_clusters_list.py +8 -4
- waldur_api_client/api/rancher_hpas/rancher_hpas_list.py +8 -4
- waldur_api_client/api/rancher_ingresses/rancher_ingresses_list.py +8 -4
- waldur_api_client/api/rancher_namespaces/rancher_namespaces_list.py +8 -4
- waldur_api_client/api/rancher_nodes/rancher_nodes_list.py +8 -4
- waldur_api_client/api/rancher_projects/rancher_projects_list.py +8 -4
- waldur_api_client/api/rancher_role_templates/rancher_role_templates_list.py +8 -4
- waldur_api_client/api/rancher_services/rancher_services_list.py +8 -4
- waldur_api_client/api/rancher_templates/rancher_templates_list.py +8 -4
- waldur_api_client/api/rancher_users/rancher_users_list.py +8 -4
- waldur_api_client/api/rancher_workloads/rancher_workloads_list.py +8 -4
- waldur_api_client/api/roles/roles_list.py +8 -4
- waldur_api_client/api/service_settings/service_settings_list.py +18 -17
- waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_list.py +8 -4
- waldur_api_client/api/slurm_allocations/slurm_allocations_list.py +8 -4
- waldur_api_client/api/slurm_associations/slurm_associations_list.py +8 -4
- waldur_api_client/api/slurm_jobs/slurm_jobs_list.py +8 -4
- waldur_api_client/api/support_attachments/support_attachments_list.py +8 -4
- waldur_api_client/api/support_comments/support_comments_list.py +8 -4
- waldur_api_client/api/support_feedbacks/support_feedbacks_list.py +8 -4
- waldur_api_client/api/support_issues/support_issues_list.py +8 -4
- waldur_api_client/api/support_priorities/support_priorities_list.py +8 -4
- waldur_api_client/api/support_templates/support_templates_list.py +8 -4
- waldur_api_client/api/support_users/support_users_list.py +8 -4
- waldur_api_client/api/user_agreements/user_agreements_list.py +8 -4
- waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +8 -4
- waldur_api_client/api/user_invitations/user_invitations_list.py +8 -4
- waldur_api_client/api/user_permission_requests/user_permission_requests_list.py +8 -4
- waldur_api_client/api/user_permissions/user_permissions_list.py +18 -17
- waldur_api_client/api/users/users_list.py +23 -4
- waldur_api_client/api/vmware_clusters/vmware_clusters_list.py +8 -4
- waldur_api_client/api/vmware_datastores/vmware_datastores_list.py +8 -4
- waldur_api_client/api/vmware_disks/vmware_disks_list.py +8 -4
- waldur_api_client/api/vmware_folders/vmware_folders_list.py +8 -4
- waldur_api_client/api/vmware_networks/vmware_networks_list.py +8 -4
- waldur_api_client/api/vmware_ports/vmware_ports_list.py +8 -4
- waldur_api_client/api/vmware_templates/vmware_templates_list.py +8 -4
- waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_list.py +8 -4
- waldur_api_client/models/__init__.py +26 -14
- waldur_api_client/models/constance_settings.py +18 -0
- waldur_api_client/models/constance_settings_request.py +18 -0
- waldur_api_client/models/customer.py +0 -21
- waldur_api_client/models/customers_list_field_item.py +0 -1
- waldur_api_client/models/customers_retrieve_field_item.py +0 -1
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/identity_provider.py +11 -11
- waldur_api_client/models/identity_provider_request.py +11 -11
- waldur_api_client/models/merged_plugin_options.py +27 -0
- waldur_api_client/models/merged_plugin_options_request.py +27 -0
- waldur_api_client/models/nested_requested_offering.py +18 -0
- waldur_api_client/models/patched_identity_provider_request.py +11 -11
- waldur_api_client/models/patched_rule_plans_request.py +108 -0
- waldur_api_client/models/{resource_backend_metadata.py → patched_rule_plans_request_attributes.py} +6 -21
- waldur_api_client/models/{resource_options.py → patched_rule_plans_request_limits.py} +7 -22
- waldur_api_client/models/patched_rule_request.py +101 -0
- waldur_api_client/models/provider_requested_offering.py +10 -0
- waldur_api_client/models/rancher_cluster.py +11 -0
- waldur_api_client/models/rancher_clusters_list_field_item.py +1 -0
- waldur_api_client/models/rancher_clusters_retrieve_field_item.py +1 -0
- waldur_api_client/models/requested_offering.py +10 -0
- waldur_api_client/models/{resource_set_limits.py → resource_response_status.py} +11 -11
- waldur_api_client/models/rule.py +128 -0
- waldur_api_client/models/rule_plans.py +126 -0
- waldur_api_client/models/{resource_backend_id.py → rule_plans_attributes.py} +7 -22
- waldur_api_client/models/rule_plans_limits.py +44 -0
- waldur_api_client/models/rule_plans_request.py +109 -0
- waldur_api_client/models/rule_plans_request_attributes.py +44 -0
- waldur_api_client/models/rule_plans_request_limits.py +44 -0
- waldur_api_client/models/rule_request.py +103 -0
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/METADATA +1 -1
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/RECORD +228 -208
- waldur_api_client/models/permission_project.py +0 -147
- waldur_api_client/models/resource_report.py +0 -73
- waldur_api_client/models/resource_set_state_erred.py +0 -68
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/LICENSE +0 -0
- {waldur_api_client-0.2.0.dist-info → waldur_api_client-7.6.7.dist-info}/WHEEL +0 -0
waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_as_erred.py
CHANGED
|
@@ -6,7 +6,6 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
-
from ...models.resource_set_state_erred import ResourceSetStateErred
|
|
10
9
|
from ...models.resource_set_state_erred_request import ResourceSetStateErredRequest
|
|
11
10
|
from ...types import Response
|
|
12
11
|
|
|
@@ -31,17 +30,13 @@ def _get_kwargs(
|
|
|
31
30
|
return _kwargs
|
|
32
31
|
|
|
33
32
|
|
|
34
|
-
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) ->
|
|
33
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
|
|
35
34
|
if response.status_code == 200:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return response_200
|
|
35
|
+
return None
|
|
39
36
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
40
37
|
|
|
41
38
|
|
|
42
|
-
def _build_response(
|
|
43
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[ResourceSetStateErred]:
|
|
39
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
|
45
40
|
return Response(
|
|
46
41
|
status_code=HTTPStatus(response.status_code),
|
|
47
42
|
content=response.content,
|
|
@@ -55,8 +50,9 @@ def sync_detailed(
|
|
|
55
50
|
*,
|
|
56
51
|
client: AuthenticatedClient,
|
|
57
52
|
body: ResourceSetStateErredRequest,
|
|
58
|
-
) -> Response[
|
|
59
|
-
"""
|
|
53
|
+
) -> Response[Any]:
|
|
54
|
+
"""Set the resource as erred.
|
|
55
|
+
|
|
60
56
|
Args:
|
|
61
57
|
uuid (UUID):
|
|
62
58
|
body (ResourceSetStateErredRequest):
|
|
@@ -66,7 +62,7 @@ def sync_detailed(
|
|
|
66
62
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
63
|
|
|
68
64
|
Returns:
|
|
69
|
-
Response[
|
|
65
|
+
Response[Any]
|
|
70
66
|
"""
|
|
71
67
|
|
|
72
68
|
kwargs = _get_kwargs(
|
|
@@ -81,39 +77,14 @@ def sync_detailed(
|
|
|
81
77
|
return _build_response(client=client, response=response)
|
|
82
78
|
|
|
83
79
|
|
|
84
|
-
def sync(
|
|
85
|
-
uuid: UUID,
|
|
86
|
-
*,
|
|
87
|
-
client: AuthenticatedClient,
|
|
88
|
-
body: ResourceSetStateErredRequest,
|
|
89
|
-
) -> ResourceSetStateErred:
|
|
90
|
-
"""
|
|
91
|
-
Args:
|
|
92
|
-
uuid (UUID):
|
|
93
|
-
body (ResourceSetStateErredRequest):
|
|
94
|
-
|
|
95
|
-
Raises:
|
|
96
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
97
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
|
-
|
|
99
|
-
Returns:
|
|
100
|
-
ResourceSetStateErred
|
|
101
|
-
"""
|
|
102
|
-
|
|
103
|
-
return sync_detailed(
|
|
104
|
-
uuid=uuid,
|
|
105
|
-
client=client,
|
|
106
|
-
body=body,
|
|
107
|
-
).parsed
|
|
108
|
-
|
|
109
|
-
|
|
110
80
|
async def asyncio_detailed(
|
|
111
81
|
uuid: UUID,
|
|
112
82
|
*,
|
|
113
83
|
client: AuthenticatedClient,
|
|
114
84
|
body: ResourceSetStateErredRequest,
|
|
115
|
-
) -> Response[
|
|
116
|
-
"""
|
|
85
|
+
) -> Response[Any]:
|
|
86
|
+
"""Set the resource as erred.
|
|
87
|
+
|
|
117
88
|
Args:
|
|
118
89
|
uuid (UUID):
|
|
119
90
|
body (ResourceSetStateErredRequest):
|
|
@@ -123,7 +94,7 @@ async def asyncio_detailed(
|
|
|
123
94
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
95
|
|
|
125
96
|
Returns:
|
|
126
|
-
Response[
|
|
97
|
+
Response[Any]
|
|
127
98
|
"""
|
|
128
99
|
|
|
129
100
|
kwargs = _get_kwargs(
|
|
@@ -134,31 +105,3 @@ async def asyncio_detailed(
|
|
|
134
105
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
135
106
|
|
|
136
107
|
return _build_response(client=client, response=response)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
async def asyncio(
|
|
140
|
-
uuid: UUID,
|
|
141
|
-
*,
|
|
142
|
-
client: AuthenticatedClient,
|
|
143
|
-
body: ResourceSetStateErredRequest,
|
|
144
|
-
) -> ResourceSetStateErred:
|
|
145
|
-
"""
|
|
146
|
-
Args:
|
|
147
|
-
uuid (UUID):
|
|
148
|
-
body (ResourceSetStateErredRequest):
|
|
149
|
-
|
|
150
|
-
Raises:
|
|
151
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
152
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
-
|
|
154
|
-
Returns:
|
|
155
|
-
ResourceSetStateErred
|
|
156
|
-
"""
|
|
157
|
-
|
|
158
|
-
return (
|
|
159
|
-
await asyncio_detailed(
|
|
160
|
-
uuid=uuid,
|
|
161
|
-
client=client,
|
|
162
|
-
body=body,
|
|
163
|
-
)
|
|
164
|
-
).parsed
|
|
@@ -6,8 +6,8 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
-
from ...models.resource_backend_id import ResourceBackendID
|
|
10
9
|
from ...models.resource_backend_id_request import ResourceBackendIDRequest
|
|
10
|
+
from ...models.resource_response_status import ResourceResponseStatus
|
|
11
11
|
from ...types import Response
|
|
12
12
|
|
|
13
13
|
|
|
@@ -31,9 +31,9 @@ def _get_kwargs(
|
|
|
31
31
|
return _kwargs
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) ->
|
|
34
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ResourceResponseStatus:
|
|
35
35
|
if response.status_code == 200:
|
|
36
|
-
response_200 =
|
|
36
|
+
response_200 = ResourceResponseStatus.from_dict(response.json())
|
|
37
37
|
|
|
38
38
|
return response_200
|
|
39
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
@@ -41,7 +41,7 @@ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
41
41
|
|
|
42
42
|
def _build_response(
|
|
43
43
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[
|
|
44
|
+
) -> Response[ResourceResponseStatus]:
|
|
45
45
|
return Response(
|
|
46
46
|
status_code=HTTPStatus(response.status_code),
|
|
47
47
|
content=response.content,
|
|
@@ -55,8 +55,9 @@ def sync_detailed(
|
|
|
55
55
|
*,
|
|
56
56
|
client: AuthenticatedClient,
|
|
57
57
|
body: ResourceBackendIDRequest,
|
|
58
|
-
) -> Response[
|
|
59
|
-
"""
|
|
58
|
+
) -> Response[ResourceResponseStatus]:
|
|
59
|
+
"""Set resource backend ID.
|
|
60
|
+
|
|
60
61
|
Args:
|
|
61
62
|
uuid (UUID):
|
|
62
63
|
body (ResourceBackendIDRequest):
|
|
@@ -66,7 +67,7 @@ def sync_detailed(
|
|
|
66
67
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
68
|
|
|
68
69
|
Returns:
|
|
69
|
-
Response[
|
|
70
|
+
Response[ResourceResponseStatus]
|
|
70
71
|
"""
|
|
71
72
|
|
|
72
73
|
kwargs = _get_kwargs(
|
|
@@ -86,8 +87,9 @@ def sync(
|
|
|
86
87
|
*,
|
|
87
88
|
client: AuthenticatedClient,
|
|
88
89
|
body: ResourceBackendIDRequest,
|
|
89
|
-
) ->
|
|
90
|
-
"""
|
|
90
|
+
) -> ResourceResponseStatus:
|
|
91
|
+
"""Set resource backend ID.
|
|
92
|
+
|
|
91
93
|
Args:
|
|
92
94
|
uuid (UUID):
|
|
93
95
|
body (ResourceBackendIDRequest):
|
|
@@ -97,7 +99,7 @@ def sync(
|
|
|
97
99
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
100
|
|
|
99
101
|
Returns:
|
|
100
|
-
|
|
102
|
+
ResourceResponseStatus
|
|
101
103
|
"""
|
|
102
104
|
|
|
103
105
|
return sync_detailed(
|
|
@@ -112,8 +114,9 @@ async def asyncio_detailed(
|
|
|
112
114
|
*,
|
|
113
115
|
client: AuthenticatedClient,
|
|
114
116
|
body: ResourceBackendIDRequest,
|
|
115
|
-
) -> Response[
|
|
116
|
-
"""
|
|
117
|
+
) -> Response[ResourceResponseStatus]:
|
|
118
|
+
"""Set resource backend ID.
|
|
119
|
+
|
|
117
120
|
Args:
|
|
118
121
|
uuid (UUID):
|
|
119
122
|
body (ResourceBackendIDRequest):
|
|
@@ -123,7 +126,7 @@ async def asyncio_detailed(
|
|
|
123
126
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
127
|
|
|
125
128
|
Returns:
|
|
126
|
-
Response[
|
|
129
|
+
Response[ResourceResponseStatus]
|
|
127
130
|
"""
|
|
128
131
|
|
|
129
132
|
kwargs = _get_kwargs(
|
|
@@ -141,8 +144,9 @@ async def asyncio(
|
|
|
141
144
|
*,
|
|
142
145
|
client: AuthenticatedClient,
|
|
143
146
|
body: ResourceBackendIDRequest,
|
|
144
|
-
) ->
|
|
145
|
-
"""
|
|
147
|
+
) -> ResourceResponseStatus:
|
|
148
|
+
"""Set resource backend ID.
|
|
149
|
+
|
|
146
150
|
Args:
|
|
147
151
|
uuid (UUID):
|
|
148
152
|
body (ResourceBackendIDRequest):
|
|
@@ -152,7 +156,7 @@ async def asyncio(
|
|
|
152
156
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
157
|
|
|
154
158
|
Returns:
|
|
155
|
-
|
|
159
|
+
ResourceResponseStatus
|
|
156
160
|
"""
|
|
157
161
|
|
|
158
162
|
return (
|
|
@@ -6,8 +6,8 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
-
from ...models.resource_backend_metadata import ResourceBackendMetadata
|
|
10
9
|
from ...models.resource_backend_metadata_request import ResourceBackendMetadataRequest
|
|
10
|
+
from ...models.resource_response_status import ResourceResponseStatus
|
|
11
11
|
from ...types import Response
|
|
12
12
|
|
|
13
13
|
|
|
@@ -31,9 +31,9 @@ def _get_kwargs(
|
|
|
31
31
|
return _kwargs
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) ->
|
|
34
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ResourceResponseStatus:
|
|
35
35
|
if response.status_code == 200:
|
|
36
|
-
response_200 =
|
|
36
|
+
response_200 = ResourceResponseStatus.from_dict(response.json())
|
|
37
37
|
|
|
38
38
|
return response_200
|
|
39
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
@@ -41,7 +41,7 @@ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
41
41
|
|
|
42
42
|
def _build_response(
|
|
43
43
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[
|
|
44
|
+
) -> Response[ResourceResponseStatus]:
|
|
45
45
|
return Response(
|
|
46
46
|
status_code=HTTPStatus(response.status_code),
|
|
47
47
|
content=response.content,
|
|
@@ -55,7 +55,7 @@ def sync_detailed(
|
|
|
55
55
|
*,
|
|
56
56
|
client: AuthenticatedClient,
|
|
57
57
|
body: ResourceBackendMetadataRequest,
|
|
58
|
-
) -> Response[
|
|
58
|
+
) -> Response[ResourceResponseStatus]:
|
|
59
59
|
"""
|
|
60
60
|
Args:
|
|
61
61
|
uuid (UUID):
|
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
|
66
66
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
67
|
|
|
68
68
|
Returns:
|
|
69
|
-
Response[
|
|
69
|
+
Response[ResourceResponseStatus]
|
|
70
70
|
"""
|
|
71
71
|
|
|
72
72
|
kwargs = _get_kwargs(
|
|
@@ -86,7 +86,7 @@ def sync(
|
|
|
86
86
|
*,
|
|
87
87
|
client: AuthenticatedClient,
|
|
88
88
|
body: ResourceBackendMetadataRequest,
|
|
89
|
-
) ->
|
|
89
|
+
) -> ResourceResponseStatus:
|
|
90
90
|
"""
|
|
91
91
|
Args:
|
|
92
92
|
uuid (UUID):
|
|
@@ -97,7 +97,7 @@ def sync(
|
|
|
97
97
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
98
|
|
|
99
99
|
Returns:
|
|
100
|
-
|
|
100
|
+
ResourceResponseStatus
|
|
101
101
|
"""
|
|
102
102
|
|
|
103
103
|
return sync_detailed(
|
|
@@ -112,7 +112,7 @@ async def asyncio_detailed(
|
|
|
112
112
|
*,
|
|
113
113
|
client: AuthenticatedClient,
|
|
114
114
|
body: ResourceBackendMetadataRequest,
|
|
115
|
-
) -> Response[
|
|
115
|
+
) -> Response[ResourceResponseStatus]:
|
|
116
116
|
"""
|
|
117
117
|
Args:
|
|
118
118
|
uuid (UUID):
|
|
@@ -123,7 +123,7 @@ async def asyncio_detailed(
|
|
|
123
123
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
124
|
|
|
125
125
|
Returns:
|
|
126
|
-
Response[
|
|
126
|
+
Response[ResourceResponseStatus]
|
|
127
127
|
"""
|
|
128
128
|
|
|
129
129
|
kwargs = _get_kwargs(
|
|
@@ -141,7 +141,7 @@ async def asyncio(
|
|
|
141
141
|
*,
|
|
142
142
|
client: AuthenticatedClient,
|
|
143
143
|
body: ResourceBackendMetadataRequest,
|
|
144
|
-
) ->
|
|
144
|
+
) -> ResourceResponseStatus:
|
|
145
145
|
"""
|
|
146
146
|
Args:
|
|
147
147
|
uuid (UUID):
|
|
@@ -152,7 +152,7 @@ async def asyncio(
|
|
|
152
152
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
153
|
|
|
154
154
|
Returns:
|
|
155
|
-
|
|
155
|
+
ResourceResponseStatus
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
return (
|
waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_limits.py
CHANGED
|
@@ -6,7 +6,7 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
-
from ...models.
|
|
9
|
+
from ...models.resource_response_status import ResourceResponseStatus
|
|
10
10
|
from ...models.resource_set_limits_request import ResourceSetLimitsRequest
|
|
11
11
|
from ...types import Response
|
|
12
12
|
|
|
@@ -31,9 +31,9 @@ def _get_kwargs(
|
|
|
31
31
|
return _kwargs
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) ->
|
|
34
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ResourceResponseStatus:
|
|
35
35
|
if response.status_code == 200:
|
|
36
|
-
response_200 =
|
|
36
|
+
response_200 = ResourceResponseStatus.from_dict(response.json())
|
|
37
37
|
|
|
38
38
|
return response_200
|
|
39
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
@@ -41,7 +41,7 @@ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
41
41
|
|
|
42
42
|
def _build_response(
|
|
43
43
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[
|
|
44
|
+
) -> Response[ResourceResponseStatus]:
|
|
45
45
|
return Response(
|
|
46
46
|
status_code=HTTPStatus(response.status_code),
|
|
47
47
|
content=response.content,
|
|
@@ -55,7 +55,7 @@ def sync_detailed(
|
|
|
55
55
|
*,
|
|
56
56
|
client: AuthenticatedClient,
|
|
57
57
|
body: ResourceSetLimitsRequest,
|
|
58
|
-
) -> Response[
|
|
58
|
+
) -> Response[ResourceResponseStatus]:
|
|
59
59
|
"""
|
|
60
60
|
Args:
|
|
61
61
|
uuid (UUID):
|
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
|
66
66
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
67
|
|
|
68
68
|
Returns:
|
|
69
|
-
Response[
|
|
69
|
+
Response[ResourceResponseStatus]
|
|
70
70
|
"""
|
|
71
71
|
|
|
72
72
|
kwargs = _get_kwargs(
|
|
@@ -86,7 +86,7 @@ def sync(
|
|
|
86
86
|
*,
|
|
87
87
|
client: AuthenticatedClient,
|
|
88
88
|
body: ResourceSetLimitsRequest,
|
|
89
|
-
) ->
|
|
89
|
+
) -> ResourceResponseStatus:
|
|
90
90
|
"""
|
|
91
91
|
Args:
|
|
92
92
|
uuid (UUID):
|
|
@@ -97,7 +97,7 @@ def sync(
|
|
|
97
97
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
98
|
|
|
99
99
|
Returns:
|
|
100
|
-
|
|
100
|
+
ResourceResponseStatus
|
|
101
101
|
"""
|
|
102
102
|
|
|
103
103
|
return sync_detailed(
|
|
@@ -112,7 +112,7 @@ async def asyncio_detailed(
|
|
|
112
112
|
*,
|
|
113
113
|
client: AuthenticatedClient,
|
|
114
114
|
body: ResourceSetLimitsRequest,
|
|
115
|
-
) -> Response[
|
|
115
|
+
) -> Response[ResourceResponseStatus]:
|
|
116
116
|
"""
|
|
117
117
|
Args:
|
|
118
118
|
uuid (UUID):
|
|
@@ -123,7 +123,7 @@ async def asyncio_detailed(
|
|
|
123
123
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
124
|
|
|
125
125
|
Returns:
|
|
126
|
-
Response[
|
|
126
|
+
Response[ResourceResponseStatus]
|
|
127
127
|
"""
|
|
128
128
|
|
|
129
129
|
kwargs = _get_kwargs(
|
|
@@ -141,7 +141,7 @@ async def asyncio(
|
|
|
141
141
|
*,
|
|
142
142
|
client: AuthenticatedClient,
|
|
143
143
|
body: ResourceSetLimitsRequest,
|
|
144
|
-
) ->
|
|
144
|
+
) -> ResourceResponseStatus:
|
|
145
145
|
"""
|
|
146
146
|
Args:
|
|
147
147
|
uuid (UUID):
|
|
@@ -152,7 +152,7 @@ async def asyncio(
|
|
|
152
152
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
153
|
|
|
154
154
|
Returns:
|
|
155
|
-
|
|
155
|
+
ResourceResponseStatus
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
return (
|
waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_submit_report.py
CHANGED
|
@@ -6,8 +6,8 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
|
-
from ...models.resource_report import ResourceReport
|
|
10
9
|
from ...models.resource_report_request import ResourceReportRequest
|
|
10
|
+
from ...models.resource_response_status import ResourceResponseStatus
|
|
11
11
|
from ...types import Response
|
|
12
12
|
|
|
13
13
|
|
|
@@ -31,9 +31,9 @@ def _get_kwargs(
|
|
|
31
31
|
return _kwargs
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) ->
|
|
34
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ResourceResponseStatus:
|
|
35
35
|
if response.status_code == 200:
|
|
36
|
-
response_200 =
|
|
36
|
+
response_200 = ResourceResponseStatus.from_dict(response.json())
|
|
37
37
|
|
|
38
38
|
return response_200
|
|
39
39
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
@@ -41,7 +41,7 @@ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
41
41
|
|
|
42
42
|
def _build_response(
|
|
43
43
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
44
|
-
) -> Response[
|
|
44
|
+
) -> Response[ResourceResponseStatus]:
|
|
45
45
|
return Response(
|
|
46
46
|
status_code=HTTPStatus(response.status_code),
|
|
47
47
|
content=response.content,
|
|
@@ -55,8 +55,9 @@ def sync_detailed(
|
|
|
55
55
|
*,
|
|
56
56
|
client: AuthenticatedClient,
|
|
57
57
|
body: ResourceReportRequest,
|
|
58
|
-
) -> Response[
|
|
59
|
-
"""
|
|
58
|
+
) -> Response[ResourceResponseStatus]:
|
|
59
|
+
"""Submit resource report.
|
|
60
|
+
|
|
60
61
|
Args:
|
|
61
62
|
uuid (UUID):
|
|
62
63
|
body (ResourceReportRequest):
|
|
@@ -66,7 +67,7 @@ def sync_detailed(
|
|
|
66
67
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
68
|
|
|
68
69
|
Returns:
|
|
69
|
-
Response[
|
|
70
|
+
Response[ResourceResponseStatus]
|
|
70
71
|
"""
|
|
71
72
|
|
|
72
73
|
kwargs = _get_kwargs(
|
|
@@ -86,8 +87,9 @@ def sync(
|
|
|
86
87
|
*,
|
|
87
88
|
client: AuthenticatedClient,
|
|
88
89
|
body: ResourceReportRequest,
|
|
89
|
-
) ->
|
|
90
|
-
"""
|
|
90
|
+
) -> ResourceResponseStatus:
|
|
91
|
+
"""Submit resource report.
|
|
92
|
+
|
|
91
93
|
Args:
|
|
92
94
|
uuid (UUID):
|
|
93
95
|
body (ResourceReportRequest):
|
|
@@ -97,7 +99,7 @@ def sync(
|
|
|
97
99
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
98
100
|
|
|
99
101
|
Returns:
|
|
100
|
-
|
|
102
|
+
ResourceResponseStatus
|
|
101
103
|
"""
|
|
102
104
|
|
|
103
105
|
return sync_detailed(
|
|
@@ -112,8 +114,9 @@ async def asyncio_detailed(
|
|
|
112
114
|
*,
|
|
113
115
|
client: AuthenticatedClient,
|
|
114
116
|
body: ResourceReportRequest,
|
|
115
|
-
) -> Response[
|
|
116
|
-
"""
|
|
117
|
+
) -> Response[ResourceResponseStatus]:
|
|
118
|
+
"""Submit resource report.
|
|
119
|
+
|
|
117
120
|
Args:
|
|
118
121
|
uuid (UUID):
|
|
119
122
|
body (ResourceReportRequest):
|
|
@@ -123,7 +126,7 @@ async def asyncio_detailed(
|
|
|
123
126
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
127
|
|
|
125
128
|
Returns:
|
|
126
|
-
Response[
|
|
129
|
+
Response[ResourceResponseStatus]
|
|
127
130
|
"""
|
|
128
131
|
|
|
129
132
|
kwargs = _get_kwargs(
|
|
@@ -141,8 +144,9 @@ async def asyncio(
|
|
|
141
144
|
*,
|
|
142
145
|
client: AuthenticatedClient,
|
|
143
146
|
body: ResourceReportRequest,
|
|
144
|
-
) ->
|
|
145
|
-
"""
|
|
147
|
+
) -> ResourceResponseStatus:
|
|
148
|
+
"""Submit resource report.
|
|
149
|
+
|
|
146
150
|
Args:
|
|
147
151
|
uuid (UUID):
|
|
148
152
|
body (ResourceReportRequest):
|
|
@@ -152,7 +156,7 @@ async def asyncio(
|
|
|
152
156
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
157
|
|
|
154
158
|
Returns:
|
|
155
|
-
|
|
159
|
+
ResourceResponseStatus
|
|
156
160
|
"""
|
|
157
161
|
|
|
158
162
|
return (
|