waldur-api-client 7.7.3__py3-none-any.whl → 7.7.4__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_head.py +147 -0
- waldur_api_client/api/admin_announcements/admin_announcements_head.py +159 -0
- waldur_api_client/api/auth_tokens/auth_tokens_head.py +107 -0
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_head.py +107 -0
- waldur_api_client/api/aws_images/aws_images_head.py +138 -0
- waldur_api_client/api/aws_instances/aws_instances_head.py +296 -0
- waldur_api_client/api/aws_regions/aws_regions_head.py +125 -0
- waldur_api_client/api/aws_sizes/aws_sizes_head.py +138 -0
- waldur_api_client/api/aws_volumes/aws_volumes_head.py +107 -0
- waldur_api_client/api/azure_images/azure_images_head.py +168 -0
- waldur_api_client/api/azure_locations/azure_locations_head.py +156 -0
- waldur_api_client/api/azure_public_ips/azure_public_ips_head.py +317 -0
- waldur_api_client/api/azure_resource_groups/azure_resource_groups_head.py +107 -0
- waldur_api_client/api/azure_sizes/azure_sizes_head.py +177 -0
- waldur_api_client/api/azure_sql_databases/azure_sql_databases_head.py +338 -0
- waldur_api_client/api/azure_sql_servers/azure_sql_servers_head.py +317 -0
- waldur_api_client/api/azure_virtualmachines/azure_virtualmachines_head.py +317 -0
- waldur_api_client/api/backend_resource_requests/backend_resource_requests_head.py +203 -0
- waldur_api_client/api/backend_resources/backend_resources_head.py +201 -0
- waldur_api_client/api/booking_offerings/booking_offerings_head.py +107 -0
- waldur_api_client/api/booking_resources/booking_resources_head.py +419 -0
- waldur_api_client/api/broadcast_message_templates/broadcast_message_templates_head.py +116 -0
- waldur_api_client/api/broadcast_messages/broadcast_messages_head.py +147 -0
- waldur_api_client/api/broadcast_messages/broadcast_messages_recipients_head.py +74 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_head.py +155 -0
- waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_head.py +120 -0
- waldur_api_client/api/call_rounds/call_rounds_head.py +107 -0
- waldur_api_client/api/component_user_usage_limits/component_user_usage_limits_head.py +159 -0
- waldur_api_client/api/customer_credits/customer_credits_head.py +155 -0
- waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_head.py +158 -0
- waldur_api_client/api/customer_quotas/customer_quotas_head.py +107 -0
- waldur_api_client/api/customers/customers_countries_head.py +241 -0
- waldur_api_client/api/customers/customers_head.py +275 -0
- waldur_api_client/api/digitalocean_droplets/digitalocean_droplets_head.py +296 -0
- waldur_api_client/api/digitalocean_images/digitalocean_images_head.py +160 -0
- waldur_api_client/api/digitalocean_regions/digitalocean_regions_head.py +125 -0
- waldur_api_client/api/digitalocean_sizes/digitalocean_sizes_head.py +152 -0
- waldur_api_client/api/email_logs/email_logs_head.py +164 -0
- waldur_api_client/api/event_subscriptions/event_subscriptions_head.py +142 -0
- waldur_api_client/api/events/events_count_head.py +74 -0
- waldur_api_client/api/events/events_event_groups_head.py +78 -0
- waldur_api_client/api/events/events_head.py +188 -0
- waldur_api_client/api/events/events_scope_types_head.py +76 -0
- waldur_api_client/api/events_stats/events_stats_head.py +107 -0
- waldur_api_client/api/financial_reports/financial_reports_head.py +241 -0
- waldur_api_client/api/freeipa_profiles/freeipa_profiles_head.py +129 -0
- waldur_api_client/api/google_auth/google_auth_callback_head.py +107 -0
- waldur_api_client/api/google_auth/google_auth_head.py +116 -0
- waldur_api_client/api/hooks/hooks_head.py +107 -0
- waldur_api_client/api/hooks_email/hooks_email_head.py +187 -0
- waldur_api_client/api/hooks_web/hooks_web_head.py +201 -0
- waldur_api_client/api/identity_providers/identity_providers_head.py +107 -0
- waldur_api_client/api/invoice_items/invoice_items_costs_head.py +120 -0
- waldur_api_client/api/invoice_items/invoice_items_customer_costs_for_period_head.py +109 -0
- waldur_api_client/api/invoice_items/invoice_items_head.py +204 -0
- waldur_api_client/api/invoice_items/invoice_items_project_costs_for_period_head.py +111 -0
- waldur_api_client/api/invoice_items/invoice_items_total_price_head.py +186 -0
- waldur_api_client/api/invoices/invoices_growth_head.py +118 -0
- waldur_api_client/api/invoices/invoices_head.py +218 -0
- waldur_api_client/api/keycloak_groups/keycloak_groups_head.py +138 -0
- waldur_api_client/api/keycloak_user_group_memberships/keycloak_user_group_memberships_head.py +206 -0
- waldur_api_client/api/keys/keys_head.py +228 -0
- waldur_api_client/api/lexis_links/lexis_links_head.py +165 -0
- waldur_api_client/api/marketplace_categories/marketplace_categories_head.py +204 -0
- waldur_api_client/api/marketplace_category_columns/marketplace_category_columns_head.py +129 -0
- waldur_api_client/api/marketplace_category_component_usages/marketplace_category_component_usages_head.py +132 -0
- waldur_api_client/api/marketplace_category_components/marketplace_category_components_head.py +107 -0
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_head.py +116 -0
- waldur_api_client/api/marketplace_category_help_articles/marketplace_category_help_articles_head.py +107 -0
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_head.py +107 -0
- waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_head.py +107 -0
- waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_head.py +132 -0
- waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_head.py +120 -0
- waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_head.py +120 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_head.py +228 -0
- waldur_api_client/api/marketplace_component_user_usages/marketplace_component_user_usages_head.py +255 -0
- waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_actions_head.py +74 -0
- waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_head.py +150 -0
- waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_head.py +147 -0
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_head.py +193 -0
- waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_head.py +107 -0
- waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_head.py +107 -0
- waldur_api_client/api/marketplace_maintenance_announcements/marketplace_maintenance_announcements_head.py +107 -0
- waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_head.py +107 -0
- waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_actions_head.py +76 -0
- waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_head.py +129 -0
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_head.py +158 -0
- waldur_api_client/api/marketplace_offering_permissions/marketplace_offering_permissions_head.py +279 -0
- waldur_api_client/api/marketplace_offering_permissions_log/marketplace_offering_permissions_log_head.py +279 -0
- waldur_api_client/api/marketplace_offering_referrals/marketplace_offering_referrals_head.py +124 -0
- waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_actions_head.py +74 -0
- waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_head.py +129 -0
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_head.py +141 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_begin_creating.py +89 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_head.py +251 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_ok.py +89 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_validation_complete.py +0 -16
- waldur_api_client/api/marketplace_orders/marketplace_orders_head.py +338 -0
- waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_head.py +150 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_head.py +141 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_head.py +154 -0
- waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_actions_head.py +74 -0
- waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_head.py +171 -0
- waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_head.py +147 -0
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_head.py +173 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_head.py +403 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_head.py +403 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_head.py +407 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_head.py +403 -0
- waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_head.py +107 -0
- waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_head.py +162 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_head.py +407 -0
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_head.py +213 -0
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_head.py +158 -0
- waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_head.py +107 -0
- waldur_api_client/api/marketplace_sections/marketplace_sections_head.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_head.py +155 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_month_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_project_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_country_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_organization_group_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_industry_flag_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_oecd_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_grouped_by_oecd_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_unique_users_connected_with_active_resources_of_service_provider_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_count_users_of_service_providers_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_customer_member_count_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_offerings_counter_stats_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_organization_project_count_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_organization_resource_count_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_industry_flag_head.py +76 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_oecd_head.py +76 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_industry_flag_head.py +76 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_oecd_head.py +76 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_resources_limits_head.py +107 -0
- waldur_api_client/api/marketplace_stats/marketplace_stats_total_cost_of_active_resources_per_offering_head.py +107 -0
- waldur_api_client/api/notification_messages/notification_messages_head.py +161 -0
- waldur_api_client/api/notification_messages_templates/notification_messages_templates_head.py +152 -0
- waldur_api_client/api/openstack_backups/openstack_backups_head.py +338 -0
- waldur_api_client/api/openstack_flavors/openstack_flavors_head.py +287 -0
- waldur_api_client/api/openstack_flavors/openstack_flavors_usage_stats_head.py +74 -0
- waldur_api_client/api/openstack_floating_ips/openstack_floating_ips_head.py +344 -0
- waldur_api_client/api/openstack_images/openstack_images_head.py +180 -0
- waldur_api_client/api/openstack_images/openstack_images_usage_stats_head.py +74 -0
- waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_head.py +168 -0
- waldur_api_client/api/openstack_instances/openstack_instances_head.py +356 -0
- waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_head.py +296 -0
- waldur_api_client/api/openstack_migrations/openstack_migrations_head.py +132 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_head.py +164 -0
- waldur_api_client/api/openstack_networks/openstack_networks_head.py +353 -0
- waldur_api_client/api/openstack_ports/openstack_ports_head.py +245 -0
- waldur_api_client/api/openstack_routers/openstack_routers_head.py +147 -0
- waldur_api_client/api/openstack_security_groups/openstack_security_groups_head.py +326 -0
- waldur_api_client/api/openstack_server_groups/openstack_server_groups_head.py +317 -0
- waldur_api_client/api/openstack_snapshots/openstack_snapshots_head.py +368 -0
- waldur_api_client/api/openstack_subnets/openstack_subnets_head.py +374 -0
- waldur_api_client/api/openstack_tenants/openstack_tenants_head.py +296 -0
- waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_head.py +168 -0
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_head.py +180 -0
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_names_head.py +76 -0
- waldur_api_client/api/openstack_volumes/openstack_volumes_head.py +389 -0
- waldur_api_client/api/organization_groups/organization_groups_head.py +147 -0
- waldur_api_client/api/payment_profiles/payment_profiles_head.py +172 -0
- waldur_api_client/api/payments/payments_head.py +142 -0
- waldur_api_client/api/project_credits/project_credits_head.py +176 -0
- waldur_api_client/api/project_quotas/project_quotas_head.py +107 -0
- waldur_api_client/api/project_types/project_types_head.py +125 -0
- waldur_api_client/api/projects/projects_head.py +274 -0
- waldur_api_client/api/promotions_campaigns/promotions_campaigns_head.py +218 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_head.py +187 -0
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_head.py +214 -0
- waldur_api_client/api/proposal_public_calls/proposal_public_calls_head.py +214 -0
- waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_head.py +208 -0
- waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_head.py +201 -0
- waldur_api_client/api/proposal_reviews/proposal_reviews_head.py +208 -0
- waldur_api_client/api/provider_invoice_items/provider_invoice_items_head.py +179 -0
- waldur_api_client/api/rancher_apps/rancher_apps_head.py +332 -0
- waldur_api_client/api/rancher_catalogs/rancher_catalogs_head.py +107 -0
- waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_head.py +138 -0
- waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_head.py +107 -0
- waldur_api_client/api/rancher_clusters/rancher_clusters_head.py +296 -0
- waldur_api_client/api/rancher_hpas/rancher_hpas_head.py +195 -0
- waldur_api_client/api/rancher_ingresses/rancher_ingresses_head.py +332 -0
- waldur_api_client/api/rancher_namespaces/rancher_namespaces_head.py +188 -0
- waldur_api_client/api/rancher_nodes/rancher_nodes_head.py +120 -0
- waldur_api_client/api/rancher_projects/rancher_projects_head.py +159 -0
- waldur_api_client/api/rancher_role_templates/rancher_role_templates_head.py +155 -0
- waldur_api_client/api/rancher_services/rancher_services_head.py +332 -0
- waldur_api_client/api/rancher_templates/rancher_templates_head.py +200 -0
- waldur_api_client/api/rancher_users/rancher_users_head.py +171 -0
- waldur_api_client/api/rancher_workloads/rancher_workloads_head.py +200 -0
- waldur_api_client/api/roles/roles_head.py +134 -0
- waldur_api_client/api/service_settings/service_settings_head.py +203 -0
- waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_head.py +168 -0
- waldur_api_client/api/slurm_allocations/slurm_allocations_head.py +305 -0
- waldur_api_client/api/slurm_associations/slurm_associations_head.py +129 -0
- waldur_api_client/api/slurm_jobs/slurm_jobs_head.py +107 -0
- waldur_api_client/api/support_attachments/support_attachments_head.py +129 -0
- waldur_api_client/api/support_comments/support_comments_head.py +191 -0
- waldur_api_client/api/support_feedbacks/support_feedbacks_head.py +202 -0
- waldur_api_client/api/support_issues/support_issues_head.py +314 -0
- waldur_api_client/api/support_priorities/support_priorities_head.py +125 -0
- waldur_api_client/api/support_templates/support_templates_head.py +107 -0
- waldur_api_client/api/support_users/support_users_head.py +134 -0
- waldur_api_client/api/user_agreements/user_agreements_head.py +121 -0
- waldur_api_client/api/user_group_invitations/user_group_invitations_head.py +176 -0
- waldur_api_client/api/user_invitations/user_invitations_head.py +202 -0
- waldur_api_client/api/user_permission_requests/user_permission_requests_head.py +178 -0
- waldur_api_client/api/user_permissions/user_permissions_head.py +267 -0
- waldur_api_client/api/users/users_head.py +348 -0
- waldur_api_client/api/users/users_me_head.py +76 -0
- waldur_api_client/api/vmware_clusters/vmware_clusters_head.py +159 -0
- waldur_api_client/api/vmware_datastores/vmware_datastores_head.py +159 -0
- waldur_api_client/api/vmware_disks/vmware_disks_head.py +317 -0
- waldur_api_client/api/vmware_folders/vmware_folders_head.py +159 -0
- waldur_api_client/api/vmware_networks/vmware_networks_head.py +171 -0
- waldur_api_client/api/vmware_ports/vmware_ports_head.py +338 -0
- waldur_api_client/api/vmware_templates/vmware_templates_head.py +147 -0
- waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_head.py +305 -0
- waldur_api_client/models/__init__.py +222 -0
- waldur_api_client/models/admin_announcements_head_o_item.py +17 -0
- waldur_api_client/models/admin_announcements_head_type_item.py +10 -0
- waldur_api_client/models/aws_instances_head_state_item.py +15 -0
- waldur_api_client/models/azure_public_ips_head_state_item.py +15 -0
- waldur_api_client/models/azure_sql_databases_head_state_item.py +15 -0
- waldur_api_client/models/azure_sql_servers_head_state_item.py +15 -0
- waldur_api_client/models/azure_virtualmachines_head_state_item.py +15 -0
- waldur_api_client/models/backend_resource_req.py +8 -0
- waldur_api_client/models/backend_resource_requests_head_o_item.py +9 -0
- waldur_api_client/models/backend_resource_requests_head_state_item.py +11 -0
- waldur_api_client/models/backend_resources_head_o_item.py +9 -0
- waldur_api_client/models/booking_resources_head_o_item.py +15 -0
- waldur_api_client/models/booking_resources_head_state_item.py +13 -0
- waldur_api_client/models/broadcast_messages_head_o_item.py +13 -0
- waldur_api_client/models/broadcast_messages_head_state.py +10 -0
- waldur_api_client/models/call_managing_organisations_head_o_item.py +9 -0
- waldur_api_client/models/customer_credits_head_o_item.py +15 -0
- waldur_api_client/models/customer_permissions_reviews_head_o_item.py +11 -0
- waldur_api_client/models/digitalocean_droplets_head_state_item.py +15 -0
- waldur_api_client/models/digitalocean_images_head_o_item.py +11 -0
- waldur_api_client/models/email_logs_head_o_item.py +11 -0
- waldur_api_client/models/event_subscriptions_head_o_item.py +9 -0
- waldur_api_client/models/events_head_o_item.py +9 -0
- waldur_api_client/models/hooks_web_head_content_type.py +9 -0
- waldur_api_client/models/invoices_head_o_item.py +13 -0
- waldur_api_client/models/invoices_head_state_item.py +11 -0
- waldur_api_client/models/keycloak_user_group_memberships_head_state_item.py +9 -0
- waldur_api_client/models/keys_head_o_item.py +9 -0
- waldur_api_client/models/marketplace_categories_head_customers_offerings_state_item.py +11 -0
- waldur_api_client/models/marketplace_component_usages_head_o_item.py +11 -0
- waldur_api_client/models/marketplace_component_user_usages_head_o_item.py +13 -0
- waldur_api_client/models/marketplace_integration_statuses_head_o_item.py +9 -0
- waldur_api_client/models/marketplace_integration_statuses_head_status_item.py +10 -0
- waldur_api_client/models/marketplace_offering_files_head_o_item.py +11 -0
- waldur_api_client/models/marketplace_offering_permissions_head_o_item.py +21 -0
- waldur_api_client/models/marketplace_offering_permissions_log_head_o_item.py +21 -0
- waldur_api_client/models/marketplace_offering_referrals_head_o_item.py +13 -0
- waldur_api_client/models/marketplace_offering_users_head_o_item.py +13 -0
- waldur_api_client/models/marketplace_offering_users_head_state_item.py +16 -0
- waldur_api_client/models/marketplace_offering_users_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_offering_users_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_head_o_item.py +15 -0
- waldur_api_client/models/marketplace_orders_head_state_item.py +15 -0
- waldur_api_client/models/marketplace_orders_head_type_item.py +10 -0
- waldur_api_client/models/marketplace_project_update_requests_head_state_item.py +12 -0
- waldur_api_client/models/marketplace_provider_offerings_groups_head_o_item.py +21 -0
- waldur_api_client/models/marketplace_provider_offerings_groups_head_state_item.py +11 -0
- waldur_api_client/models/marketplace_provider_offerings_head_o_item.py +21 -0
- waldur_api_client/models/marketplace_provider_offerings_head_state_item.py +11 -0
- waldur_api_client/models/marketplace_provider_resources_head_o_item.py +15 -0
- waldur_api_client/models/marketplace_provider_resources_head_state_item.py +13 -0
- waldur_api_client/models/marketplace_public_offerings_head_o_item.py +21 -0
- waldur_api_client/models/marketplace_public_offerings_head_state_item.py +11 -0
- waldur_api_client/models/marketplace_resources_head_o_item.py +15 -0
- waldur_api_client/models/marketplace_resources_head_state_item.py +13 -0
- waldur_api_client/models/marketplace_robot_accounts_head_state.py +13 -0
- waldur_api_client/models/marketplace_screenshots_head_o_item.py +11 -0
- waldur_api_client/models/marketplace_service_providers_head_o_item.py +9 -0
- waldur_api_client/models/offering_user.py +9 -0
- waldur_api_client/models/openstack_backups_head_state_item.py +15 -0
- waldur_api_client/models/openstack_flavors_head_o_item.py +13 -0
- waldur_api_client/models/openstack_floating_ips_head_state_item.py +15 -0
- waldur_api_client/models/openstack_instances_head_state_item.py +15 -0
- waldur_api_client/models/openstack_marketplace_tenants_head_state_item.py +15 -0
- waldur_api_client/models/openstack_network_rbac_policies_head_policy_type.py +9 -0
- waldur_api_client/models/openstack_networks_head_state_item.py +15 -0
- waldur_api_client/models/openstack_ports_head_o_item.py +9 -0
- waldur_api_client/models/openstack_security_groups_head_state_item.py +15 -0
- waldur_api_client/models/openstack_server_groups_head_state_item.py +15 -0
- waldur_api_client/models/openstack_snapshots_head_state_item.py +15 -0
- waldur_api_client/models/openstack_subnets_head_state_item.py +15 -0
- waldur_api_client/models/openstack_tenants_head_state_item.py +15 -0
- waldur_api_client/models/openstack_volumes_head_state_item.py +15 -0
- waldur_api_client/models/payment_profiles_head_o_item.py +13 -0
- waldur_api_client/models/payment_profiles_head_payment_type_item.py +10 -0
- waldur_api_client/models/permission.py +15 -4
- waldur_api_client/models/project_credits_head_o_item.py +15 -0
- waldur_api_client/models/projects_head_o_item.py +23 -0
- waldur_api_client/models/promotions_campaigns_head_o_item.py +11 -0
- waldur_api_client/models/promotions_campaigns_head_state_item.py +10 -0
- waldur_api_client/models/proposal_proposals_head_o_item.py +17 -0
- waldur_api_client/models/proposal_proposals_head_state_item.py +13 -0
- waldur_api_client/models/proposal_protected_calls_head_o_item.py +13 -0
- waldur_api_client/models/proposal_protected_calls_head_state_item.py +10 -0
- waldur_api_client/models/proposal_protected_calls_list_field_item.py +1 -0
- waldur_api_client/models/proposal_protected_calls_retrieve_field_item.py +1 -0
- waldur_api_client/models/proposal_public_calls_head_o_item.py +13 -0
- waldur_api_client/models/proposal_public_calls_head_state_item.py +10 -0
- waldur_api_client/models/proposal_public_calls_list_field_item.py +1 -0
- waldur_api_client/models/proposal_public_calls_retrieve_field_item.py +1 -0
- waldur_api_client/models/proposal_requested_offerings_head_o_item.py +15 -0
- waldur_api_client/models/proposal_requested_offerings_head_state_item.py +10 -0
- waldur_api_client/models/proposal_requested_resources_head_o_item.py +15 -0
- waldur_api_client/models/proposal_reviews_head_o_item.py +11 -0
- waldur_api_client/models/proposal_reviews_head_state_item.py +11 -0
- waldur_api_client/models/protected_call.py +16 -0
- waldur_api_client/models/provider_invoice_items_head_o_item.py +15 -0
- waldur_api_client/models/public_call.py +16 -0
- waldur_api_client/models/rancher_apps_head_state_item.py +15 -0
- waldur_api_client/models/rancher_clusters_head_state_item.py +15 -0
- waldur_api_client/models/rancher_ingresses_head_state_item.py +15 -0
- waldur_api_client/models/rancher_namespaces_head_o_item.py +13 -0
- waldur_api_client/models/rancher_role_templates_head_o_item.py +11 -0
- waldur_api_client/models/rancher_services_head_state_item.py +15 -0
- waldur_api_client/models/rancher_templates_head_o_item.py +11 -0
- waldur_api_client/models/rancher_workloads_head_o_item.py +15 -0
- waldur_api_client/models/service_settings_head_state_item.py +15 -0
- waldur_api_client/models/slurm_allocations_head_state_item.py +15 -0
- waldur_api_client/models/support_comments_head_o_item.py +11 -0
- waldur_api_client/models/support_issues_head_o_item.py +35 -0
- waldur_api_client/models/user_agreements_head_agreement_type.py +9 -0
- waldur_api_client/models/user_group_invitations_head_o_item.py +9 -0
- waldur_api_client/models/user_invitations_head_o_item.py +15 -0
- waldur_api_client/models/user_invitations_head_state_item.py +14 -0
- waldur_api_client/models/user_permission_requests_head_o_item.py +11 -0
- waldur_api_client/models/user_permission_requests_head_state_item.py +12 -0
- waldur_api_client/models/user_permissions_head_o_item.py +21 -0
- waldur_api_client/models/users_head_o_item.py +31 -0
- waldur_api_client/models/vmware_disks_head_state_item.py +15 -0
- waldur_api_client/models/vmware_ports_head_state_item.py +15 -0
- waldur_api_client/models/vmware_virtual_machine_head_state_item.py +15 -0
- {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/METADATA +1 -1
- {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/RECORD +348 -17
- {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from http import HTTPStatus
|
|
3
|
+
from typing import Any, Union
|
|
4
|
+
from uuid import UUID
|
|
5
|
+
|
|
6
|
+
import httpx
|
|
7
|
+
|
|
8
|
+
from ... import errors
|
|
9
|
+
from ...client import AuthenticatedClient, Client
|
|
10
|
+
from ...models.marketplace_public_offerings_head_o_item import MarketplacePublicOfferingsHeadOItem
|
|
11
|
+
from ...models.marketplace_public_offerings_head_state_item import MarketplacePublicOfferingsHeadStateItem
|
|
12
|
+
from ...types import UNSET, Response, Unset
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def _get_kwargs(
|
|
16
|
+
*,
|
|
17
|
+
accessible_via_calls: Union[Unset, bool] = UNSET,
|
|
18
|
+
allowed_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
19
|
+
attributes: Union[Unset, str] = UNSET,
|
|
20
|
+
billable: Union[Unset, bool] = UNSET,
|
|
21
|
+
category_group_uuid: Union[Unset, UUID] = UNSET,
|
|
22
|
+
category_uuid: Union[Unset, UUID] = UNSET,
|
|
23
|
+
created: Union[Unset, datetime.datetime] = UNSET,
|
|
24
|
+
customer: Union[Unset, str] = UNSET,
|
|
25
|
+
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
26
|
+
description: Union[Unset, str] = UNSET,
|
|
27
|
+
keyword: Union[Unset, str] = UNSET,
|
|
28
|
+
modified: Union[Unset, datetime.datetime] = UNSET,
|
|
29
|
+
name: Union[Unset, str] = UNSET,
|
|
30
|
+
name_exact: Union[Unset, str] = UNSET,
|
|
31
|
+
o: Union[Unset, list[MarketplacePublicOfferingsHeadOItem]] = UNSET,
|
|
32
|
+
organization_group_uuid: Union[Unset, list[UUID]] = UNSET,
|
|
33
|
+
page: Union[Unset, int] = UNSET,
|
|
34
|
+
page_size: Union[Unset, int] = UNSET,
|
|
35
|
+
parent_uuid: Union[Unset, UUID] = UNSET,
|
|
36
|
+
project_uuid: Union[Unset, UUID] = UNSET,
|
|
37
|
+
resource_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
38
|
+
resource_project_uuid: Union[Unset, UUID] = UNSET,
|
|
39
|
+
scope_uuid: Union[Unset, str] = UNSET,
|
|
40
|
+
service_manager_uuid: Union[Unset, UUID] = UNSET,
|
|
41
|
+
shared: Union[Unset, bool] = UNSET,
|
|
42
|
+
state: Union[Unset, list[MarketplacePublicOfferingsHeadStateItem]] = UNSET,
|
|
43
|
+
type_: Union[Unset, list[str]] = UNSET,
|
|
44
|
+
uuid_list: Union[Unset, str] = UNSET,
|
|
45
|
+
) -> dict[str, Any]:
|
|
46
|
+
params: dict[str, Any] = {}
|
|
47
|
+
|
|
48
|
+
params["accessible_via_calls"] = accessible_via_calls
|
|
49
|
+
|
|
50
|
+
json_allowed_customer_uuid: Union[Unset, str] = UNSET
|
|
51
|
+
if not isinstance(allowed_customer_uuid, Unset):
|
|
52
|
+
json_allowed_customer_uuid = str(allowed_customer_uuid)
|
|
53
|
+
params["allowed_customer_uuid"] = json_allowed_customer_uuid
|
|
54
|
+
|
|
55
|
+
params["attributes"] = attributes
|
|
56
|
+
|
|
57
|
+
params["billable"] = billable
|
|
58
|
+
|
|
59
|
+
json_category_group_uuid: Union[Unset, str] = UNSET
|
|
60
|
+
if not isinstance(category_group_uuid, Unset):
|
|
61
|
+
json_category_group_uuid = str(category_group_uuid)
|
|
62
|
+
params["category_group_uuid"] = json_category_group_uuid
|
|
63
|
+
|
|
64
|
+
json_category_uuid: Union[Unset, str] = UNSET
|
|
65
|
+
if not isinstance(category_uuid, Unset):
|
|
66
|
+
json_category_uuid = str(category_uuid)
|
|
67
|
+
params["category_uuid"] = json_category_uuid
|
|
68
|
+
|
|
69
|
+
json_created: Union[Unset, str] = UNSET
|
|
70
|
+
if not isinstance(created, Unset):
|
|
71
|
+
json_created = created.isoformat()
|
|
72
|
+
params["created"] = json_created
|
|
73
|
+
|
|
74
|
+
params["customer"] = customer
|
|
75
|
+
|
|
76
|
+
json_customer_uuid: Union[Unset, str] = UNSET
|
|
77
|
+
if not isinstance(customer_uuid, Unset):
|
|
78
|
+
json_customer_uuid = str(customer_uuid)
|
|
79
|
+
params["customer_uuid"] = json_customer_uuid
|
|
80
|
+
|
|
81
|
+
params["description"] = description
|
|
82
|
+
|
|
83
|
+
params["keyword"] = keyword
|
|
84
|
+
|
|
85
|
+
json_modified: Union[Unset, str] = UNSET
|
|
86
|
+
if not isinstance(modified, Unset):
|
|
87
|
+
json_modified = modified.isoformat()
|
|
88
|
+
params["modified"] = json_modified
|
|
89
|
+
|
|
90
|
+
params["name"] = name
|
|
91
|
+
|
|
92
|
+
params["name_exact"] = name_exact
|
|
93
|
+
|
|
94
|
+
json_o: Union[Unset, list[str]] = UNSET
|
|
95
|
+
if not isinstance(o, Unset):
|
|
96
|
+
json_o = []
|
|
97
|
+
for o_item_data in o:
|
|
98
|
+
o_item = o_item_data.value
|
|
99
|
+
json_o.append(o_item)
|
|
100
|
+
|
|
101
|
+
params["o"] = json_o
|
|
102
|
+
|
|
103
|
+
json_organization_group_uuid: Union[Unset, list[str]] = UNSET
|
|
104
|
+
if not isinstance(organization_group_uuid, Unset):
|
|
105
|
+
json_organization_group_uuid = []
|
|
106
|
+
for organization_group_uuid_item_data in organization_group_uuid:
|
|
107
|
+
organization_group_uuid_item = str(organization_group_uuid_item_data)
|
|
108
|
+
json_organization_group_uuid.append(organization_group_uuid_item)
|
|
109
|
+
|
|
110
|
+
params["organization_group_uuid"] = json_organization_group_uuid
|
|
111
|
+
|
|
112
|
+
params["page"] = page
|
|
113
|
+
|
|
114
|
+
params["page_size"] = page_size
|
|
115
|
+
|
|
116
|
+
json_parent_uuid: Union[Unset, str] = UNSET
|
|
117
|
+
if not isinstance(parent_uuid, Unset):
|
|
118
|
+
json_parent_uuid = str(parent_uuid)
|
|
119
|
+
params["parent_uuid"] = json_parent_uuid
|
|
120
|
+
|
|
121
|
+
json_project_uuid: Union[Unset, str] = UNSET
|
|
122
|
+
if not isinstance(project_uuid, Unset):
|
|
123
|
+
json_project_uuid = str(project_uuid)
|
|
124
|
+
params["project_uuid"] = json_project_uuid
|
|
125
|
+
|
|
126
|
+
json_resource_customer_uuid: Union[Unset, str] = UNSET
|
|
127
|
+
if not isinstance(resource_customer_uuid, Unset):
|
|
128
|
+
json_resource_customer_uuid = str(resource_customer_uuid)
|
|
129
|
+
params["resource_customer_uuid"] = json_resource_customer_uuid
|
|
130
|
+
|
|
131
|
+
json_resource_project_uuid: Union[Unset, str] = UNSET
|
|
132
|
+
if not isinstance(resource_project_uuid, Unset):
|
|
133
|
+
json_resource_project_uuid = str(resource_project_uuid)
|
|
134
|
+
params["resource_project_uuid"] = json_resource_project_uuid
|
|
135
|
+
|
|
136
|
+
params["scope_uuid"] = scope_uuid
|
|
137
|
+
|
|
138
|
+
json_service_manager_uuid: Union[Unset, str] = UNSET
|
|
139
|
+
if not isinstance(service_manager_uuid, Unset):
|
|
140
|
+
json_service_manager_uuid = str(service_manager_uuid)
|
|
141
|
+
params["service_manager_uuid"] = json_service_manager_uuid
|
|
142
|
+
|
|
143
|
+
params["shared"] = shared
|
|
144
|
+
|
|
145
|
+
json_state: Union[Unset, list[str]] = UNSET
|
|
146
|
+
if not isinstance(state, Unset):
|
|
147
|
+
json_state = []
|
|
148
|
+
for state_item_data in state:
|
|
149
|
+
state_item = state_item_data.value
|
|
150
|
+
json_state.append(state_item)
|
|
151
|
+
|
|
152
|
+
params["state"] = json_state
|
|
153
|
+
|
|
154
|
+
json_type_: Union[Unset, list[str]] = UNSET
|
|
155
|
+
if not isinstance(type_, Unset):
|
|
156
|
+
json_type_ = type_
|
|
157
|
+
|
|
158
|
+
params["type"] = json_type_
|
|
159
|
+
|
|
160
|
+
params["uuid_list"] = uuid_list
|
|
161
|
+
|
|
162
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
163
|
+
|
|
164
|
+
_kwargs: dict[str, Any] = {
|
|
165
|
+
"method": "head",
|
|
166
|
+
"url": "/api/marketplace-public-offerings/",
|
|
167
|
+
"params": params,
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return _kwargs
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
|
|
174
|
+
if response.status_code == 200:
|
|
175
|
+
return None
|
|
176
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
|
180
|
+
return Response(
|
|
181
|
+
status_code=HTTPStatus(response.status_code),
|
|
182
|
+
content=response.content,
|
|
183
|
+
headers=response.headers,
|
|
184
|
+
parsed=_parse_response(client=client, response=response),
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def sync_detailed(
|
|
189
|
+
*,
|
|
190
|
+
client: AuthenticatedClient,
|
|
191
|
+
accessible_via_calls: Union[Unset, bool] = UNSET,
|
|
192
|
+
allowed_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
193
|
+
attributes: Union[Unset, str] = UNSET,
|
|
194
|
+
billable: Union[Unset, bool] = UNSET,
|
|
195
|
+
category_group_uuid: Union[Unset, UUID] = UNSET,
|
|
196
|
+
category_uuid: Union[Unset, UUID] = UNSET,
|
|
197
|
+
created: Union[Unset, datetime.datetime] = UNSET,
|
|
198
|
+
customer: Union[Unset, str] = UNSET,
|
|
199
|
+
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
200
|
+
description: Union[Unset, str] = UNSET,
|
|
201
|
+
keyword: Union[Unset, str] = UNSET,
|
|
202
|
+
modified: Union[Unset, datetime.datetime] = UNSET,
|
|
203
|
+
name: Union[Unset, str] = UNSET,
|
|
204
|
+
name_exact: Union[Unset, str] = UNSET,
|
|
205
|
+
o: Union[Unset, list[MarketplacePublicOfferingsHeadOItem]] = UNSET,
|
|
206
|
+
organization_group_uuid: Union[Unset, list[UUID]] = UNSET,
|
|
207
|
+
page: Union[Unset, int] = UNSET,
|
|
208
|
+
page_size: Union[Unset, int] = UNSET,
|
|
209
|
+
parent_uuid: Union[Unset, UUID] = UNSET,
|
|
210
|
+
project_uuid: Union[Unset, UUID] = UNSET,
|
|
211
|
+
resource_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
212
|
+
resource_project_uuid: Union[Unset, UUID] = UNSET,
|
|
213
|
+
scope_uuid: Union[Unset, str] = UNSET,
|
|
214
|
+
service_manager_uuid: Union[Unset, UUID] = UNSET,
|
|
215
|
+
shared: Union[Unset, bool] = UNSET,
|
|
216
|
+
state: Union[Unset, list[MarketplacePublicOfferingsHeadStateItem]] = UNSET,
|
|
217
|
+
type_: Union[Unset, list[str]] = UNSET,
|
|
218
|
+
uuid_list: Union[Unset, str] = UNSET,
|
|
219
|
+
) -> Response[Any]:
|
|
220
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
221
|
+
|
|
222
|
+
Args:
|
|
223
|
+
accessible_via_calls (Union[Unset, bool]):
|
|
224
|
+
allowed_customer_uuid (Union[Unset, UUID]):
|
|
225
|
+
attributes (Union[Unset, str]):
|
|
226
|
+
billable (Union[Unset, bool]):
|
|
227
|
+
category_group_uuid (Union[Unset, UUID]):
|
|
228
|
+
category_uuid (Union[Unset, UUID]):
|
|
229
|
+
created (Union[Unset, datetime.datetime]):
|
|
230
|
+
customer (Union[Unset, str]):
|
|
231
|
+
customer_uuid (Union[Unset, UUID]):
|
|
232
|
+
description (Union[Unset, str]):
|
|
233
|
+
keyword (Union[Unset, str]):
|
|
234
|
+
modified (Union[Unset, datetime.datetime]):
|
|
235
|
+
name (Union[Unset, str]):
|
|
236
|
+
name_exact (Union[Unset, str]):
|
|
237
|
+
o (Union[Unset, list[MarketplacePublicOfferingsHeadOItem]]):
|
|
238
|
+
organization_group_uuid (Union[Unset, list[UUID]]):
|
|
239
|
+
page (Union[Unset, int]):
|
|
240
|
+
page_size (Union[Unset, int]):
|
|
241
|
+
parent_uuid (Union[Unset, UUID]):
|
|
242
|
+
project_uuid (Union[Unset, UUID]):
|
|
243
|
+
resource_customer_uuid (Union[Unset, UUID]):
|
|
244
|
+
resource_project_uuid (Union[Unset, UUID]):
|
|
245
|
+
scope_uuid (Union[Unset, str]):
|
|
246
|
+
service_manager_uuid (Union[Unset, UUID]):
|
|
247
|
+
shared (Union[Unset, bool]):
|
|
248
|
+
state (Union[Unset, list[MarketplacePublicOfferingsHeadStateItem]]):
|
|
249
|
+
type_ (Union[Unset, list[str]]):
|
|
250
|
+
uuid_list (Union[Unset, str]):
|
|
251
|
+
|
|
252
|
+
Raises:
|
|
253
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
254
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
255
|
+
|
|
256
|
+
Returns:
|
|
257
|
+
Response[Any]
|
|
258
|
+
"""
|
|
259
|
+
|
|
260
|
+
kwargs = _get_kwargs(
|
|
261
|
+
accessible_via_calls=accessible_via_calls,
|
|
262
|
+
allowed_customer_uuid=allowed_customer_uuid,
|
|
263
|
+
attributes=attributes,
|
|
264
|
+
billable=billable,
|
|
265
|
+
category_group_uuid=category_group_uuid,
|
|
266
|
+
category_uuid=category_uuid,
|
|
267
|
+
created=created,
|
|
268
|
+
customer=customer,
|
|
269
|
+
customer_uuid=customer_uuid,
|
|
270
|
+
description=description,
|
|
271
|
+
keyword=keyword,
|
|
272
|
+
modified=modified,
|
|
273
|
+
name=name,
|
|
274
|
+
name_exact=name_exact,
|
|
275
|
+
o=o,
|
|
276
|
+
organization_group_uuid=organization_group_uuid,
|
|
277
|
+
page=page,
|
|
278
|
+
page_size=page_size,
|
|
279
|
+
parent_uuid=parent_uuid,
|
|
280
|
+
project_uuid=project_uuid,
|
|
281
|
+
resource_customer_uuid=resource_customer_uuid,
|
|
282
|
+
resource_project_uuid=resource_project_uuid,
|
|
283
|
+
scope_uuid=scope_uuid,
|
|
284
|
+
service_manager_uuid=service_manager_uuid,
|
|
285
|
+
shared=shared,
|
|
286
|
+
state=state,
|
|
287
|
+
type_=type_,
|
|
288
|
+
uuid_list=uuid_list,
|
|
289
|
+
)
|
|
290
|
+
|
|
291
|
+
response = client.get_httpx_client().request(
|
|
292
|
+
**kwargs,
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
return _build_response(client=client, response=response)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
async def asyncio_detailed(
|
|
299
|
+
*,
|
|
300
|
+
client: AuthenticatedClient,
|
|
301
|
+
accessible_via_calls: Union[Unset, bool] = UNSET,
|
|
302
|
+
allowed_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
303
|
+
attributes: Union[Unset, str] = UNSET,
|
|
304
|
+
billable: Union[Unset, bool] = UNSET,
|
|
305
|
+
category_group_uuid: Union[Unset, UUID] = UNSET,
|
|
306
|
+
category_uuid: Union[Unset, UUID] = UNSET,
|
|
307
|
+
created: Union[Unset, datetime.datetime] = UNSET,
|
|
308
|
+
customer: Union[Unset, str] = UNSET,
|
|
309
|
+
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
310
|
+
description: Union[Unset, str] = UNSET,
|
|
311
|
+
keyword: Union[Unset, str] = UNSET,
|
|
312
|
+
modified: Union[Unset, datetime.datetime] = UNSET,
|
|
313
|
+
name: Union[Unset, str] = UNSET,
|
|
314
|
+
name_exact: Union[Unset, str] = UNSET,
|
|
315
|
+
o: Union[Unset, list[MarketplacePublicOfferingsHeadOItem]] = UNSET,
|
|
316
|
+
organization_group_uuid: Union[Unset, list[UUID]] = UNSET,
|
|
317
|
+
page: Union[Unset, int] = UNSET,
|
|
318
|
+
page_size: Union[Unset, int] = UNSET,
|
|
319
|
+
parent_uuid: Union[Unset, UUID] = UNSET,
|
|
320
|
+
project_uuid: Union[Unset, UUID] = UNSET,
|
|
321
|
+
resource_customer_uuid: Union[Unset, UUID] = UNSET,
|
|
322
|
+
resource_project_uuid: Union[Unset, UUID] = UNSET,
|
|
323
|
+
scope_uuid: Union[Unset, str] = UNSET,
|
|
324
|
+
service_manager_uuid: Union[Unset, UUID] = UNSET,
|
|
325
|
+
shared: Union[Unset, bool] = UNSET,
|
|
326
|
+
state: Union[Unset, list[MarketplacePublicOfferingsHeadStateItem]] = UNSET,
|
|
327
|
+
type_: Union[Unset, list[str]] = UNSET,
|
|
328
|
+
uuid_list: Union[Unset, str] = UNSET,
|
|
329
|
+
) -> Response[Any]:
|
|
330
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
331
|
+
|
|
332
|
+
Args:
|
|
333
|
+
accessible_via_calls (Union[Unset, bool]):
|
|
334
|
+
allowed_customer_uuid (Union[Unset, UUID]):
|
|
335
|
+
attributes (Union[Unset, str]):
|
|
336
|
+
billable (Union[Unset, bool]):
|
|
337
|
+
category_group_uuid (Union[Unset, UUID]):
|
|
338
|
+
category_uuid (Union[Unset, UUID]):
|
|
339
|
+
created (Union[Unset, datetime.datetime]):
|
|
340
|
+
customer (Union[Unset, str]):
|
|
341
|
+
customer_uuid (Union[Unset, UUID]):
|
|
342
|
+
description (Union[Unset, str]):
|
|
343
|
+
keyword (Union[Unset, str]):
|
|
344
|
+
modified (Union[Unset, datetime.datetime]):
|
|
345
|
+
name (Union[Unset, str]):
|
|
346
|
+
name_exact (Union[Unset, str]):
|
|
347
|
+
o (Union[Unset, list[MarketplacePublicOfferingsHeadOItem]]):
|
|
348
|
+
organization_group_uuid (Union[Unset, list[UUID]]):
|
|
349
|
+
page (Union[Unset, int]):
|
|
350
|
+
page_size (Union[Unset, int]):
|
|
351
|
+
parent_uuid (Union[Unset, UUID]):
|
|
352
|
+
project_uuid (Union[Unset, UUID]):
|
|
353
|
+
resource_customer_uuid (Union[Unset, UUID]):
|
|
354
|
+
resource_project_uuid (Union[Unset, UUID]):
|
|
355
|
+
scope_uuid (Union[Unset, str]):
|
|
356
|
+
service_manager_uuid (Union[Unset, UUID]):
|
|
357
|
+
shared (Union[Unset, bool]):
|
|
358
|
+
state (Union[Unset, list[MarketplacePublicOfferingsHeadStateItem]]):
|
|
359
|
+
type_ (Union[Unset, list[str]]):
|
|
360
|
+
uuid_list (Union[Unset, str]):
|
|
361
|
+
|
|
362
|
+
Raises:
|
|
363
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
364
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
365
|
+
|
|
366
|
+
Returns:
|
|
367
|
+
Response[Any]
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
kwargs = _get_kwargs(
|
|
371
|
+
accessible_via_calls=accessible_via_calls,
|
|
372
|
+
allowed_customer_uuid=allowed_customer_uuid,
|
|
373
|
+
attributes=attributes,
|
|
374
|
+
billable=billable,
|
|
375
|
+
category_group_uuid=category_group_uuid,
|
|
376
|
+
category_uuid=category_uuid,
|
|
377
|
+
created=created,
|
|
378
|
+
customer=customer,
|
|
379
|
+
customer_uuid=customer_uuid,
|
|
380
|
+
description=description,
|
|
381
|
+
keyword=keyword,
|
|
382
|
+
modified=modified,
|
|
383
|
+
name=name,
|
|
384
|
+
name_exact=name_exact,
|
|
385
|
+
o=o,
|
|
386
|
+
organization_group_uuid=organization_group_uuid,
|
|
387
|
+
page=page,
|
|
388
|
+
page_size=page_size,
|
|
389
|
+
parent_uuid=parent_uuid,
|
|
390
|
+
project_uuid=project_uuid,
|
|
391
|
+
resource_customer_uuid=resource_customer_uuid,
|
|
392
|
+
resource_project_uuid=resource_project_uuid,
|
|
393
|
+
scope_uuid=scope_uuid,
|
|
394
|
+
service_manager_uuid=service_manager_uuid,
|
|
395
|
+
shared=shared,
|
|
396
|
+
state=state,
|
|
397
|
+
type_=type_,
|
|
398
|
+
uuid_list=uuid_list,
|
|
399
|
+
)
|
|
400
|
+
|
|
401
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
402
|
+
|
|
403
|
+
return _build_response(client=client, response=response)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import UNSET, Response, Unset
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
*,
|
|
13
|
+
page: Union[Unset, int] = UNSET,
|
|
14
|
+
page_size: Union[Unset, int] = UNSET,
|
|
15
|
+
) -> dict[str, Any]:
|
|
16
|
+
params: dict[str, Any] = {}
|
|
17
|
+
|
|
18
|
+
params["page"] = page
|
|
19
|
+
|
|
20
|
+
params["page_size"] = page_size
|
|
21
|
+
|
|
22
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
23
|
+
|
|
24
|
+
_kwargs: dict[str, Any] = {
|
|
25
|
+
"method": "head",
|
|
26
|
+
"url": "/api/marketplace-remote-synchronisations/",
|
|
27
|
+
"params": params,
|
|
28
|
+
}
|
|
29
|
+
|
|
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
|
+
*,
|
|
50
|
+
client: AuthenticatedClient,
|
|
51
|
+
page: Union[Unset, int] = UNSET,
|
|
52
|
+
page_size: Union[Unset, int] = UNSET,
|
|
53
|
+
) -> Response[Any]:
|
|
54
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
page (Union[Unset, int]):
|
|
58
|
+
page_size (Union[Unset, int]):
|
|
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
|
+
page=page,
|
|
70
|
+
page_size=page_size,
|
|
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
|
+
*,
|
|
82
|
+
client: AuthenticatedClient,
|
|
83
|
+
page: Union[Unset, int] = UNSET,
|
|
84
|
+
page_size: Union[Unset, int] = UNSET,
|
|
85
|
+
) -> Response[Any]:
|
|
86
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
page (Union[Unset, int]):
|
|
90
|
+
page_size (Union[Unset, int]):
|
|
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
|
+
page=page,
|
|
102
|
+
page_size=page_size,
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
106
|
+
|
|
107
|
+
return _build_response(client=client, response=response)
|
|
@@ -0,0 +1,162 @@
|
|
|
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 ...types import UNSET, Response, Unset
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
*,
|
|
14
|
+
page: Union[Unset, int] = UNSET,
|
|
15
|
+
page_size: Union[Unset, int] = UNSET,
|
|
16
|
+
resource: Union[Unset, str] = UNSET,
|
|
17
|
+
resource_uuid: Union[Unset, UUID] = UNSET,
|
|
18
|
+
role_name: Union[Unset, str] = UNSET,
|
|
19
|
+
role_uuid: Union[Unset, UUID] = UNSET,
|
|
20
|
+
user_uuid: Union[Unset, UUID] = UNSET,
|
|
21
|
+
) -> dict[str, Any]:
|
|
22
|
+
params: dict[str, Any] = {}
|
|
23
|
+
|
|
24
|
+
params["page"] = page
|
|
25
|
+
|
|
26
|
+
params["page_size"] = page_size
|
|
27
|
+
|
|
28
|
+
params["resource"] = resource
|
|
29
|
+
|
|
30
|
+
json_resource_uuid: Union[Unset, str] = UNSET
|
|
31
|
+
if not isinstance(resource_uuid, Unset):
|
|
32
|
+
json_resource_uuid = str(resource_uuid)
|
|
33
|
+
params["resource_uuid"] = json_resource_uuid
|
|
34
|
+
|
|
35
|
+
params["role_name"] = role_name
|
|
36
|
+
|
|
37
|
+
json_role_uuid: Union[Unset, str] = UNSET
|
|
38
|
+
if not isinstance(role_uuid, Unset):
|
|
39
|
+
json_role_uuid = str(role_uuid)
|
|
40
|
+
params["role_uuid"] = json_role_uuid
|
|
41
|
+
|
|
42
|
+
json_user_uuid: Union[Unset, str] = UNSET
|
|
43
|
+
if not isinstance(user_uuid, Unset):
|
|
44
|
+
json_user_uuid = str(user_uuid)
|
|
45
|
+
params["user_uuid"] = json_user_uuid
|
|
46
|
+
|
|
47
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
48
|
+
|
|
49
|
+
_kwargs: dict[str, Any] = {
|
|
50
|
+
"method": "head",
|
|
51
|
+
"url": "/api/marketplace-resource-users/",
|
|
52
|
+
"params": params,
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return _kwargs
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
|
|
59
|
+
if response.status_code == 200:
|
|
60
|
+
return None
|
|
61
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
|
65
|
+
return Response(
|
|
66
|
+
status_code=HTTPStatus(response.status_code),
|
|
67
|
+
content=response.content,
|
|
68
|
+
headers=response.headers,
|
|
69
|
+
parsed=_parse_response(client=client, response=response),
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def sync_detailed(
|
|
74
|
+
*,
|
|
75
|
+
client: AuthenticatedClient,
|
|
76
|
+
page: Union[Unset, int] = UNSET,
|
|
77
|
+
page_size: Union[Unset, int] = UNSET,
|
|
78
|
+
resource: Union[Unset, str] = UNSET,
|
|
79
|
+
resource_uuid: Union[Unset, UUID] = UNSET,
|
|
80
|
+
role_name: Union[Unset, str] = UNSET,
|
|
81
|
+
role_uuid: Union[Unset, UUID] = UNSET,
|
|
82
|
+
user_uuid: Union[Unset, UUID] = UNSET,
|
|
83
|
+
) -> Response[Any]:
|
|
84
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
85
|
+
|
|
86
|
+
Args:
|
|
87
|
+
page (Union[Unset, int]):
|
|
88
|
+
page_size (Union[Unset, int]):
|
|
89
|
+
resource (Union[Unset, str]):
|
|
90
|
+
resource_uuid (Union[Unset, UUID]):
|
|
91
|
+
role_name (Union[Unset, str]):
|
|
92
|
+
role_uuid (Union[Unset, UUID]):
|
|
93
|
+
user_uuid (Union[Unset, UUID]):
|
|
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
|
+
Response[Any]
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
kwargs = _get_kwargs(
|
|
104
|
+
page=page,
|
|
105
|
+
page_size=page_size,
|
|
106
|
+
resource=resource,
|
|
107
|
+
resource_uuid=resource_uuid,
|
|
108
|
+
role_name=role_name,
|
|
109
|
+
role_uuid=role_uuid,
|
|
110
|
+
user_uuid=user_uuid,
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
response = client.get_httpx_client().request(
|
|
114
|
+
**kwargs,
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
return _build_response(client=client, response=response)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
async def asyncio_detailed(
|
|
121
|
+
*,
|
|
122
|
+
client: AuthenticatedClient,
|
|
123
|
+
page: Union[Unset, int] = UNSET,
|
|
124
|
+
page_size: Union[Unset, int] = UNSET,
|
|
125
|
+
resource: Union[Unset, str] = UNSET,
|
|
126
|
+
resource_uuid: Union[Unset, UUID] = UNSET,
|
|
127
|
+
role_name: Union[Unset, str] = UNSET,
|
|
128
|
+
role_uuid: Union[Unset, UUID] = UNSET,
|
|
129
|
+
user_uuid: Union[Unset, UUID] = UNSET,
|
|
130
|
+
) -> Response[Any]:
|
|
131
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
132
|
+
|
|
133
|
+
Args:
|
|
134
|
+
page (Union[Unset, int]):
|
|
135
|
+
page_size (Union[Unset, int]):
|
|
136
|
+
resource (Union[Unset, str]):
|
|
137
|
+
resource_uuid (Union[Unset, UUID]):
|
|
138
|
+
role_name (Union[Unset, str]):
|
|
139
|
+
role_uuid (Union[Unset, UUID]):
|
|
140
|
+
user_uuid (Union[Unset, UUID]):
|
|
141
|
+
|
|
142
|
+
Raises:
|
|
143
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
144
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
Response[Any]
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
kwargs = _get_kwargs(
|
|
151
|
+
page=page,
|
|
152
|
+
page_size=page_size,
|
|
153
|
+
resource=resource,
|
|
154
|
+
resource_uuid=resource_uuid,
|
|
155
|
+
role_name=role_name,
|
|
156
|
+
role_uuid=role_uuid,
|
|
157
|
+
user_uuid=user_uuid,
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
161
|
+
|
|
162
|
+
return _build_response(client=client, response=response)
|