waldur-api-client 7.7.8__py3-none-any.whl → 7.8.0__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/marketplace_offering_users/marketplace_offering_users_count.py +15 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +15 -0
- waldur_api_client/api/{rancher_clusters/rancher_clusters_destroy.py → marketplace_orders/marketplace_orders_delete_attachment.py} +6 -4
- waldur_api_client/api/{rancher_clusters/rancher_clusters_create.py → marketplace_orders/marketplace_orders_update_attachment.py} +47 -29
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +45 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +45 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +45 -0
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +45 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +45 -0
- waldur_api_client/models/__init__.py +10 -4
- 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/constance_settings.py +9 -0
- waldur_api_client/models/constance_settings_request.py +9 -0
- waldur_api_client/models/country_enum.py +211 -0
- waldur_api_client/models/course_account.py +14 -15
- waldur_api_client/models/course_account_request.py +0 -9
- waldur_api_client/models/customer_request.py +9 -0
- waldur_api_client/models/deployment_mode_enum.py +9 -0
- waldur_api_client/models/identity_provider.py +57 -0
- waldur_api_client/models/identity_provider_request.py +57 -0
- waldur_api_client/models/issue.py +8 -17
- waldur_api_client/models/issue_request.py +8 -17
- waldur_api_client/models/issue_type_enum.py +4 -4
- waldur_api_client/models/marketplace_offering_users_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_offering_users_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -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/merged_plugin_options.py +27 -0
- waldur_api_client/models/merged_plugin_options_request.py +27 -0
- waldur_api_client/models/offering.py +9 -0
- waldur_api_client/models/offering_create.py +9 -8
- waldur_api_client/models/offering_create_request.py +9 -0
- waldur_api_client/models/offering_overview_update_request.py +9 -0
- waldur_api_client/models/offering_terms_of_service.py +42 -1
- waldur_api_client/models/offering_user.py +18 -0
- waldur_api_client/models/open_stack_tenant_create_order_attributes.py +0 -18
- waldur_api_client/models/open_stack_tenant_request.py +18 -0
- waldur_api_client/models/order_attachment.py +71 -0
- waldur_api_client/models/order_attachment_request.py +84 -0
- waldur_api_client/models/order_create.py +58 -16
- waldur_api_client/models/order_create_request.py +44 -62
- waldur_api_client/models/order_details.py +65 -16
- waldur_api_client/models/patched_customer_request.py +9 -0
- waldur_api_client/models/patched_identity_provider_request.py +58 -0
- waldur_api_client/models/patched_project_request.py +9 -0
- waldur_api_client/models/patched_protected_call_request.py +9 -0
- waldur_api_client/models/patched_protected_round_request.py +2 -2
- waldur_api_client/models/patched_service_provider_request.py +9 -0
- waldur_api_client/models/patched_user_request.py +9 -0
- waldur_api_client/models/project_request.py +9 -0
- waldur_api_client/models/protected_call_request.py +9 -0
- waldur_api_client/models/protected_round.py +2 -2
- waldur_api_client/models/protected_round_request.py +2 -2
- waldur_api_client/models/provider_offering_details_request.py +9 -0
- waldur_api_client/models/public_offering_details.py +9 -0
- waldur_api_client/models/rancher_cluster_request.py +1 -48
- waldur_api_client/models/resource_update_limits_request.py +56 -1
- waldur_api_client/models/robot_account.py +12 -4
- waldur_api_client/models/robot_account_details.py +12 -4
- waldur_api_client/models/robot_account_states.py +13 -0
- waldur_api_client/models/service_provider_request.py +9 -0
- waldur_api_client/models/user_consent_info.py +86 -0
- waldur_api_client/models/user_request.py +9 -0
- {waldur_api_client-7.7.8.dist-info → waldur_api_client-7.8.0.dist-info}/METADATA +4 -2
- {waldur_api_client-7.7.8.dist-info → waldur_api_client-7.8.0.dist-info}/RECORD +75 -72
- {waldur_api_client-7.7.8.dist-info → waldur_api_client-7.8.0.dist-info}/WHEEL +1 -1
- waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +0 -144
- waldur_api_client/models/marketplace_rancher_create_order_attributes.py +0 -145
- {waldur_api_client-7.7.8.dist-info → waldur_api_client-7.8.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -285,6 +285,7 @@ from .data_volume_request import DataVolumeRequest
|
|
|
285
285
|
from .deciding_entity_enum import DecidingEntityEnum
|
|
286
286
|
from .delete_attachments_request import DeleteAttachmentsRequest
|
|
287
287
|
from .dependency_logic_operator_enum import DependencyLogicOperatorEnum
|
|
288
|
+
from .deployment_mode_enum import DeploymentModeEnum
|
|
288
289
|
from .detail_state import DetailState
|
|
289
290
|
from .digital_ocean_droplet import DigitalOceanDroplet
|
|
290
291
|
from .digital_ocean_droplet_marketplace_offering_plugin_options_type_0 import (
|
|
@@ -496,7 +497,6 @@ from .marketplace_integration_statuses_count_o_item import MarketplaceIntegratio
|
|
|
496
497
|
from .marketplace_integration_statuses_count_status_item import MarketplaceIntegrationStatusesCountStatusItem
|
|
497
498
|
from .marketplace_integration_statuses_list_o_item import MarketplaceIntegrationStatusesListOItem
|
|
498
499
|
from .marketplace_integration_statuses_list_status_item import MarketplaceIntegrationStatusesListStatusItem
|
|
499
|
-
from .marketplace_managed_rancher_create_order_attributes import MarketplaceManagedRancherCreateOrderAttributes
|
|
500
500
|
from .marketplace_offering_files_count_o_item import MarketplaceOfferingFilesCountOItem
|
|
501
501
|
from .marketplace_offering_files_list_field_item import MarketplaceOfferingFilesListFieldItem
|
|
502
502
|
from .marketplace_offering_files_list_o_item import MarketplaceOfferingFilesListOItem
|
|
@@ -580,7 +580,6 @@ from .marketplace_public_offerings_list_field_item import MarketplacePublicOffer
|
|
|
580
580
|
from .marketplace_public_offerings_list_o_item import MarketplacePublicOfferingsListOItem
|
|
581
581
|
from .marketplace_public_offerings_list_state_item import MarketplacePublicOfferingsListStateItem
|
|
582
582
|
from .marketplace_public_offerings_retrieve_field_item import MarketplacePublicOfferingsRetrieveFieldItem
|
|
583
|
-
from .marketplace_rancher_create_order_attributes import MarketplaceRancherCreateOrderAttributes
|
|
584
583
|
from .marketplace_resources_count_o_item import MarketplaceResourcesCountOItem
|
|
585
584
|
from .marketplace_resources_count_state_item import MarketplaceResourcesCountStateItem
|
|
586
585
|
from .marketplace_resources_details_retrieve_field_item import MarketplaceResourcesDetailsRetrieveFieldItem
|
|
@@ -924,6 +923,8 @@ from .openstack_volumes_retrieve_field_item import OpenstackVolumesRetrieveField
|
|
|
924
923
|
from .option_field import OptionField
|
|
925
924
|
from .option_field_request import OptionFieldRequest
|
|
926
925
|
from .option_field_type_enum import OptionFieldTypeEnum
|
|
926
|
+
from .order_attachment import OrderAttachment
|
|
927
|
+
from .order_attachment_request import OrderAttachmentRequest
|
|
927
928
|
from .order_create import OrderCreate
|
|
928
929
|
from .order_create_limits import OrderCreateLimits
|
|
929
930
|
from .order_create_request import OrderCreateRequest
|
|
@@ -1379,6 +1380,7 @@ from .robot_account import RobotAccount
|
|
|
1379
1380
|
from .robot_account_details import RobotAccountDetails
|
|
1380
1381
|
from .robot_account_error_request import RobotAccountErrorRequest
|
|
1381
1382
|
from .robot_account_request import RobotAccountRequest
|
|
1383
|
+
from .robot_account_states import RobotAccountStates
|
|
1382
1384
|
from .role_description import RoleDescription
|
|
1383
1385
|
from .role_description_request import RoleDescriptionRequest
|
|
1384
1386
|
from .role_details import RoleDetails
|
|
@@ -1481,6 +1483,7 @@ from .user_agreement_request import UserAgreementRequest
|
|
|
1481
1483
|
from .user_agreements_count_agreement_type import UserAgreementsCountAgreementType
|
|
1482
1484
|
from .user_agreements_list_agreement_type import UserAgreementsListAgreementType
|
|
1483
1485
|
from .user_auth_token import UserAuthToken
|
|
1486
|
+
from .user_consent_info import UserConsentInfo
|
|
1484
1487
|
from .user_email_change_request import UserEmailChangeRequest
|
|
1485
1488
|
from .user_group_invitations_count_o_item import UserGroupInvitationsCountOItem
|
|
1486
1489
|
from .user_group_invitations_list_o_item import UserGroupInvitationsListOItem
|
|
@@ -1846,6 +1849,7 @@ __all__ = (
|
|
|
1846
1849
|
"DecidingEntityEnum",
|
|
1847
1850
|
"DeleteAttachmentsRequest",
|
|
1848
1851
|
"DependencyLogicOperatorEnum",
|
|
1852
|
+
"DeploymentModeEnum",
|
|
1849
1853
|
"DetailState",
|
|
1850
1854
|
"DigitalOceanDroplet",
|
|
1851
1855
|
"DigitalOceanDropletMarketplaceOfferingPluginOptionsType0",
|
|
@@ -2049,7 +2053,6 @@ __all__ = (
|
|
|
2049
2053
|
"MarketplaceIntegrationStatusesCountStatusItem",
|
|
2050
2054
|
"MarketplaceIntegrationStatusesListOItem",
|
|
2051
2055
|
"MarketplaceIntegrationStatusesListStatusItem",
|
|
2052
|
-
"MarketplaceManagedRancherCreateOrderAttributes",
|
|
2053
2056
|
"MarketplaceOfferingFilesCountOItem",
|
|
2054
2057
|
"MarketplaceOfferingFilesListFieldItem",
|
|
2055
2058
|
"MarketplaceOfferingFilesListOItem",
|
|
@@ -2119,7 +2122,6 @@ __all__ = (
|
|
|
2119
2122
|
"MarketplacePublicOfferingsListOItem",
|
|
2120
2123
|
"MarketplacePublicOfferingsListStateItem",
|
|
2121
2124
|
"MarketplacePublicOfferingsRetrieveFieldItem",
|
|
2122
|
-
"MarketplaceRancherCreateOrderAttributes",
|
|
2123
2125
|
"MarketplaceResourcesCountOItem",
|
|
2124
2126
|
"MarketplaceResourcesCountStateItem",
|
|
2125
2127
|
"MarketplaceResourcesDetailsRetrieveFieldItem",
|
|
@@ -2425,6 +2427,8 @@ __all__ = (
|
|
|
2425
2427
|
"OptionField",
|
|
2426
2428
|
"OptionFieldRequest",
|
|
2427
2429
|
"OptionFieldTypeEnum",
|
|
2430
|
+
"OrderAttachment",
|
|
2431
|
+
"OrderAttachmentRequest",
|
|
2428
2432
|
"OrderCreate",
|
|
2429
2433
|
"OrderCreateLimits",
|
|
2430
2434
|
"OrderCreateRequest",
|
|
@@ -2854,6 +2858,7 @@ __all__ = (
|
|
|
2854
2858
|
"RobotAccountDetails",
|
|
2855
2859
|
"RobotAccountErrorRequest",
|
|
2856
2860
|
"RobotAccountRequest",
|
|
2861
|
+
"RobotAccountStates",
|
|
2857
2862
|
"RoleDescription",
|
|
2858
2863
|
"RoleDescriptionRequest",
|
|
2859
2864
|
"RoleDetails",
|
|
@@ -2954,6 +2959,7 @@ __all__ = (
|
|
|
2954
2959
|
"UserAgreementsCountAgreementType",
|
|
2955
2960
|
"UserAgreementsListAgreementType",
|
|
2956
2961
|
"UserAuthToken",
|
|
2962
|
+
"UserConsentInfo",
|
|
2957
2963
|
"UserEmailChangeRequest",
|
|
2958
2964
|
"UserGroupInvitationsCountOItem",
|
|
2959
2965
|
"UserGroupInvitationsListOItem",
|
|
@@ -122,6 +122,7 @@ class ConstanceSettings:
|
|
|
122
122
|
smax_requests_offering (Union[Unset, str]):
|
|
123
123
|
smax_verify_ssl (Union[Unset, bool]):
|
|
124
124
|
enable_mock_service_account_backend (Union[Unset, bool]):
|
|
125
|
+
enable_mock_course_account_backend (Union[Unset, bool]):
|
|
125
126
|
proposal_review_duration (Union[Unset, int]):
|
|
126
127
|
user_table_columns (Union[Unset, str]):
|
|
127
128
|
auto_approve_user_tos (Union[Unset, bool]):
|
|
@@ -257,6 +258,7 @@ class ConstanceSettings:
|
|
|
257
258
|
smax_requests_offering: Union[Unset, str] = UNSET
|
|
258
259
|
smax_verify_ssl: Union[Unset, bool] = UNSET
|
|
259
260
|
enable_mock_service_account_backend: Union[Unset, bool] = UNSET
|
|
261
|
+
enable_mock_course_account_backend: Union[Unset, bool] = UNSET
|
|
260
262
|
proposal_review_duration: Union[Unset, int] = UNSET
|
|
261
263
|
user_table_columns: Union[Unset, str] = UNSET
|
|
262
264
|
auto_approve_user_tos: Union[Unset, bool] = UNSET
|
|
@@ -546,6 +548,8 @@ class ConstanceSettings:
|
|
|
546
548
|
|
|
547
549
|
enable_mock_service_account_backend = self.enable_mock_service_account_backend
|
|
548
550
|
|
|
551
|
+
enable_mock_course_account_backend = self.enable_mock_course_account_backend
|
|
552
|
+
|
|
549
553
|
proposal_review_duration = self.proposal_review_duration
|
|
550
554
|
|
|
551
555
|
user_table_columns = self.user_table_columns
|
|
@@ -829,6 +833,8 @@ class ConstanceSettings:
|
|
|
829
833
|
field_dict["SMAX_VERIFY_SSL"] = smax_verify_ssl
|
|
830
834
|
if enable_mock_service_account_backend is not UNSET:
|
|
831
835
|
field_dict["ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND"] = enable_mock_service_account_backend
|
|
836
|
+
if enable_mock_course_account_backend is not UNSET:
|
|
837
|
+
field_dict["ENABLE_MOCK_COURSE_ACCOUNT_BACKEND"] = enable_mock_course_account_backend
|
|
832
838
|
if proposal_review_duration is not UNSET:
|
|
833
839
|
field_dict["PROPOSAL_REVIEW_DURATION"] = proposal_review_duration
|
|
834
840
|
if user_table_columns is not UNSET:
|
|
@@ -1184,6 +1190,8 @@ class ConstanceSettings:
|
|
|
1184
1190
|
|
|
1185
1191
|
enable_mock_service_account_backend = d.pop("ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND", UNSET)
|
|
1186
1192
|
|
|
1193
|
+
enable_mock_course_account_backend = d.pop("ENABLE_MOCK_COURSE_ACCOUNT_BACKEND", UNSET)
|
|
1194
|
+
|
|
1187
1195
|
proposal_review_duration = d.pop("PROPOSAL_REVIEW_DURATION", UNSET)
|
|
1188
1196
|
|
|
1189
1197
|
user_table_columns = d.pop("USER_TABLE_COLUMNS", UNSET)
|
|
@@ -1349,6 +1357,7 @@ class ConstanceSettings:
|
|
|
1349
1357
|
smax_requests_offering=smax_requests_offering,
|
|
1350
1358
|
smax_verify_ssl=smax_verify_ssl,
|
|
1351
1359
|
enable_mock_service_account_backend=enable_mock_service_account_backend,
|
|
1360
|
+
enable_mock_course_account_backend=enable_mock_course_account_backend,
|
|
1352
1361
|
proposal_review_duration=proposal_review_duration,
|
|
1353
1362
|
user_table_columns=user_table_columns,
|
|
1354
1363
|
auto_approve_user_tos=auto_approve_user_tos,
|
|
@@ -124,6 +124,7 @@ class ConstanceSettingsRequest:
|
|
|
124
124
|
smax_requests_offering (Union[Unset, str]):
|
|
125
125
|
smax_verify_ssl (Union[Unset, bool]):
|
|
126
126
|
enable_mock_service_account_backend (Union[Unset, bool]):
|
|
127
|
+
enable_mock_course_account_backend (Union[Unset, bool]):
|
|
127
128
|
proposal_review_duration (Union[Unset, int]):
|
|
128
129
|
user_table_columns (Union[Unset, str]):
|
|
129
130
|
auto_approve_user_tos (Union[Unset, bool]):
|
|
@@ -259,6 +260,7 @@ class ConstanceSettingsRequest:
|
|
|
259
260
|
smax_requests_offering: Union[Unset, str] = UNSET
|
|
260
261
|
smax_verify_ssl: Union[Unset, bool] = UNSET
|
|
261
262
|
enable_mock_service_account_backend: Union[Unset, bool] = UNSET
|
|
263
|
+
enable_mock_course_account_backend: Union[Unset, bool] = UNSET
|
|
262
264
|
proposal_review_duration: Union[Unset, int] = UNSET
|
|
263
265
|
user_table_columns: Union[Unset, str] = UNSET
|
|
264
266
|
auto_approve_user_tos: Union[Unset, bool] = UNSET
|
|
@@ -581,6 +583,8 @@ class ConstanceSettingsRequest:
|
|
|
581
583
|
|
|
582
584
|
enable_mock_service_account_backend = self.enable_mock_service_account_backend
|
|
583
585
|
|
|
586
|
+
enable_mock_course_account_backend = self.enable_mock_course_account_backend
|
|
587
|
+
|
|
584
588
|
proposal_review_duration = self.proposal_review_duration
|
|
585
589
|
|
|
586
590
|
user_table_columns = self.user_table_columns
|
|
@@ -867,6 +871,8 @@ class ConstanceSettingsRequest:
|
|
|
867
871
|
field_dict["SMAX_VERIFY_SSL"] = smax_verify_ssl
|
|
868
872
|
if enable_mock_service_account_backend is not UNSET:
|
|
869
873
|
field_dict["ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND"] = enable_mock_service_account_backend
|
|
874
|
+
if enable_mock_course_account_backend is not UNSET:
|
|
875
|
+
field_dict["ENABLE_MOCK_COURSE_ACCOUNT_BACKEND"] = enable_mock_course_account_backend
|
|
870
876
|
if proposal_review_duration is not UNSET:
|
|
871
877
|
field_dict["PROPOSAL_REVIEW_DURATION"] = proposal_review_duration
|
|
872
878
|
if user_table_columns is not UNSET:
|
|
@@ -1310,6 +1316,8 @@ class ConstanceSettingsRequest:
|
|
|
1310
1316
|
|
|
1311
1317
|
enable_mock_service_account_backend = d.pop("ENABLE_MOCK_SERVICE_ACCOUNT_BACKEND", UNSET)
|
|
1312
1318
|
|
|
1319
|
+
enable_mock_course_account_backend = d.pop("ENABLE_MOCK_COURSE_ACCOUNT_BACKEND", UNSET)
|
|
1320
|
+
|
|
1313
1321
|
proposal_review_duration = d.pop("PROPOSAL_REVIEW_DURATION", UNSET)
|
|
1314
1322
|
|
|
1315
1323
|
user_table_columns = d.pop("USER_TABLE_COLUMNS", UNSET)
|
|
@@ -1483,6 +1491,7 @@ class ConstanceSettingsRequest:
|
|
|
1483
1491
|
smax_requests_offering=smax_requests_offering,
|
|
1484
1492
|
smax_verify_ssl=smax_verify_ssl,
|
|
1485
1493
|
enable_mock_service_account_backend=enable_mock_service_account_backend,
|
|
1494
|
+
enable_mock_course_account_backend=enable_mock_course_account_backend,
|
|
1486
1495
|
proposal_review_duration=proposal_review_duration,
|
|
1487
1496
|
user_table_columns=user_table_columns,
|
|
1488
1497
|
auto_approve_user_tos=auto_approve_user_tos,
|
|
@@ -2,45 +2,256 @@ from enum import Enum
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class CountryEnum(str, Enum):
|
|
5
|
+
AD = "AD"
|
|
6
|
+
AE = "AE"
|
|
7
|
+
AF = "AF"
|
|
8
|
+
AG = "AG"
|
|
9
|
+
AI = "AI"
|
|
5
10
|
AL = "AL"
|
|
11
|
+
AM = "AM"
|
|
12
|
+
AO = "AO"
|
|
13
|
+
AQ = "AQ"
|
|
14
|
+
AR = "AR"
|
|
15
|
+
AS = "AS"
|
|
6
16
|
AT = "AT"
|
|
17
|
+
AU = "AU"
|
|
18
|
+
AW = "AW"
|
|
19
|
+
AX = "AX"
|
|
20
|
+
AZ = "AZ"
|
|
7
21
|
BA = "BA"
|
|
22
|
+
BB = "BB"
|
|
23
|
+
BD = "BD"
|
|
8
24
|
BE = "BE"
|
|
25
|
+
BF = "BF"
|
|
9
26
|
BG = "BG"
|
|
27
|
+
BH = "BH"
|
|
28
|
+
BI = "BI"
|
|
29
|
+
BJ = "BJ"
|
|
30
|
+
BL = "BL"
|
|
31
|
+
BM = "BM"
|
|
32
|
+
BN = "BN"
|
|
33
|
+
BO = "BO"
|
|
34
|
+
BQ = "BQ"
|
|
35
|
+
BR = "BR"
|
|
36
|
+
BS = "BS"
|
|
37
|
+
BT = "BT"
|
|
38
|
+
BV = "BV"
|
|
39
|
+
BW = "BW"
|
|
40
|
+
BY = "BY"
|
|
41
|
+
BZ = "BZ"
|
|
42
|
+
CA = "CA"
|
|
43
|
+
CC = "CC"
|
|
44
|
+
CD = "CD"
|
|
45
|
+
CF = "CF"
|
|
46
|
+
CG = "CG"
|
|
10
47
|
CH = "CH"
|
|
48
|
+
CI = "CI"
|
|
49
|
+
CK = "CK"
|
|
50
|
+
CL = "CL"
|
|
51
|
+
CM = "CM"
|
|
52
|
+
CN = "CN"
|
|
53
|
+
CO = "CO"
|
|
54
|
+
CR = "CR"
|
|
55
|
+
CU = "CU"
|
|
56
|
+
CV = "CV"
|
|
57
|
+
CW = "CW"
|
|
58
|
+
CX = "CX"
|
|
11
59
|
CY = "CY"
|
|
12
60
|
CZ = "CZ"
|
|
13
61
|
DE = "DE"
|
|
62
|
+
DJ = "DJ"
|
|
14
63
|
DK = "DK"
|
|
64
|
+
DM = "DM"
|
|
65
|
+
DO = "DO"
|
|
66
|
+
DZ = "DZ"
|
|
67
|
+
EC = "EC"
|
|
15
68
|
EE = "EE"
|
|
69
|
+
EG = "EG"
|
|
70
|
+
EH = "EH"
|
|
71
|
+
ER = "ER"
|
|
16
72
|
ES = "ES"
|
|
73
|
+
ET = "ET"
|
|
17
74
|
EU = "EU"
|
|
18
75
|
FI = "FI"
|
|
76
|
+
FJ = "FJ"
|
|
77
|
+
FK = "FK"
|
|
78
|
+
FM = "FM"
|
|
79
|
+
FO = "FO"
|
|
19
80
|
FR = "FR"
|
|
81
|
+
GA = "GA"
|
|
20
82
|
GB = "GB"
|
|
83
|
+
GD = "GD"
|
|
21
84
|
GE = "GE"
|
|
85
|
+
GF = "GF"
|
|
86
|
+
GG = "GG"
|
|
87
|
+
GH = "GH"
|
|
88
|
+
GI = "GI"
|
|
89
|
+
GL = "GL"
|
|
90
|
+
GM = "GM"
|
|
91
|
+
GN = "GN"
|
|
92
|
+
GP = "GP"
|
|
93
|
+
GQ = "GQ"
|
|
22
94
|
GR = "GR"
|
|
95
|
+
GS = "GS"
|
|
96
|
+
GT = "GT"
|
|
97
|
+
GU = "GU"
|
|
98
|
+
GW = "GW"
|
|
99
|
+
GY = "GY"
|
|
100
|
+
HK = "HK"
|
|
101
|
+
HM = "HM"
|
|
102
|
+
HN = "HN"
|
|
23
103
|
HR = "HR"
|
|
104
|
+
HT = "HT"
|
|
24
105
|
HU = "HU"
|
|
106
|
+
ID = "ID"
|
|
25
107
|
IE = "IE"
|
|
108
|
+
IL = "IL"
|
|
109
|
+
IM = "IM"
|
|
110
|
+
IN = "IN"
|
|
111
|
+
IO = "IO"
|
|
112
|
+
IQ = "IQ"
|
|
113
|
+
IR = "IR"
|
|
26
114
|
IS = "IS"
|
|
27
115
|
IT = "IT"
|
|
116
|
+
JE = "JE"
|
|
117
|
+
JM = "JM"
|
|
118
|
+
JO = "JO"
|
|
119
|
+
JP = "JP"
|
|
120
|
+
KE = "KE"
|
|
121
|
+
KG = "KG"
|
|
122
|
+
KH = "KH"
|
|
123
|
+
KI = "KI"
|
|
124
|
+
KM = "KM"
|
|
125
|
+
KN = "KN"
|
|
126
|
+
KP = "KP"
|
|
127
|
+
KR = "KR"
|
|
128
|
+
KW = "KW"
|
|
129
|
+
KY = "KY"
|
|
130
|
+
KZ = "KZ"
|
|
131
|
+
LA = "LA"
|
|
132
|
+
LB = "LB"
|
|
133
|
+
LC = "LC"
|
|
134
|
+
LI = "LI"
|
|
135
|
+
LK = "LK"
|
|
136
|
+
LR = "LR"
|
|
137
|
+
LS = "LS"
|
|
28
138
|
LT = "LT"
|
|
29
139
|
LU = "LU"
|
|
30
140
|
LV = "LV"
|
|
141
|
+
LY = "LY"
|
|
142
|
+
MA = "MA"
|
|
31
143
|
MC = "MC"
|
|
144
|
+
MD = "MD"
|
|
145
|
+
ME = "ME"
|
|
146
|
+
MF = "MF"
|
|
147
|
+
MG = "MG"
|
|
148
|
+
MH = "MH"
|
|
32
149
|
MK = "MK"
|
|
150
|
+
ML = "ML"
|
|
151
|
+
MM = "MM"
|
|
152
|
+
MN = "MN"
|
|
153
|
+
MO = "MO"
|
|
154
|
+
MP = "MP"
|
|
155
|
+
MQ = "MQ"
|
|
156
|
+
MR = "MR"
|
|
157
|
+
MS = "MS"
|
|
33
158
|
MT = "MT"
|
|
159
|
+
MU = "MU"
|
|
160
|
+
MV = "MV"
|
|
161
|
+
MW = "MW"
|
|
162
|
+
MX = "MX"
|
|
163
|
+
MY = "MY"
|
|
164
|
+
MZ = "MZ"
|
|
165
|
+
NA = "NA"
|
|
166
|
+
NC = "NC"
|
|
167
|
+
NE = "NE"
|
|
168
|
+
NF = "NF"
|
|
169
|
+
NG = "NG"
|
|
170
|
+
NI = "NI"
|
|
34
171
|
NL = "NL"
|
|
35
172
|
NO = "NO"
|
|
173
|
+
NP = "NP"
|
|
174
|
+
NR = "NR"
|
|
175
|
+
NU = "NU"
|
|
176
|
+
NZ = "NZ"
|
|
177
|
+
OM = "OM"
|
|
178
|
+
PA = "PA"
|
|
179
|
+
PE = "PE"
|
|
180
|
+
PF = "PF"
|
|
181
|
+
PG = "PG"
|
|
182
|
+
PH = "PH"
|
|
183
|
+
PK = "PK"
|
|
36
184
|
PL = "PL"
|
|
185
|
+
PM = "PM"
|
|
186
|
+
PN = "PN"
|
|
187
|
+
PR = "PR"
|
|
188
|
+
PS = "PS"
|
|
37
189
|
PT = "PT"
|
|
190
|
+
PW = "PW"
|
|
191
|
+
PY = "PY"
|
|
192
|
+
QA = "QA"
|
|
193
|
+
RE = "RE"
|
|
38
194
|
RO = "RO"
|
|
39
195
|
RS = "RS"
|
|
196
|
+
RU = "RU"
|
|
197
|
+
RW = "RW"
|
|
198
|
+
SA = "SA"
|
|
199
|
+
SB = "SB"
|
|
200
|
+
SC = "SC"
|
|
201
|
+
SD = "SD"
|
|
40
202
|
SE = "SE"
|
|
203
|
+
SG = "SG"
|
|
204
|
+
SH = "SH"
|
|
41
205
|
SI = "SI"
|
|
206
|
+
SJ = "SJ"
|
|
42
207
|
SK = "SK"
|
|
208
|
+
SL = "SL"
|
|
209
|
+
SM = "SM"
|
|
210
|
+
SN = "SN"
|
|
211
|
+
SO = "SO"
|
|
212
|
+
SR = "SR"
|
|
213
|
+
SS = "SS"
|
|
214
|
+
ST = "ST"
|
|
215
|
+
SV = "SV"
|
|
216
|
+
SX = "SX"
|
|
217
|
+
SY = "SY"
|
|
218
|
+
SZ = "SZ"
|
|
219
|
+
TC = "TC"
|
|
220
|
+
TD = "TD"
|
|
221
|
+
TF = "TF"
|
|
222
|
+
TG = "TG"
|
|
223
|
+
TH = "TH"
|
|
224
|
+
TJ = "TJ"
|
|
225
|
+
TK = "TK"
|
|
226
|
+
TL = "TL"
|
|
227
|
+
TM = "TM"
|
|
228
|
+
TN = "TN"
|
|
229
|
+
TO = "TO"
|
|
230
|
+
TR = "TR"
|
|
231
|
+
TT = "TT"
|
|
232
|
+
TV = "TV"
|
|
233
|
+
TW = "TW"
|
|
234
|
+
TZ = "TZ"
|
|
43
235
|
UA = "UA"
|
|
236
|
+
UG = "UG"
|
|
237
|
+
UM = "UM"
|
|
238
|
+
US = "US"
|
|
239
|
+
UY = "UY"
|
|
240
|
+
UZ = "UZ"
|
|
241
|
+
VA = "VA"
|
|
242
|
+
VC = "VC"
|
|
243
|
+
VE = "VE"
|
|
244
|
+
VG = "VG"
|
|
245
|
+
VI = "VI"
|
|
246
|
+
VN = "VN"
|
|
247
|
+
VU = "VU"
|
|
248
|
+
WF = "WF"
|
|
249
|
+
WS = "WS"
|
|
250
|
+
YE = "YE"
|
|
251
|
+
YT = "YT"
|
|
252
|
+
ZA = "ZA"
|
|
253
|
+
ZM = "ZM"
|
|
254
|
+
ZW = "ZW"
|
|
44
255
|
|
|
45
256
|
def __str__(self) -> str:
|
|
46
257
|
return str(self.value)
|
|
@@ -25,14 +25,14 @@ class CourseAccount:
|
|
|
25
25
|
project_uuid (UUID):
|
|
26
26
|
project_name (str):
|
|
27
27
|
user_uuid (UUID):
|
|
28
|
-
|
|
28
|
+
username (str):
|
|
29
29
|
customer_uuid (UUID):
|
|
30
30
|
customer_name (str):
|
|
31
31
|
state (ServiceAccountState):
|
|
32
32
|
error_message (str):
|
|
33
|
+
error_traceback (str):
|
|
33
34
|
email (Union[Unset, str]):
|
|
34
35
|
description (Union[Unset, str]):
|
|
35
|
-
error_traceback (Union[Unset, str]):
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
url: str
|
|
@@ -43,14 +43,14 @@ class CourseAccount:
|
|
|
43
43
|
project_uuid: UUID
|
|
44
44
|
project_name: str
|
|
45
45
|
user_uuid: UUID
|
|
46
|
-
|
|
46
|
+
username: str
|
|
47
47
|
customer_uuid: UUID
|
|
48
48
|
customer_name: str
|
|
49
49
|
state: ServiceAccountState
|
|
50
50
|
error_message: str
|
|
51
|
+
error_traceback: str
|
|
51
52
|
email: Union[Unset, str] = UNSET
|
|
52
53
|
description: Union[Unset, str] = UNSET
|
|
53
|
-
error_traceback: Union[Unset, str] = UNSET
|
|
54
54
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
55
55
|
|
|
56
56
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -70,7 +70,7 @@ class CourseAccount:
|
|
|
70
70
|
|
|
71
71
|
user_uuid = str(self.user_uuid)
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
username = self.username
|
|
74
74
|
|
|
75
75
|
customer_uuid = str(self.customer_uuid)
|
|
76
76
|
|
|
@@ -80,12 +80,12 @@ class CourseAccount:
|
|
|
80
80
|
|
|
81
81
|
error_message = self.error_message
|
|
82
82
|
|
|
83
|
+
error_traceback = self.error_traceback
|
|
84
|
+
|
|
83
85
|
email = self.email
|
|
84
86
|
|
|
85
87
|
description = self.description
|
|
86
88
|
|
|
87
|
-
error_traceback = self.error_traceback
|
|
88
|
-
|
|
89
89
|
field_dict: dict[str, Any] = {}
|
|
90
90
|
field_dict.update(self.additional_properties)
|
|
91
91
|
field_dict.update(
|
|
@@ -98,19 +98,18 @@ class CourseAccount:
|
|
|
98
98
|
"project_uuid": project_uuid,
|
|
99
99
|
"project_name": project_name,
|
|
100
100
|
"user_uuid": user_uuid,
|
|
101
|
-
"
|
|
101
|
+
"username": username,
|
|
102
102
|
"customer_uuid": customer_uuid,
|
|
103
103
|
"customer_name": customer_name,
|
|
104
104
|
"state": state,
|
|
105
105
|
"error_message": error_message,
|
|
106
|
+
"error_traceback": error_traceback,
|
|
106
107
|
}
|
|
107
108
|
)
|
|
108
109
|
if email is not UNSET:
|
|
109
110
|
field_dict["email"] = email
|
|
110
111
|
if description is not UNSET:
|
|
111
112
|
field_dict["description"] = description
|
|
112
|
-
if error_traceback is not UNSET:
|
|
113
|
-
field_dict["error_traceback"] = error_traceback
|
|
114
113
|
|
|
115
114
|
return field_dict
|
|
116
115
|
|
|
@@ -133,7 +132,7 @@ class CourseAccount:
|
|
|
133
132
|
|
|
134
133
|
user_uuid = UUID(d.pop("user_uuid"))
|
|
135
134
|
|
|
136
|
-
|
|
135
|
+
username = d.pop("username")
|
|
137
136
|
|
|
138
137
|
customer_uuid = UUID(d.pop("customer_uuid"))
|
|
139
138
|
|
|
@@ -143,12 +142,12 @@ class CourseAccount:
|
|
|
143
142
|
|
|
144
143
|
error_message = d.pop("error_message")
|
|
145
144
|
|
|
145
|
+
error_traceback = d.pop("error_traceback")
|
|
146
|
+
|
|
146
147
|
email = d.pop("email", UNSET)
|
|
147
148
|
|
|
148
149
|
description = d.pop("description", UNSET)
|
|
149
150
|
|
|
150
|
-
error_traceback = d.pop("error_traceback", UNSET)
|
|
151
|
-
|
|
152
151
|
course_account = cls(
|
|
153
152
|
url=url,
|
|
154
153
|
uuid=uuid,
|
|
@@ -158,14 +157,14 @@ class CourseAccount:
|
|
|
158
157
|
project_uuid=project_uuid,
|
|
159
158
|
project_name=project_name,
|
|
160
159
|
user_uuid=user_uuid,
|
|
161
|
-
|
|
160
|
+
username=username,
|
|
162
161
|
customer_uuid=customer_uuid,
|
|
163
162
|
customer_name=customer_name,
|
|
164
163
|
state=state,
|
|
165
164
|
error_message=error_message,
|
|
165
|
+
error_traceback=error_traceback,
|
|
166
166
|
email=email,
|
|
167
167
|
description=description,
|
|
168
|
-
error_traceback=error_traceback,
|
|
169
168
|
)
|
|
170
169
|
|
|
171
170
|
course_account.additional_properties = d
|
|
@@ -17,13 +17,11 @@ class CourseAccountRequest:
|
|
|
17
17
|
project (UUID):
|
|
18
18
|
email (Union[Unset, str]):
|
|
19
19
|
description (Union[Unset, str]):
|
|
20
|
-
error_traceback (Union[Unset, str]):
|
|
21
20
|
"""
|
|
22
21
|
|
|
23
22
|
project: UUID
|
|
24
23
|
email: Union[Unset, str] = UNSET
|
|
25
24
|
description: Union[Unset, str] = UNSET
|
|
26
|
-
error_traceback: Union[Unset, str] = UNSET
|
|
27
25
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
28
26
|
|
|
29
27
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -33,8 +31,6 @@ class CourseAccountRequest:
|
|
|
33
31
|
|
|
34
32
|
description = self.description
|
|
35
33
|
|
|
36
|
-
error_traceback = self.error_traceback
|
|
37
|
-
|
|
38
34
|
field_dict: dict[str, Any] = {}
|
|
39
35
|
field_dict.update(self.additional_properties)
|
|
40
36
|
field_dict.update(
|
|
@@ -46,8 +42,6 @@ class CourseAccountRequest:
|
|
|
46
42
|
field_dict["email"] = email
|
|
47
43
|
if description is not UNSET:
|
|
48
44
|
field_dict["description"] = description
|
|
49
|
-
if error_traceback is not UNSET:
|
|
50
|
-
field_dict["error_traceback"] = error_traceback
|
|
51
45
|
|
|
52
46
|
return field_dict
|
|
53
47
|
|
|
@@ -60,13 +54,10 @@ class CourseAccountRequest:
|
|
|
60
54
|
|
|
61
55
|
description = d.pop("description", UNSET)
|
|
62
56
|
|
|
63
|
-
error_traceback = d.pop("error_traceback", UNSET)
|
|
64
|
-
|
|
65
57
|
course_account_request = cls(
|
|
66
58
|
project=project,
|
|
67
59
|
email=email,
|
|
68
60
|
description=description,
|
|
69
|
-
error_traceback=error_traceback,
|
|
70
61
|
)
|
|
71
62
|
|
|
72
63
|
course_account_request.additional_properties = d
|
|
@@ -20,6 +20,7 @@ class CustomerRequest:
|
|
|
20
20
|
name (str):
|
|
21
21
|
backend_id (Union[Unset, str]): Organization identifier in another application.
|
|
22
22
|
image (Union[File, None, Unset]):
|
|
23
|
+
slug (Union[Unset, str]):
|
|
23
24
|
native_name (Union[Unset, str]):
|
|
24
25
|
abbreviation (Union[Unset, str]):
|
|
25
26
|
description (Union[Unset, str]):
|
|
@@ -41,6 +42,7 @@ class CustomerRequest:
|
|
|
41
42
|
name: str
|
|
42
43
|
backend_id: Union[Unset, str] = UNSET
|
|
43
44
|
image: Union[File, None, Unset] = UNSET
|
|
45
|
+
slug: Union[Unset, str] = UNSET
|
|
44
46
|
native_name: Union[Unset, str] = UNSET
|
|
45
47
|
abbreviation: Union[Unset, str] = UNSET
|
|
46
48
|
description: Union[Unset, str] = UNSET
|
|
@@ -73,6 +75,8 @@ class CustomerRequest:
|
|
|
73
75
|
else:
|
|
74
76
|
image = self.image
|
|
75
77
|
|
|
78
|
+
slug = self.slug
|
|
79
|
+
|
|
76
80
|
native_name = self.native_name
|
|
77
81
|
|
|
78
82
|
abbreviation = self.abbreviation
|
|
@@ -130,6 +134,8 @@ class CustomerRequest:
|
|
|
130
134
|
field_dict["backend_id"] = backend_id
|
|
131
135
|
if image is not UNSET:
|
|
132
136
|
field_dict["image"] = image
|
|
137
|
+
if slug is not UNSET:
|
|
138
|
+
field_dict["slug"] = slug
|
|
133
139
|
if native_name is not UNSET:
|
|
134
140
|
field_dict["native_name"] = native_name
|
|
135
141
|
if abbreviation is not UNSET:
|
|
@@ -189,6 +195,8 @@ class CustomerRequest:
|
|
|
189
195
|
|
|
190
196
|
image = _parse_image(d.pop("image", UNSET))
|
|
191
197
|
|
|
198
|
+
slug = d.pop("slug", UNSET)
|
|
199
|
+
|
|
192
200
|
native_name = d.pop("native_name", UNSET)
|
|
193
201
|
|
|
194
202
|
abbreviation = d.pop("abbreviation", UNSET)
|
|
@@ -256,6 +264,7 @@ class CustomerRequest:
|
|
|
256
264
|
name=name,
|
|
257
265
|
backend_id=backend_id,
|
|
258
266
|
image=image,
|
|
267
|
+
slug=slug,
|
|
259
268
|
native_name=native_name,
|
|
260
269
|
abbreviation=abbreviation,
|
|
261
270
|
description=description,
|