waldur-api-client 7.8.1__py3-none-any.whl → 7.8.2__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_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_resources/marketplace_resources_count.py +10 -13
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +10 -13
- 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/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/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 +146 -2
- 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/booking_offerings_list_field_item.py +1 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
- 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 +9 -0
- waldur_api_client/models/constance_settings_request.py +9 -0
- waldur_api_client/models/constance_settings_request_form.py +1547 -0
- waldur_api_client/models/constance_settings_request_multipart.py +2173 -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/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/integration_status.py +21 -4
- 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_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_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_service_providers_offerings_list_field_item.py +1 -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/order_attachment_request_form.py +84 -0
- waldur_api_client/models/order_attachment_request_multipart.py +98 -0
- 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_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/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/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/user_request_form.py +250 -0
- waldur_api_client/models/user_request_multipart.py +316 -0
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.2.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.2.dist-info}/RECORD +169 -98
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.2.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.1.dist-info → waldur_api_client-7.8.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -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"
|
|
@@ -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"
|
|
@@ -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
|
|
@@ -51,6 +51,7 @@ class OfferingCreateRequest:
|
|
|
51
51
|
backend_id (Union[Unset, str]):
|
|
52
52
|
image (Union[File, None, Unset]):
|
|
53
53
|
backend_metadata (Union[Unset, Any]):
|
|
54
|
+
compliance_checklist (Union[None, Unset, str]):
|
|
54
55
|
limits (Union[Unset, OfferingCreateRequestLimits]):
|
|
55
56
|
"""
|
|
56
57
|
|
|
@@ -81,6 +82,7 @@ class OfferingCreateRequest:
|
|
|
81
82
|
backend_id: Union[Unset, str] = UNSET
|
|
82
83
|
image: Union[File, None, Unset] = UNSET
|
|
83
84
|
backend_metadata: Union[Unset, Any] = UNSET
|
|
85
|
+
compliance_checklist: Union[None, Unset, str] = UNSET
|
|
84
86
|
limits: Union[Unset, "OfferingCreateRequestLimits"] = UNSET
|
|
85
87
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
86
88
|
|
|
@@ -185,6 +187,12 @@ class OfferingCreateRequest:
|
|
|
185
187
|
|
|
186
188
|
backend_metadata = self.backend_metadata
|
|
187
189
|
|
|
190
|
+
compliance_checklist: Union[None, Unset, str]
|
|
191
|
+
if isinstance(self.compliance_checklist, Unset):
|
|
192
|
+
compliance_checklist = UNSET
|
|
193
|
+
else:
|
|
194
|
+
compliance_checklist = self.compliance_checklist
|
|
195
|
+
|
|
188
196
|
limits: Union[Unset, dict[str, Any]] = UNSET
|
|
189
197
|
if not isinstance(self.limits, Unset):
|
|
190
198
|
limits = self.limits.to_dict()
|
|
@@ -246,6 +254,8 @@ class OfferingCreateRequest:
|
|
|
246
254
|
field_dict["image"] = image
|
|
247
255
|
if backend_metadata is not UNSET:
|
|
248
256
|
field_dict["backend_metadata"] = backend_metadata
|
|
257
|
+
if compliance_checklist is not UNSET:
|
|
258
|
+
field_dict["compliance_checklist"] = compliance_checklist
|
|
249
259
|
if limits is not UNSET:
|
|
250
260
|
field_dict["limits"] = limits
|
|
251
261
|
|
|
@@ -401,6 +411,15 @@ class OfferingCreateRequest:
|
|
|
401
411
|
|
|
402
412
|
backend_metadata = d.pop("backend_metadata", UNSET)
|
|
403
413
|
|
|
414
|
+
def _parse_compliance_checklist(data: object) -> Union[None, Unset, str]:
|
|
415
|
+
if data is None:
|
|
416
|
+
return data
|
|
417
|
+
if isinstance(data, Unset):
|
|
418
|
+
return data
|
|
419
|
+
return cast(Union[None, Unset, str], data)
|
|
420
|
+
|
|
421
|
+
compliance_checklist = _parse_compliance_checklist(d.pop("compliance_checklist", UNSET))
|
|
422
|
+
|
|
404
423
|
_limits = d.pop("limits", UNSET)
|
|
405
424
|
limits: Union[Unset, OfferingCreateRequestLimits]
|
|
406
425
|
if isinstance(_limits, Unset):
|
|
@@ -436,6 +455,7 @@ class OfferingCreateRequest:
|
|
|
436
455
|
backend_id=backend_id,
|
|
437
456
|
image=image,
|
|
438
457
|
backend_metadata=backend_metadata,
|
|
458
|
+
compliance_checklist=compliance_checklist,
|
|
439
459
|
limits=limits,
|
|
440
460
|
)
|
|
441
461
|
|