waldur-api-client 7.8.1__py3-none-any.whl → 7.8.3__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 +10 -13
- waldur_api_client/api/booking_resources/booking_resources_list.py +10 -13
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_create.py +44 -7
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_partial_update.py +46 -7
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_update.py +44 -7
- waldur_api_client/api/checklists_admin/checklists_admin_checklist_questions.py +49 -0
- waldur_api_client/api/checklists_admin/checklists_admin_count.py +43 -0
- waldur_api_client/api/checklists_admin/checklists_admin_list.py +43 -0
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_create.py +44 -7
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_partial_update.py +44 -7
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_update.py +44 -7
- waldur_api_client/api/customers/customers_create.py +44 -7
- waldur_api_client/api/customers/customers_partial_update.py +44 -7
- waldur_api_client/api/customers/customers_update.py +44 -7
- waldur_api_client/api/external_links/external_links_create.py +44 -7
- waldur_api_client/api/external_links/external_links_partial_update.py +44 -7
- waldur_api_client/api/external_links/external_links_update.py +44 -7
- waldur_api_client/api/invoices/invoices_paid.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_create.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_partial_update.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_update.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_create.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_partial_update.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_update.py +44 -7
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_create.py +44 -7
- waldur_api_client/api/marketplace_orders/marketplace_orders_update_attachment.py +44 -7
- 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_create.py +44 -7
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_image.py +44 -7
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_thumbnail.py +30 -5
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +10 -13
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +10 -13
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +10 -13
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +10 -13
- waldur_api_client/api/marketplace_resources/marketplace_resources_move_resource.py +22 -0
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_create.py +44 -7
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_update.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_create.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_partial_update.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_update.py +44 -7
- waldur_api_client/api/openstack_backups/openstack_backups_restore.py +10 -10
- waldur_api_client/api/override_settings/override_settings.py +30 -5
- waldur_api_client/api/payments/payments_create.py +44 -7
- waldur_api_client/api/payments/payments_partial_update.py +44 -7
- waldur_api_client/api/payments/payments_update.py +44 -7
- waldur_api_client/api/projects/projects_create.py +44 -7
- waldur_api_client/api/projects/projects_partial_update.py +44 -7
- waldur_api_client/api/projects/projects_update.py +44 -7
- waldur_api_client/api/proposal_proposals/proposal_proposals_attach_document.py +30 -5
- waldur_api_client/api/rancher_services/rancher_services_create.py +22 -22
- waldur_api_client/api/slurm_jobs/slurm_jobs_create.py +44 -7
- waldur_api_client/api/slurm_jobs/slurm_jobs_update.py +44 -7
- waldur_api_client/api/support_attachments/support_attachments_create.py +44 -7
- waldur_api_client/api/user_group_invitations/user_group_invitations_count.py +15 -0
- waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +15 -0
- waldur_api_client/api/users/users_create.py +44 -7
- waldur_api_client/api/users/users_partial_update.py +44 -7
- waldur_api_client/api/users/users_update.py +44 -7
- waldur_api_client/models/__init__.py +172 -8
- waldur_api_client/models/agent_type_enum.py +13 -0
- waldur_api_client/models/attachment_request_form.py +70 -0
- waldur_api_client/models/attachment_request_multipart.py +83 -0
- 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_offerings_list_field_item.py +1 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/booking_resource.py +16 -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_managing_organisation_request_form.py +103 -0
- waldur_api_client/models/call_managing_organisation_request_multipart.py +122 -0
- waldur_api_client/models/call_round.py +11 -1
- waldur_api_client/models/category_group_request_form.py +103 -0
- waldur_api_client/models/category_group_request_multipart.py +122 -0
- waldur_api_client/models/checklist_category_request_form.py +103 -0
- waldur_api_client/models/checklist_category_request_multipart.py +122 -0
- waldur_api_client/models/checklists_admin_checklist_questions_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_checklist_questions_checklist_type_in_item.py +11 -0
- waldur_api_client/models/checklists_admin_count_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_count_checklist_type_in_item.py +11 -0
- waldur_api_client/models/checklists_admin_list_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_list_checklist_type_in_item.py +11 -0
- waldur_api_client/models/constance_settings.py +18 -0
- waldur_api_client/models/constance_settings_request.py +18 -0
- waldur_api_client/models/constance_settings_request_form.py +1556 -0
- waldur_api_client/models/constance_settings_request_multipart.py +2187 -0
- waldur_api_client/models/customer.py +9 -0
- waldur_api_client/models/customer_request.py +9 -0
- waldur_api_client/models/customer_request_form.py +312 -0
- waldur_api_client/models/customer_request_multipart.py +394 -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/event_groups_enum.py +1 -0
- waldur_api_client/models/event_types_enum.py +2 -0
- waldur_api_client/models/external_link_request_form.py +111 -0
- waldur_api_client/models/external_link_request_multipart.py +132 -0
- waldur_api_client/models/firecrest_job_request_form.py +104 -0
- waldur_api_client/models/firecrest_job_request_multipart.py +127 -0
- waldur_api_client/models/generic_order_attributes.py +1 -2
- waldur_api_client/models/integration_status.py +21 -4
- 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_category_request_form.py +153 -0
- waldur_api_client/models/marketplace_category_request_multipart.py +187 -0
- 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_offerings_list_course_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -0
- 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_public_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -0
- 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_offerings_list_field_item.py +1 -0
- waldur_api_client/models/merged_plugin_options.py +9 -0
- waldur_api_client/models/merged_plugin_options_request.py +9 -0
- waldur_api_client/models/move_resource_request.py +65 -0
- waldur_api_client/models/nested_round.py +9 -0
- waldur_api_client/models/nested_round_request.py +9 -0
- waldur_api_client/models/offering.py +20 -0
- waldur_api_client/models/offering_create.py +20 -0
- waldur_api_client/models/offering_create_request.py +20 -0
- waldur_api_client/models/offering_create_request_form.py +479 -0
- waldur_api_client/models/offering_create_request_form_limits.py +57 -0
- waldur_api_client/models/offering_create_request_multipart.py +599 -0
- waldur_api_client/models/offering_create_request_multipart_limits.py +57 -0
- waldur_api_client/models/offering_file_request_form.py +78 -0
- waldur_api_client/models/offering_file_request_multipart.py +93 -0
- waldur_api_client/models/offering_image_request_form.py +62 -0
- waldur_api_client/models/offering_image_request_multipart.py +73 -0
- waldur_api_client/models/offering_thumbnail_request_form.py +62 -0
- waldur_api_client/models/offering_thumbnail_request_multipart.py +73 -0
- waldur_api_client/models/offering_user.py +5 -5
- waldur_api_client/models/{offering_user_state_enum.py → offering_user_state.py} +1 -1
- 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_nested_security_group_request.py → open_stack_create_floating_ip_request.py} +17 -6
- 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_security_group_hyperlink_request.py +59 -0
- 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_attachment_request_form.py +84 -0
- waldur_api_client/models/order_attachment_request_multipart.py +98 -0
- waldur_api_client/models/order_create.py +8 -0
- waldur_api_client/models/order_details.py +16 -34
- waldur_api_client/models/paid_request_form.py +81 -0
- waldur_api_client/models/paid_request_multipart.py +94 -0
- waldur_api_client/models/patched_call_managing_organisation_request_form.py +92 -0
- waldur_api_client/models/patched_call_managing_organisation_request_multipart.py +109 -0
- waldur_api_client/models/patched_category_group_request_form.py +101 -0
- waldur_api_client/models/patched_category_group_request_multipart.py +121 -0
- waldur_api_client/models/patched_checklist_category_request_form.py +102 -0
- waldur_api_client/models/patched_checklist_category_request_multipart.py +122 -0
- waldur_api_client/models/patched_customer_request.py +9 -0
- waldur_api_client/models/patched_customer_request_form.py +310 -0
- waldur_api_client/models/patched_customer_request_multipart.py +393 -0
- waldur_api_client/models/patched_external_link_request_form.py +110 -0
- waldur_api_client/models/patched_external_link_request_multipart.py +133 -0
- waldur_api_client/models/patched_marketplace_category_request_form.py +151 -0
- waldur_api_client/models/patched_marketplace_category_request_multipart.py +186 -0
- waldur_api_client/models/patched_open_stack_instance_request.py +1 -67
- waldur_api_client/models/patched_payment_request_form.py +119 -0
- waldur_api_client/models/patched_payment_request_multipart.py +142 -0
- waldur_api_client/models/patched_project_request_form.py +279 -0
- waldur_api_client/models/patched_project_request_multipart.py +342 -0
- waldur_api_client/models/patched_service_provider_request_form.py +101 -0
- waldur_api_client/models/patched_service_provider_request_multipart.py +121 -0
- waldur_api_client/models/patched_user_request_form.py +241 -0
- waldur_api_client/models/patched_user_request_multipart.py +306 -0
- waldur_api_client/models/payment_request_form.py +113 -0
- waldur_api_client/models/payment_request_multipart.py +134 -0
- waldur_api_client/models/{rancher_nested_security_group.py → project_hyperlink_request.py} +5 -5
- waldur_api_client/models/project_request_form.py +280 -0
- waldur_api_client/models/project_request_multipart.py +341 -0
- waldur_api_client/models/project_user.py +9 -0
- waldur_api_client/models/proposal.py +8 -0
- waldur_api_client/models/proposal_documentation_request_form.py +84 -0
- waldur_api_client/models/proposal_documentation_request_multipart.py +98 -0
- waldur_api_client/models/proposal_proposals_count_o_item.py +3 -1
- waldur_api_client/models/proposal_proposals_list_o_item.py +3 -1
- waldur_api_client/models/proposal_review.py +40 -0
- waldur_api_client/models/protected_proposal_list.py +8 -0
- waldur_api_client/models/protected_proposal_list_request.py +8 -0
- waldur_api_client/models/protected_round.py +8 -0
- waldur_api_client/models/provider_offering.py +21 -1
- waldur_api_client/models/provider_offering_details.py +20 -0
- waldur_api_client/models/public_offering_details.py +20 -0
- 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 +16 -34
- waldur_api_client/models/robot_account_details.py +22 -13
- waldur_api_client/models/screenshot_request_form.py +87 -0
- waldur_api_client/models/screenshot_request_multipart.py +105 -0
- waldur_api_client/models/service_provider_request_form.py +112 -0
- waldur_api_client/models/service_provider_request_multipart.py +134 -0
- waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +4 -9
- waldur_api_client/models/user_request_form.py +250 -0
- waldur_api_client/models/user_request_multipart.py +316 -0
- waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +11 -16
- 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.1.dist-info → waldur_api_client-7.8.3.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.3.dist-info}/RECORD +233 -153
- waldur_api_client/models/open_stack_data_volume.py +0 -81
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.3.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.3.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"
|
waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py
CHANGED
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem(str, Enum)
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListCustomerServiceAccountsRetrieveFieldItem(s
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListFieldItem(str, Enum):
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListProjectServiceAccountsRetrieveFieldItem(st
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsRetrieveFieldItem(str, Enum):
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsStatsRetrieveFieldItem(str, Enum):
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsUserHasResourceAccessRetrieveFieldItem(str, En
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -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"
|
|
@@ -11,6 +11,7 @@ class MarketplacePublicOfferingsListFieldItem(str, Enum):
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -11,6 +11,7 @@ class MarketplacePublicOfferingsRetrieveFieldItem(str, Enum):
|
|
|
11
11
|
CATEGORY_TITLE = "category_title"
|
|
12
12
|
CATEGORY_UUID = "category_uuid"
|
|
13
13
|
CITATION_COUNT = "citation_count"
|
|
14
|
+
COMPLIANCE_CHECKLIST = "compliance_checklist"
|
|
14
15
|
COMPONENTS = "components"
|
|
15
16
|
COUNTRY = "country"
|
|
16
17
|
CREATED = "created"
|
|
@@ -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"
|
|
@@ -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
|
|
@@ -93,6 +94,7 @@ class MergedPluginOptions:
|
|
|
93
94
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
94
95
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
95
96
|
order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
|
|
97
|
+
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
96
98
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
97
99
|
max_instances: Union[Unset, int] = UNSET
|
|
98
100
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -161,6 +163,8 @@ class MergedPluginOptions:
|
|
|
161
163
|
|
|
162
164
|
order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
|
|
163
165
|
|
|
166
|
+
conceal_billing_data = self.conceal_billing_data
|
|
167
|
+
|
|
164
168
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
165
169
|
|
|
166
170
|
max_instances = self.max_instances
|
|
@@ -276,6 +280,8 @@ class MergedPluginOptions:
|
|
|
276
280
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
277
281
|
if order_supports_comments_and_metadata is not UNSET:
|
|
278
282
|
field_dict["order_supports_comments_and_metadata"] = order_supports_comments_and_metadata
|
|
283
|
+
if conceal_billing_data is not UNSET:
|
|
284
|
+
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
279
285
|
if default_internal_network_mtu is not UNSET:
|
|
280
286
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
281
287
|
if max_instances is not UNSET:
|
|
@@ -395,6 +401,8 @@ class MergedPluginOptions:
|
|
|
395
401
|
|
|
396
402
|
order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
|
|
397
403
|
|
|
404
|
+
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
405
|
+
|
|
398
406
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
399
407
|
|
|
400
408
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -519,6 +527,7 @@ class MergedPluginOptions:
|
|
|
519
527
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
520
528
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
521
529
|
order_supports_comments_and_metadata=order_supports_comments_and_metadata,
|
|
530
|
+
conceal_billing_data=conceal_billing_data,
|
|
522
531
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
523
532
|
max_instances=max_instances,
|
|
524
533
|
max_volumes=max_volumes,
|
|
@@ -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
|
|
@@ -93,6 +94,7 @@ class MergedPluginOptionsRequest:
|
|
|
93
94
|
maximal_resource_count_per_project: Union[Unset, int] = UNSET
|
|
94
95
|
required_team_role_for_provisioning: Union[Unset, str] = UNSET
|
|
95
96
|
order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
|
|
97
|
+
conceal_billing_data: Union[Unset, bool] = UNSET
|
|
96
98
|
default_internal_network_mtu: Union[Unset, int] = UNSET
|
|
97
99
|
max_instances: Union[Unset, int] = UNSET
|
|
98
100
|
max_volumes: Union[Unset, int] = UNSET
|
|
@@ -161,6 +163,8 @@ class MergedPluginOptionsRequest:
|
|
|
161
163
|
|
|
162
164
|
order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
|
|
163
165
|
|
|
166
|
+
conceal_billing_data = self.conceal_billing_data
|
|
167
|
+
|
|
164
168
|
default_internal_network_mtu = self.default_internal_network_mtu
|
|
165
169
|
|
|
166
170
|
max_instances = self.max_instances
|
|
@@ -276,6 +280,8 @@ class MergedPluginOptionsRequest:
|
|
|
276
280
|
field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
|
|
277
281
|
if order_supports_comments_and_metadata is not UNSET:
|
|
278
282
|
field_dict["order_supports_comments_and_metadata"] = order_supports_comments_and_metadata
|
|
283
|
+
if conceal_billing_data is not UNSET:
|
|
284
|
+
field_dict["conceal_billing_data"] = conceal_billing_data
|
|
279
285
|
if default_internal_network_mtu is not UNSET:
|
|
280
286
|
field_dict["default_internal_network_mtu"] = default_internal_network_mtu
|
|
281
287
|
if max_instances is not UNSET:
|
|
@@ -395,6 +401,8 @@ class MergedPluginOptionsRequest:
|
|
|
395
401
|
|
|
396
402
|
order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
|
|
397
403
|
|
|
404
|
+
conceal_billing_data = d.pop("conceal_billing_data", UNSET)
|
|
405
|
+
|
|
398
406
|
default_internal_network_mtu = d.pop("default_internal_network_mtu", UNSET)
|
|
399
407
|
|
|
400
408
|
max_instances = d.pop("max_instances", UNSET)
|
|
@@ -519,6 +527,7 @@ class MergedPluginOptionsRequest:
|
|
|
519
527
|
maximal_resource_count_per_project=maximal_resource_count_per_project,
|
|
520
528
|
required_team_role_for_provisioning=required_team_role_for_provisioning,
|
|
521
529
|
order_supports_comments_and_metadata=order_supports_comments_and_metadata,
|
|
530
|
+
conceal_billing_data=conceal_billing_data,
|
|
522
531
|
default_internal_network_mtu=default_internal_network_mtu,
|
|
523
532
|
max_instances=max_instances,
|
|
524
533
|
max_volumes=max_volumes,
|
|
@@ -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
|
|
@@ -21,6 +21,7 @@ class NestedRound:
|
|
|
21
21
|
"""
|
|
22
22
|
Attributes:
|
|
23
23
|
uuid (Union[Unset, UUID]):
|
|
24
|
+
slug (Union[Unset, str]):
|
|
24
25
|
name (Union[Unset, str]):
|
|
25
26
|
start_time (Union[Unset, datetime.datetime]):
|
|
26
27
|
cutoff_time (Union[Unset, datetime.datetime]):
|
|
@@ -35,6 +36,7 @@ class NestedRound:
|
|
|
35
36
|
"""
|
|
36
37
|
|
|
37
38
|
uuid: Union[Unset, UUID] = UNSET
|
|
39
|
+
slug: Union[Unset, str] = UNSET
|
|
38
40
|
name: Union[Unset, str] = UNSET
|
|
39
41
|
start_time: Union[Unset, datetime.datetime] = UNSET
|
|
40
42
|
cutoff_time: Union[Unset, datetime.datetime] = UNSET
|
|
@@ -53,6 +55,8 @@ class NestedRound:
|
|
|
53
55
|
if not isinstance(self.uuid, Unset):
|
|
54
56
|
uuid = str(self.uuid)
|
|
55
57
|
|
|
58
|
+
slug = self.slug
|
|
59
|
+
|
|
56
60
|
name = self.name
|
|
57
61
|
|
|
58
62
|
start_time: Union[Unset, str] = UNSET
|
|
@@ -110,6 +114,8 @@ class NestedRound:
|
|
|
110
114
|
field_dict.update({})
|
|
111
115
|
if uuid is not UNSET:
|
|
112
116
|
field_dict["uuid"] = uuid
|
|
117
|
+
if slug is not UNSET:
|
|
118
|
+
field_dict["slug"] = slug
|
|
113
119
|
if name is not UNSET:
|
|
114
120
|
field_dict["name"] = name
|
|
115
121
|
if start_time is not UNSET:
|
|
@@ -145,6 +151,8 @@ class NestedRound:
|
|
|
145
151
|
else:
|
|
146
152
|
uuid = UUID(_uuid)
|
|
147
153
|
|
|
154
|
+
slug = d.pop("slug", UNSET)
|
|
155
|
+
|
|
148
156
|
name = d.pop("name", UNSET)
|
|
149
157
|
|
|
150
158
|
_start_time = d.pop("start_time", UNSET)
|
|
@@ -235,6 +243,7 @@ class NestedRound:
|
|
|
235
243
|
|
|
236
244
|
nested_round = cls(
|
|
237
245
|
uuid=uuid,
|
|
246
|
+
slug=slug,
|
|
238
247
|
name=name,
|
|
239
248
|
start_time=start_time,
|
|
240
249
|
cutoff_time=cutoff_time,
|
|
@@ -20,6 +20,7 @@ class NestedRoundRequest:
|
|
|
20
20
|
Attributes:
|
|
21
21
|
start_time (datetime.datetime):
|
|
22
22
|
cutoff_time (datetime.datetime):
|
|
23
|
+
slug (Union[Unset, str]):
|
|
23
24
|
review_strategy (Union[Unset, ReviewStrategyEnum]):
|
|
24
25
|
deciding_entity (Union[Unset, DecidingEntityEnum]):
|
|
25
26
|
allocation_time (Union[Unset, AllocationTimeEnum]):
|
|
@@ -31,6 +32,7 @@ class NestedRoundRequest:
|
|
|
31
32
|
|
|
32
33
|
start_time: datetime.datetime
|
|
33
34
|
cutoff_time: datetime.datetime
|
|
35
|
+
slug: Union[Unset, str] = UNSET
|
|
34
36
|
review_strategy: Union[Unset, ReviewStrategyEnum] = UNSET
|
|
35
37
|
deciding_entity: Union[Unset, DecidingEntityEnum] = UNSET
|
|
36
38
|
allocation_time: Union[Unset, AllocationTimeEnum] = UNSET
|
|
@@ -45,6 +47,8 @@ class NestedRoundRequest:
|
|
|
45
47
|
|
|
46
48
|
cutoff_time = self.cutoff_time.isoformat()
|
|
47
49
|
|
|
50
|
+
slug = self.slug
|
|
51
|
+
|
|
48
52
|
review_strategy: Union[Unset, str] = UNSET
|
|
49
53
|
if not isinstance(self.review_strategy, Unset):
|
|
50
54
|
review_strategy = self.review_strategy.value
|
|
@@ -91,6 +95,8 @@ class NestedRoundRequest:
|
|
|
91
95
|
"cutoff_time": cutoff_time,
|
|
92
96
|
}
|
|
93
97
|
)
|
|
98
|
+
if slug is not UNSET:
|
|
99
|
+
field_dict["slug"] = slug
|
|
94
100
|
if review_strategy is not UNSET:
|
|
95
101
|
field_dict["review_strategy"] = review_strategy
|
|
96
102
|
if deciding_entity is not UNSET:
|
|
@@ -115,6 +121,8 @@ class NestedRoundRequest:
|
|
|
115
121
|
|
|
116
122
|
cutoff_time = isoparse(d.pop("cutoff_time"))
|
|
117
123
|
|
|
124
|
+
slug = d.pop("slug", UNSET)
|
|
125
|
+
|
|
118
126
|
_review_strategy = d.pop("review_strategy", UNSET)
|
|
119
127
|
review_strategy: Union[Unset, ReviewStrategyEnum]
|
|
120
128
|
if isinstance(_review_strategy, Unset):
|
|
@@ -183,6 +191,7 @@ class NestedRoundRequest:
|
|
|
183
191
|
nested_round_request = cls(
|
|
184
192
|
start_time=start_time,
|
|
185
193
|
cutoff_time=cutoff_time,
|
|
194
|
+
slug=slug,
|
|
186
195
|
review_strategy=review_strategy,
|
|
187
196
|
deciding_entity=deciding_entity,
|
|
188
197
|
allocation_time=allocation_time,
|
|
@@ -95,6 +95,7 @@ class Offering:
|
|
|
95
95
|
parent_name (Union[None, Unset, str]):
|
|
96
96
|
backend_metadata (Union[Unset, Any]):
|
|
97
97
|
has_compliance_requirements (Union[Unset, bool]):
|
|
98
|
+
compliance_checklist (Union[None, Unset, str]):
|
|
98
99
|
user_has_consent (Union[Unset, bool]):
|
|
99
100
|
googlecalendar (Union[Unset, GoogleCalendar]):
|
|
100
101
|
"""
|
|
@@ -159,6 +160,7 @@ class Offering:
|
|
|
159
160
|
parent_name: Union[None, Unset, str] = UNSET
|
|
160
161
|
backend_metadata: Union[Unset, Any] = UNSET
|
|
161
162
|
has_compliance_requirements: Union[Unset, bool] = UNSET
|
|
163
|
+
compliance_checklist: Union[None, Unset, str] = UNSET
|
|
162
164
|
user_has_consent: Union[Unset, bool] = UNSET
|
|
163
165
|
googlecalendar: Union[Unset, "GoogleCalendar"] = UNSET
|
|
164
166
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
@@ -438,6 +440,12 @@ class Offering:
|
|
|
438
440
|
|
|
439
441
|
has_compliance_requirements = self.has_compliance_requirements
|
|
440
442
|
|
|
443
|
+
compliance_checklist: Union[None, Unset, str]
|
|
444
|
+
if isinstance(self.compliance_checklist, Unset):
|
|
445
|
+
compliance_checklist = UNSET
|
|
446
|
+
else:
|
|
447
|
+
compliance_checklist = self.compliance_checklist
|
|
448
|
+
|
|
441
449
|
user_has_consent = self.user_has_consent
|
|
442
450
|
|
|
443
451
|
googlecalendar: Union[Unset, dict[str, Any]] = UNSET
|
|
@@ -567,6 +575,8 @@ class Offering:
|
|
|
567
575
|
field_dict["backend_metadata"] = backend_metadata
|
|
568
576
|
if has_compliance_requirements is not UNSET:
|
|
569
577
|
field_dict["has_compliance_requirements"] = has_compliance_requirements
|
|
578
|
+
if compliance_checklist is not UNSET:
|
|
579
|
+
field_dict["compliance_checklist"] = compliance_checklist
|
|
570
580
|
if user_has_consent is not UNSET:
|
|
571
581
|
field_dict["user_has_consent"] = user_has_consent
|
|
572
582
|
if googlecalendar is not UNSET:
|
|
@@ -995,6 +1005,15 @@ class Offering:
|
|
|
995
1005
|
|
|
996
1006
|
has_compliance_requirements = d.pop("has_compliance_requirements", UNSET)
|
|
997
1007
|
|
|
1008
|
+
def _parse_compliance_checklist(data: object) -> Union[None, Unset, str]:
|
|
1009
|
+
if data is None:
|
|
1010
|
+
return data
|
|
1011
|
+
if isinstance(data, Unset):
|
|
1012
|
+
return data
|
|
1013
|
+
return cast(Union[None, Unset, str], data)
|
|
1014
|
+
|
|
1015
|
+
compliance_checklist = _parse_compliance_checklist(d.pop("compliance_checklist", UNSET))
|
|
1016
|
+
|
|
998
1017
|
user_has_consent = d.pop("user_has_consent", UNSET)
|
|
999
1018
|
|
|
1000
1019
|
_googlecalendar = d.pop("googlecalendar", UNSET)
|
|
@@ -1065,6 +1084,7 @@ class Offering:
|
|
|
1065
1084
|
parent_name=parent_name,
|
|
1066
1085
|
backend_metadata=backend_metadata,
|
|
1067
1086
|
has_compliance_requirements=has_compliance_requirements,
|
|
1087
|
+
compliance_checklist=compliance_checklist,
|
|
1068
1088
|
user_has_consent=user_has_consent,
|
|
1069
1089
|
googlecalendar=googlecalendar,
|
|
1070
1090
|
)
|
|
@@ -97,6 +97,7 @@ class OfferingCreate:
|
|
|
97
97
|
backend_id (Union[Unset, str]):
|
|
98
98
|
image (Union[None, Unset, str]):
|
|
99
99
|
backend_metadata (Union[Unset, Any]):
|
|
100
|
+
compliance_checklist (Union[None, Unset, str]):
|
|
100
101
|
"""
|
|
101
102
|
|
|
102
103
|
url: str
|
|
@@ -161,6 +162,7 @@ class OfferingCreate:
|
|
|
161
162
|
backend_id: Union[Unset, str] = UNSET
|
|
162
163
|
image: Union[None, Unset, str] = UNSET
|
|
163
164
|
backend_metadata: Union[Unset, Any] = UNSET
|
|
165
|
+
compliance_checklist: Union[None, Unset, str] = UNSET
|
|
164
166
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
165
167
|
|
|
166
168
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -379,6 +381,12 @@ class OfferingCreate:
|
|
|
379
381
|
|
|
380
382
|
backend_metadata = self.backend_metadata
|
|
381
383
|
|
|
384
|
+
compliance_checklist: Union[None, Unset, str]
|
|
385
|
+
if isinstance(self.compliance_checklist, Unset):
|
|
386
|
+
compliance_checklist = UNSET
|
|
387
|
+
else:
|
|
388
|
+
compliance_checklist = self.compliance_checklist
|
|
389
|
+
|
|
382
390
|
field_dict: dict[str, Any] = {}
|
|
383
391
|
field_dict.update(self.additional_properties)
|
|
384
392
|
field_dict.update(
|
|
@@ -471,6 +479,8 @@ class OfferingCreate:
|
|
|
471
479
|
field_dict["image"] = image
|
|
472
480
|
if backend_metadata is not UNSET:
|
|
473
481
|
field_dict["backend_metadata"] = backend_metadata
|
|
482
|
+
if compliance_checklist is not UNSET:
|
|
483
|
+
field_dict["compliance_checklist"] = compliance_checklist
|
|
474
484
|
|
|
475
485
|
return field_dict
|
|
476
486
|
|
|
@@ -839,6 +849,15 @@ class OfferingCreate:
|
|
|
839
849
|
|
|
840
850
|
backend_metadata = d.pop("backend_metadata", UNSET)
|
|
841
851
|
|
|
852
|
+
def _parse_compliance_checklist(data: object) -> Union[None, Unset, str]:
|
|
853
|
+
if data is None:
|
|
854
|
+
return data
|
|
855
|
+
if isinstance(data, Unset):
|
|
856
|
+
return data
|
|
857
|
+
return cast(Union[None, Unset, str], data)
|
|
858
|
+
|
|
859
|
+
compliance_checklist = _parse_compliance_checklist(d.pop("compliance_checklist", UNSET))
|
|
860
|
+
|
|
842
861
|
offering_create = cls(
|
|
843
862
|
url=url,
|
|
844
863
|
uuid=uuid,
|
|
@@ -902,6 +921,7 @@ class OfferingCreate:
|
|
|
902
921
|
backend_id=backend_id,
|
|
903
922
|
image=image,
|
|
904
923
|
backend_metadata=backend_metadata,
|
|
924
|
+
compliance_checklist=compliance_checklist,
|
|
905
925
|
)
|
|
906
926
|
|
|
907
927
|
offering_create.additional_properties = d
|