hyperstack 1.45.2a0__py3-none-any.whl → 1.46.1a0__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.
- hyperstack/__init__.py +2 -1
- hyperstack/api/__init__.py +1 -0
- hyperstack/api/alive_api.py +10 -10
- hyperstack/api/api_key_api.py +7 -7
- hyperstack/api/auth_api.py +69 -69
- hyperstack/api/beta_access_api.py +50 -50
- hyperstack/api/billing_api.py +1659 -1659
- hyperstack/api/calculate_api.py +7 -7
- hyperstack/api/callbacks_api.py +21 -21
- hyperstack/api/cluster_events_api.py +7 -7
- hyperstack/api/clusters_api.py +445 -445
- hyperstack/api/compliance_api.py +21 -21
- hyperstack/api/credit_api.py +7 -7
- hyperstack/api/customer_contract_api.py +139 -139
- hyperstack/api/dashboard_api.py +7 -7
- hyperstack/api/deployment_api.py +7 -7
- hyperstack/api/environment_api.py +107 -107
- hyperstack/api/fip_exclusions_api.py +313 -0
- hyperstack/api/firewall_attachment_api.py +7 -7
- hyperstack/api/firewalls_api.py +145 -145
- hyperstack/api/floating_ip_api.py +14 -14
- hyperstack/api/image_api.py +14 -14
- hyperstack/api/payment_api.py +102 -102
- hyperstack/api/profile_api.py +56 -56
- hyperstack/api/snapshot_events_api.py +7 -7
- hyperstack/api/snapshots_api.py +167 -167
- hyperstack/api/stock_api.py +7 -7
- hyperstack/api/template_api.py +76 -76
- hyperstack/api/user_api.py +76 -76
- hyperstack/api/user_detail_choice_api.py +10 -10
- hyperstack/api/virtual_machine_api.py +799 -782
- hyperstack/api/virtual_machine_events_api.py +7 -7
- hyperstack/api/vnc_url_api.py +53 -53
- hyperstack/api/volume_api.py +77 -77
- hyperstack/api/volume_attachment_api.py +21 -21
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -1
- {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.1a0.dist-info}/METADATA +1 -1
- {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.1a0.dist-info}/RECORD +41 -40
- {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.1a0.dist-info}/WHEEL +0 -0
- {hyperstack-1.45.2a0.dist-info → hyperstack-1.46.1a0.dist-info}/top_level.txt +0 -0
hyperstack/api/user_api.py
CHANGED
|
@@ -39,8 +39,9 @@ class UserApi:
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
@validate_call
|
|
42
|
-
def
|
|
42
|
+
def add_user_billing_info(
|
|
43
43
|
self,
|
|
44
|
+
payload: UserInfoPostPayload,
|
|
44
45
|
_request_timeout: Union[
|
|
45
46
|
None,
|
|
46
47
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -53,11 +54,13 @@ class UserApi:
|
|
|
53
54
|
_content_type: Optional[StrictStr] = None,
|
|
54
55
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
55
56
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
56
|
-
) ->
|
|
57
|
-
"""
|
|
57
|
+
) -> AddUserInfoSuccessResponseModel:
|
|
58
|
+
"""POST: Insert billing info
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
Add billing details associated with your user in the request body.
|
|
60
61
|
|
|
62
|
+
:param payload: (required)
|
|
63
|
+
:type payload: UserInfoPostPayload
|
|
61
64
|
:param _request_timeout: timeout setting for this request. If one
|
|
62
65
|
number provided, it will be total request
|
|
63
66
|
timeout. It can also be a pair (tuple) of
|
|
@@ -80,7 +83,8 @@ class UserApi:
|
|
|
80
83
|
:return: Returns the result object.
|
|
81
84
|
""" # noqa: E501
|
|
82
85
|
|
|
83
|
-
_param = self.
|
|
86
|
+
_param = self._add_user_billing_info_serialize(
|
|
87
|
+
payload=payload,
|
|
84
88
|
_request_auth=_request_auth,
|
|
85
89
|
_content_type=_content_type,
|
|
86
90
|
_headers=_headers,
|
|
@@ -88,7 +92,7 @@ class UserApi:
|
|
|
88
92
|
)
|
|
89
93
|
|
|
90
94
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
91
|
-
'200': "
|
|
95
|
+
'200': "AddUserInfoSuccessResponseModel",
|
|
92
96
|
'400': "ErrorResponseModel",
|
|
93
97
|
'401': "ErrorResponseModel",
|
|
94
98
|
'403': "ErrorResponseModel",
|
|
@@ -107,8 +111,9 @@ class UserApi:
|
|
|
107
111
|
|
|
108
112
|
|
|
109
113
|
@validate_call
|
|
110
|
-
def
|
|
114
|
+
def add_user_billing_info_with_http_info(
|
|
111
115
|
self,
|
|
116
|
+
payload: UserInfoPostPayload,
|
|
112
117
|
_request_timeout: Union[
|
|
113
118
|
None,
|
|
114
119
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -121,11 +126,13 @@ class UserApi:
|
|
|
121
126
|
_content_type: Optional[StrictStr] = None,
|
|
122
127
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
123
128
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
124
|
-
) -> ApiResponse[
|
|
125
|
-
"""
|
|
129
|
+
) -> ApiResponse[AddUserInfoSuccessResponseModel]:
|
|
130
|
+
"""POST: Insert billing info
|
|
126
131
|
|
|
127
|
-
|
|
132
|
+
Add billing details associated with your user in the request body.
|
|
128
133
|
|
|
134
|
+
:param payload: (required)
|
|
135
|
+
:type payload: UserInfoPostPayload
|
|
129
136
|
:param _request_timeout: timeout setting for this request. If one
|
|
130
137
|
number provided, it will be total request
|
|
131
138
|
timeout. It can also be a pair (tuple) of
|
|
@@ -148,7 +155,8 @@ class UserApi:
|
|
|
148
155
|
:return: Returns the result object.
|
|
149
156
|
""" # noqa: E501
|
|
150
157
|
|
|
151
|
-
_param = self.
|
|
158
|
+
_param = self._add_user_billing_info_serialize(
|
|
159
|
+
payload=payload,
|
|
152
160
|
_request_auth=_request_auth,
|
|
153
161
|
_content_type=_content_type,
|
|
154
162
|
_headers=_headers,
|
|
@@ -156,7 +164,7 @@ class UserApi:
|
|
|
156
164
|
)
|
|
157
165
|
|
|
158
166
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
159
|
-
'200': "
|
|
167
|
+
'200': "AddUserInfoSuccessResponseModel",
|
|
160
168
|
'400': "ErrorResponseModel",
|
|
161
169
|
'401': "ErrorResponseModel",
|
|
162
170
|
'403': "ErrorResponseModel",
|
|
@@ -175,8 +183,9 @@ class UserApi:
|
|
|
175
183
|
|
|
176
184
|
|
|
177
185
|
@validate_call
|
|
178
|
-
def
|
|
186
|
+
def add_user_billing_info_without_preload_content(
|
|
179
187
|
self,
|
|
188
|
+
payload: UserInfoPostPayload,
|
|
180
189
|
_request_timeout: Union[
|
|
181
190
|
None,
|
|
182
191
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -190,10 +199,12 @@ class UserApi:
|
|
|
190
199
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
191
200
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
192
201
|
) -> RESTResponseType:
|
|
193
|
-
"""
|
|
202
|
+
"""POST: Insert billing info
|
|
194
203
|
|
|
195
|
-
|
|
204
|
+
Add billing details associated with your user in the request body.
|
|
196
205
|
|
|
206
|
+
:param payload: (required)
|
|
207
|
+
:type payload: UserInfoPostPayload
|
|
197
208
|
:param _request_timeout: timeout setting for this request. If one
|
|
198
209
|
number provided, it will be total request
|
|
199
210
|
timeout. It can also be a pair (tuple) of
|
|
@@ -216,7 +227,8 @@ class UserApi:
|
|
|
216
227
|
:return: Returns the result object.
|
|
217
228
|
""" # noqa: E501
|
|
218
229
|
|
|
219
|
-
_param = self.
|
|
230
|
+
_param = self._add_user_billing_info_serialize(
|
|
231
|
+
payload=payload,
|
|
220
232
|
_request_auth=_request_auth,
|
|
221
233
|
_content_type=_content_type,
|
|
222
234
|
_headers=_headers,
|
|
@@ -224,7 +236,7 @@ class UserApi:
|
|
|
224
236
|
)
|
|
225
237
|
|
|
226
238
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
227
|
-
'200': "
|
|
239
|
+
'200': "AddUserInfoSuccessResponseModel",
|
|
228
240
|
'400': "ErrorResponseModel",
|
|
229
241
|
'401': "ErrorResponseModel",
|
|
230
242
|
'403': "ErrorResponseModel",
|
|
@@ -238,8 +250,9 @@ class UserApi:
|
|
|
238
250
|
return response_data.response
|
|
239
251
|
|
|
240
252
|
|
|
241
|
-
def
|
|
253
|
+
def _add_user_billing_info_serialize(
|
|
242
254
|
self,
|
|
255
|
+
payload,
|
|
243
256
|
_request_auth,
|
|
244
257
|
_content_type,
|
|
245
258
|
_headers,
|
|
@@ -265,6 +278,8 @@ class UserApi:
|
|
|
265
278
|
# process the header parameters
|
|
266
279
|
# process the form parameters
|
|
267
280
|
# process the body parameter
|
|
281
|
+
if payload is not None:
|
|
282
|
+
_body_params = payload
|
|
268
283
|
|
|
269
284
|
|
|
270
285
|
# set the HTTP header `Accept`
|
|
@@ -275,6 +290,19 @@ class UserApi:
|
|
|
275
290
|
]
|
|
276
291
|
)
|
|
277
292
|
|
|
293
|
+
# set the HTTP header `Content-Type`
|
|
294
|
+
if _content_type:
|
|
295
|
+
_header_params['Content-Type'] = _content_type
|
|
296
|
+
else:
|
|
297
|
+
_default_content_type = (
|
|
298
|
+
self.api_client.select_header_content_type(
|
|
299
|
+
[
|
|
300
|
+
'application/json'
|
|
301
|
+
]
|
|
302
|
+
)
|
|
303
|
+
)
|
|
304
|
+
if _default_content_type is not None:
|
|
305
|
+
_header_params['Content-Type'] = _default_content_type
|
|
278
306
|
|
|
279
307
|
# authentication setting
|
|
280
308
|
_auth_settings: List[str] = [
|
|
@@ -282,7 +310,7 @@ class UserApi:
|
|
|
282
310
|
]
|
|
283
311
|
|
|
284
312
|
return self.api_client.param_serialize(
|
|
285
|
-
method='
|
|
313
|
+
method='POST',
|
|
286
314
|
resource_path='/billing/user/info',
|
|
287
315
|
path_params=_path_params,
|
|
288
316
|
query_params=_query_params,
|
|
@@ -300,9 +328,8 @@ class UserApi:
|
|
|
300
328
|
|
|
301
329
|
|
|
302
330
|
@validate_call
|
|
303
|
-
def
|
|
331
|
+
def get_user_billing_info(
|
|
304
332
|
self,
|
|
305
|
-
payload: UserInfoPostPayload,
|
|
306
333
|
_request_timeout: Union[
|
|
307
334
|
None,
|
|
308
335
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -315,13 +342,11 @@ class UserApi:
|
|
|
315
342
|
_content_type: Optional[StrictStr] = None,
|
|
316
343
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
317
344
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
318
|
-
) ->
|
|
319
|
-
"""
|
|
345
|
+
) -> UsersInfoListResponse:
|
|
346
|
+
"""GET: Retrieve billing info
|
|
320
347
|
|
|
321
|
-
|
|
348
|
+
Retrieve the billing details associated with your user.
|
|
322
349
|
|
|
323
|
-
:param payload: (required)
|
|
324
|
-
:type payload: UserInfoPostPayload
|
|
325
350
|
:param _request_timeout: timeout setting for this request. If one
|
|
326
351
|
number provided, it will be total request
|
|
327
352
|
timeout. It can also be a pair (tuple) of
|
|
@@ -344,8 +369,7 @@ class UserApi:
|
|
|
344
369
|
:return: Returns the result object.
|
|
345
370
|
""" # noqa: E501
|
|
346
371
|
|
|
347
|
-
_param = self.
|
|
348
|
-
payload=payload,
|
|
372
|
+
_param = self._get_user_billing_info_serialize(
|
|
349
373
|
_request_auth=_request_auth,
|
|
350
374
|
_content_type=_content_type,
|
|
351
375
|
_headers=_headers,
|
|
@@ -353,7 +377,7 @@ class UserApi:
|
|
|
353
377
|
)
|
|
354
378
|
|
|
355
379
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
356
|
-
'200': "
|
|
380
|
+
'200': "UsersInfoListResponse",
|
|
357
381
|
'400': "ErrorResponseModel",
|
|
358
382
|
'401': "ErrorResponseModel",
|
|
359
383
|
'403': "ErrorResponseModel",
|
|
@@ -372,9 +396,8 @@ class UserApi:
|
|
|
372
396
|
|
|
373
397
|
|
|
374
398
|
@validate_call
|
|
375
|
-
def
|
|
399
|
+
def get_user_billing_info_with_http_info(
|
|
376
400
|
self,
|
|
377
|
-
payload: UserInfoPostPayload,
|
|
378
401
|
_request_timeout: Union[
|
|
379
402
|
None,
|
|
380
403
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -387,13 +410,11 @@ class UserApi:
|
|
|
387
410
|
_content_type: Optional[StrictStr] = None,
|
|
388
411
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
389
412
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
390
|
-
) -> ApiResponse[
|
|
391
|
-
"""
|
|
413
|
+
) -> ApiResponse[UsersInfoListResponse]:
|
|
414
|
+
"""GET: Retrieve billing info
|
|
392
415
|
|
|
393
|
-
|
|
416
|
+
Retrieve the billing details associated with your user.
|
|
394
417
|
|
|
395
|
-
:param payload: (required)
|
|
396
|
-
:type payload: UserInfoPostPayload
|
|
397
418
|
:param _request_timeout: timeout setting for this request. If one
|
|
398
419
|
number provided, it will be total request
|
|
399
420
|
timeout. It can also be a pair (tuple) of
|
|
@@ -416,8 +437,7 @@ class UserApi:
|
|
|
416
437
|
:return: Returns the result object.
|
|
417
438
|
""" # noqa: E501
|
|
418
439
|
|
|
419
|
-
_param = self.
|
|
420
|
-
payload=payload,
|
|
440
|
+
_param = self._get_user_billing_info_serialize(
|
|
421
441
|
_request_auth=_request_auth,
|
|
422
442
|
_content_type=_content_type,
|
|
423
443
|
_headers=_headers,
|
|
@@ -425,7 +445,7 @@ class UserApi:
|
|
|
425
445
|
)
|
|
426
446
|
|
|
427
447
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
428
|
-
'200': "
|
|
448
|
+
'200': "UsersInfoListResponse",
|
|
429
449
|
'400': "ErrorResponseModel",
|
|
430
450
|
'401': "ErrorResponseModel",
|
|
431
451
|
'403': "ErrorResponseModel",
|
|
@@ -444,9 +464,8 @@ class UserApi:
|
|
|
444
464
|
|
|
445
465
|
|
|
446
466
|
@validate_call
|
|
447
|
-
def
|
|
467
|
+
def get_user_billing_info_without_preload_content(
|
|
448
468
|
self,
|
|
449
|
-
payload: UserInfoPostPayload,
|
|
450
469
|
_request_timeout: Union[
|
|
451
470
|
None,
|
|
452
471
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -460,12 +479,10 @@ class UserApi:
|
|
|
460
479
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
461
480
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
462
481
|
) -> RESTResponseType:
|
|
463
|
-
"""
|
|
482
|
+
"""GET: Retrieve billing info
|
|
464
483
|
|
|
465
|
-
|
|
484
|
+
Retrieve the billing details associated with your user.
|
|
466
485
|
|
|
467
|
-
:param payload: (required)
|
|
468
|
-
:type payload: UserInfoPostPayload
|
|
469
486
|
:param _request_timeout: timeout setting for this request. If one
|
|
470
487
|
number provided, it will be total request
|
|
471
488
|
timeout. It can also be a pair (tuple) of
|
|
@@ -488,8 +505,7 @@ class UserApi:
|
|
|
488
505
|
:return: Returns the result object.
|
|
489
506
|
""" # noqa: E501
|
|
490
507
|
|
|
491
|
-
_param = self.
|
|
492
|
-
payload=payload,
|
|
508
|
+
_param = self._get_user_billing_info_serialize(
|
|
493
509
|
_request_auth=_request_auth,
|
|
494
510
|
_content_type=_content_type,
|
|
495
511
|
_headers=_headers,
|
|
@@ -497,7 +513,7 @@ class UserApi:
|
|
|
497
513
|
)
|
|
498
514
|
|
|
499
515
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
500
|
-
'200': "
|
|
516
|
+
'200': "UsersInfoListResponse",
|
|
501
517
|
'400': "ErrorResponseModel",
|
|
502
518
|
'401': "ErrorResponseModel",
|
|
503
519
|
'403': "ErrorResponseModel",
|
|
@@ -511,9 +527,8 @@ class UserApi:
|
|
|
511
527
|
return response_data.response
|
|
512
528
|
|
|
513
529
|
|
|
514
|
-
def
|
|
530
|
+
def _get_user_billing_info_serialize(
|
|
515
531
|
self,
|
|
516
|
-
payload,
|
|
517
532
|
_request_auth,
|
|
518
533
|
_content_type,
|
|
519
534
|
_headers,
|
|
@@ -539,8 +554,6 @@ class UserApi:
|
|
|
539
554
|
# process the header parameters
|
|
540
555
|
# process the form parameters
|
|
541
556
|
# process the body parameter
|
|
542
|
-
if payload is not None:
|
|
543
|
-
_body_params = payload
|
|
544
557
|
|
|
545
558
|
|
|
546
559
|
# set the HTTP header `Accept`
|
|
@@ -551,19 +564,6 @@ class UserApi:
|
|
|
551
564
|
]
|
|
552
565
|
)
|
|
553
566
|
|
|
554
|
-
# set the HTTP header `Content-Type`
|
|
555
|
-
if _content_type:
|
|
556
|
-
_header_params['Content-Type'] = _content_type
|
|
557
|
-
else:
|
|
558
|
-
_default_content_type = (
|
|
559
|
-
self.api_client.select_header_content_type(
|
|
560
|
-
[
|
|
561
|
-
'application/json'
|
|
562
|
-
]
|
|
563
|
-
)
|
|
564
|
-
)
|
|
565
|
-
if _default_content_type is not None:
|
|
566
|
-
_header_params['Content-Type'] = _default_content_type
|
|
567
567
|
|
|
568
568
|
# authentication setting
|
|
569
569
|
_auth_settings: List[str] = [
|
|
@@ -571,7 +571,7 @@ class UserApi:
|
|
|
571
571
|
]
|
|
572
572
|
|
|
573
573
|
return self.api_client.param_serialize(
|
|
574
|
-
method='
|
|
574
|
+
method='GET',
|
|
575
575
|
resource_path='/billing/user/info',
|
|
576
576
|
path_params=_path_params,
|
|
577
577
|
query_params=_query_params,
|
|
@@ -589,7 +589,7 @@ class UserApi:
|
|
|
589
589
|
|
|
590
590
|
|
|
591
591
|
@validate_call
|
|
592
|
-
def
|
|
592
|
+
def update_user_billing_info(
|
|
593
593
|
self,
|
|
594
594
|
payload: UserInfoPostPayload,
|
|
595
595
|
_request_timeout: Union[
|
|
@@ -607,7 +607,7 @@ class UserApi:
|
|
|
607
607
|
) -> AddUserInfoSuccessResponseModel:
|
|
608
608
|
"""PUT: Update billing info
|
|
609
609
|
|
|
610
|
-
Update the billing information for your
|
|
610
|
+
Update the billing information for your user in the request body.
|
|
611
611
|
|
|
612
612
|
:param payload: (required)
|
|
613
613
|
:type payload: UserInfoPostPayload
|
|
@@ -633,7 +633,7 @@ class UserApi:
|
|
|
633
633
|
:return: Returns the result object.
|
|
634
634
|
""" # noqa: E501
|
|
635
635
|
|
|
636
|
-
_param = self.
|
|
636
|
+
_param = self._update_user_billing_info_serialize(
|
|
637
637
|
payload=payload,
|
|
638
638
|
_request_auth=_request_auth,
|
|
639
639
|
_content_type=_content_type,
|
|
@@ -661,7 +661,7 @@ class UserApi:
|
|
|
661
661
|
|
|
662
662
|
|
|
663
663
|
@validate_call
|
|
664
|
-
def
|
|
664
|
+
def update_user_billing_info_with_http_info(
|
|
665
665
|
self,
|
|
666
666
|
payload: UserInfoPostPayload,
|
|
667
667
|
_request_timeout: Union[
|
|
@@ -679,7 +679,7 @@ class UserApi:
|
|
|
679
679
|
) -> ApiResponse[AddUserInfoSuccessResponseModel]:
|
|
680
680
|
"""PUT: Update billing info
|
|
681
681
|
|
|
682
|
-
Update the billing information for your
|
|
682
|
+
Update the billing information for your user in the request body.
|
|
683
683
|
|
|
684
684
|
:param payload: (required)
|
|
685
685
|
:type payload: UserInfoPostPayload
|
|
@@ -705,7 +705,7 @@ class UserApi:
|
|
|
705
705
|
:return: Returns the result object.
|
|
706
706
|
""" # noqa: E501
|
|
707
707
|
|
|
708
|
-
_param = self.
|
|
708
|
+
_param = self._update_user_billing_info_serialize(
|
|
709
709
|
payload=payload,
|
|
710
710
|
_request_auth=_request_auth,
|
|
711
711
|
_content_type=_content_type,
|
|
@@ -733,7 +733,7 @@ class UserApi:
|
|
|
733
733
|
|
|
734
734
|
|
|
735
735
|
@validate_call
|
|
736
|
-
def
|
|
736
|
+
def update_user_billing_info_without_preload_content(
|
|
737
737
|
self,
|
|
738
738
|
payload: UserInfoPostPayload,
|
|
739
739
|
_request_timeout: Union[
|
|
@@ -751,7 +751,7 @@ class UserApi:
|
|
|
751
751
|
) -> RESTResponseType:
|
|
752
752
|
"""PUT: Update billing info
|
|
753
753
|
|
|
754
|
-
Update the billing information for your
|
|
754
|
+
Update the billing information for your user in the request body.
|
|
755
755
|
|
|
756
756
|
:param payload: (required)
|
|
757
757
|
:type payload: UserInfoPostPayload
|
|
@@ -777,7 +777,7 @@ class UserApi:
|
|
|
777
777
|
:return: Returns the result object.
|
|
778
778
|
""" # noqa: E501
|
|
779
779
|
|
|
780
|
-
_param = self.
|
|
780
|
+
_param = self._update_user_billing_info_serialize(
|
|
781
781
|
payload=payload,
|
|
782
782
|
_request_auth=_request_auth,
|
|
783
783
|
_content_type=_content_type,
|
|
@@ -800,7 +800,7 @@ class UserApi:
|
|
|
800
800
|
return response_data.response
|
|
801
801
|
|
|
802
802
|
|
|
803
|
-
def
|
|
803
|
+
def _update_user_billing_info_serialize(
|
|
804
804
|
self,
|
|
805
805
|
payload,
|
|
806
806
|
_request_auth,
|
|
@@ -37,7 +37,7 @@ class UserDetailChoiceApi:
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
@validate_call
|
|
40
|
-
def
|
|
40
|
+
def list_default_flavors_and_images(
|
|
41
41
|
self,
|
|
42
42
|
_request_timeout: Union[
|
|
43
43
|
None,
|
|
@@ -54,7 +54,7 @@ class UserDetailChoiceApi:
|
|
|
54
54
|
) -> UserDefaultChoicesForUserResponse:
|
|
55
55
|
"""Retrieve Default Flavors and Images
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
Retrieves the default options for virtual machine deployment, including the default region, flavor, and image.
|
|
58
58
|
|
|
59
59
|
:param _request_timeout: timeout setting for this request. If one
|
|
60
60
|
number provided, it will be total request
|
|
@@ -78,7 +78,7 @@ class UserDetailChoiceApi:
|
|
|
78
78
|
:return: Returns the result object.
|
|
79
79
|
""" # noqa: E501
|
|
80
80
|
|
|
81
|
-
_param = self.
|
|
81
|
+
_param = self._list_default_flavors_and_images_serialize(
|
|
82
82
|
_request_auth=_request_auth,
|
|
83
83
|
_content_type=_content_type,
|
|
84
84
|
_headers=_headers,
|
|
@@ -104,7 +104,7 @@ class UserDetailChoiceApi:
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
@validate_call
|
|
107
|
-
def
|
|
107
|
+
def list_default_flavors_and_images_with_http_info(
|
|
108
108
|
self,
|
|
109
109
|
_request_timeout: Union[
|
|
110
110
|
None,
|
|
@@ -121,7 +121,7 @@ class UserDetailChoiceApi:
|
|
|
121
121
|
) -> ApiResponse[UserDefaultChoicesForUserResponse]:
|
|
122
122
|
"""Retrieve Default Flavors and Images
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
Retrieves the default options for virtual machine deployment, including the default region, flavor, and image.
|
|
125
125
|
|
|
126
126
|
:param _request_timeout: timeout setting for this request. If one
|
|
127
127
|
number provided, it will be total request
|
|
@@ -145,7 +145,7 @@ class UserDetailChoiceApi:
|
|
|
145
145
|
:return: Returns the result object.
|
|
146
146
|
""" # noqa: E501
|
|
147
147
|
|
|
148
|
-
_param = self.
|
|
148
|
+
_param = self._list_default_flavors_and_images_serialize(
|
|
149
149
|
_request_auth=_request_auth,
|
|
150
150
|
_content_type=_content_type,
|
|
151
151
|
_headers=_headers,
|
|
@@ -171,7 +171,7 @@ class UserDetailChoiceApi:
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
@validate_call
|
|
174
|
-
def
|
|
174
|
+
def list_default_flavors_and_images_without_preload_content(
|
|
175
175
|
self,
|
|
176
176
|
_request_timeout: Union[
|
|
177
177
|
None,
|
|
@@ -188,7 +188,7 @@ class UserDetailChoiceApi:
|
|
|
188
188
|
) -> RESTResponseType:
|
|
189
189
|
"""Retrieve Default Flavors and Images
|
|
190
190
|
|
|
191
|
-
|
|
191
|
+
Retrieves the default options for virtual machine deployment, including the default region, flavor, and image.
|
|
192
192
|
|
|
193
193
|
:param _request_timeout: timeout setting for this request. If one
|
|
194
194
|
number provided, it will be total request
|
|
@@ -212,7 +212,7 @@ class UserDetailChoiceApi:
|
|
|
212
212
|
:return: Returns the result object.
|
|
213
213
|
""" # noqa: E501
|
|
214
214
|
|
|
215
|
-
_param = self.
|
|
215
|
+
_param = self._list_default_flavors_and_images_serialize(
|
|
216
216
|
_request_auth=_request_auth,
|
|
217
217
|
_content_type=_content_type,
|
|
218
218
|
_headers=_headers,
|
|
@@ -233,7 +233,7 @@ class UserDetailChoiceApi:
|
|
|
233
233
|
return response_data.response
|
|
234
234
|
|
|
235
235
|
|
|
236
|
-
def
|
|
236
|
+
def _list_default_flavors_and_images_serialize(
|
|
237
237
|
self,
|
|
238
238
|
_request_auth,
|
|
239
239
|
_content_type,
|