waldur-api-client 7.8.2__py3-none-any.whl → 7.8.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/booking_resources/booking_resources_count.py +18 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +18 -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_project_update_requests/marketplace_project_update_requests_count.py +18 -18
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +18 -18
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -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_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_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_backups/openstack_backups_restore.py +10 -10
- 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_checklist_template_count.py +125 -0
- waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
- 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_offerings_list.py +15 -0
- waldur_api_client/api/rancher_services/rancher_services_create.py +22 -22
- waldur_api_client/models/__init__.py +88 -10
- waldur_api_client/models/azure_sql_server_create_order_attributes.py +5 -10
- waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +7 -12
- waldur_api_client/models/booking_resource.py +9 -34
- waldur_api_client/models/booking_resources_list_field_item.py +1 -3
- waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -3
- 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 +54 -0
- waldur_api_client/models/constance_settings_request.py +54 -0
- waldur_api_client/models/constance_settings_request_form.py +54 -0
- waldur_api_client/models/constance_settings_request_multipart.py +99 -0
- waldur_api_client/models/customer.py +9 -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/event_groups_enum.py +1 -0
- waldur_api_client/models/event_types_enum.py +3 -0
- waldur_api_client/models/generic_order_attributes.py +1 -2
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -3
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_orders_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_list_field_item.py +1 -3
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -3
- waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +2 -1
- waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +2 -1
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
- waldur_api_client/models/merged_plugin_options.py +27 -0
- waldur_api_client/models/merged_plugin_options_request.py +27 -0
- waldur_api_client/models/move_resource_request.py +65 -0
- waldur_api_client/models/nested_round.py +5 -5
- 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/offering_component.py +79 -0
- waldur_api_client/models/offering_component_request.py +80 -0
- waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
- waldur_api_client/models/onboarding_justification.py +183 -0
- waldur_api_client/models/onboarding_justification_create_request.py +68 -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 +75 -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_backup_restoration.py +3 -5
- waldur_api_client/models/open_stack_backup_restoration_create_request.py +141 -0
- waldur_api_client/models/open_stack_backup_restoration_request.py +22 -30
- waldur_api_client/models/open_stack_create_floating_ip_request.py +89 -0
- waldur_api_client/models/open_stack_create_port_request.py +104 -0
- waldur_api_client/models/open_stack_instance.py +13 -29
- waldur_api_client/models/open_stack_instance_create_order_attributes.py +67 -54
- waldur_api_client/models/open_stack_instance_floating_i_ps_update_request.py +5 -5
- waldur_api_client/models/open_stack_instance_ports_update_request.py +5 -5
- waldur_api_client/models/open_stack_instance_request.py +1 -67
- waldur_api_client/models/open_stack_nested_port_request.py +0 -9
- waldur_api_client/models/{open_stack_nested_security_group_request.py → open_stack_security_group_hyperlink_request.py} +14 -14
- waldur_api_client/models/open_stack_server_group_hyperlink_request.py +59 -0
- waldur_api_client/models/open_stack_tenant_create_order_attributes.py +9 -14
- waldur_api_client/models/open_stack_volume_create_order_attributes.py +8 -13
- waldur_api_client/models/openstack_instances_list_field_item.py +0 -7
- waldur_api_client/models/openstack_instances_retrieve_field_item.py +0 -7
- waldur_api_client/models/order_create.py +8 -0
- waldur_api_client/models/order_details.py +9 -34
- waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +77 -0
- waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
- waldur_api_client/models/patched_open_stack_instance_request.py +1 -67
- waldur_api_client/models/patched_project_credit_request.py +13 -0
- waldur_api_client/models/patched_project_request.py +1 -2
- waldur_api_client/models/patched_project_request_form.py +1 -2
- waldur_api_client/models/patched_project_request_multipart.py +1 -2
- waldur_api_client/models/project.py +10 -2
- waldur_api_client/models/project_credit.py +13 -0
- waldur_api_client/models/project_credit_request.py +13 -0
- waldur_api_client/models/{rancher_nested_security_group.py → project_hyperlink_request.py} +5 -5
- waldur_api_client/models/project_request.py +1 -2
- waldur_api_client/models/project_request_form.py +1 -2
- waldur_api_client/models/project_request_multipart.py +1 -2
- waldur_api_client/models/projects_list_field_item.py +1 -0
- waldur_api_client/models/projects_retrieve_field_item.py +1 -0
- waldur_api_client/models/protected_round.py +4 -4
- waldur_api_client/models/question.py +102 -0
- waldur_api_client/models/{open_stack_data_volume.py → question_options.py} +27 -29
- waldur_api_client/models/rancher_clusters_list_field_item.py +0 -1
- waldur_api_client/models/rancher_clusters_retrieve_field_item.py +0 -1
- waldur_api_client/models/rancher_service_create.py +508 -0
- waldur_api_client/models/rancher_service_create_marketplace_offering_plugin_options_type_0.py +44 -0
- waldur_api_client/models/rancher_service_create_request.py +185 -0
- waldur_api_client/models/rancher_service_request.py +16 -19
- waldur_api_client/models/rancher_workload_create.py +59 -0
- waldur_api_client/models/rancher_workload_create_request.py +59 -0
- waldur_api_client/models/resource.py +9 -34
- 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/robot_account_details.py +22 -13
- 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/slurm_invoices_slurm_package_create_order_attributes.py +4 -9
- 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/v_mware_virtual_machine_create_order_attributes.py +11 -16
- 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/models/vmware_nested_network.py +0 -25
- waldur_api_client/models/vmware_nested_network_request.py +6 -14
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/RECORD +174 -101
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -37,9 +37,6 @@ class MarketplaceOrdersListFieldItem(str, Enum):
|
|
|
37
37
|
NEW_PLAN_UUID = "new_plan_uuid"
|
|
38
38
|
OFFERING = "offering"
|
|
39
39
|
OFFERING_BILLABLE = "offering_billable"
|
|
40
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
41
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
42
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
43
40
|
OFFERING_DESCRIPTION = "offering_description"
|
|
44
41
|
OFFERING_IMAGE = "offering_image"
|
|
45
42
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceOrdersListFieldItem(str, Enum):
|
|
|
66
63
|
PROVIDER_REVIEWED_BY = "provider_reviewed_by"
|
|
67
64
|
PROVIDER_REVIEWED_BY_FULL_NAME = "provider_reviewed_by_full_name"
|
|
68
65
|
PROVIDER_REVIEWED_BY_USERNAME = "provider_reviewed_by_username"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REQUEST_COMMENT = "request_comment"
|
|
71
69
|
RESOURCE_NAME = "resource_name"
|
|
@@ -37,9 +37,6 @@ class MarketplaceOrdersRetrieveFieldItem(str, Enum):
|
|
|
37
37
|
NEW_PLAN_UUID = "new_plan_uuid"
|
|
38
38
|
OFFERING = "offering"
|
|
39
39
|
OFFERING_BILLABLE = "offering_billable"
|
|
40
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
41
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
42
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
43
40
|
OFFERING_DESCRIPTION = "offering_description"
|
|
44
41
|
OFFERING_IMAGE = "offering_image"
|
|
45
42
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceOrdersRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROVIDER_REVIEWED_BY = "provider_reviewed_by"
|
|
67
64
|
PROVIDER_REVIEWED_BY_FULL_NAME = "provider_reviewed_by_full_name"
|
|
68
65
|
PROVIDER_REVIEWED_BY_USERNAME = "provider_reviewed_by_username"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REQUEST_COMMENT = "request_comment"
|
|
71
69
|
RESOURCE_NAME = "resource_name"
|
|
@@ -33,9 +33,6 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class MarketplaceResourcesListFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceResourcesListFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -33,9 +33,6 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
|
|
|
33
33
|
NAME = "name"
|
|
34
34
|
OFFERING = "offering"
|
|
35
35
|
OFFERING_BILLABLE = "offering_billable"
|
|
36
|
-
OFFERING_CUSTOMER_NAME = "offering_customer_name"
|
|
37
|
-
OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
|
|
38
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
39
36
|
OFFERING_DESCRIPTION = "offering_description"
|
|
40
37
|
OFFERING_IMAGE = "offering_image"
|
|
41
38
|
OFFERING_NAME = "offering_name"
|
|
@@ -66,6 +63,7 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
|
|
|
66
63
|
PROJECT_SLUG = "project_slug"
|
|
67
64
|
PROJECT_UUID = "project_uuid"
|
|
68
65
|
PROVIDER_NAME = "provider_name"
|
|
66
|
+
PROVIDER_SLUG = "provider_slug"
|
|
69
67
|
PROVIDER_UUID = "provider_uuid"
|
|
70
68
|
REPORT = "report"
|
|
71
69
|
RESOURCE_TYPE = "resource_type"
|
|
@@ -12,10 +12,11 @@ class MarketplaceRobotAccountsListFieldItem(str, Enum):
|
|
|
12
12
|
FINGERPRINTS = "fingerprints"
|
|
13
13
|
KEYS = "keys"
|
|
14
14
|
MODIFIED = "modified"
|
|
15
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
16
15
|
OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
|
|
17
16
|
PROJECT_NAME = "project_name"
|
|
18
17
|
PROJECT_UUID = "project_uuid"
|
|
18
|
+
PROVIDER_NAME = "provider_name"
|
|
19
|
+
PROVIDER_UUID = "provider_uuid"
|
|
19
20
|
RESOURCE = "resource"
|
|
20
21
|
RESOURCE_NAME = "resource_name"
|
|
21
22
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -12,10 +12,11 @@ class MarketplaceRobotAccountsRetrieveFieldItem(str, Enum):
|
|
|
12
12
|
FINGERPRINTS = "fingerprints"
|
|
13
13
|
KEYS = "keys"
|
|
14
14
|
MODIFIED = "modified"
|
|
15
|
-
OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
|
|
16
15
|
OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
|
|
17
16
|
PROJECT_NAME = "project_name"
|
|
18
17
|
PROJECT_UUID = "project_uuid"
|
|
18
|
+
PROVIDER_NAME = "provider_name"
|
|
19
|
+
PROVIDER_UUID = "provider_uuid"
|
|
19
20
|
RESOURCE = "resource"
|
|
20
21
|
RESOURCE_NAME = "resource_name"
|
|
21
22
|
RESOURCE_UUID = "resource_uuid"
|
|
@@ -7,6 +7,7 @@ class MarketplaceServiceProvidersProjectsListFieldItem(str, Enum):
|
|
|
7
7
|
CREATED = "created"
|
|
8
8
|
CUSTOMER = "customer"
|
|
9
9
|
CUSTOMER_ABBREVIATION = "customer_abbreviation"
|
|
10
|
+
CUSTOMER_DISPLAY_BILLING_INFO_IN_PROJECTS = "customer_display_billing_info_in_projects"
|
|
10
11
|
CUSTOMER_NAME = "customer_name"
|
|
11
12
|
CUSTOMER_NATIVE_NAME = "customer_native_name"
|
|
12
13
|
CUSTOMER_SLUG = "customer_slug"
|
|
@@ -39,6 +39,7 @@ class MergedPluginOptions:
|
|
|
39
39
|
resources
|
|
40
40
|
order_supports_comments_and_metadata (Union[Unset, bool]): If set to True, orders will support comments and
|
|
41
41
|
metadata
|
|
42
|
+
conceal_billing_data (Union[Unset, bool]): If set to True, pricing and components tab would be concealed.
|
|
42
43
|
default_internal_network_mtu (Union[Unset, int]): If set, it will be used as a default MTU for the first network
|
|
43
44
|
in a tenant
|
|
44
45
|
max_instances (Union[Unset, int]): Default limit for number of instances in OpenStack tenant
|
|
@@ -50,6 +51,8 @@ class MergedPluginOptions:
|
|
|
50
51
|
heappe_url (Union[Unset, str]): HEAppE url
|
|
51
52
|
heappe_username (Union[Unset, str]): HEAppE username
|
|
52
53
|
homedir_prefix (Union[Unset, str]): GLAuth homedir prefix Default: '/home/'.
|
|
54
|
+
scratch_project_directory (Union[Unset, str]): HEAppE scratch project directory
|
|
55
|
+
project_permanent_directory (Union[Unset, str]): HEAppE project permanent directory
|
|
53
56
|
initial_primarygroup_number (Union[Unset, int]): GLAuth initial primary group number Default: 5000.
|
|
54
57
|
initial_uidnumber (Union[Unset, int]): GLAuth initial uidnumber Default: 5000.
|
|
55
58
|
initial_usergroup_number (Union[Unset, int]): GLAuth initial usergroup number Default: 6000.
|
|
@@ -93,6 +96,7 @@ class MergedPluginOptions:
|
|
|
93
96
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
94
97
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
95
98
|
order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
|
|
99
|
+
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
96
100
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
97
101
|
max_instances: Union[Unset, int] = UNSET
|
|
98
102
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -103,6 +107,8 @@ class MergedPluginOptions:
|
|
|
103
107
|
heappe_url: Union[Unset, str] = UNSET
|
|
104
108
|
heappe_username: Union[Unset, str] = UNSET
|
|
105
109
|
homedir_prefix: Union[Unset, str] = "/home/"
|
|
110
|
+
scratch_project_directory: Union[Unset, str] = UNSET
|
|
111
|
+
project_permanent_directory: Union[Unset, str] = UNSET
|
|
106
112
|
initial_primarygroup_number: Union[Unset, int] = 5000
|
|
107
113
|
initial_uidnumber: Union[Unset, int] = 5000
|
|
108
114
|
initial_usergroup_number: Union[Unset, int] = 6000
|
|
@@ -161,6 +167,8 @@ class MergedPluginOptions:
|
|
|
161
167
|
|
|
162
168
|
order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
|
|
163
169
|
|
|
170
|
+
conceal_billing_data = self.conceal_billing_data
|
|
171
|
+
|
|
164
172
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
165
173
|
|
|
166
174
|
max_instances = self.max_instances
|
|
@@ -183,6 +191,10 @@ class MergedPluginOptions:
|
|
|
183
191
|
|
|
184
192
|
homedir_prefix = self.homedir_prefix
|
|
185
193
|
|
|
194
|
+
scratch_project_directory = self.scratch_project_directory
|
|
195
|
+
|
|
196
|
+
project_permanent_directory = self.project_permanent_directory
|
|
197
|
+
|
|
186
198
|
initial_primarygroup_number = self.initial_primarygroup_number
|
|
187
199
|
|
|
188
200
|
initial_uidnumber = self.initial_uidnumber
|
|
@@ -276,6 +288,8 @@ class MergedPluginOptions:
|
|
|
276
288
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
277
289
|
if order_supports_comments_and_metadata is not UNSET:
|
|
278
290
|
field_dict["order_supports_comments_and_metadata"] = order_supports_comments_and_metadata
|
|
291
|
+
if conceal_billing_data is not UNSET:
|
|
292
|
+
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
279
293
|
if default_internal_network_mtu is not UNSET:
|
|
280
294
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
281
295
|
if max_instances is not UNSET:
|
|
@@ -296,6 +310,10 @@ class MergedPluginOptions:
|
|
|
296
310
|
field_dict["heappe_username"] = heappe_username
|
|
297
311
|
if homedir_prefix is not UNSET:
|
|
298
312
|
field_dict["homedir_prefix"] = homedir_prefix
|
|
313
|
+
if scratch_project_directory is not UNSET:
|
|
314
|
+
field_dict["scratch_project_directory"] = scratch_project_directory
|
|
315
|
+
if project_permanent_directory is not UNSET:
|
|
316
|
+
field_dict["project_permanent_directory"] = project_permanent_directory
|
|
299
317
|
if initial_primarygroup_number is not UNSET:
|
|
300
318
|
field_dict["initial_primarygroup_number"] = initial_primarygroup_number
|
|
301
319
|
if initial_uidnumber is not UNSET:
|
|
@@ -395,6 +413,8 @@ class MergedPluginOptions:
|
|
|
395
413
|
|
|
396
414
|
order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
|
|
397
415
|
|
|
416
|
+
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
417
|
+
|
|
398
418
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
399
419
|
|
|
400
420
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -420,6 +440,10 @@ class MergedPluginOptions:
|
|
|
420
440
|
|
|
421
441
|
homedir_prefix = d.pop("homedir_prefix", UNSET)
|
|
422
442
|
|
|
443
|
+
scratch_project_directory = d.pop("scratch_project_directory", UNSET)
|
|
444
|
+
|
|
445
|
+
project_permanent_directory = d.pop("project_permanent_directory", UNSET)
|
|
446
|
+
|
|
423
447
|
initial_primarygroup_number = d.pop("initial_primarygroup_number", UNSET)
|
|
424
448
|
|
|
425
449
|
initial_uidnumber = d.pop("initial_uidnumber", UNSET)
|
|
@@ -519,6 +543,7 @@ class MergedPluginOptions:
|
|
|
519
543
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
520
544
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
521
545
|
order_supports_comments_and_metadata=order_supports_comments_and_metadata,
|
|
546
|
+
conceal_billing_data=conceal_billing_data,
|
|
522
547
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
523
548
|
max_instances=max_instances,
|
|
524
549
|
max_volumes=max_volumes,
|
|
@@ -529,6 +554,8 @@ class MergedPluginOptions:
|
|
|
529
554
|
heappe_url=heappe_url,
|
|
530
555
|
heappe_username=heappe_username,
|
|
531
556
|
homedir_prefix=homedir_prefix,
|
|
557
|
+
scratch_project_directory=scratch_project_directory,
|
|
558
|
+
project_permanent_directory=project_permanent_directory,
|
|
532
559
|
initial_primarygroup_number=initial_primarygroup_number,
|
|
533
560
|
initial_uidnumber=initial_uidnumber,
|
|
534
561
|
initial_usergroup_number=initial_usergroup_number,
|
|
@@ -39,6 +39,7 @@ class MergedPluginOptionsRequest:
|
|
|
39
39
|
resources
|
|
40
40
|
order_supports_comments_and_metadata (Union[Unset, bool]): If set to True, orders will support comments and
|
|
41
41
|
metadata
|
|
42
|
+
conceal_billing_data (Union[Unset, bool]): If set to True, pricing and components tab would be concealed.
|
|
42
43
|
default_internal_network_mtu (Union[Unset, int]): If set, it will be used as a default MTU for the first network
|
|
43
44
|
in a tenant
|
|
44
45
|
max_instances (Union[Unset, int]): Default limit for number of instances in OpenStack tenant
|
|
@@ -50,6 +51,8 @@ class MergedPluginOptionsRequest:
|
|
|
50
51
|
heappe_url (Union[Unset, str]): HEAppE url
|
|
51
52
|
heappe_username (Union[Unset, str]): HEAppE username
|
|
52
53
|
homedir_prefix (Union[Unset, str]): GLAuth homedir prefix Default: '/home/'.
|
|
54
|
+
scratch_project_directory (Union[Unset, str]): HEAppE scratch project directory
|
|
55
|
+
project_permanent_directory (Union[Unset, str]): HEAppE project permanent directory
|
|
53
56
|
initial_primarygroup_number (Union[Unset, int]): GLAuth initial primary group number Default: 5000.
|
|
54
57
|
initial_uidnumber (Union[Unset, int]): GLAuth initial uidnumber Default: 5000.
|
|
55
58
|
initial_usergroup_number (Union[Unset, int]): GLAuth initial usergroup number Default: 6000.
|
|
@@ -93,6 +96,7 @@ class MergedPluginOptionsRequest:
|
|
|
93
96
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
94
97
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
95
98
|
order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
|
|
99
|
+
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
96
100
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
97
101
|
max_instances: Union[Unset, int] = UNSET
|
|
98
102
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -103,6 +107,8 @@ class MergedPluginOptionsRequest:
|
|
|
103
107
|
heappe_url: Union[Unset, str] = UNSET
|
|
104
108
|
heappe_username: Union[Unset, str] = UNSET
|
|
105
109
|
homedir_prefix: Union[Unset, str] = "/home/"
|
|
110
|
+
scratch_project_directory: Union[Unset, str] = UNSET
|
|
111
|
+
project_permanent_directory: Union[Unset, str] = UNSET
|
|
106
112
|
initial_primarygroup_number: Union[Unset, int] = 5000
|
|
107
113
|
initial_uidnumber: Union[Unset, int] = 5000
|
|
108
114
|
initial_usergroup_number: Union[Unset, int] = 6000
|
|
@@ -161,6 +167,8 @@ class MergedPluginOptionsRequest:
|
|
|
161
167
|
|
|
162
168
|
order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
|
|
163
169
|
|
|
170
|
+
conceal_billing_data = self.conceal_billing_data
|
|
171
|
+
|
|
164
172
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
165
173
|
|
|
166
174
|
max_instances = self.max_instances
|
|
@@ -183,6 +191,10 @@ class MergedPluginOptionsRequest:
|
|
|
183
191
|
|
|
184
192
|
homedir_prefix = self.homedir_prefix
|
|
185
193
|
|
|
194
|
+
scratch_project_directory = self.scratch_project_directory
|
|
195
|
+
|
|
196
|
+
project_permanent_directory = self.project_permanent_directory
|
|
197
|
+
|
|
186
198
|
initial_primarygroup_number = self.initial_primarygroup_number
|
|
187
199
|
|
|
188
200
|
initial_uidnumber = self.initial_uidnumber
|
|
@@ -276,6 +288,8 @@ class MergedPluginOptionsRequest:
|
|
|
276
288
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
277
289
|
if order_supports_comments_and_metadata is not UNSET:
|
|
278
290
|
field_dict["order_supports_comments_and_metadata"] = order_supports_comments_and_metadata
|
|
291
|
+
if conceal_billing_data is not UNSET:
|
|
292
|
+
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
279
293
|
if default_internal_network_mtu is not UNSET:
|
|
280
294
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
281
295
|
if max_instances is not UNSET:
|
|
@@ -296,6 +310,10 @@ class MergedPluginOptionsRequest:
|
|
|
296
310
|
field_dict["heappe_username"] = heappe_username
|
|
297
311
|
if homedir_prefix is not UNSET:
|
|
298
312
|
field_dict["homedir_prefix"] = homedir_prefix
|
|
313
|
+
if scratch_project_directory is not UNSET:
|
|
314
|
+
field_dict["scratch_project_directory"] = scratch_project_directory
|
|
315
|
+
if project_permanent_directory is not UNSET:
|
|
316
|
+
field_dict["project_permanent_directory"] = project_permanent_directory
|
|
299
317
|
if initial_primarygroup_number is not UNSET:
|
|
300
318
|
field_dict["initial_primarygroup_number"] = initial_primarygroup_number
|
|
301
319
|
if initial_uidnumber is not UNSET:
|
|
@@ -395,6 +413,8 @@ class MergedPluginOptionsRequest:
|
|
|
395
413
|
|
|
396
414
|
order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
|
|
397
415
|
|
|
416
|
+
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
417
|
+
|
|
398
418
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
399
419
|
|
|
400
420
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -420,6 +440,10 @@ class MergedPluginOptionsRequest:
|
|
|
420
440
|
|
|
421
441
|
homedir_prefix = d.pop("homedir_prefix", UNSET)
|
|
422
442
|
|
|
443
|
+
scratch_project_directory = d.pop("scratch_project_directory", UNSET)
|
|
444
|
+
|
|
445
|
+
project_permanent_directory = d.pop("project_permanent_directory", UNSET)
|
|
446
|
+
|
|
423
447
|
initial_primarygroup_number = d.pop("initial_primarygroup_number", UNSET)
|
|
424
448
|
|
|
425
449
|
initial_uidnumber = d.pop("initial_uidnumber", UNSET)
|
|
@@ -519,6 +543,7 @@ class MergedPluginOptionsRequest:
|
|
|
519
543
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
520
544
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
521
545
|
order_supports_comments_and_metadata=order_supports_comments_and_metadata,
|
|
546
|
+
conceal_billing_data=conceal_billing_data,
|
|
522
547
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
523
548
|
max_instances=max_instances,
|
|
524
549
|
max_volumes=max_volumes,
|
|
@@ -529,6 +554,8 @@ class MergedPluginOptionsRequest:
|
|
|
529
554
|
heappe_url=heappe_url,
|
|
530
555
|
heappe_username=heappe_username,
|
|
531
556
|
homedir_prefix=homedir_prefix,
|
|
557
|
+
scratch_project_directory=scratch_project_directory,
|
|
558
|
+
project_permanent_directory=project_permanent_directory,
|
|
532
559
|
initial_primarygroup_number=initial_primarygroup_number,
|
|
533
560
|
initial_uidnumber=initial_uidnumber,
|
|
534
561
|
initial_usergroup_number=initial_usergroup_number,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.project_hyperlink_request import ProjectHyperlinkRequest
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="MoveResourceRequest")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class MoveResourceRequest:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
project (ProjectHyperlinkRequest):
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
project: "ProjectHyperlinkRequest"
|
|
22
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
project = self.project.to_dict()
|
|
26
|
+
|
|
27
|
+
field_dict: dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"project": project,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
return field_dict
|
|
36
|
+
|
|
37
|
+
@classmethod
|
|
38
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
39
|
+
from ..models.project_hyperlink_request import ProjectHyperlinkRequest
|
|
40
|
+
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
project = ProjectHyperlinkRequest.from_dict(d.pop("project"))
|
|
43
|
+
|
|
44
|
+
move_resource_request = cls(
|
|
45
|
+
project=project,
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
move_resource_request.additional_properties = d
|
|
49
|
+
return move_resource_request
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def additional_keys(self) -> list[str]:
|
|
53
|
+
return list(self.additional_properties.keys())
|
|
54
|
+
|
|
55
|
+
def __getitem__(self, key: str) -> Any:
|
|
56
|
+
return self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
59
|
+
self.additional_properties[key] = value
|
|
60
|
+
|
|
61
|
+
def __delitem__(self, key: str) -> None:
|
|
62
|
+
del self.additional_properties[key]
|
|
63
|
+
|
|
64
|
+
def __contains__(self, key: str) -> bool:
|
|
65
|
+
return key in self.additional_properties
|
|
@@ -10,7 +10,7 @@ from dateutil.parser import isoparse
|
|
|
10
10
|
from ..models.allocation_time_enum import AllocationTimeEnum
|
|
11
11
|
from ..models.deciding_entity_enum import DecidingEntityEnum
|
|
12
12
|
from ..models.review_strategy_enum import ReviewStrategyEnum
|
|
13
|
-
from ..models.
|
|
13
|
+
from ..models.round_status import RoundStatus
|
|
14
14
|
from ..types import UNSET, Unset
|
|
15
15
|
|
|
16
16
|
T = TypeVar("T", bound="NestedRound")
|
|
@@ -25,7 +25,7 @@ class NestedRound:
|
|
|
25
25
|
name (Union[Unset, str]):
|
|
26
26
|
start_time (Union[Unset, datetime.datetime]):
|
|
27
27
|
cutoff_time (Union[Unset, datetime.datetime]):
|
|
28
|
-
status (Union[Unset,
|
|
28
|
+
status (Union[Unset, RoundStatus]):
|
|
29
29
|
review_strategy (Union[Unset, ReviewStrategyEnum]):
|
|
30
30
|
deciding_entity (Union[Unset, DecidingEntityEnum]):
|
|
31
31
|
allocation_time (Union[Unset, AllocationTimeEnum]):
|
|
@@ -40,7 +40,7 @@ class NestedRound:
|
|
|
40
40
|
name: Union[Unset, str] = UNSET
|
|
41
41
|
start_time: Union[Unset, datetime.datetime] = UNSET
|
|
42
42
|
cutoff_time: Union[Unset, datetime.datetime] = UNSET
|
|
43
|
-
status: Union[Unset,
|
|
43
|
+
status: Union[Unset, RoundStatus] = UNSET
|
|
44
44
|
review_strategy: Union[Unset, ReviewStrategyEnum] = UNSET
|
|
45
45
|
deciding_entity: Union[Unset, DecidingEntityEnum] = UNSET
|
|
46
46
|
allocation_time: Union[Unset, AllocationTimeEnum] = UNSET
|
|
@@ -170,11 +170,11 @@ class NestedRound:
|
|
|
170
170
|
cutoff_time = isoparse(_cutoff_time)
|
|
171
171
|
|
|
172
172
|
_status = d.pop("status", UNSET)
|
|
173
|
-
status: Union[Unset,
|
|
173
|
+
status: Union[Unset, RoundStatus]
|
|
174
174
|
if isinstance(_status, Unset):
|
|
175
175
|
status = UNSET
|
|
176
176
|
else:
|
|
177
|
-
status =
|
|
177
|
+
status = RoundStatus(_status)
|
|
178
178
|
|
|
179
179
|
_review_strategy = d.pop("review_strategy", UNSET)
|
|
180
180
|
review_strategy: Union[Unset, ReviewStrategyEnum]
|
|
@@ -14,15 +14,19 @@ T = TypeVar("T", bound="NetworkRBACPolicyRequest")
|
|
|
14
14
|
class NetworkRBACPolicyRequest:
|
|
15
15
|
"""
|
|
16
16
|
Attributes:
|
|
17
|
+
network (str):
|
|
17
18
|
target_tenant (str):
|
|
18
19
|
policy_type (Union[Unset, PolicyTypeEnum]): Default: PolicyTypeEnum.ACCESS_AS_SHARED.
|
|
19
20
|
"""
|
|
20
21
|
|
|
22
|
+
network: str
|
|
21
23
|
target_tenant: str
|
|
22
24
|
policy_type: Union[Unset, PolicyTypeEnum] = PolicyTypeEnum.ACCESS_AS_SHARED
|
|
23
25
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
26
|
|
|
25
27
|
def to_dict(self) -> dict[str, Any]:
|
|
28
|
+
network = self.network
|
|
29
|
+
|
|
26
30
|
target_tenant = self.target_tenant
|
|
27
31
|
|
|
28
32
|
policy_type: Union[Unset, str] = UNSET
|
|
@@ -33,6 +37,7 @@ class NetworkRBACPolicyRequest:
|
|
|
33
37
|
field_dict.update(self.additional_properties)
|
|
34
38
|
field_dict.update(
|
|
35
39
|
{
|
|
40
|
+
"network": network,
|
|
36
41
|
"target_tenant": target_tenant,
|
|
37
42
|
}
|
|
38
43
|
)
|
|
@@ -44,6 +49,8 @@ class NetworkRBACPolicyRequest:
|
|
|
44
49
|
@classmethod
|
|
45
50
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
46
51
|
d = dict(src_dict)
|
|
52
|
+
network = d.pop("network")
|
|
53
|
+
|
|
47
54
|
target_tenant = d.pop("target_tenant")
|
|
48
55
|
|
|
49
56
|
_policy_type = d.pop("policy_type", UNSET)
|
|
@@ -54,6 +61,7 @@ class NetworkRBACPolicyRequest:
|
|
|
54
61
|
policy_type = PolicyTypeEnum(_policy_type)
|
|
55
62
|
|
|
56
63
|
network_rbac_policy_request = cls(
|
|
64
|
+
network=network,
|
|
57
65
|
target_tenant=target_tenant,
|
|
58
66
|
policy_type=policy_type,
|
|
59
67
|
)
|
|
@@ -10,7 +10,7 @@ from dateutil.parser import isoparse
|
|
|
10
10
|
from ..types import UNSET, Unset
|
|
11
11
|
|
|
12
12
|
if TYPE_CHECKING:
|
|
13
|
-
from ..models.
|
|
13
|
+
from ..models.notification_context_schema import NotificationContextSchema
|
|
14
14
|
from ..models.notification_template_detail_serializers import NotificationTemplateDetailSerializers
|
|
15
15
|
|
|
16
16
|
|
|
@@ -27,8 +27,8 @@ class Notification:
|
|
|
27
27
|
enabled (bool): Indicates if notification is enabled or disabled
|
|
28
28
|
created (datetime.datetime):
|
|
29
29
|
templates (list['NotificationTemplateDetailSerializers']):
|
|
30
|
-
|
|
31
|
-
dictionary and returns its 'context'
|
|
30
|
+
context_schema (NotificationContextSchema): Finds the notification definition in the global NOTIFICATIONS
|
|
31
|
+
dictionary and returns its 'context' schema.
|
|
32
32
|
description (Union[Unset, str]):
|
|
33
33
|
"""
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ class Notification:
|
|
|
38
38
|
enabled: bool
|
|
39
39
|
created: datetime.datetime
|
|
40
40
|
templates: list["NotificationTemplateDetailSerializers"]
|
|
41
|
-
|
|
41
|
+
context_schema: "NotificationContextSchema"
|
|
42
42
|
description: Union[Unset, str] = UNSET
|
|
43
43
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
44
44
|
|
|
@@ -58,7 +58,7 @@ class Notification:
|
|
|
58
58
|
templates_item = templates_item_data.to_dict()
|
|
59
59
|
templates.append(templates_item)
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
context_schema = self.context_schema.to_dict()
|
|
62
62
|
|
|
63
63
|
description = self.description
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ class Notification:
|
|
|
72
72
|
"enabled": enabled,
|
|
73
73
|
"created": created,
|
|
74
74
|
"templates": templates,
|
|
75
|
-
"
|
|
75
|
+
"context_schema": context_schema,
|
|
76
76
|
}
|
|
77
77
|
)
|
|
78
78
|
if description is not UNSET:
|
|
@@ -82,7 +82,7 @@ class Notification:
|
|
|
82
82
|
|
|
83
83
|
@classmethod
|
|
84
84
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
85
|
-
from ..models.
|
|
85
|
+
from ..models.notification_context_schema import NotificationContextSchema
|
|
86
86
|
from ..models.notification_template_detail_serializers import NotificationTemplateDetailSerializers
|
|
87
87
|
|
|
88
88
|
d = dict(src_dict)
|
|
@@ -103,7 +103,7 @@ class Notification:
|
|
|
103
103
|
|
|
104
104
|
templates.append(templates_item)
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
context_schema = NotificationContextSchema.from_dict(d.pop("context_schema"))
|
|
107
107
|
|
|
108
108
|
description = d.pop("description", UNSET)
|
|
109
109
|
|
|
@@ -114,7 +114,7 @@ class Notification:
|
|
|
114
114
|
enabled=enabled,
|
|
115
115
|
created=created,
|
|
116
116
|
templates=templates,
|
|
117
|
-
|
|
117
|
+
context_schema=context_schema,
|
|
118
118
|
description=description,
|
|
119
119
|
)
|
|
120
120
|
|
|
@@ -4,13 +4,13 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="NotificationContextSchema")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
11
|
+
class NotificationContextSchema:
|
|
12
12
|
"""Finds the notification definition in the global NOTIFICATIONS
|
|
13
|
-
dictionary and returns its 'context'
|
|
13
|
+
dictionary and returns its 'context' schema.
|
|
14
14
|
|
|
15
15
|
"""
|
|
16
16
|
|
|
@@ -25,10 +25,10 @@ class NotificationContextFields:
|
|
|
25
25
|
@classmethod
|
|
26
26
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
27
27
|
d = dict(src_dict)
|
|
28
|
-
|
|
28
|
+
notification_context_schema = cls()
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
return
|
|
30
|
+
notification_context_schema.additional_properties = d
|
|
31
|
+
return notification_context_schema
|
|
32
32
|
|
|
33
33
|
@property
|
|
34
34
|
def additional_keys(self) -> list[str]:
|