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
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import 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
|
+
T = TypeVar("T", bound="QuestionOptions")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class QuestionOptions:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
uuid (UUID):
|
|
18
|
+
label (str):
|
|
19
|
+
order (Union[Unset, int]):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
uuid: UUID
|
|
23
|
+
label: str
|
|
24
|
+
order: Union[Unset, int] = UNSET
|
|
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
|
+
label = self.label
|
|
31
|
+
|
|
32
|
+
order = self.order
|
|
33
|
+
|
|
34
|
+
field_dict: dict[str, Any] = {}
|
|
35
|
+
field_dict.update(self.additional_properties)
|
|
36
|
+
field_dict.update(
|
|
37
|
+
{
|
|
38
|
+
"uuid": uuid,
|
|
39
|
+
"label": label,
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
if order is not UNSET:
|
|
43
|
+
field_dict["order"] = order
|
|
44
|
+
|
|
45
|
+
return field_dict
|
|
46
|
+
|
|
47
|
+
@classmethod
|
|
48
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
49
|
+
d = dict(src_dict)
|
|
50
|
+
uuid = UUID(d.pop("uuid"))
|
|
51
|
+
|
|
52
|
+
label = d.pop("label")
|
|
53
|
+
|
|
54
|
+
order = d.pop("order", UNSET)
|
|
55
|
+
|
|
56
|
+
question_options = cls(
|
|
57
|
+
uuid=uuid,
|
|
58
|
+
label=label,
|
|
59
|
+
order=order,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
question_options.additional_properties = d
|
|
63
|
+
return question_options
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def additional_keys(self) -> list[str]:
|
|
67
|
+
return list(self.additional_properties.keys())
|
|
68
|
+
|
|
69
|
+
def __getitem__(self, key: str) -> Any:
|
|
70
|
+
return self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
73
|
+
self.additional_properties[key] = value
|
|
74
|
+
|
|
75
|
+
def __delitem__(self, key: str) -> None:
|
|
76
|
+
del self.additional_properties[key]
|
|
77
|
+
|
|
78
|
+
def __contains__(self, key: str) -> bool:
|
|
79
|
+
return key in self.additional_properties
|
|
@@ -5,32 +5,27 @@ from uuid import UUID
|
|
|
5
5
|
from attrs import define as _attrs_define
|
|
6
6
|
from attrs import field as _attrs_field
|
|
7
7
|
|
|
8
|
-
T = TypeVar("T", bound="
|
|
8
|
+
T = TypeVar("T", bound="RemovePartitionRequest")
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
@_attrs_define
|
|
12
|
-
class
|
|
12
|
+
class RemovePartitionRequest:
|
|
13
13
|
"""
|
|
14
14
|
Attributes:
|
|
15
|
-
|
|
16
|
-
username (str):
|
|
15
|
+
partition_uuid (UUID):
|
|
17
16
|
"""
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
username: str
|
|
18
|
+
partition_uuid: UUID
|
|
21
19
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
20
|
|
|
23
21
|
def to_dict(self) -> dict[str, Any]:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
username = self.username
|
|
22
|
+
partition_uuid = str(self.partition_uuid)
|
|
27
23
|
|
|
28
24
|
field_dict: dict[str, Any] = {}
|
|
29
25
|
field_dict.update(self.additional_properties)
|
|
30
26
|
field_dict.update(
|
|
31
27
|
{
|
|
32
|
-
"
|
|
33
|
-
"username": username,
|
|
28
|
+
"partition_uuid": partition_uuid,
|
|
34
29
|
}
|
|
35
30
|
)
|
|
36
31
|
|
|
@@ -39,17 +34,14 @@ class SetOfferingsUsername:
|
|
|
39
34
|
@classmethod
|
|
40
35
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
36
|
d = dict(src_dict)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
username = d.pop("username")
|
|
37
|
+
partition_uuid = UUID(d.pop("partition_uuid"))
|
|
45
38
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
username=username,
|
|
39
|
+
remove_partition_request = cls(
|
|
40
|
+
partition_uuid=partition_uuid,
|
|
49
41
|
)
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
return
|
|
43
|
+
remove_partition_request.additional_properties = d
|
|
44
|
+
return remove_partition_request
|
|
53
45
|
|
|
54
46
|
@property
|
|
55
47
|
def additional_keys(self) -> list[str]:
|
|
@@ -0,0 +1,60 @@
|
|
|
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="RemoveSoftwareCatalogRequest")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class RemoveSoftwareCatalogRequest:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
offering_catalog_uuid (UUID):
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
offering_catalog_uuid: UUID
|
|
19
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
+
|
|
21
|
+
def to_dict(self) -> dict[str, Any]:
|
|
22
|
+
offering_catalog_uuid = str(self.offering_catalog_uuid)
|
|
23
|
+
|
|
24
|
+
field_dict: dict[str, Any] = {}
|
|
25
|
+
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update(
|
|
27
|
+
{
|
|
28
|
+
"offering_catalog_uuid": offering_catalog_uuid,
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
return field_dict
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
36
|
+
d = dict(src_dict)
|
|
37
|
+
offering_catalog_uuid = UUID(d.pop("offering_catalog_uuid"))
|
|
38
|
+
|
|
39
|
+
remove_software_catalog_request = cls(
|
|
40
|
+
offering_catalog_uuid=offering_catalog_uuid,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
remove_software_catalog_request.additional_properties = d
|
|
44
|
+
return remove_software_catalog_request
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def additional_keys(self) -> list[str]:
|
|
48
|
+
return list(self.additional_properties.keys())
|
|
49
|
+
|
|
50
|
+
def __getitem__(self, key: str) -> Any:
|
|
51
|
+
return self.additional_properties[key]
|
|
52
|
+
|
|
53
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
54
|
+
self.additional_properties[key] = value
|
|
55
|
+
|
|
56
|
+
def __delitem__(self, key: str) -> None:
|
|
57
|
+
del self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __contains__(self, key: str) -> bool:
|
|
60
|
+
return key in self.additional_properties
|
|
@@ -20,6 +20,7 @@ if TYPE_CHECKING:
|
|
|
20
20
|
from ..models.resource_current_usages import ResourceCurrentUsages
|
|
21
21
|
from ..models.resource_limit_usage import ResourceLimitUsage
|
|
22
22
|
from ..models.resource_limits import ResourceLimits
|
|
23
|
+
from ..models.resource_renewal_date_type_0 import ResourceRenewalDateType0
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
T = TypeVar("T", bound="Resource")
|
|
@@ -42,7 +43,7 @@ class Resource:
|
|
|
42
43
|
OpenStack.
|
|
43
44
|
provider_name (Union[Unset, str]):
|
|
44
45
|
provider_uuid (Union[Unset, UUID]):
|
|
45
|
-
provider_slug (Union[Unset,
|
|
46
|
+
provider_slug (Union[Unset, str]):
|
|
46
47
|
category_title (Union[Unset, str]):
|
|
47
48
|
category_uuid (Union[Unset, UUID]):
|
|
48
49
|
category_icon (Union[Unset, str]):
|
|
@@ -108,6 +109,7 @@ class Resource:
|
|
|
108
109
|
customer_slug (Union[Unset, str]):
|
|
109
110
|
user_requires_reconsent (Union[Unset, bool]): Check if the current user needs to re-consent for this resource's
|
|
110
111
|
offering.
|
|
112
|
+
renewal_date (Union['ResourceRenewalDateType0', None, Unset]):
|
|
111
113
|
"""
|
|
112
114
|
|
|
113
115
|
offering: Union[Unset, str] = UNSET
|
|
@@ -122,7 +124,7 @@ class Resource:
|
|
|
122
124
|
offering_plugin_options: Union[Unset, Any] = UNSET
|
|
123
125
|
provider_name: Union[Unset, str] = UNSET
|
|
124
126
|
provider_uuid: Union[Unset, UUID] = UNSET
|
|
125
|
-
provider_slug: Union[Unset,
|
|
127
|
+
provider_slug: Union[Unset, str] = UNSET
|
|
126
128
|
category_title: Union[Unset, str] = UNSET
|
|
127
129
|
category_uuid: Union[Unset, UUID] = UNSET
|
|
128
130
|
category_icon: Union[Unset, str] = UNSET
|
|
@@ -185,10 +187,12 @@ class Resource:
|
|
|
185
187
|
project_slug: Union[Unset, str] = UNSET
|
|
186
188
|
customer_slug: Union[Unset, str] = UNSET
|
|
187
189
|
user_requires_reconsent: Union[Unset, bool] = UNSET
|
|
190
|
+
renewal_date: Union["ResourceRenewalDateType0", None, Unset] = UNSET
|
|
188
191
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
189
192
|
|
|
190
193
|
def to_dict(self) -> dict[str, Any]:
|
|
191
194
|
from ..models.order_details import OrderDetails
|
|
195
|
+
from ..models.resource_renewal_date_type_0 import ResourceRenewalDateType0
|
|
192
196
|
|
|
193
197
|
offering = self.offering
|
|
194
198
|
|
|
@@ -218,9 +222,7 @@ class Resource:
|
|
|
218
222
|
if not isinstance(self.provider_uuid, Unset):
|
|
219
223
|
provider_uuid = str(self.provider_uuid)
|
|
220
224
|
|
|
221
|
-
provider_slug
|
|
222
|
-
if not isinstance(self.provider_slug, Unset):
|
|
223
|
-
provider_slug = str(self.provider_slug)
|
|
225
|
+
provider_slug = self.provider_slug
|
|
224
226
|
|
|
225
227
|
category_title = self.category_title
|
|
226
228
|
|
|
@@ -452,6 +454,14 @@ class Resource:
|
|
|
452
454
|
|
|
453
455
|
user_requires_reconsent = self.user_requires_reconsent
|
|
454
456
|
|
|
457
|
+
renewal_date: Union[None, Unset, dict[str, Any]]
|
|
458
|
+
if isinstance(self.renewal_date, Unset):
|
|
459
|
+
renewal_date = UNSET
|
|
460
|
+
elif isinstance(self.renewal_date, ResourceRenewalDateType0):
|
|
461
|
+
renewal_date = self.renewal_date.to_dict()
|
|
462
|
+
else:
|
|
463
|
+
renewal_date = self.renewal_date
|
|
464
|
+
|
|
455
465
|
field_dict: dict[str, Any] = {}
|
|
456
466
|
field_dict.update(self.additional_properties)
|
|
457
467
|
field_dict.update({})
|
|
@@ -605,6 +615,8 @@ class Resource:
|
|
|
605
615
|
field_dict["customer_slug"] = customer_slug
|
|
606
616
|
if user_requires_reconsent is not UNSET:
|
|
607
617
|
field_dict["user_requires_reconsent"] = user_requires_reconsent
|
|
618
|
+
if renewal_date is not UNSET:
|
|
619
|
+
field_dict["renewal_date"] = renewal_date
|
|
608
620
|
|
|
609
621
|
return field_dict
|
|
610
622
|
|
|
@@ -618,6 +630,7 @@ class Resource:
|
|
|
618
630
|
from ..models.resource_current_usages import ResourceCurrentUsages
|
|
619
631
|
from ..models.resource_limit_usage import ResourceLimitUsage
|
|
620
632
|
from ..models.resource_limits import ResourceLimits
|
|
633
|
+
from ..models.resource_renewal_date_type_0 import ResourceRenewalDateType0
|
|
621
634
|
|
|
622
635
|
d = dict(src_dict)
|
|
623
636
|
offering = d.pop("offering", UNSET)
|
|
@@ -654,12 +667,7 @@ class Resource:
|
|
|
654
667
|
else:
|
|
655
668
|
provider_uuid = UUID(_provider_uuid)
|
|
656
669
|
|
|
657
|
-
|
|
658
|
-
provider_slug: Union[Unset, UUID]
|
|
659
|
-
if isinstance(_provider_slug, Unset):
|
|
660
|
-
provider_slug = UNSET
|
|
661
|
-
else:
|
|
662
|
-
provider_slug = UUID(_provider_slug)
|
|
670
|
+
provider_slug = d.pop("provider_slug", UNSET)
|
|
663
671
|
|
|
664
672
|
category_title = d.pop("category_title", UNSET)
|
|
665
673
|
|
|
@@ -1015,6 +1023,23 @@ class Resource:
|
|
|
1015
1023
|
|
|
1016
1024
|
user_requires_reconsent = d.pop("user_requires_reconsent", UNSET)
|
|
1017
1025
|
|
|
1026
|
+
def _parse_renewal_date(data: object) -> Union["ResourceRenewalDateType0", None, Unset]:
|
|
1027
|
+
if data is None:
|
|
1028
|
+
return data
|
|
1029
|
+
if isinstance(data, Unset):
|
|
1030
|
+
return data
|
|
1031
|
+
try:
|
|
1032
|
+
if not isinstance(data, dict):
|
|
1033
|
+
raise TypeError()
|
|
1034
|
+
renewal_date_type_0 = ResourceRenewalDateType0.from_dict(data)
|
|
1035
|
+
|
|
1036
|
+
return renewal_date_type_0
|
|
1037
|
+
except: # noqa: E722
|
|
1038
|
+
pass
|
|
1039
|
+
return cast(Union["ResourceRenewalDateType0", None, Unset], data)
|
|
1040
|
+
|
|
1041
|
+
renewal_date = _parse_renewal_date(d.pop("renewal_date", UNSET))
|
|
1042
|
+
|
|
1018
1043
|
resource = cls(
|
|
1019
1044
|
offering=offering,
|
|
1020
1045
|
offering_name=offering_name,
|
|
@@ -1091,6 +1116,7 @@ class Resource:
|
|
|
1091
1116
|
project_slug=project_slug,
|
|
1092
1117
|
customer_slug=customer_slug,
|
|
1093
1118
|
user_requires_reconsent=user_requires_reconsent,
|
|
1119
|
+
renewal_date=renewal_date,
|
|
1094
1120
|
)
|
|
1095
1121
|
|
|
1096
1122
|
resource.additional_properties = d
|
|
@@ -0,0 +1,59 @@
|
|
|
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="ResourceDownscaledRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class ResourceDownscaledRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
downscaled (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
downscaled: Union[Unset, bool] = UNSET
|
|
20
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
downscaled = self.downscaled
|
|
24
|
+
|
|
25
|
+
field_dict: dict[str, Any] = {}
|
|
26
|
+
field_dict.update(self.additional_properties)
|
|
27
|
+
field_dict.update({})
|
|
28
|
+
if downscaled is not UNSET:
|
|
29
|
+
field_dict["downscaled"] = downscaled
|
|
30
|
+
|
|
31
|
+
return field_dict
|
|
32
|
+
|
|
33
|
+
@classmethod
|
|
34
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
35
|
+
d = dict(src_dict)
|
|
36
|
+
downscaled = d.pop("downscaled", UNSET)
|
|
37
|
+
|
|
38
|
+
resource_downscaled_request = cls(
|
|
39
|
+
downscaled=downscaled,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
resource_downscaled_request.additional_properties = d
|
|
43
|
+
return resource_downscaled_request
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def additional_keys(self) -> list[str]:
|
|
47
|
+
return list(self.additional_properties.keys())
|
|
48
|
+
|
|
49
|
+
def __getitem__(self, key: str) -> Any:
|
|
50
|
+
return self.additional_properties[key]
|
|
51
|
+
|
|
52
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
53
|
+
self.additional_properties[key] = value
|
|
54
|
+
|
|
55
|
+
def __delitem__(self, key: str) -> None:
|
|
56
|
+
del self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __contains__(self, key: str) -> bool:
|
|
59
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,59 @@
|
|
|
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="ResourcePausedRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class ResourcePausedRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
paused (Union[Unset, bool]):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
paused: Union[Unset, bool] = UNSET
|
|
20
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
paused = self.paused
|
|
24
|
+
|
|
25
|
+
field_dict: dict[str, Any] = {}
|
|
26
|
+
field_dict.update(self.additional_properties)
|
|
27
|
+
field_dict.update({})
|
|
28
|
+
if paused is not UNSET:
|
|
29
|
+
field_dict["paused"] = paused
|
|
30
|
+
|
|
31
|
+
return field_dict
|
|
32
|
+
|
|
33
|
+
@classmethod
|
|
34
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
35
|
+
d = dict(src_dict)
|
|
36
|
+
paused = d.pop("paused", UNSET)
|
|
37
|
+
|
|
38
|
+
resource_paused_request = cls(
|
|
39
|
+
paused=paused,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
resource_paused_request.additional_properties = d
|
|
43
|
+
return resource_paused_request
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def additional_keys(self) -> list[str]:
|
|
47
|
+
return list(self.additional_properties.keys())
|
|
48
|
+
|
|
49
|
+
def __getitem__(self, key: str) -> Any:
|
|
50
|
+
return self.additional_properties[key]
|
|
51
|
+
|
|
52
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
53
|
+
self.additional_properties[key] = value
|
|
54
|
+
|
|
55
|
+
def __delitem__(self, key: str) -> None:
|
|
56
|
+
del self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __contains__(self, key: str) -> bool:
|
|
59
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, 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
|
+
if TYPE_CHECKING:
|
|
10
|
+
from ..models.resource_renew_request_limits import ResourceRenewRequestLimits
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="ResourceRenewRequest")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class ResourceRenewRequest:
|
|
18
|
+
"""
|
|
19
|
+
Attributes:
|
|
20
|
+
extension_months (int): Number of months to extend the subscription by.
|
|
21
|
+
limits (Union[Unset, ResourceRenewRequestLimits]): Optional new limits for the resource. Supports upgrades only.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
extension_months: int
|
|
25
|
+
limits: Union[Unset, "ResourceRenewRequestLimits"] = UNSET
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
extension_months = self.extension_months
|
|
30
|
+
|
|
31
|
+
limits: Union[Unset, dict[str, Any]] = UNSET
|
|
32
|
+
if not isinstance(self.limits, Unset):
|
|
33
|
+
limits = self.limits.to_dict()
|
|
34
|
+
|
|
35
|
+
field_dict: dict[str, Any] = {}
|
|
36
|
+
field_dict.update(self.additional_properties)
|
|
37
|
+
field_dict.update(
|
|
38
|
+
{
|
|
39
|
+
"extension_months": extension_months,
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
if limits is not UNSET:
|
|
43
|
+
field_dict["limits"] = limits
|
|
44
|
+
|
|
45
|
+
return field_dict
|
|
46
|
+
|
|
47
|
+
@classmethod
|
|
48
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
49
|
+
from ..models.resource_renew_request_limits import ResourceRenewRequestLimits
|
|
50
|
+
|
|
51
|
+
d = dict(src_dict)
|
|
52
|
+
extension_months = d.pop("extension_months")
|
|
53
|
+
|
|
54
|
+
_limits = d.pop("limits", UNSET)
|
|
55
|
+
limits: Union[Unset, ResourceRenewRequestLimits]
|
|
56
|
+
if isinstance(_limits, Unset):
|
|
57
|
+
limits = UNSET
|
|
58
|
+
else:
|
|
59
|
+
limits = ResourceRenewRequestLimits.from_dict(_limits)
|
|
60
|
+
|
|
61
|
+
resource_renew_request = cls(
|
|
62
|
+
extension_months=extension_months,
|
|
63
|
+
limits=limits,
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
resource_renew_request.additional_properties = d
|
|
67
|
+
return resource_renew_request
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def additional_keys(self) -> list[str]:
|
|
71
|
+
return list(self.additional_properties.keys())
|
|
72
|
+
|
|
73
|
+
def __getitem__(self, key: str) -> Any:
|
|
74
|
+
return self.additional_properties[key]
|
|
75
|
+
|
|
76
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
77
|
+
self.additional_properties[key] = value
|
|
78
|
+
|
|
79
|
+
def __delitem__(self, key: str) -> None:
|
|
80
|
+
del self.additional_properties[key]
|
|
81
|
+
|
|
82
|
+
def __contains__(self, key: str) -> bool:
|
|
83
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
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="ResourceRenewRequestLimits")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ResourceRenewRequestLimits:
|
|
12
|
+
"""Optional new limits for the resource. Supports upgrades only."""
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, int] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
resource_renew_request_limits = cls()
|
|
26
|
+
|
|
27
|
+
resource_renew_request_limits.additional_properties = d
|
|
28
|
+
return resource_renew_request_limits
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> int:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: int) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from collections.abc import Mapping
|
|
3
|
+
from typing import Any, TypeVar
|
|
4
|
+
|
|
5
|
+
from attrs import define as _attrs_define
|
|
6
|
+
from attrs import field as _attrs_field
|
|
7
|
+
from dateutil.parser import isoparse
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="ResourceRenewalDateType0")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class ResourceRenewalDateType0:
|
|
14
|
+
""" """
|
|
15
|
+
|
|
16
|
+
additional_properties: dict[str, datetime.date] = _attrs_field(init=False, factory=dict)
|
|
17
|
+
|
|
18
|
+
def to_dict(self) -> dict[str, Any]:
|
|
19
|
+
field_dict: dict[str, Any] = {}
|
|
20
|
+
for prop_name, prop in self.additional_properties.items():
|
|
21
|
+
field_dict[prop_name] = prop.isoformat()
|
|
22
|
+
|
|
23
|
+
return field_dict
|
|
24
|
+
|
|
25
|
+
@classmethod
|
|
26
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
27
|
+
d = dict(src_dict)
|
|
28
|
+
resource_renewal_date_type_0 = cls()
|
|
29
|
+
|
|
30
|
+
additional_properties = {}
|
|
31
|
+
for prop_name, prop_dict in d.items():
|
|
32
|
+
additional_property = isoparse(prop_dict).date()
|
|
33
|
+
|
|
34
|
+
additional_properties[prop_name] = additional_property
|
|
35
|
+
|
|
36
|
+
resource_renewal_date_type_0.additional_properties = additional_properties
|
|
37
|
+
return resource_renewal_date_type_0
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def additional_keys(self) -> list[str]:
|
|
41
|
+
return list(self.additional_properties.keys())
|
|
42
|
+
|
|
43
|
+
def __getitem__(self, key: str) -> datetime.date:
|
|
44
|
+
return self.additional_properties[key]
|
|
45
|
+
|
|
46
|
+
def __setitem__(self, key: str, value: datetime.date) -> None:
|
|
47
|
+
self.additional_properties[key] = value
|
|
48
|
+
|
|
49
|
+
def __delitem__(self, key: str) -> None:
|
|
50
|
+
del self.additional_properties[key]
|
|
51
|
+
|
|
52
|
+
def __contains__(self, key: str) -> bool:
|
|
53
|
+
return key in self.additional_properties
|