waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
- waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
- waldur_api_client/api/customers/customers_add_user.py +17 -10
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
- waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
- waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
- waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
- waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
- waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
- waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
- waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
- waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
- waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
- waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
- waldur_api_client/api/projects/projects_add_user.py +17 -10
- waldur_api_client/api/projects/projects_count.py +30 -0
- waldur_api_client/api/projects/projects_list.py +30 -0
- waldur_api_client/api/projects/projects_move_project.py +19 -10
- waldur_api_client/api/projects/projects_recover.py +166 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
- waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
- waldur_api_client/models/__init__.py +152 -4
- waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
- waldur_api_client/models/agent_identity.py +211 -0
- waldur_api_client/models/agent_identity_request.py +157 -0
- waldur_api_client/models/agent_processor.py +170 -0
- waldur_api_client/models/agent_processor_create_request.py +89 -0
- waldur_api_client/models/agent_service.py +172 -0
- waldur_api_client/models/agent_service_create_request.py +81 -0
- waldur_api_client/models/agent_service_state.py +10 -0
- waldur_api_client/models/agent_service_statistics_request.py +59 -0
- waldur_api_client/models/base_provider_plan.py +21 -0
- waldur_api_client/models/base_public_plan.py +21 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/booking_resource.py +33 -0
- waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/booking_resources_list_field_item.py +1 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
- waldur_api_client/models/constance_settings.py +81 -45
- waldur_api_client/models/constance_settings_request.py +81 -45
- waldur_api_client/models/constance_settings_request_form.py +81 -45
- waldur_api_client/models/constance_settings_request_multipart.py +134 -71
- waldur_api_client/models/customer_component_usage_policy.py +175 -0
- waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
- waldur_api_client/models/customers_add_user_response_400.py +65 -0
- waldur_api_client/models/discount_config_request.py +91 -0
- waldur_api_client/models/discounts_update_request.py +65 -0
- waldur_api_client/models/discounts_update_request_discounts.py +57 -0
- waldur_api_client/models/issue.py +0 -25
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
- waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
- waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
- waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
- waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
- waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
- waldur_api_client/models/merged_plugin_options.py +47 -8
- waldur_api_client/models/merged_plugin_options_request.py +47 -8
- waldur_api_client/models/nested_agent_processor.py +154 -0
- waldur_api_client/models/nested_agent_service.py +134 -0
- waldur_api_client/models/nested_agent_service_request.py +90 -0
- waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
- waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
- waldur_api_client/models/nested_partition.py +412 -0
- waldur_api_client/models/nested_partition_request.py +397 -0
- waldur_api_client/models/nested_plan_component.py +155 -0
- waldur_api_client/models/nested_plan_component_request.py +128 -0
- waldur_api_client/models/nested_software_catalog.py +134 -0
- waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
- waldur_api_client/models/nested_software_catalog_partition.py +86 -0
- waldur_api_client/models/nested_software_catalog_request.py +68 -0
- waldur_api_client/models/nested_software_target.py +84 -0
- waldur_api_client/models/nested_software_target_request.py +75 -0
- waldur_api_client/models/nested_software_version.py +124 -0
- waldur_api_client/models/nested_software_version_request.py +93 -0
- waldur_api_client/models/observable_object_type_enum.py +14 -0
- waldur_api_client/models/offering.py +42 -0
- waldur_api_client/models/offering_create.py +36 -0
- waldur_api_client/models/offering_partition.py +440 -0
- waldur_api_client/models/offering_partition_request.py +406 -0
- waldur_api_client/models/offering_software_catalog.py +176 -0
- waldur_api_client/models/offering_software_catalog_request.py +118 -0
- waldur_api_client/models/onboarding_justification.py +35 -6
- waldur_api_client/models/onboarding_justification_create_request.py +8 -5
- waldur_api_client/models/onboarding_justification_request.py +20 -6
- waldur_api_client/models/onboarding_justification_review_request.py +59 -0
- waldur_api_client/models/order_backend_id_request.py +59 -0
- waldur_api_client/models/order_details.py +39 -0
- waldur_api_client/models/order_state.py +1 -0
- waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
- waldur_api_client/models/patched_offering_partition_request.py +412 -0
- waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
- waldur_api_client/models/patched_project_request.py +9 -0
- waldur_api_client/models/patched_project_request_form.py +9 -0
- waldur_api_client/models/patched_project_request_multipart.py +12 -0
- waldur_api_client/models/patched_software_catalog_request.py +86 -0
- waldur_api_client/models/patched_software_package_request.py +86 -0
- waldur_api_client/models/plan_component.py +40 -0
- waldur_api_client/models/project.py +27 -0
- waldur_api_client/models/project_recovery_request.py +70 -0
- waldur_api_client/models/project_request.py +9 -0
- waldur_api_client/models/project_request_form.py +9 -0
- waldur_api_client/models/project_request_multipart.py +12 -0
- waldur_api_client/models/project_user.py +21 -4
- waldur_api_client/models/projects_add_user_response_400.py +65 -0
- waldur_api_client/models/projects_list_field_item.py +3 -0
- waldur_api_client/models/projects_move_project_response_400.py +65 -0
- waldur_api_client/models/projects_retrieve_field_item.py +3 -0
- waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
- waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
- waldur_api_client/models/provider_offering_details.py +42 -0
- waldur_api_client/models/provider_plan_details.py +18 -0
- waldur_api_client/models/public_offering_details.py +42 -0
- waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
- waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
- waldur_api_client/models/remove_software_catalog_request.py +60 -0
- waldur_api_client/models/resource.py +33 -0
- waldur_api_client/models/resource_downscaled_request.py +59 -0
- waldur_api_client/models/resource_paused_request.py +59 -0
- waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
- waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
- waldur_api_client/models/software_catalog.py +130 -0
- waldur_api_client/models/software_catalog_request.py +87 -0
- waldur_api_client/models/software_catalog_uuid.py +60 -0
- waldur_api_client/models/software_package.py +168 -0
- waldur_api_client/models/software_package_request.py +87 -0
- waldur_api_client/models/software_target.py +110 -0
- waldur_api_client/models/software_version.py +135 -0
- waldur_api_client/models/user.py +20 -0
- waldur_api_client/models/users_list_field_item.py +1 -0
- waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
- waldur_api_client/models/users_retrieve_field_item.py +1 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -8,6 +8,7 @@ from attrs import field as _attrs_field
|
|
|
8
8
|
from dateutil.parser import isoparse
|
|
9
9
|
|
|
10
10
|
from ..models.validation_decision_enum import ValidationDecisionEnum
|
|
11
|
+
from ..types import UNSET, Unset
|
|
11
12
|
|
|
12
13
|
if TYPE_CHECKING:
|
|
13
14
|
from ..models.onboarding_justification_documentation import OnboardingJustificationDocumentation
|
|
@@ -23,7 +24,8 @@ class OnboardingJustification:
|
|
|
23
24
|
uuid (UUID):
|
|
24
25
|
verification (int):
|
|
25
26
|
user (int):
|
|
26
|
-
|
|
27
|
+
legal_person_identifier (str):
|
|
28
|
+
legal_name (str):
|
|
27
29
|
validated_by (Union[None, int]):
|
|
28
30
|
validated_at (Union[None, datetime.datetime]):
|
|
29
31
|
validation_decision (ValidationDecisionEnum):
|
|
@@ -31,12 +33,14 @@ class OnboardingJustification:
|
|
|
31
33
|
supporting_documentation (list['OnboardingJustificationDocumentation']):
|
|
32
34
|
created (datetime.datetime):
|
|
33
35
|
modified (datetime.datetime):
|
|
36
|
+
user_justification (Union[None, Unset, str]): User's explanation for why they should be authorized
|
|
34
37
|
"""
|
|
35
38
|
|
|
36
39
|
uuid: UUID
|
|
37
40
|
verification: int
|
|
38
41
|
user: int
|
|
39
|
-
|
|
42
|
+
legal_person_identifier: str
|
|
43
|
+
legal_name: str
|
|
40
44
|
validated_by: Union[None, int]
|
|
41
45
|
validated_at: Union[None, datetime.datetime]
|
|
42
46
|
validation_decision: ValidationDecisionEnum
|
|
@@ -44,6 +48,7 @@ class OnboardingJustification:
|
|
|
44
48
|
supporting_documentation: list["OnboardingJustificationDocumentation"]
|
|
45
49
|
created: datetime.datetime
|
|
46
50
|
modified: datetime.datetime
|
|
51
|
+
user_justification: Union[None, Unset, str] = UNSET
|
|
47
52
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
48
53
|
|
|
49
54
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -53,7 +58,9 @@ class OnboardingJustification:
|
|
|
53
58
|
|
|
54
59
|
user = self.user
|
|
55
60
|
|
|
56
|
-
|
|
61
|
+
legal_person_identifier = self.legal_person_identifier
|
|
62
|
+
|
|
63
|
+
legal_name = self.legal_name
|
|
57
64
|
|
|
58
65
|
validated_by: Union[None, int]
|
|
59
66
|
validated_by = self.validated_by
|
|
@@ -77,6 +84,12 @@ class OnboardingJustification:
|
|
|
77
84
|
|
|
78
85
|
modified = self.modified.isoformat()
|
|
79
86
|
|
|
87
|
+
user_justification: Union[None, Unset, str]
|
|
88
|
+
if isinstance(self.user_justification, Unset):
|
|
89
|
+
user_justification = UNSET
|
|
90
|
+
else:
|
|
91
|
+
user_justification = self.user_justification
|
|
92
|
+
|
|
80
93
|
field_dict: dict[str, Any] = {}
|
|
81
94
|
field_dict.update(self.additional_properties)
|
|
82
95
|
field_dict.update(
|
|
@@ -84,7 +97,8 @@ class OnboardingJustification:
|
|
|
84
97
|
"uuid": uuid,
|
|
85
98
|
"verification": verification,
|
|
86
99
|
"user": user,
|
|
87
|
-
"
|
|
100
|
+
"legal_person_identifier": legal_person_identifier,
|
|
101
|
+
"legal_name": legal_name,
|
|
88
102
|
"validated_by": validated_by,
|
|
89
103
|
"validated_at": validated_at,
|
|
90
104
|
"validation_decision": validation_decision,
|
|
@@ -94,6 +108,8 @@ class OnboardingJustification:
|
|
|
94
108
|
"modified": modified,
|
|
95
109
|
}
|
|
96
110
|
)
|
|
111
|
+
if user_justification is not UNSET:
|
|
112
|
+
field_dict["user_justification"] = user_justification
|
|
97
113
|
|
|
98
114
|
return field_dict
|
|
99
115
|
|
|
@@ -108,7 +124,9 @@ class OnboardingJustification:
|
|
|
108
124
|
|
|
109
125
|
user = d.pop("user")
|
|
110
126
|
|
|
111
|
-
|
|
127
|
+
legal_person_identifier = d.pop("legal_person_identifier")
|
|
128
|
+
|
|
129
|
+
legal_name = d.pop("legal_name")
|
|
112
130
|
|
|
113
131
|
def _parse_validated_by(data: object) -> Union[None, int]:
|
|
114
132
|
if data is None:
|
|
@@ -149,11 +167,21 @@ class OnboardingJustification:
|
|
|
149
167
|
|
|
150
168
|
modified = isoparse(d.pop("modified"))
|
|
151
169
|
|
|
170
|
+
def _parse_user_justification(data: object) -> Union[None, Unset, str]:
|
|
171
|
+
if data is None:
|
|
172
|
+
return data
|
|
173
|
+
if isinstance(data, Unset):
|
|
174
|
+
return data
|
|
175
|
+
return cast(Union[None, Unset, str], data)
|
|
176
|
+
|
|
177
|
+
user_justification = _parse_user_justification(d.pop("user_justification", UNSET))
|
|
178
|
+
|
|
152
179
|
onboarding_justification = cls(
|
|
153
180
|
uuid=uuid,
|
|
154
181
|
verification=verification,
|
|
155
182
|
user=user,
|
|
156
|
-
|
|
183
|
+
legal_person_identifier=legal_person_identifier,
|
|
184
|
+
legal_name=legal_name,
|
|
157
185
|
validated_by=validated_by,
|
|
158
186
|
validated_at=validated_at,
|
|
159
187
|
validation_decision=validation_decision,
|
|
@@ -161,6 +189,7 @@ class OnboardingJustification:
|
|
|
161
189
|
supporting_documentation=supporting_documentation,
|
|
162
190
|
created=created,
|
|
163
191
|
modified=modified,
|
|
192
|
+
user_justification=user_justification,
|
|
164
193
|
)
|
|
165
194
|
|
|
166
195
|
onboarding_justification.additional_properties = d
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
3
|
from uuid import UUID
|
|
4
4
|
|
|
5
5
|
from attrs import define as _attrs_define
|
|
6
6
|
from attrs import field as _attrs_field
|
|
7
7
|
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
8
10
|
T = TypeVar("T", bound="OnboardingJustificationCreateRequest")
|
|
9
11
|
|
|
10
12
|
|
|
@@ -13,11 +15,11 @@ class OnboardingJustificationCreateRequest:
|
|
|
13
15
|
"""
|
|
14
16
|
Attributes:
|
|
15
17
|
verification_uuid (UUID): UUID of the OnboardingVerification to justify
|
|
16
|
-
user_justification (str): User's explanation for why they should be authorized
|
|
18
|
+
user_justification (Union[Unset, str]): User's explanation for why they should be authorized
|
|
17
19
|
"""
|
|
18
20
|
|
|
19
21
|
verification_uuid: UUID
|
|
20
|
-
user_justification: str
|
|
22
|
+
user_justification: Union[Unset, str] = UNSET
|
|
21
23
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
24
|
|
|
23
25
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -30,9 +32,10 @@ class OnboardingJustificationCreateRequest:
|
|
|
30
32
|
field_dict.update(
|
|
31
33
|
{
|
|
32
34
|
"verification_uuid": verification_uuid,
|
|
33
|
-
"user_justification": user_justification,
|
|
34
35
|
}
|
|
35
36
|
)
|
|
37
|
+
if user_justification is not UNSET:
|
|
38
|
+
field_dict["user_justification"] = user_justification
|
|
36
39
|
|
|
37
40
|
return field_dict
|
|
38
41
|
|
|
@@ -41,7 +44,7 @@ class OnboardingJustificationCreateRequest:
|
|
|
41
44
|
d = dict(src_dict)
|
|
42
45
|
verification_uuid = UUID(d.pop("verification_uuid"))
|
|
43
46
|
|
|
44
|
-
user_justification = d.pop("user_justification")
|
|
47
|
+
user_justification = d.pop("user_justification", UNSET)
|
|
45
48
|
|
|
46
49
|
onboarding_justification_create_request = cls(
|
|
47
50
|
verification_uuid=verification_uuid,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
7
9
|
T = TypeVar("T", bound="OnboardingJustificationRequest")
|
|
8
10
|
|
|
9
11
|
|
|
@@ -13,12 +15,12 @@ class OnboardingJustificationRequest:
|
|
|
13
15
|
Attributes:
|
|
14
16
|
verification (int):
|
|
15
17
|
user (int):
|
|
16
|
-
user_justification (str): User's explanation for why they should be authorized
|
|
18
|
+
user_justification (Union[None, Unset, str]): User's explanation for why they should be authorized
|
|
17
19
|
"""
|
|
18
20
|
|
|
19
21
|
verification: int
|
|
20
22
|
user: int
|
|
21
|
-
user_justification: str
|
|
23
|
+
user_justification: Union[None, Unset, str] = UNSET
|
|
22
24
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
25
|
|
|
24
26
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -26,7 +28,11 @@ class OnboardingJustificationRequest:
|
|
|
26
28
|
|
|
27
29
|
user = self.user
|
|
28
30
|
|
|
29
|
-
user_justification
|
|
31
|
+
user_justification: Union[None, Unset, str]
|
|
32
|
+
if isinstance(self.user_justification, Unset):
|
|
33
|
+
user_justification = UNSET
|
|
34
|
+
else:
|
|
35
|
+
user_justification = self.user_justification
|
|
30
36
|
|
|
31
37
|
field_dict: dict[str, Any] = {}
|
|
32
38
|
field_dict.update(self.additional_properties)
|
|
@@ -34,9 +40,10 @@ class OnboardingJustificationRequest:
|
|
|
34
40
|
{
|
|
35
41
|
"verification": verification,
|
|
36
42
|
"user": user,
|
|
37
|
-
"user_justification": user_justification,
|
|
38
43
|
}
|
|
39
44
|
)
|
|
45
|
+
if user_justification is not UNSET:
|
|
46
|
+
field_dict["user_justification"] = user_justification
|
|
40
47
|
|
|
41
48
|
return field_dict
|
|
42
49
|
|
|
@@ -47,7 +54,14 @@ class OnboardingJustificationRequest:
|
|
|
47
54
|
|
|
48
55
|
user = d.pop("user")
|
|
49
56
|
|
|
50
|
-
|
|
57
|
+
def _parse_user_justification(data: object) -> Union[None, Unset, str]:
|
|
58
|
+
if data is None:
|
|
59
|
+
return data
|
|
60
|
+
if isinstance(data, Unset):
|
|
61
|
+
return data
|
|
62
|
+
return cast(Union[None, Unset, str], data)
|
|
63
|
+
|
|
64
|
+
user_justification = _parse_user_justification(d.pop("user_justification", UNSET))
|
|
51
65
|
|
|
52
66
|
onboarding_justification_request = cls(
|
|
53
67
|
verification=verification,
|
|
@@ -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="OnboardingJustificationReviewRequest")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class OnboardingJustificationReviewRequest:
|
|
14
|
+
"""
|
|
15
|
+
Attributes:
|
|
16
|
+
staff_notes (Union[Unset, str]): Administrator notes about the review decision
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
staff_notes: Union[Unset, str] = UNSET
|
|
20
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
staff_notes = self.staff_notes
|
|
24
|
+
|
|
25
|
+
field_dict: dict[str, Any] = {}
|
|
26
|
+
field_dict.update(self.additional_properties)
|
|
27
|
+
field_dict.update({})
|
|
28
|
+
if staff_notes is not UNSET:
|
|
29
|
+
field_dict["staff_notes"] = staff_notes
|
|
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
|
+
staff_notes = d.pop("staff_notes", UNSET)
|
|
37
|
+
|
|
38
|
+
onboarding_justification_review_request = cls(
|
|
39
|
+
staff_notes=staff_notes,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
onboarding_justification_review_request.additional_properties = d
|
|
43
|
+
return onboarding_justification_review_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
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="OrderBackendIDRequest")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class OrderBackendIDRequest:
|
|
12
|
+
"""
|
|
13
|
+
Attributes:
|
|
14
|
+
backend_id (str):
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
backend_id: str
|
|
18
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
19
|
+
|
|
20
|
+
def to_dict(self) -> dict[str, Any]:
|
|
21
|
+
backend_id = self.backend_id
|
|
22
|
+
|
|
23
|
+
field_dict: dict[str, Any] = {}
|
|
24
|
+
field_dict.update(self.additional_properties)
|
|
25
|
+
field_dict.update(
|
|
26
|
+
{
|
|
27
|
+
"backend_id": backend_id,
|
|
28
|
+
}
|
|
29
|
+
)
|
|
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
|
+
backend_id = d.pop("backend_id")
|
|
37
|
+
|
|
38
|
+
order_backend_id_request = cls(
|
|
39
|
+
backend_id=backend_id,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
order_backend_id_request.additional_properties = d
|
|
43
|
+
return order_backend_id_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
|
|
@@ -65,6 +65,8 @@ class OrderDetails:
|
|
|
65
65
|
request_comment (Union[None, Unset, str]):
|
|
66
66
|
attachment (Union[None, Unset, str]):
|
|
67
67
|
type_ (Union[Unset, RequestTypes]): Default: RequestTypes.CREATE.
|
|
68
|
+
start_date (Union[None, Unset, datetime.date]): Enables delayed processing of resource provisioning order.
|
|
69
|
+
url (Union[Unset, str]):
|
|
68
70
|
consumer_reviewed_by (Union[None, Unset, str]): Required. 128 characters or fewer. Lowercase letters, numbers
|
|
69
71
|
and @/./+/-/_ characters
|
|
70
72
|
consumer_reviewed_by_full_name (Union[None, Unset, str]):
|
|
@@ -142,6 +144,8 @@ class OrderDetails:
|
|
|
142
144
|
request_comment: Union[None, Unset, str] = UNSET
|
|
143
145
|
attachment: Union[None, Unset, str] = UNSET
|
|
144
146
|
type_: Union[Unset, RequestTypes] = RequestTypes.CREATE
|
|
147
|
+
start_date: Union[None, Unset, datetime.date] = UNSET
|
|
148
|
+
url: Union[Unset, str] = UNSET
|
|
145
149
|
consumer_reviewed_by: Union[None, Unset, str] = UNSET
|
|
146
150
|
consumer_reviewed_by_full_name: Union[None, Unset, str] = UNSET
|
|
147
151
|
consumer_reviewed_by_username: Union[None, Unset, str] = UNSET
|
|
@@ -329,6 +333,16 @@ class OrderDetails:
|
|
|
329
333
|
if not isinstance(self.type_, Unset):
|
|
330
334
|
type_ = self.type_.value
|
|
331
335
|
|
|
336
|
+
start_date: Union[None, Unset, str]
|
|
337
|
+
if isinstance(self.start_date, Unset):
|
|
338
|
+
start_date = UNSET
|
|
339
|
+
elif isinstance(self.start_date, datetime.date):
|
|
340
|
+
start_date = self.start_date.isoformat()
|
|
341
|
+
else:
|
|
342
|
+
start_date = self.start_date
|
|
343
|
+
|
|
344
|
+
url = self.url
|
|
345
|
+
|
|
332
346
|
consumer_reviewed_by: Union[None, Unset, str]
|
|
333
347
|
if isinstance(self.consumer_reviewed_by, Unset):
|
|
334
348
|
consumer_reviewed_by = UNSET
|
|
@@ -554,6 +568,10 @@ class OrderDetails:
|
|
|
554
568
|
field_dict["attachment"] = attachment
|
|
555
569
|
if type_ is not UNSET:
|
|
556
570
|
field_dict["type"] = type_
|
|
571
|
+
if start_date is not UNSET:
|
|
572
|
+
field_dict["start_date"] = start_date
|
|
573
|
+
if url is not UNSET:
|
|
574
|
+
field_dict["url"] = url
|
|
557
575
|
if consumer_reviewed_by is not UNSET:
|
|
558
576
|
field_dict["consumer_reviewed_by"] = consumer_reviewed_by
|
|
559
577
|
if consumer_reviewed_by_full_name is not UNSET:
|
|
@@ -862,6 +880,25 @@ class OrderDetails:
|
|
|
862
880
|
else:
|
|
863
881
|
type_ = RequestTypes(_type_)
|
|
864
882
|
|
|
883
|
+
def _parse_start_date(data: object) -> Union[None, Unset, datetime.date]:
|
|
884
|
+
if data is None:
|
|
885
|
+
return data
|
|
886
|
+
if isinstance(data, Unset):
|
|
887
|
+
return data
|
|
888
|
+
try:
|
|
889
|
+
if not isinstance(data, str):
|
|
890
|
+
raise TypeError()
|
|
891
|
+
start_date_type_0 = isoparse(data).date()
|
|
892
|
+
|
|
893
|
+
return start_date_type_0
|
|
894
|
+
except: # noqa: E722
|
|
895
|
+
pass
|
|
896
|
+
return cast(Union[None, Unset, datetime.date], data)
|
|
897
|
+
|
|
898
|
+
start_date = _parse_start_date(d.pop("start_date", UNSET))
|
|
899
|
+
|
|
900
|
+
url = d.pop("url", UNSET)
|
|
901
|
+
|
|
865
902
|
def _parse_consumer_reviewed_by(data: object) -> Union[None, Unset, str]:
|
|
866
903
|
if data is None:
|
|
867
904
|
return data
|
|
@@ -1140,6 +1177,8 @@ class OrderDetails:
|
|
|
1140
1177
|
request_comment=request_comment,
|
|
1141
1178
|
attachment=attachment,
|
|
1142
1179
|
type_=type_,
|
|
1180
|
+
start_date=start_date,
|
|
1181
|
+
url=url,
|
|
1143
1182
|
consumer_reviewed_by=consumer_reviewed_by,
|
|
1144
1183
|
consumer_reviewed_by_full_name=consumer_reviewed_by_full_name,
|
|
1145
1184
|
consumer_reviewed_by_username=consumer_reviewed_by_username,
|
|
@@ -0,0 +1,104 @@
|
|
|
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.nested_customer_usage_policy_component_request import NestedCustomerUsagePolicyComponentRequest
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="PatchedCustomerComponentUsagePolicyRequest")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class PatchedCustomerComponentUsagePolicyRequest:
|
|
18
|
+
"""
|
|
19
|
+
Attributes:
|
|
20
|
+
scope (Union[Unset, str]):
|
|
21
|
+
actions (Union[Unset, str]):
|
|
22
|
+
options (Union[Unset, Any]): Fields for saving actions extra data. Keys are name of actions.
|
|
23
|
+
component_limits_set (Union[Unset, list['NestedCustomerUsagePolicyComponentRequest']]):
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
scope: Union[Unset, str] = UNSET
|
|
27
|
+
actions: Union[Unset, str] = UNSET
|
|
28
|
+
options: Union[Unset, Any] = UNSET
|
|
29
|
+
component_limits_set: Union[Unset, list["NestedCustomerUsagePolicyComponentRequest"]] = UNSET
|
|
30
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
31
|
+
|
|
32
|
+
def to_dict(self) -> dict[str, Any]:
|
|
33
|
+
scope = self.scope
|
|
34
|
+
|
|
35
|
+
actions = self.actions
|
|
36
|
+
|
|
37
|
+
options = self.options
|
|
38
|
+
|
|
39
|
+
component_limits_set: Union[Unset, list[dict[str, Any]]] = UNSET
|
|
40
|
+
if not isinstance(self.component_limits_set, Unset):
|
|
41
|
+
component_limits_set = []
|
|
42
|
+
for component_limits_set_item_data in self.component_limits_set:
|
|
43
|
+
component_limits_set_item = component_limits_set_item_data.to_dict()
|
|
44
|
+
component_limits_set.append(component_limits_set_item)
|
|
45
|
+
|
|
46
|
+
field_dict: dict[str, Any] = {}
|
|
47
|
+
field_dict.update(self.additional_properties)
|
|
48
|
+
field_dict.update({})
|
|
49
|
+
if scope is not UNSET:
|
|
50
|
+
field_dict["scope"] = scope
|
|
51
|
+
if actions is not UNSET:
|
|
52
|
+
field_dict["actions"] = actions
|
|
53
|
+
if options is not UNSET:
|
|
54
|
+
field_dict["options"] = options
|
|
55
|
+
if component_limits_set is not UNSET:
|
|
56
|
+
field_dict["component_limits_set"] = component_limits_set
|
|
57
|
+
|
|
58
|
+
return field_dict
|
|
59
|
+
|
|
60
|
+
@classmethod
|
|
61
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
62
|
+
from ..models.nested_customer_usage_policy_component_request import NestedCustomerUsagePolicyComponentRequest
|
|
63
|
+
|
|
64
|
+
d = dict(src_dict)
|
|
65
|
+
scope = d.pop("scope", UNSET)
|
|
66
|
+
|
|
67
|
+
actions = d.pop("actions", UNSET)
|
|
68
|
+
|
|
69
|
+
options = d.pop("options", UNSET)
|
|
70
|
+
|
|
71
|
+
component_limits_set = []
|
|
72
|
+
_component_limits_set = d.pop("component_limits_set", UNSET)
|
|
73
|
+
for component_limits_set_item_data in _component_limits_set or []:
|
|
74
|
+
component_limits_set_item = NestedCustomerUsagePolicyComponentRequest.from_dict(
|
|
75
|
+
component_limits_set_item_data
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
component_limits_set.append(component_limits_set_item)
|
|
79
|
+
|
|
80
|
+
patched_customer_component_usage_policy_request = cls(
|
|
81
|
+
scope=scope,
|
|
82
|
+
actions=actions,
|
|
83
|
+
options=options,
|
|
84
|
+
component_limits_set=component_limits_set,
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
patched_customer_component_usage_policy_request.additional_properties = d
|
|
88
|
+
return patched_customer_component_usage_policy_request
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def additional_keys(self) -> list[str]:
|
|
92
|
+
return list(self.additional_properties.keys())
|
|
93
|
+
|
|
94
|
+
def __getitem__(self, key: str) -> Any:
|
|
95
|
+
return self.additional_properties[key]
|
|
96
|
+
|
|
97
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
98
|
+
self.additional_properties[key] = value
|
|
99
|
+
|
|
100
|
+
def __delitem__(self, key: str) -> None:
|
|
101
|
+
del self.additional_properties[key]
|
|
102
|
+
|
|
103
|
+
def __contains__(self, key: str) -> bool:
|
|
104
|
+
return key in self.additional_properties
|