waldur-api-client 7.8.3__py3-none-any.whl → 7.8.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
- waldur_api_client/api/booking_resources/booking_resources_count.py +108 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +108 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
- waldur_api_client/api/customers/customers_add_user.py +17 -10
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +108 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +108 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +108 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +108 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
- waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
- waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
- waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
- waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
- waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
- waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
- waldur_api_client/api/onboarding/__init__.py +1 -0
- waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
- waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
- waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
- waldur_api_client/api/projects/projects_add_user.py +17 -10
- waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
- waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/projects/projects_count.py +30 -0
- waldur_api_client/api/projects/projects_list.py +30 -0
- waldur_api_client/api/projects/projects_move_project.py +19 -10
- waldur_api_client/api/projects/projects_recover.py +166 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
- waldur_api_client/models/__init__.py +214 -8
- waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
- waldur_api_client/models/agent_identity.py +211 -0
- waldur_api_client/models/agent_identity_request.py +157 -0
- waldur_api_client/models/agent_processor.py +170 -0
- waldur_api_client/models/agent_processor_create_request.py +89 -0
- waldur_api_client/models/agent_service.py +172 -0
- waldur_api_client/models/agent_service_create_request.py +81 -0
- waldur_api_client/models/agent_service_state.py +10 -0
- waldur_api_client/models/agent_service_statistics_request.py +59 -0
- waldur_api_client/models/base_provider_plan.py +21 -0
- waldur_api_client/models/base_public_plan.py +21 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/booking_resource.py +37 -11
- waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/booking_resources_list_field_item.py +1 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
- waldur_api_client/models/call_round.py +4 -4
- waldur_api_client/models/checklist_template.py +99 -0
- waldur_api_client/models/checklist_template_checklist.py +44 -0
- waldur_api_client/models/constance_settings.py +126 -45
- waldur_api_client/models/constance_settings_request.py +126 -45
- waldur_api_client/models/constance_settings_request_form.py +126 -45
- waldur_api_client/models/constance_settings_request_multipart.py +219 -71
- waldur_api_client/models/customer.py +9 -0
- waldur_api_client/models/customer_component_usage_policy.py +175 -0
- waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
- waldur_api_client/models/customers_add_user_response_400.py +65 -0
- waldur_api_client/models/customers_list_field_item.py +1 -0
- waldur_api_client/models/customers_retrieve_field_item.py +1 -0
- waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
- waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
- waldur_api_client/models/discount_config_request.py +91 -0
- waldur_api_client/models/discounts_update_request.py +65 -0
- waldur_api_client/models/discounts_update_request_discounts.py +57 -0
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/issue.py +0 -25
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
- waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
- waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
- waldur_api_client/models/merged_plugin_options.py +65 -8
- waldur_api_client/models/merged_plugin_options_request.py +65 -8
- waldur_api_client/models/nested_agent_processor.py +154 -0
- waldur_api_client/models/nested_agent_service.py +134 -0
- waldur_api_client/models/nested_agent_service_request.py +90 -0
- waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
- waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
- waldur_api_client/models/nested_partition.py +412 -0
- waldur_api_client/models/nested_partition_request.py +397 -0
- waldur_api_client/models/nested_plan_component.py +155 -0
- waldur_api_client/models/nested_plan_component_request.py +128 -0
- waldur_api_client/models/nested_round.py +5 -5
- waldur_api_client/models/nested_software_catalog.py +134 -0
- waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
- waldur_api_client/models/nested_software_catalog_partition.py +86 -0
- waldur_api_client/models/nested_software_catalog_request.py +68 -0
- waldur_api_client/models/nested_software_target.py +84 -0
- waldur_api_client/models/nested_software_target_request.py +75 -0
- waldur_api_client/models/nested_software_version.py +124 -0
- waldur_api_client/models/nested_software_version_request.py +93 -0
- waldur_api_client/models/network_rbac_policy_request.py +8 -0
- waldur_api_client/models/notification.py +9 -9
- waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
- waldur_api_client/models/notification_template_detail_serializers.py +9 -3
- waldur_api_client/models/observable_object_type_enum.py +14 -0
- waldur_api_client/models/offering.py +42 -0
- waldur_api_client/models/offering_component.py +79 -0
- waldur_api_client/models/offering_component_request.py +80 -0
- waldur_api_client/models/offering_create.py +36 -0
- waldur_api_client/models/offering_partition.py +440 -0
- waldur_api_client/models/offering_partition_request.py +406 -0
- waldur_api_client/models/offering_software_catalog.py +176 -0
- waldur_api_client/models/offering_software_catalog_request.py +118 -0
- waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
- waldur_api_client/models/onboarding_justification.py +212 -0
- waldur_api_client/models/onboarding_justification_create_request.py +71 -0
- waldur_api_client/models/onboarding_justification_documentation.py +108 -0
- waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
- waldur_api_client/models/onboarding_justification_request.py +89 -0
- waldur_api_client/models/onboarding_justification_review_request.py +59 -0
- waldur_api_client/models/onboarding_verification.py +250 -0
- waldur_api_client/models/onboarding_verification_request.py +128 -0
- waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
- waldur_api_client/models/open_stack_create_floating_ip_request.py +20 -1
- waldur_api_client/models/order_backend_id_request.py +59 -0
- waldur_api_client/models/order_create.py +4 -4
- waldur_api_client/models/order_details.py +43 -11
- waldur_api_client/models/order_state.py +1 -0
- waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
- waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
- waldur_api_client/models/patched_offering_partition_request.py +412 -0
- waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +88 -0
- waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
- waldur_api_client/models/patched_project_credit_request.py +13 -0
- waldur_api_client/models/patched_project_request.py +10 -2
- waldur_api_client/models/patched_project_request_form.py +10 -2
- waldur_api_client/models/patched_project_request_multipart.py +13 -2
- waldur_api_client/models/patched_software_catalog_request.py +86 -0
- waldur_api_client/models/patched_software_package_request.py +86 -0
- waldur_api_client/models/plan_component.py +40 -0
- waldur_api_client/models/project.py +37 -2
- waldur_api_client/models/project_credit.py +13 -0
- waldur_api_client/models/project_credit_request.py +13 -0
- waldur_api_client/models/project_recovery_request.py +70 -0
- waldur_api_client/models/project_request.py +10 -2
- waldur_api_client/models/project_request_form.py +10 -2
- waldur_api_client/models/project_request_multipart.py +13 -2
- waldur_api_client/models/project_user.py +21 -4
- waldur_api_client/models/projects_add_user_response_400.py +65 -0
- waldur_api_client/models/projects_list_field_item.py +4 -0
- waldur_api_client/models/projects_move_project_response_400.py +65 -0
- waldur_api_client/models/projects_retrieve_field_item.py +4 -0
- waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
- waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
- waldur_api_client/models/protected_round.py +4 -4
- waldur_api_client/models/provider_offering_details.py +42 -0
- waldur_api_client/models/provider_plan_details.py +18 -0
- waldur_api_client/models/public_offering_details.py +42 -0
- waldur_api_client/models/question.py +102 -0
- waldur_api_client/models/question_options.py +79 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
- waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
- waldur_api_client/models/remove_software_catalog_request.py +60 -0
- waldur_api_client/models/resource.py +37 -11
- waldur_api_client/models/resource_downscaled_request.py +59 -0
- waldur_api_client/models/resource_paused_request.py +59 -0
- waldur_api_client/models/resource_renew_request.py +83 -0
- waldur_api_client/models/resource_renew_request_limits.py +44 -0
- waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
- waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
- waldur_api_client/models/service_provider_checklist_summary.py +98 -0
- waldur_api_client/models/software_catalog.py +130 -0
- waldur_api_client/models/software_catalog_request.py +87 -0
- waldur_api_client/models/software_catalog_uuid.py +60 -0
- waldur_api_client/models/software_package.py +168 -0
- waldur_api_client/models/software_package_request.py +87 -0
- waldur_api_client/models/software_target.py +110 -0
- waldur_api_client/models/software_version.py +135 -0
- waldur_api_client/models/time_series_to_s_data.py +69 -0
- waldur_api_client/models/to_s_consent_dashboard.py +155 -0
- waldur_api_client/models/update_offering_component_request.py +79 -0
- waldur_api_client/models/user.py +20 -0
- waldur_api_client/models/users_list_field_item.py +1 -0
- waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
- waldur_api_client/models/users_retrieve_field_item.py +1 -0
- waldur_api_client/models/validation_decision_enum.py +10 -0
- waldur_api_client/models/validation_method_enum.py +8 -0
- waldur_api_client/models/version_adoption.py +67 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +340 -123
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -36
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -10,7 +10,7 @@ from dateutil.parser import isoparse
|
|
|
10
10
|
from ..models.allocation_time_enum import AllocationTimeEnum
|
|
11
11
|
from ..models.deciding_entity_enum import DecidingEntityEnum
|
|
12
12
|
from ..models.review_strategy_enum import ReviewStrategyEnum
|
|
13
|
-
from ..models.
|
|
13
|
+
from ..models.round_status import RoundStatus
|
|
14
14
|
from ..types import UNSET, Unset
|
|
15
15
|
|
|
16
16
|
T = TypeVar("T", bound="NestedRound")
|
|
@@ -25,7 +25,7 @@ class NestedRound:
|
|
|
25
25
|
name (Union[Unset, str]):
|
|
26
26
|
start_time (Union[Unset, datetime.datetime]):
|
|
27
27
|
cutoff_time (Union[Unset, datetime.datetime]):
|
|
28
|
-
status (Union[Unset,
|
|
28
|
+
status (Union[Unset, RoundStatus]):
|
|
29
29
|
review_strategy (Union[Unset, ReviewStrategyEnum]):
|
|
30
30
|
deciding_entity (Union[Unset, DecidingEntityEnum]):
|
|
31
31
|
allocation_time (Union[Unset, AllocationTimeEnum]):
|
|
@@ -40,7 +40,7 @@ class NestedRound:
|
|
|
40
40
|
name: Union[Unset, str] = UNSET
|
|
41
41
|
start_time: Union[Unset, datetime.datetime] = UNSET
|
|
42
42
|
cutoff_time: Union[Unset, datetime.datetime] = UNSET
|
|
43
|
-
status: Union[Unset,
|
|
43
|
+
status: Union[Unset, RoundStatus] = UNSET
|
|
44
44
|
review_strategy: Union[Unset, ReviewStrategyEnum] = UNSET
|
|
45
45
|
deciding_entity: Union[Unset, DecidingEntityEnum] = UNSET
|
|
46
46
|
allocation_time: Union[Unset, AllocationTimeEnum] = UNSET
|
|
@@ -170,11 +170,11 @@ class NestedRound:
|
|
|
170
170
|
cutoff_time = isoparse(_cutoff_time)
|
|
171
171
|
|
|
172
172
|
_status = d.pop("status", UNSET)
|
|
173
|
-
status: Union[Unset,
|
|
173
|
+
status: Union[Unset, RoundStatus]
|
|
174
174
|
if isinstance(_status, Unset):
|
|
175
175
|
status = UNSET
|
|
176
176
|
else:
|
|
177
|
-
status =
|
|
177
|
+
status = RoundStatus(_status)
|
|
178
178
|
|
|
179
179
|
_review_strategy = d.pop("review_strategy", UNSET)
|
|
180
180
|
review_strategy: Union[Unset, ReviewStrategyEnum]
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
from attrs import define as _attrs_define
|
|
6
|
+
from attrs import field as _attrs_field
|
|
7
|
+
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
from ..models.nested_software_catalog_catalog import NestedSoftwareCatalogCatalog
|
|
12
|
+
from ..models.nested_software_catalog_partition import NestedSoftwareCatalogPartition
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
T = TypeVar("T", bound="NestedSoftwareCatalog")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
@_attrs_define
|
|
19
|
+
class NestedSoftwareCatalog:
|
|
20
|
+
"""
|
|
21
|
+
Attributes:
|
|
22
|
+
uuid (Union[Unset, UUID]):
|
|
23
|
+
catalog (Union[Unset, NestedSoftwareCatalogCatalog]):
|
|
24
|
+
enabled_cpu_family (Union[Unset, Any]): List of enabled CPU families: ['x86_64', 'aarch64']
|
|
25
|
+
enabled_cpu_microarchitectures (Union[Unset, Any]): List of enabled CPU microarchitectures: ['generic', 'zen3']
|
|
26
|
+
package_count (Union[Unset, int]):
|
|
27
|
+
partition (Union[Unset, NestedSoftwareCatalogPartition]):
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
uuid: Union[Unset, UUID] = UNSET
|
|
31
|
+
catalog: Union[Unset, "NestedSoftwareCatalogCatalog"] = UNSET
|
|
32
|
+
enabled_cpu_family: Union[Unset, Any] = UNSET
|
|
33
|
+
enabled_cpu_microarchitectures: Union[Unset, Any] = UNSET
|
|
34
|
+
package_count: Union[Unset, int] = UNSET
|
|
35
|
+
partition: Union[Unset, "NestedSoftwareCatalogPartition"] = UNSET
|
|
36
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
37
|
+
|
|
38
|
+
def to_dict(self) -> dict[str, Any]:
|
|
39
|
+
uuid: Union[Unset, str] = UNSET
|
|
40
|
+
if not isinstance(self.uuid, Unset):
|
|
41
|
+
uuid = str(self.uuid)
|
|
42
|
+
|
|
43
|
+
catalog: Union[Unset, dict[str, Any]] = UNSET
|
|
44
|
+
if not isinstance(self.catalog, Unset):
|
|
45
|
+
catalog = self.catalog.to_dict()
|
|
46
|
+
|
|
47
|
+
enabled_cpu_family = self.enabled_cpu_family
|
|
48
|
+
|
|
49
|
+
enabled_cpu_microarchitectures = self.enabled_cpu_microarchitectures
|
|
50
|
+
|
|
51
|
+
package_count = self.package_count
|
|
52
|
+
|
|
53
|
+
partition: Union[Unset, dict[str, Any]] = UNSET
|
|
54
|
+
if not isinstance(self.partition, Unset):
|
|
55
|
+
partition = self.partition.to_dict()
|
|
56
|
+
|
|
57
|
+
field_dict: dict[str, Any] = {}
|
|
58
|
+
field_dict.update(self.additional_properties)
|
|
59
|
+
field_dict.update({})
|
|
60
|
+
if uuid is not UNSET:
|
|
61
|
+
field_dict["uuid"] = uuid
|
|
62
|
+
if catalog is not UNSET:
|
|
63
|
+
field_dict["catalog"] = catalog
|
|
64
|
+
if enabled_cpu_family is not UNSET:
|
|
65
|
+
field_dict["enabled_cpu_family"] = enabled_cpu_family
|
|
66
|
+
if enabled_cpu_microarchitectures is not UNSET:
|
|
67
|
+
field_dict["enabled_cpu_microarchitectures"] = enabled_cpu_microarchitectures
|
|
68
|
+
if package_count is not UNSET:
|
|
69
|
+
field_dict["package_count"] = package_count
|
|
70
|
+
if partition is not UNSET:
|
|
71
|
+
field_dict["partition"] = partition
|
|
72
|
+
|
|
73
|
+
return field_dict
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
77
|
+
from ..models.nested_software_catalog_catalog import NestedSoftwareCatalogCatalog
|
|
78
|
+
from ..models.nested_software_catalog_partition import NestedSoftwareCatalogPartition
|
|
79
|
+
|
|
80
|
+
d = dict(src_dict)
|
|
81
|
+
_uuid = d.pop("uuid", UNSET)
|
|
82
|
+
uuid: Union[Unset, UUID]
|
|
83
|
+
if isinstance(_uuid, Unset):
|
|
84
|
+
uuid = UNSET
|
|
85
|
+
else:
|
|
86
|
+
uuid = UUID(_uuid)
|
|
87
|
+
|
|
88
|
+
_catalog = d.pop("catalog", UNSET)
|
|
89
|
+
catalog: Union[Unset, NestedSoftwareCatalogCatalog]
|
|
90
|
+
if isinstance(_catalog, Unset):
|
|
91
|
+
catalog = UNSET
|
|
92
|
+
else:
|
|
93
|
+
catalog = NestedSoftwareCatalogCatalog.from_dict(_catalog)
|
|
94
|
+
|
|
95
|
+
enabled_cpu_family = d.pop("enabled_cpu_family", UNSET)
|
|
96
|
+
|
|
97
|
+
enabled_cpu_microarchitectures = d.pop("enabled_cpu_microarchitectures", UNSET)
|
|
98
|
+
|
|
99
|
+
package_count = d.pop("package_count", UNSET)
|
|
100
|
+
|
|
101
|
+
_partition = d.pop("partition", UNSET)
|
|
102
|
+
partition: Union[Unset, NestedSoftwareCatalogPartition]
|
|
103
|
+
if isinstance(_partition, Unset):
|
|
104
|
+
partition = UNSET
|
|
105
|
+
else:
|
|
106
|
+
partition = NestedSoftwareCatalogPartition.from_dict(_partition)
|
|
107
|
+
|
|
108
|
+
nested_software_catalog = cls(
|
|
109
|
+
uuid=uuid,
|
|
110
|
+
catalog=catalog,
|
|
111
|
+
enabled_cpu_family=enabled_cpu_family,
|
|
112
|
+
enabled_cpu_microarchitectures=enabled_cpu_microarchitectures,
|
|
113
|
+
package_count=package_count,
|
|
114
|
+
partition=partition,
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
nested_software_catalog.additional_properties = d
|
|
118
|
+
return nested_software_catalog
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def additional_keys(self) -> list[str]:
|
|
122
|
+
return list(self.additional_properties.keys())
|
|
123
|
+
|
|
124
|
+
def __getitem__(self, key: str) -> Any:
|
|
125
|
+
return self.additional_properties[key]
|
|
126
|
+
|
|
127
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
128
|
+
self.additional_properties[key] = value
|
|
129
|
+
|
|
130
|
+
def __delitem__(self, key: str) -> None:
|
|
131
|
+
del self.additional_properties[key]
|
|
132
|
+
|
|
133
|
+
def __contains__(self, key: str) -> bool:
|
|
134
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="NestedSoftwareCatalogCatalog")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class NestedSoftwareCatalogCatalog:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
uuid (Union[Unset, str]):
|
|
17
|
+
name (Union[Unset, str]):
|
|
18
|
+
version (Union[Unset, str]):
|
|
19
|
+
description (Union[Unset, str]):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
uuid: Union[Unset, str] = UNSET
|
|
23
|
+
name: Union[Unset, str] = UNSET
|
|
24
|
+
version: Union[Unset, str] = UNSET
|
|
25
|
+
description: Union[Unset, str] = UNSET
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
uuid = self.uuid
|
|
30
|
+
|
|
31
|
+
name = self.name
|
|
32
|
+
|
|
33
|
+
version = self.version
|
|
34
|
+
|
|
35
|
+
description = self.description
|
|
36
|
+
|
|
37
|
+
field_dict: dict[str, Any] = {}
|
|
38
|
+
field_dict.update(self.additional_properties)
|
|
39
|
+
field_dict.update({})
|
|
40
|
+
if uuid is not UNSET:
|
|
41
|
+
field_dict["uuid"] = uuid
|
|
42
|
+
if name is not UNSET:
|
|
43
|
+
field_dict["name"] = name
|
|
44
|
+
if version is not UNSET:
|
|
45
|
+
field_dict["version"] = version
|
|
46
|
+
if description is not UNSET:
|
|
47
|
+
field_dict["description"] = description
|
|
48
|
+
|
|
49
|
+
return field_dict
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
53
|
+
d = dict(src_dict)
|
|
54
|
+
uuid = d.pop("uuid", UNSET)
|
|
55
|
+
|
|
56
|
+
name = d.pop("name", UNSET)
|
|
57
|
+
|
|
58
|
+
version = d.pop("version", UNSET)
|
|
59
|
+
|
|
60
|
+
description = d.pop("description", UNSET)
|
|
61
|
+
|
|
62
|
+
nested_software_catalog_catalog = cls(
|
|
63
|
+
uuid=uuid,
|
|
64
|
+
name=name,
|
|
65
|
+
version=version,
|
|
66
|
+
description=description,
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
nested_software_catalog_catalog.additional_properties = d
|
|
70
|
+
return nested_software_catalog_catalog
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def additional_keys(self) -> list[str]:
|
|
74
|
+
return list(self.additional_properties.keys())
|
|
75
|
+
|
|
76
|
+
def __getitem__(self, key: str) -> Any:
|
|
77
|
+
return self.additional_properties[key]
|
|
78
|
+
|
|
79
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
80
|
+
self.additional_properties[key] = value
|
|
81
|
+
|
|
82
|
+
def __delitem__(self, key: str) -> None:
|
|
83
|
+
del self.additional_properties[key]
|
|
84
|
+
|
|
85
|
+
def __contains__(self, key: str) -> bool:
|
|
86
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="NestedSoftwareCatalogPartition")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class NestedSoftwareCatalogPartition:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
uuid (Union[Unset, str]):
|
|
17
|
+
partition_name (Union[Unset, str]):
|
|
18
|
+
priority_tier (Union[Unset, int]):
|
|
19
|
+
qos (Union[Unset, str]):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
uuid: Union[Unset, str] = UNSET
|
|
23
|
+
partition_name: Union[Unset, str] = UNSET
|
|
24
|
+
priority_tier: Union[Unset, int] = UNSET
|
|
25
|
+
qos: Union[Unset, str] = UNSET
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
uuid = self.uuid
|
|
30
|
+
|
|
31
|
+
partition_name = self.partition_name
|
|
32
|
+
|
|
33
|
+
priority_tier = self.priority_tier
|
|
34
|
+
|
|
35
|
+
qos = self.qos
|
|
36
|
+
|
|
37
|
+
field_dict: dict[str, Any] = {}
|
|
38
|
+
field_dict.update(self.additional_properties)
|
|
39
|
+
field_dict.update({})
|
|
40
|
+
if uuid is not UNSET:
|
|
41
|
+
field_dict["uuid"] = uuid
|
|
42
|
+
if partition_name is not UNSET:
|
|
43
|
+
field_dict["partition_name"] = partition_name
|
|
44
|
+
if priority_tier is not UNSET:
|
|
45
|
+
field_dict["priority_tier"] = priority_tier
|
|
46
|
+
if qos is not UNSET:
|
|
47
|
+
field_dict["qos"] = qos
|
|
48
|
+
|
|
49
|
+
return field_dict
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
53
|
+
d = dict(src_dict)
|
|
54
|
+
uuid = d.pop("uuid", UNSET)
|
|
55
|
+
|
|
56
|
+
partition_name = d.pop("partition_name", UNSET)
|
|
57
|
+
|
|
58
|
+
priority_tier = d.pop("priority_tier", UNSET)
|
|
59
|
+
|
|
60
|
+
qos = d.pop("qos", UNSET)
|
|
61
|
+
|
|
62
|
+
nested_software_catalog_partition = cls(
|
|
63
|
+
uuid=uuid,
|
|
64
|
+
partition_name=partition_name,
|
|
65
|
+
priority_tier=priority_tier,
|
|
66
|
+
qos=qos,
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
nested_software_catalog_partition.additional_properties = d
|
|
70
|
+
return nested_software_catalog_partition
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def additional_keys(self) -> list[str]:
|
|
74
|
+
return list(self.additional_properties.keys())
|
|
75
|
+
|
|
76
|
+
def __getitem__(self, key: str) -> Any:
|
|
77
|
+
return self.additional_properties[key]
|
|
78
|
+
|
|
79
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
80
|
+
self.additional_properties[key] = value
|
|
81
|
+
|
|
82
|
+
def __delitem__(self, key: str) -> None:
|
|
83
|
+
del self.additional_properties[key]
|
|
84
|
+
|
|
85
|
+
def __contains__(self, key: str) -> bool:
|
|
86
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="NestedSoftwareCatalogRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class NestedSoftwareCatalogRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
enabled_cpu_family (Union[Unset, Any]): List of enabled CPU families: ['x86_64', 'aarch64']
|
|
17
|
+
enabled_cpu_microarchitectures (Union[Unset, Any]): List of enabled CPU microarchitectures: ['generic', 'zen3']
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
enabled_cpu_family: Union[Unset, Any] = UNSET
|
|
21
|
+
enabled_cpu_microarchitectures: Union[Unset, Any] = UNSET
|
|
22
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
enabled_cpu_family = self.enabled_cpu_family
|
|
26
|
+
|
|
27
|
+
enabled_cpu_microarchitectures = self.enabled_cpu_microarchitectures
|
|
28
|
+
|
|
29
|
+
field_dict: dict[str, Any] = {}
|
|
30
|
+
field_dict.update(self.additional_properties)
|
|
31
|
+
field_dict.update({})
|
|
32
|
+
if enabled_cpu_family is not UNSET:
|
|
33
|
+
field_dict["enabled_cpu_family"] = enabled_cpu_family
|
|
34
|
+
if enabled_cpu_microarchitectures is not UNSET:
|
|
35
|
+
field_dict["enabled_cpu_microarchitectures"] = enabled_cpu_microarchitectures
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
enabled_cpu_family = d.pop("enabled_cpu_family", UNSET)
|
|
43
|
+
|
|
44
|
+
enabled_cpu_microarchitectures = d.pop("enabled_cpu_microarchitectures", UNSET)
|
|
45
|
+
|
|
46
|
+
nested_software_catalog_request = cls(
|
|
47
|
+
enabled_cpu_family=enabled_cpu_family,
|
|
48
|
+
enabled_cpu_microarchitectures=enabled_cpu_microarchitectures,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
nested_software_catalog_request.additional_properties = d
|
|
52
|
+
return nested_software_catalog_request
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> list[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
from attrs import define as _attrs_define
|
|
6
|
+
from attrs import field as _attrs_field
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="NestedSoftwareTarget")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class NestedSoftwareTarget:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
uuid (UUID):
|
|
16
|
+
cpu_family (str):
|
|
17
|
+
cpu_microarchitecture (str):
|
|
18
|
+
path (str):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
uuid: UUID
|
|
22
|
+
cpu_family: str
|
|
23
|
+
cpu_microarchitecture: str
|
|
24
|
+
path: str
|
|
25
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> dict[str, Any]:
|
|
28
|
+
uuid = str(self.uuid)
|
|
29
|
+
|
|
30
|
+
cpu_family = self.cpu_family
|
|
31
|
+
|
|
32
|
+
cpu_microarchitecture = self.cpu_microarchitecture
|
|
33
|
+
|
|
34
|
+
path = self.path
|
|
35
|
+
|
|
36
|
+
field_dict: dict[str, Any] = {}
|
|
37
|
+
field_dict.update(self.additional_properties)
|
|
38
|
+
field_dict.update(
|
|
39
|
+
{
|
|
40
|
+
"uuid": uuid,
|
|
41
|
+
"cpu_family": cpu_family,
|
|
42
|
+
"cpu_microarchitecture": cpu_microarchitecture,
|
|
43
|
+
"path": path,
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
return field_dict
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
51
|
+
d = dict(src_dict)
|
|
52
|
+
uuid = UUID(d.pop("uuid"))
|
|
53
|
+
|
|
54
|
+
cpu_family = d.pop("cpu_family")
|
|
55
|
+
|
|
56
|
+
cpu_microarchitecture = d.pop("cpu_microarchitecture")
|
|
57
|
+
|
|
58
|
+
path = d.pop("path")
|
|
59
|
+
|
|
60
|
+
nested_software_target = cls(
|
|
61
|
+
uuid=uuid,
|
|
62
|
+
cpu_family=cpu_family,
|
|
63
|
+
cpu_microarchitecture=cpu_microarchitecture,
|
|
64
|
+
path=path,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
nested_software_target.additional_properties = d
|
|
68
|
+
return nested_software_target
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def additional_keys(self) -> list[str]:
|
|
72
|
+
return list(self.additional_properties.keys())
|
|
73
|
+
|
|
74
|
+
def __getitem__(self, key: str) -> Any:
|
|
75
|
+
return self.additional_properties[key]
|
|
76
|
+
|
|
77
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
78
|
+
self.additional_properties[key] = value
|
|
79
|
+
|
|
80
|
+
def __delitem__(self, key: str) -> None:
|
|
81
|
+
del self.additional_properties[key]
|
|
82
|
+
|
|
83
|
+
def __contains__(self, key: str) -> bool:
|
|
84
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="NestedSoftwareTargetRequest")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class NestedSoftwareTargetRequest:
|
|
12
|
+
"""
|
|
13
|
+
Attributes:
|
|
14
|
+
cpu_family (str):
|
|
15
|
+
cpu_microarchitecture (str):
|
|
16
|
+
path (str):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
cpu_family: str
|
|
20
|
+
cpu_microarchitecture: str
|
|
21
|
+
path: str
|
|
22
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
cpu_family = self.cpu_family
|
|
26
|
+
|
|
27
|
+
cpu_microarchitecture = self.cpu_microarchitecture
|
|
28
|
+
|
|
29
|
+
path = self.path
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update(
|
|
34
|
+
{
|
|
35
|
+
"cpu_family": cpu_family,
|
|
36
|
+
"cpu_microarchitecture": cpu_microarchitecture,
|
|
37
|
+
"path": path,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
45
|
+
d = dict(src_dict)
|
|
46
|
+
cpu_family = d.pop("cpu_family")
|
|
47
|
+
|
|
48
|
+
cpu_microarchitecture = d.pop("cpu_microarchitecture")
|
|
49
|
+
|
|
50
|
+
path = d.pop("path")
|
|
51
|
+
|
|
52
|
+
nested_software_target_request = cls(
|
|
53
|
+
cpu_family=cpu_family,
|
|
54
|
+
cpu_microarchitecture=cpu_microarchitecture,
|
|
55
|
+
path=path,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
nested_software_target_request.additional_properties = d
|
|
59
|
+
return nested_software_target_request
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def additional_keys(self) -> list[str]:
|
|
63
|
+
return list(self.additional_properties.keys())
|
|
64
|
+
|
|
65
|
+
def __getitem__(self, key: str) -> Any:
|
|
66
|
+
return self.additional_properties[key]
|
|
67
|
+
|
|
68
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
69
|
+
self.additional_properties[key] = value
|
|
70
|
+
|
|
71
|
+
def __delitem__(self, key: str) -> None:
|
|
72
|
+
del self.additional_properties[key]
|
|
73
|
+
|
|
74
|
+
def __contains__(self, key: str) -> bool:
|
|
75
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from collections.abc import Mapping
|
|
3
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
4
|
+
from uuid import UUID
|
|
5
|
+
|
|
6
|
+
from attrs import define as _attrs_define
|
|
7
|
+
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
9
|
+
|
|
10
|
+
from ..types import UNSET, Unset
|
|
11
|
+
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from ..models.nested_software_target import NestedSoftwareTarget
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
T = TypeVar("T", bound="NestedSoftwareVersion")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@_attrs_define
|
|
20
|
+
class NestedSoftwareVersion:
|
|
21
|
+
"""
|
|
22
|
+
Attributes:
|
|
23
|
+
uuid (UUID):
|
|
24
|
+
version (str):
|
|
25
|
+
targets (list['NestedSoftwareTarget']):
|
|
26
|
+
release_date (Union[None, Unset, datetime.date]):
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
uuid: UUID
|
|
30
|
+
version: str
|
|
31
|
+
targets: list["NestedSoftwareTarget"]
|
|
32
|
+
release_date: Union[None, Unset, datetime.date] = UNSET
|
|
33
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
34
|
+
|
|
35
|
+
def to_dict(self) -> dict[str, Any]:
|
|
36
|
+
uuid = str(self.uuid)
|
|
37
|
+
|
|
38
|
+
version = self.version
|
|
39
|
+
|
|
40
|
+
targets = []
|
|
41
|
+
for targets_item_data in self.targets:
|
|
42
|
+
targets_item = targets_item_data.to_dict()
|
|
43
|
+
targets.append(targets_item)
|
|
44
|
+
|
|
45
|
+
release_date: Union[None, Unset, str]
|
|
46
|
+
if isinstance(self.release_date, Unset):
|
|
47
|
+
release_date = UNSET
|
|
48
|
+
elif isinstance(self.release_date, datetime.date):
|
|
49
|
+
release_date = self.release_date.isoformat()
|
|
50
|
+
else:
|
|
51
|
+
release_date = self.release_date
|
|
52
|
+
|
|
53
|
+
field_dict: dict[str, Any] = {}
|
|
54
|
+
field_dict.update(self.additional_properties)
|
|
55
|
+
field_dict.update(
|
|
56
|
+
{
|
|
57
|
+
"uuid": uuid,
|
|
58
|
+
"version": version,
|
|
59
|
+
"targets": targets,
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
if release_date is not UNSET:
|
|
63
|
+
field_dict["release_date"] = release_date
|
|
64
|
+
|
|
65
|
+
return field_dict
|
|
66
|
+
|
|
67
|
+
@classmethod
|
|
68
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
69
|
+
from ..models.nested_software_target import NestedSoftwareTarget
|
|
70
|
+
|
|
71
|
+
d = dict(src_dict)
|
|
72
|
+
uuid = UUID(d.pop("uuid"))
|
|
73
|
+
|
|
74
|
+
version = d.pop("version")
|
|
75
|
+
|
|
76
|
+
targets = []
|
|
77
|
+
_targets = d.pop("targets")
|
|
78
|
+
for targets_item_data in _targets:
|
|
79
|
+
targets_item = NestedSoftwareTarget.from_dict(targets_item_data)
|
|
80
|
+
|
|
81
|
+
targets.append(targets_item)
|
|
82
|
+
|
|
83
|
+
def _parse_release_date(data: object) -> Union[None, Unset, datetime.date]:
|
|
84
|
+
if data is None:
|
|
85
|
+
return data
|
|
86
|
+
if isinstance(data, Unset):
|
|
87
|
+
return data
|
|
88
|
+
try:
|
|
89
|
+
if not isinstance(data, str):
|
|
90
|
+
raise TypeError()
|
|
91
|
+
release_date_type_0 = isoparse(data).date()
|
|
92
|
+
|
|
93
|
+
return release_date_type_0
|
|
94
|
+
except: # noqa: E722
|
|
95
|
+
pass
|
|
96
|
+
return cast(Union[None, Unset, datetime.date], data)
|
|
97
|
+
|
|
98
|
+
release_date = _parse_release_date(d.pop("release_date", UNSET))
|
|
99
|
+
|
|
100
|
+
nested_software_version = cls(
|
|
101
|
+
uuid=uuid,
|
|
102
|
+
version=version,
|
|
103
|
+
targets=targets,
|
|
104
|
+
release_date=release_date,
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
nested_software_version.additional_properties = d
|
|
108
|
+
return nested_software_version
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def additional_keys(self) -> list[str]:
|
|
112
|
+
return list(self.additional_properties.keys())
|
|
113
|
+
|
|
114
|
+
def __getitem__(self, key: str) -> Any:
|
|
115
|
+
return self.additional_properties[key]
|
|
116
|
+
|
|
117
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
118
|
+
self.additional_properties[key] = value
|
|
119
|
+
|
|
120
|
+
def __delitem__(self, key: str) -> None:
|
|
121
|
+
del self.additional_properties[key]
|
|
122
|
+
|
|
123
|
+
def __contains__(self, key: str) -> bool:
|
|
124
|
+
return key in self.additional_properties
|