volcengine-python-sdk 4.0.25__py2.py3-none-any.whl → 4.0.26__py2.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 volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/RECORD +76 -11
- volcenginesdkbilling/__init__.py +65 -0
- volcenginesdkbilling/api/billing_api.py +1662 -13
- volcenginesdkbilling/models/__init__.py +65 -0
- volcenginesdkbilling/models/billing_mode_info_list_for_list_budget_filter_billing_mode_output.py +149 -0
- volcenginesdkbilling/models/budget_alert_message_detail_list_for_query_budget_detail_output.py +279 -0
- volcenginesdkbilling/models/budget_alert_message_for_create_budget_input.py +201 -0
- volcenginesdkbilling/models/budget_alert_message_for_update_budget_input.py +201 -0
- volcenginesdkbilling/models/budget_alert_rule_for_create_budget_input.py +215 -0
- volcenginesdkbilling/models/budget_alert_rule_for_update_budget_input.py +215 -0
- volcenginesdkbilling/models/budget_alert_rule_list_for_query_budget_detail_output.py +201 -0
- volcenginesdkbilling/models/budget_amount_for_create_budget_input.py +175 -0
- volcenginesdkbilling/models/budget_amount_for_update_budget_input.py +175 -0
- volcenginesdkbilling/models/budget_amount_list_for_list_budget_amount_by_budget_id_output.py +253 -0
- volcenginesdkbilling/models/budget_for_create_budget_input.py +274 -0
- volcenginesdkbilling/models/budget_for_query_budget_detail_output.py +253 -0
- volcenginesdkbilling/models/budget_for_update_budget_input.py +274 -0
- volcenginesdkbilling/models/budget_list_for_list_budget_output.py +357 -0
- volcenginesdkbilling/models/budget_range_billing_mode_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_for_create_budget_input.py +331 -0
- volcenginesdkbilling/models/budget_range_for_update_budget_input.py +331 -0
- volcenginesdkbilling/models/budget_range_info_for_query_budget_detail_output.py +331 -0
- volcenginesdkbilling/models/budget_range_owner_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_payer_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_product_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_region_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_subject_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/budget_range_zone_for_query_budget_detail_output.py +149 -0
- volcenginesdkbilling/models/create_budget_request.py +227 -0
- volcenginesdkbilling/models/create_budget_response.py +123 -0
- volcenginesdkbilling/models/delete_budget_request.py +124 -0
- volcenginesdkbilling/models/delete_budget_response.py +95 -0
- volcenginesdkbilling/models/list_budget_amount_by_budget_id_request.py +124 -0
- volcenginesdkbilling/models/list_budget_amount_by_budget_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_billing_mode_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_billing_mode_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_owner_id_request.py +95 -0
- volcenginesdkbilling/models/list_budget_filter_owner_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_payer_id_request.py +95 -0
- volcenginesdkbilling/models/list_budget_filter_payer_id_response.py +123 -0
- volcenginesdkbilling/models/list_budget_filter_product_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_product_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_project_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_project_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_region_code_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_region_code_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_subject_info_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_subject_info_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_tag_key_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_tag_key_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_tag_value_request.py +178 -0
- volcenginesdkbilling/models/list_budget_filter_tag_value_response.py +201 -0
- volcenginesdkbilling/models/list_budget_filter_zone_code_request.py +151 -0
- volcenginesdkbilling/models/list_budget_filter_zone_code_response.py +201 -0
- volcenginesdkbilling/models/list_budget_request.py +302 -0
- volcenginesdkbilling/models/list_budget_response.py +201 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_owner_id_output.py +149 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_payer_id_output.py +149 -0
- volcenginesdkbilling/models/list_for_list_budget_filter_product_output.py +149 -0
- volcenginesdkbilling/models/list_recipient_information_request.py +151 -0
- volcenginesdkbilling/models/list_recipient_information_response.py +201 -0
- volcenginesdkbilling/models/query_budget_detail_request.py +124 -0
- volcenginesdkbilling/models/query_budget_detail_response.py +201 -0
- volcenginesdkbilling/models/recipient_information_list_for_list_recipient_information_output.py +201 -0
- volcenginesdkbilling/models/region_info_list_for_list_budget_filter_region_code_output.py +149 -0
- volcenginesdkbilling/models/subject_info_list_for_list_budget_filter_subject_info_output.py +149 -0
- volcenginesdkbilling/models/update_budget_request.py +254 -0
- volcenginesdkbilling/models/update_budget_response.py +95 -0
- volcenginesdkbilling/models/zone_info_list_for_list_budget_filter_zone_code_output.py +149 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.25.dist-info → volcengine_python_sdk-4.0.26.dist-info}/top_level.txt +0 -0
|
@@ -324,6 +324,103 @@ class BILLINGApi(object):
|
|
|
324
324
|
_request_timeout=params.get('_request_timeout'),
|
|
325
325
|
collection_formats=collection_formats)
|
|
326
326
|
|
|
327
|
+
def create_budget(self, body, **kwargs): # noqa: E501
|
|
328
|
+
"""create_budget # noqa: E501
|
|
329
|
+
|
|
330
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
331
|
+
asynchronous HTTP request, please pass async_req=True
|
|
332
|
+
>>> thread = api.create_budget(body, async_req=True)
|
|
333
|
+
>>> result = thread.get()
|
|
334
|
+
|
|
335
|
+
:param async_req bool
|
|
336
|
+
:param CreateBudgetRequest body: (required)
|
|
337
|
+
:return: CreateBudgetResponse
|
|
338
|
+
If the method is called asynchronously,
|
|
339
|
+
returns the request thread.
|
|
340
|
+
"""
|
|
341
|
+
kwargs['_return_http_data_only'] = True
|
|
342
|
+
if kwargs.get('async_req'):
|
|
343
|
+
return self.create_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
344
|
+
else:
|
|
345
|
+
(data) = self.create_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
346
|
+
return data
|
|
347
|
+
|
|
348
|
+
def create_budget_with_http_info(self, body, **kwargs): # noqa: E501
|
|
349
|
+
"""create_budget # noqa: E501
|
|
350
|
+
|
|
351
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
352
|
+
asynchronous HTTP request, please pass async_req=True
|
|
353
|
+
>>> thread = api.create_budget_with_http_info(body, async_req=True)
|
|
354
|
+
>>> result = thread.get()
|
|
355
|
+
|
|
356
|
+
:param async_req bool
|
|
357
|
+
:param CreateBudgetRequest body: (required)
|
|
358
|
+
:return: CreateBudgetResponse
|
|
359
|
+
If the method is called asynchronously,
|
|
360
|
+
returns the request thread.
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
all_params = ['body'] # noqa: E501
|
|
364
|
+
all_params.append('async_req')
|
|
365
|
+
all_params.append('_return_http_data_only')
|
|
366
|
+
all_params.append('_preload_content')
|
|
367
|
+
all_params.append('_request_timeout')
|
|
368
|
+
|
|
369
|
+
params = locals()
|
|
370
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
371
|
+
if key not in all_params:
|
|
372
|
+
raise TypeError(
|
|
373
|
+
"Got an unexpected keyword argument '%s'"
|
|
374
|
+
" to method create_budget" % key
|
|
375
|
+
)
|
|
376
|
+
params[key] = val
|
|
377
|
+
del params['kwargs']
|
|
378
|
+
# verify the required parameter 'body' is set
|
|
379
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
380
|
+
params['body'] is None): # noqa: E501
|
|
381
|
+
raise ValueError("Missing the required parameter `body` when calling `create_budget`") # noqa: E501
|
|
382
|
+
|
|
383
|
+
collection_formats = {}
|
|
384
|
+
|
|
385
|
+
path_params = {}
|
|
386
|
+
|
|
387
|
+
query_params = []
|
|
388
|
+
|
|
389
|
+
header_params = {}
|
|
390
|
+
|
|
391
|
+
form_params = []
|
|
392
|
+
local_var_files = {}
|
|
393
|
+
|
|
394
|
+
body_params = None
|
|
395
|
+
if 'body' in params:
|
|
396
|
+
body_params = params['body']
|
|
397
|
+
# HTTP header `Accept`
|
|
398
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
399
|
+
['application/json']) # noqa: E501
|
|
400
|
+
|
|
401
|
+
# HTTP header `Content-Type`
|
|
402
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
403
|
+
['application/json']) # noqa: E501
|
|
404
|
+
|
|
405
|
+
# Authentication setting
|
|
406
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
407
|
+
|
|
408
|
+
return self.api_client.call_api(
|
|
409
|
+
'/CreateBudget/2022-01-01/billing/post/application_json/', 'POST',
|
|
410
|
+
path_params,
|
|
411
|
+
query_params,
|
|
412
|
+
header_params,
|
|
413
|
+
body=body_params,
|
|
414
|
+
post_params=form_params,
|
|
415
|
+
files=local_var_files,
|
|
416
|
+
response_type='CreateBudgetResponse', # noqa: E501
|
|
417
|
+
auth_settings=auth_settings,
|
|
418
|
+
async_req=params.get('async_req'),
|
|
419
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
420
|
+
_preload_content=params.get('_preload_content', True),
|
|
421
|
+
_request_timeout=params.get('_request_timeout'),
|
|
422
|
+
collection_formats=collection_formats)
|
|
423
|
+
|
|
327
424
|
def create_financial_relation(self, body, **kwargs): # noqa: E501
|
|
328
425
|
"""create_financial_relation # noqa: E501
|
|
329
426
|
|
|
@@ -421,6 +518,103 @@ class BILLINGApi(object):
|
|
|
421
518
|
_request_timeout=params.get('_request_timeout'),
|
|
422
519
|
collection_formats=collection_formats)
|
|
423
520
|
|
|
521
|
+
def delete_budget(self, body, **kwargs): # noqa: E501
|
|
522
|
+
"""delete_budget # noqa: E501
|
|
523
|
+
|
|
524
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
525
|
+
asynchronous HTTP request, please pass async_req=True
|
|
526
|
+
>>> thread = api.delete_budget(body, async_req=True)
|
|
527
|
+
>>> result = thread.get()
|
|
528
|
+
|
|
529
|
+
:param async_req bool
|
|
530
|
+
:param DeleteBudgetRequest body: (required)
|
|
531
|
+
:return: DeleteBudgetResponse
|
|
532
|
+
If the method is called asynchronously,
|
|
533
|
+
returns the request thread.
|
|
534
|
+
"""
|
|
535
|
+
kwargs['_return_http_data_only'] = True
|
|
536
|
+
if kwargs.get('async_req'):
|
|
537
|
+
return self.delete_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
538
|
+
else:
|
|
539
|
+
(data) = self.delete_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
540
|
+
return data
|
|
541
|
+
|
|
542
|
+
def delete_budget_with_http_info(self, body, **kwargs): # noqa: E501
|
|
543
|
+
"""delete_budget # noqa: E501
|
|
544
|
+
|
|
545
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
546
|
+
asynchronous HTTP request, please pass async_req=True
|
|
547
|
+
>>> thread = api.delete_budget_with_http_info(body, async_req=True)
|
|
548
|
+
>>> result = thread.get()
|
|
549
|
+
|
|
550
|
+
:param async_req bool
|
|
551
|
+
:param DeleteBudgetRequest body: (required)
|
|
552
|
+
:return: DeleteBudgetResponse
|
|
553
|
+
If the method is called asynchronously,
|
|
554
|
+
returns the request thread.
|
|
555
|
+
"""
|
|
556
|
+
|
|
557
|
+
all_params = ['body'] # noqa: E501
|
|
558
|
+
all_params.append('async_req')
|
|
559
|
+
all_params.append('_return_http_data_only')
|
|
560
|
+
all_params.append('_preload_content')
|
|
561
|
+
all_params.append('_request_timeout')
|
|
562
|
+
|
|
563
|
+
params = locals()
|
|
564
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
565
|
+
if key not in all_params:
|
|
566
|
+
raise TypeError(
|
|
567
|
+
"Got an unexpected keyword argument '%s'"
|
|
568
|
+
" to method delete_budget" % key
|
|
569
|
+
)
|
|
570
|
+
params[key] = val
|
|
571
|
+
del params['kwargs']
|
|
572
|
+
# verify the required parameter 'body' is set
|
|
573
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
574
|
+
params['body'] is None): # noqa: E501
|
|
575
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_budget`") # noqa: E501
|
|
576
|
+
|
|
577
|
+
collection_formats = {}
|
|
578
|
+
|
|
579
|
+
path_params = {}
|
|
580
|
+
|
|
581
|
+
query_params = []
|
|
582
|
+
|
|
583
|
+
header_params = {}
|
|
584
|
+
|
|
585
|
+
form_params = []
|
|
586
|
+
local_var_files = {}
|
|
587
|
+
|
|
588
|
+
body_params = None
|
|
589
|
+
if 'body' in params:
|
|
590
|
+
body_params = params['body']
|
|
591
|
+
# HTTP header `Accept`
|
|
592
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
593
|
+
['application/json']) # noqa: E501
|
|
594
|
+
|
|
595
|
+
# HTTP header `Content-Type`
|
|
596
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
597
|
+
['application/json']) # noqa: E501
|
|
598
|
+
|
|
599
|
+
# Authentication setting
|
|
600
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
601
|
+
|
|
602
|
+
return self.api_client.call_api(
|
|
603
|
+
'/DeleteBudget/2022-01-01/billing/post/application_json/', 'POST',
|
|
604
|
+
path_params,
|
|
605
|
+
query_params,
|
|
606
|
+
header_params,
|
|
607
|
+
body=body_params,
|
|
608
|
+
post_params=form_params,
|
|
609
|
+
files=local_var_files,
|
|
610
|
+
response_type='DeleteBudgetResponse', # noqa: E501
|
|
611
|
+
auth_settings=auth_settings,
|
|
612
|
+
async_req=params.get('async_req'),
|
|
613
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
614
|
+
_preload_content=params.get('_preload_content', True),
|
|
615
|
+
_request_timeout=params.get('_request_timeout'),
|
|
616
|
+
collection_formats=collection_formats)
|
|
617
|
+
|
|
424
618
|
def delete_financial_relation(self, body, **kwargs): # noqa: E501
|
|
425
619
|
"""delete_financial_relation # noqa: E501
|
|
426
620
|
|
|
@@ -1400,29 +1594,1193 @@ class BILLINGApi(object):
|
|
|
1400
1594
|
>>> result = thread.get()
|
|
1401
1595
|
|
|
1402
1596
|
:param async_req bool
|
|
1403
|
-
:param ListBillOverviewByProdRequest body: (required)
|
|
1404
|
-
:return: ListBillOverviewByProdResponse
|
|
1597
|
+
:param ListBillOverviewByProdRequest body: (required)
|
|
1598
|
+
:return: ListBillOverviewByProdResponse
|
|
1599
|
+
If the method is called asynchronously,
|
|
1600
|
+
returns the request thread.
|
|
1601
|
+
"""
|
|
1602
|
+
kwargs['_return_http_data_only'] = True
|
|
1603
|
+
if kwargs.get('async_req'):
|
|
1604
|
+
return self.list_bill_overview_by_prod_with_http_info(body, **kwargs) # noqa: E501
|
|
1605
|
+
else:
|
|
1606
|
+
(data) = self.list_bill_overview_by_prod_with_http_info(body, **kwargs) # noqa: E501
|
|
1607
|
+
return data
|
|
1608
|
+
|
|
1609
|
+
def list_bill_overview_by_prod_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1610
|
+
"""list_bill_overview_by_prod # noqa: E501
|
|
1611
|
+
|
|
1612
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1613
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1614
|
+
>>> thread = api.list_bill_overview_by_prod_with_http_info(body, async_req=True)
|
|
1615
|
+
>>> result = thread.get()
|
|
1616
|
+
|
|
1617
|
+
:param async_req bool
|
|
1618
|
+
:param ListBillOverviewByProdRequest body: (required)
|
|
1619
|
+
:return: ListBillOverviewByProdResponse
|
|
1620
|
+
If the method is called asynchronously,
|
|
1621
|
+
returns the request thread.
|
|
1622
|
+
"""
|
|
1623
|
+
|
|
1624
|
+
all_params = ['body'] # noqa: E501
|
|
1625
|
+
all_params.append('async_req')
|
|
1626
|
+
all_params.append('_return_http_data_only')
|
|
1627
|
+
all_params.append('_preload_content')
|
|
1628
|
+
all_params.append('_request_timeout')
|
|
1629
|
+
|
|
1630
|
+
params = locals()
|
|
1631
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1632
|
+
if key not in all_params:
|
|
1633
|
+
raise TypeError(
|
|
1634
|
+
"Got an unexpected keyword argument '%s'"
|
|
1635
|
+
" to method list_bill_overview_by_prod" % key
|
|
1636
|
+
)
|
|
1637
|
+
params[key] = val
|
|
1638
|
+
del params['kwargs']
|
|
1639
|
+
# verify the required parameter 'body' is set
|
|
1640
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1641
|
+
params['body'] is None): # noqa: E501
|
|
1642
|
+
raise ValueError("Missing the required parameter `body` when calling `list_bill_overview_by_prod`") # noqa: E501
|
|
1643
|
+
|
|
1644
|
+
collection_formats = {}
|
|
1645
|
+
|
|
1646
|
+
path_params = {}
|
|
1647
|
+
|
|
1648
|
+
query_params = []
|
|
1649
|
+
|
|
1650
|
+
header_params = {}
|
|
1651
|
+
|
|
1652
|
+
form_params = []
|
|
1653
|
+
local_var_files = {}
|
|
1654
|
+
|
|
1655
|
+
body_params = None
|
|
1656
|
+
if 'body' in params:
|
|
1657
|
+
body_params = params['body']
|
|
1658
|
+
# HTTP header `Accept`
|
|
1659
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1660
|
+
['application/json']) # noqa: E501
|
|
1661
|
+
|
|
1662
|
+
# HTTP header `Content-Type`
|
|
1663
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1664
|
+
['application/json']) # noqa: E501
|
|
1665
|
+
|
|
1666
|
+
# Authentication setting
|
|
1667
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1668
|
+
|
|
1669
|
+
return self.api_client.call_api(
|
|
1670
|
+
'/ListBillOverviewByProd/2022-01-01/billing/post/application_json/', 'POST',
|
|
1671
|
+
path_params,
|
|
1672
|
+
query_params,
|
|
1673
|
+
header_params,
|
|
1674
|
+
body=body_params,
|
|
1675
|
+
post_params=form_params,
|
|
1676
|
+
files=local_var_files,
|
|
1677
|
+
response_type='ListBillOverviewByProdResponse', # noqa: E501
|
|
1678
|
+
auth_settings=auth_settings,
|
|
1679
|
+
async_req=params.get('async_req'),
|
|
1680
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1681
|
+
_preload_content=params.get('_preload_content', True),
|
|
1682
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1683
|
+
collection_formats=collection_formats)
|
|
1684
|
+
|
|
1685
|
+
def list_budget(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""list_budget # noqa: E501
|
|
1687
|
+
|
|
1688
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1689
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
+
>>> thread = api.list_budget(body, async_req=True)
|
|
1691
|
+
>>> result = thread.get()
|
|
1692
|
+
|
|
1693
|
+
:param async_req bool
|
|
1694
|
+
:param ListBudgetRequest body: (required)
|
|
1695
|
+
:return: ListBudgetResponse
|
|
1696
|
+
If the method is called asynchronously,
|
|
1697
|
+
returns the request thread.
|
|
1698
|
+
"""
|
|
1699
|
+
kwargs['_return_http_data_only'] = True
|
|
1700
|
+
if kwargs.get('async_req'):
|
|
1701
|
+
return self.list_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
|
+
else:
|
|
1703
|
+
(data) = self.list_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
|
+
return data
|
|
1705
|
+
|
|
1706
|
+
def list_budget_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1707
|
+
"""list_budget # noqa: E501
|
|
1708
|
+
|
|
1709
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1710
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
+
>>> thread = api.list_budget_with_http_info(body, async_req=True)
|
|
1712
|
+
>>> result = thread.get()
|
|
1713
|
+
|
|
1714
|
+
:param async_req bool
|
|
1715
|
+
:param ListBudgetRequest body: (required)
|
|
1716
|
+
:return: ListBudgetResponse
|
|
1717
|
+
If the method is called asynchronously,
|
|
1718
|
+
returns the request thread.
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
all_params = ['body'] # noqa: E501
|
|
1722
|
+
all_params.append('async_req')
|
|
1723
|
+
all_params.append('_return_http_data_only')
|
|
1724
|
+
all_params.append('_preload_content')
|
|
1725
|
+
all_params.append('_request_timeout')
|
|
1726
|
+
|
|
1727
|
+
params = locals()
|
|
1728
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1729
|
+
if key not in all_params:
|
|
1730
|
+
raise TypeError(
|
|
1731
|
+
"Got an unexpected keyword argument '%s'"
|
|
1732
|
+
" to method list_budget" % key
|
|
1733
|
+
)
|
|
1734
|
+
params[key] = val
|
|
1735
|
+
del params['kwargs']
|
|
1736
|
+
# verify the required parameter 'body' is set
|
|
1737
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
|
+
params['body'] is None): # noqa: E501
|
|
1739
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget`") # noqa: E501
|
|
1740
|
+
|
|
1741
|
+
collection_formats = {}
|
|
1742
|
+
|
|
1743
|
+
path_params = {}
|
|
1744
|
+
|
|
1745
|
+
query_params = []
|
|
1746
|
+
|
|
1747
|
+
header_params = {}
|
|
1748
|
+
|
|
1749
|
+
form_params = []
|
|
1750
|
+
local_var_files = {}
|
|
1751
|
+
|
|
1752
|
+
body_params = None
|
|
1753
|
+
if 'body' in params:
|
|
1754
|
+
body_params = params['body']
|
|
1755
|
+
# HTTP header `Accept`
|
|
1756
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1757
|
+
['application/json']) # noqa: E501
|
|
1758
|
+
|
|
1759
|
+
# HTTP header `Content-Type`
|
|
1760
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1761
|
+
['application/json']) # noqa: E501
|
|
1762
|
+
|
|
1763
|
+
# Authentication setting
|
|
1764
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
|
+
|
|
1766
|
+
return self.api_client.call_api(
|
|
1767
|
+
'/ListBudget/2022-01-01/billing/post/application_json/', 'POST',
|
|
1768
|
+
path_params,
|
|
1769
|
+
query_params,
|
|
1770
|
+
header_params,
|
|
1771
|
+
body=body_params,
|
|
1772
|
+
post_params=form_params,
|
|
1773
|
+
files=local_var_files,
|
|
1774
|
+
response_type='ListBudgetResponse', # noqa: E501
|
|
1775
|
+
auth_settings=auth_settings,
|
|
1776
|
+
async_req=params.get('async_req'),
|
|
1777
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1778
|
+
_preload_content=params.get('_preload_content', True),
|
|
1779
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1780
|
+
collection_formats=collection_formats)
|
|
1781
|
+
|
|
1782
|
+
def list_budget_amount_by_budget_id(self, body, **kwargs): # noqa: E501
|
|
1783
|
+
"""list_budget_amount_by_budget_id # noqa: E501
|
|
1784
|
+
|
|
1785
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1786
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1787
|
+
>>> thread = api.list_budget_amount_by_budget_id(body, async_req=True)
|
|
1788
|
+
>>> result = thread.get()
|
|
1789
|
+
|
|
1790
|
+
:param async_req bool
|
|
1791
|
+
:param ListBudgetAmountByBudgetIDRequest body: (required)
|
|
1792
|
+
:return: ListBudgetAmountByBudgetIDResponse
|
|
1793
|
+
If the method is called asynchronously,
|
|
1794
|
+
returns the request thread.
|
|
1795
|
+
"""
|
|
1796
|
+
kwargs['_return_http_data_only'] = True
|
|
1797
|
+
if kwargs.get('async_req'):
|
|
1798
|
+
return self.list_budget_amount_by_budget_id_with_http_info(body, **kwargs) # noqa: E501
|
|
1799
|
+
else:
|
|
1800
|
+
(data) = self.list_budget_amount_by_budget_id_with_http_info(body, **kwargs) # noqa: E501
|
|
1801
|
+
return data
|
|
1802
|
+
|
|
1803
|
+
def list_budget_amount_by_budget_id_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1804
|
+
"""list_budget_amount_by_budget_id # noqa: E501
|
|
1805
|
+
|
|
1806
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1807
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1808
|
+
>>> thread = api.list_budget_amount_by_budget_id_with_http_info(body, async_req=True)
|
|
1809
|
+
>>> result = thread.get()
|
|
1810
|
+
|
|
1811
|
+
:param async_req bool
|
|
1812
|
+
:param ListBudgetAmountByBudgetIDRequest body: (required)
|
|
1813
|
+
:return: ListBudgetAmountByBudgetIDResponse
|
|
1814
|
+
If the method is called asynchronously,
|
|
1815
|
+
returns the request thread.
|
|
1816
|
+
"""
|
|
1817
|
+
|
|
1818
|
+
all_params = ['body'] # noqa: E501
|
|
1819
|
+
all_params.append('async_req')
|
|
1820
|
+
all_params.append('_return_http_data_only')
|
|
1821
|
+
all_params.append('_preload_content')
|
|
1822
|
+
all_params.append('_request_timeout')
|
|
1823
|
+
|
|
1824
|
+
params = locals()
|
|
1825
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1826
|
+
if key not in all_params:
|
|
1827
|
+
raise TypeError(
|
|
1828
|
+
"Got an unexpected keyword argument '%s'"
|
|
1829
|
+
" to method list_budget_amount_by_budget_id" % key
|
|
1830
|
+
)
|
|
1831
|
+
params[key] = val
|
|
1832
|
+
del params['kwargs']
|
|
1833
|
+
# verify the required parameter 'body' is set
|
|
1834
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1835
|
+
params['body'] is None): # noqa: E501
|
|
1836
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_amount_by_budget_id`") # noqa: E501
|
|
1837
|
+
|
|
1838
|
+
collection_formats = {}
|
|
1839
|
+
|
|
1840
|
+
path_params = {}
|
|
1841
|
+
|
|
1842
|
+
query_params = []
|
|
1843
|
+
|
|
1844
|
+
header_params = {}
|
|
1845
|
+
|
|
1846
|
+
form_params = []
|
|
1847
|
+
local_var_files = {}
|
|
1848
|
+
|
|
1849
|
+
body_params = None
|
|
1850
|
+
if 'body' in params:
|
|
1851
|
+
body_params = params['body']
|
|
1852
|
+
# HTTP header `Accept`
|
|
1853
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1854
|
+
['application/json']) # noqa: E501
|
|
1855
|
+
|
|
1856
|
+
# HTTP header `Content-Type`
|
|
1857
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1858
|
+
['application/json']) # noqa: E501
|
|
1859
|
+
|
|
1860
|
+
# Authentication setting
|
|
1861
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1862
|
+
|
|
1863
|
+
return self.api_client.call_api(
|
|
1864
|
+
'/ListBudgetAmountByBudgetID/2022-01-01/billing/post/application_json/', 'POST',
|
|
1865
|
+
path_params,
|
|
1866
|
+
query_params,
|
|
1867
|
+
header_params,
|
|
1868
|
+
body=body_params,
|
|
1869
|
+
post_params=form_params,
|
|
1870
|
+
files=local_var_files,
|
|
1871
|
+
response_type='ListBudgetAmountByBudgetIDResponse', # noqa: E501
|
|
1872
|
+
auth_settings=auth_settings,
|
|
1873
|
+
async_req=params.get('async_req'),
|
|
1874
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1875
|
+
_preload_content=params.get('_preload_content', True),
|
|
1876
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1877
|
+
collection_formats=collection_formats)
|
|
1878
|
+
|
|
1879
|
+
def list_budget_filter_billing_mode(self, body, **kwargs): # noqa: E501
|
|
1880
|
+
"""list_budget_filter_billing_mode # noqa: E501
|
|
1881
|
+
|
|
1882
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1883
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1884
|
+
>>> thread = api.list_budget_filter_billing_mode(body, async_req=True)
|
|
1885
|
+
>>> result = thread.get()
|
|
1886
|
+
|
|
1887
|
+
:param async_req bool
|
|
1888
|
+
:param ListBudgetFilterBillingModeRequest body: (required)
|
|
1889
|
+
:return: ListBudgetFilterBillingModeResponse
|
|
1890
|
+
If the method is called asynchronously,
|
|
1891
|
+
returns the request thread.
|
|
1892
|
+
"""
|
|
1893
|
+
kwargs['_return_http_data_only'] = True
|
|
1894
|
+
if kwargs.get('async_req'):
|
|
1895
|
+
return self.list_budget_filter_billing_mode_with_http_info(body, **kwargs) # noqa: E501
|
|
1896
|
+
else:
|
|
1897
|
+
(data) = self.list_budget_filter_billing_mode_with_http_info(body, **kwargs) # noqa: E501
|
|
1898
|
+
return data
|
|
1899
|
+
|
|
1900
|
+
def list_budget_filter_billing_mode_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1901
|
+
"""list_budget_filter_billing_mode # noqa: E501
|
|
1902
|
+
|
|
1903
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1904
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1905
|
+
>>> thread = api.list_budget_filter_billing_mode_with_http_info(body, async_req=True)
|
|
1906
|
+
>>> result = thread.get()
|
|
1907
|
+
|
|
1908
|
+
:param async_req bool
|
|
1909
|
+
:param ListBudgetFilterBillingModeRequest body: (required)
|
|
1910
|
+
:return: ListBudgetFilterBillingModeResponse
|
|
1911
|
+
If the method is called asynchronously,
|
|
1912
|
+
returns the request thread.
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
all_params = ['body'] # noqa: E501
|
|
1916
|
+
all_params.append('async_req')
|
|
1917
|
+
all_params.append('_return_http_data_only')
|
|
1918
|
+
all_params.append('_preload_content')
|
|
1919
|
+
all_params.append('_request_timeout')
|
|
1920
|
+
|
|
1921
|
+
params = locals()
|
|
1922
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1923
|
+
if key not in all_params:
|
|
1924
|
+
raise TypeError(
|
|
1925
|
+
"Got an unexpected keyword argument '%s'"
|
|
1926
|
+
" to method list_budget_filter_billing_mode" % key
|
|
1927
|
+
)
|
|
1928
|
+
params[key] = val
|
|
1929
|
+
del params['kwargs']
|
|
1930
|
+
# verify the required parameter 'body' is set
|
|
1931
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1932
|
+
params['body'] is None): # noqa: E501
|
|
1933
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_billing_mode`") # noqa: E501
|
|
1934
|
+
|
|
1935
|
+
collection_formats = {}
|
|
1936
|
+
|
|
1937
|
+
path_params = {}
|
|
1938
|
+
|
|
1939
|
+
query_params = []
|
|
1940
|
+
|
|
1941
|
+
header_params = {}
|
|
1942
|
+
|
|
1943
|
+
form_params = []
|
|
1944
|
+
local_var_files = {}
|
|
1945
|
+
|
|
1946
|
+
body_params = None
|
|
1947
|
+
if 'body' in params:
|
|
1948
|
+
body_params = params['body']
|
|
1949
|
+
# HTTP header `Accept`
|
|
1950
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1951
|
+
['application/json']) # noqa: E501
|
|
1952
|
+
|
|
1953
|
+
# HTTP header `Content-Type`
|
|
1954
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1955
|
+
['application/json']) # noqa: E501
|
|
1956
|
+
|
|
1957
|
+
# Authentication setting
|
|
1958
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1959
|
+
|
|
1960
|
+
return self.api_client.call_api(
|
|
1961
|
+
'/ListBudgetFilterBillingMode/2022-01-01/billing/post/application_json/', 'POST',
|
|
1962
|
+
path_params,
|
|
1963
|
+
query_params,
|
|
1964
|
+
header_params,
|
|
1965
|
+
body=body_params,
|
|
1966
|
+
post_params=form_params,
|
|
1967
|
+
files=local_var_files,
|
|
1968
|
+
response_type='ListBudgetFilterBillingModeResponse', # noqa: E501
|
|
1969
|
+
auth_settings=auth_settings,
|
|
1970
|
+
async_req=params.get('async_req'),
|
|
1971
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1972
|
+
_preload_content=params.get('_preload_content', True),
|
|
1973
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1974
|
+
collection_formats=collection_formats)
|
|
1975
|
+
|
|
1976
|
+
def list_budget_filter_owner_id(self, body, **kwargs): # noqa: E501
|
|
1977
|
+
"""list_budget_filter_owner_id # noqa: E501
|
|
1978
|
+
|
|
1979
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1980
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1981
|
+
>>> thread = api.list_budget_filter_owner_id(body, async_req=True)
|
|
1982
|
+
>>> result = thread.get()
|
|
1983
|
+
|
|
1984
|
+
:param async_req bool
|
|
1985
|
+
:param ListBudgetFilterOwnerIDRequest body: (required)
|
|
1986
|
+
:return: ListBudgetFilterOwnerIDResponse
|
|
1987
|
+
If the method is called asynchronously,
|
|
1988
|
+
returns the request thread.
|
|
1989
|
+
"""
|
|
1990
|
+
kwargs['_return_http_data_only'] = True
|
|
1991
|
+
if kwargs.get('async_req'):
|
|
1992
|
+
return self.list_budget_filter_owner_id_with_http_info(body, **kwargs) # noqa: E501
|
|
1993
|
+
else:
|
|
1994
|
+
(data) = self.list_budget_filter_owner_id_with_http_info(body, **kwargs) # noqa: E501
|
|
1995
|
+
return data
|
|
1996
|
+
|
|
1997
|
+
def list_budget_filter_owner_id_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1998
|
+
"""list_budget_filter_owner_id # noqa: E501
|
|
1999
|
+
|
|
2000
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2001
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2002
|
+
>>> thread = api.list_budget_filter_owner_id_with_http_info(body, async_req=True)
|
|
2003
|
+
>>> result = thread.get()
|
|
2004
|
+
|
|
2005
|
+
:param async_req bool
|
|
2006
|
+
:param ListBudgetFilterOwnerIDRequest body: (required)
|
|
2007
|
+
:return: ListBudgetFilterOwnerIDResponse
|
|
2008
|
+
If the method is called asynchronously,
|
|
2009
|
+
returns the request thread.
|
|
2010
|
+
"""
|
|
2011
|
+
|
|
2012
|
+
all_params = ['body'] # noqa: E501
|
|
2013
|
+
all_params.append('async_req')
|
|
2014
|
+
all_params.append('_return_http_data_only')
|
|
2015
|
+
all_params.append('_preload_content')
|
|
2016
|
+
all_params.append('_request_timeout')
|
|
2017
|
+
|
|
2018
|
+
params = locals()
|
|
2019
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2020
|
+
if key not in all_params:
|
|
2021
|
+
raise TypeError(
|
|
2022
|
+
"Got an unexpected keyword argument '%s'"
|
|
2023
|
+
" to method list_budget_filter_owner_id" % key
|
|
2024
|
+
)
|
|
2025
|
+
params[key] = val
|
|
2026
|
+
del params['kwargs']
|
|
2027
|
+
# verify the required parameter 'body' is set
|
|
2028
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2029
|
+
params['body'] is None): # noqa: E501
|
|
2030
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_owner_id`") # noqa: E501
|
|
2031
|
+
|
|
2032
|
+
collection_formats = {}
|
|
2033
|
+
|
|
2034
|
+
path_params = {}
|
|
2035
|
+
|
|
2036
|
+
query_params = []
|
|
2037
|
+
|
|
2038
|
+
header_params = {}
|
|
2039
|
+
|
|
2040
|
+
form_params = []
|
|
2041
|
+
local_var_files = {}
|
|
2042
|
+
|
|
2043
|
+
body_params = None
|
|
2044
|
+
if 'body' in params:
|
|
2045
|
+
body_params = params['body']
|
|
2046
|
+
# HTTP header `Accept`
|
|
2047
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2048
|
+
['application/json']) # noqa: E501
|
|
2049
|
+
|
|
2050
|
+
# HTTP header `Content-Type`
|
|
2051
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2052
|
+
['application/json']) # noqa: E501
|
|
2053
|
+
|
|
2054
|
+
# Authentication setting
|
|
2055
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2056
|
+
|
|
2057
|
+
return self.api_client.call_api(
|
|
2058
|
+
'/ListBudgetFilterOwnerID/2022-01-01/billing/post/application_json/', 'POST',
|
|
2059
|
+
path_params,
|
|
2060
|
+
query_params,
|
|
2061
|
+
header_params,
|
|
2062
|
+
body=body_params,
|
|
2063
|
+
post_params=form_params,
|
|
2064
|
+
files=local_var_files,
|
|
2065
|
+
response_type='ListBudgetFilterOwnerIDResponse', # noqa: E501
|
|
2066
|
+
auth_settings=auth_settings,
|
|
2067
|
+
async_req=params.get('async_req'),
|
|
2068
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2069
|
+
_preload_content=params.get('_preload_content', True),
|
|
2070
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2071
|
+
collection_formats=collection_formats)
|
|
2072
|
+
|
|
2073
|
+
def list_budget_filter_payer_id(self, body, **kwargs): # noqa: E501
|
|
2074
|
+
"""list_budget_filter_payer_id # noqa: E501
|
|
2075
|
+
|
|
2076
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2077
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2078
|
+
>>> thread = api.list_budget_filter_payer_id(body, async_req=True)
|
|
2079
|
+
>>> result = thread.get()
|
|
2080
|
+
|
|
2081
|
+
:param async_req bool
|
|
2082
|
+
:param ListBudgetFilterPayerIDRequest body: (required)
|
|
2083
|
+
:return: ListBudgetFilterPayerIDResponse
|
|
2084
|
+
If the method is called asynchronously,
|
|
2085
|
+
returns the request thread.
|
|
2086
|
+
"""
|
|
2087
|
+
kwargs['_return_http_data_only'] = True
|
|
2088
|
+
if kwargs.get('async_req'):
|
|
2089
|
+
return self.list_budget_filter_payer_id_with_http_info(body, **kwargs) # noqa: E501
|
|
2090
|
+
else:
|
|
2091
|
+
(data) = self.list_budget_filter_payer_id_with_http_info(body, **kwargs) # noqa: E501
|
|
2092
|
+
return data
|
|
2093
|
+
|
|
2094
|
+
def list_budget_filter_payer_id_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2095
|
+
"""list_budget_filter_payer_id # noqa: E501
|
|
2096
|
+
|
|
2097
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2098
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2099
|
+
>>> thread = api.list_budget_filter_payer_id_with_http_info(body, async_req=True)
|
|
2100
|
+
>>> result = thread.get()
|
|
2101
|
+
|
|
2102
|
+
:param async_req bool
|
|
2103
|
+
:param ListBudgetFilterPayerIDRequest body: (required)
|
|
2104
|
+
:return: ListBudgetFilterPayerIDResponse
|
|
2105
|
+
If the method is called asynchronously,
|
|
2106
|
+
returns the request thread.
|
|
2107
|
+
"""
|
|
2108
|
+
|
|
2109
|
+
all_params = ['body'] # noqa: E501
|
|
2110
|
+
all_params.append('async_req')
|
|
2111
|
+
all_params.append('_return_http_data_only')
|
|
2112
|
+
all_params.append('_preload_content')
|
|
2113
|
+
all_params.append('_request_timeout')
|
|
2114
|
+
|
|
2115
|
+
params = locals()
|
|
2116
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2117
|
+
if key not in all_params:
|
|
2118
|
+
raise TypeError(
|
|
2119
|
+
"Got an unexpected keyword argument '%s'"
|
|
2120
|
+
" to method list_budget_filter_payer_id" % key
|
|
2121
|
+
)
|
|
2122
|
+
params[key] = val
|
|
2123
|
+
del params['kwargs']
|
|
2124
|
+
# verify the required parameter 'body' is set
|
|
2125
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2126
|
+
params['body'] is None): # noqa: E501
|
|
2127
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_payer_id`") # noqa: E501
|
|
2128
|
+
|
|
2129
|
+
collection_formats = {}
|
|
2130
|
+
|
|
2131
|
+
path_params = {}
|
|
2132
|
+
|
|
2133
|
+
query_params = []
|
|
2134
|
+
|
|
2135
|
+
header_params = {}
|
|
2136
|
+
|
|
2137
|
+
form_params = []
|
|
2138
|
+
local_var_files = {}
|
|
2139
|
+
|
|
2140
|
+
body_params = None
|
|
2141
|
+
if 'body' in params:
|
|
2142
|
+
body_params = params['body']
|
|
2143
|
+
# HTTP header `Accept`
|
|
2144
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2145
|
+
['application/json']) # noqa: E501
|
|
2146
|
+
|
|
2147
|
+
# HTTP header `Content-Type`
|
|
2148
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2149
|
+
['application/json']) # noqa: E501
|
|
2150
|
+
|
|
2151
|
+
# Authentication setting
|
|
2152
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2153
|
+
|
|
2154
|
+
return self.api_client.call_api(
|
|
2155
|
+
'/ListBudgetFilterPayerID/2022-01-01/billing/post/application_json/', 'POST',
|
|
2156
|
+
path_params,
|
|
2157
|
+
query_params,
|
|
2158
|
+
header_params,
|
|
2159
|
+
body=body_params,
|
|
2160
|
+
post_params=form_params,
|
|
2161
|
+
files=local_var_files,
|
|
2162
|
+
response_type='ListBudgetFilterPayerIDResponse', # noqa: E501
|
|
2163
|
+
auth_settings=auth_settings,
|
|
2164
|
+
async_req=params.get('async_req'),
|
|
2165
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2166
|
+
_preload_content=params.get('_preload_content', True),
|
|
2167
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2168
|
+
collection_formats=collection_formats)
|
|
2169
|
+
|
|
2170
|
+
def list_budget_filter_product(self, body, **kwargs): # noqa: E501
|
|
2171
|
+
"""list_budget_filter_product # noqa: E501
|
|
2172
|
+
|
|
2173
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2174
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2175
|
+
>>> thread = api.list_budget_filter_product(body, async_req=True)
|
|
2176
|
+
>>> result = thread.get()
|
|
2177
|
+
|
|
2178
|
+
:param async_req bool
|
|
2179
|
+
:param ListBudgetFilterProductRequest body: (required)
|
|
2180
|
+
:return: ListBudgetFilterProductResponse
|
|
2181
|
+
If the method is called asynchronously,
|
|
2182
|
+
returns the request thread.
|
|
2183
|
+
"""
|
|
2184
|
+
kwargs['_return_http_data_only'] = True
|
|
2185
|
+
if kwargs.get('async_req'):
|
|
2186
|
+
return self.list_budget_filter_product_with_http_info(body, **kwargs) # noqa: E501
|
|
2187
|
+
else:
|
|
2188
|
+
(data) = self.list_budget_filter_product_with_http_info(body, **kwargs) # noqa: E501
|
|
2189
|
+
return data
|
|
2190
|
+
|
|
2191
|
+
def list_budget_filter_product_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2192
|
+
"""list_budget_filter_product # noqa: E501
|
|
2193
|
+
|
|
2194
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2195
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2196
|
+
>>> thread = api.list_budget_filter_product_with_http_info(body, async_req=True)
|
|
2197
|
+
>>> result = thread.get()
|
|
2198
|
+
|
|
2199
|
+
:param async_req bool
|
|
2200
|
+
:param ListBudgetFilterProductRequest body: (required)
|
|
2201
|
+
:return: ListBudgetFilterProductResponse
|
|
2202
|
+
If the method is called asynchronously,
|
|
2203
|
+
returns the request thread.
|
|
2204
|
+
"""
|
|
2205
|
+
|
|
2206
|
+
all_params = ['body'] # noqa: E501
|
|
2207
|
+
all_params.append('async_req')
|
|
2208
|
+
all_params.append('_return_http_data_only')
|
|
2209
|
+
all_params.append('_preload_content')
|
|
2210
|
+
all_params.append('_request_timeout')
|
|
2211
|
+
|
|
2212
|
+
params = locals()
|
|
2213
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2214
|
+
if key not in all_params:
|
|
2215
|
+
raise TypeError(
|
|
2216
|
+
"Got an unexpected keyword argument '%s'"
|
|
2217
|
+
" to method list_budget_filter_product" % key
|
|
2218
|
+
)
|
|
2219
|
+
params[key] = val
|
|
2220
|
+
del params['kwargs']
|
|
2221
|
+
# verify the required parameter 'body' is set
|
|
2222
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2223
|
+
params['body'] is None): # noqa: E501
|
|
2224
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_product`") # noqa: E501
|
|
2225
|
+
|
|
2226
|
+
collection_formats = {}
|
|
2227
|
+
|
|
2228
|
+
path_params = {}
|
|
2229
|
+
|
|
2230
|
+
query_params = []
|
|
2231
|
+
|
|
2232
|
+
header_params = {}
|
|
2233
|
+
|
|
2234
|
+
form_params = []
|
|
2235
|
+
local_var_files = {}
|
|
2236
|
+
|
|
2237
|
+
body_params = None
|
|
2238
|
+
if 'body' in params:
|
|
2239
|
+
body_params = params['body']
|
|
2240
|
+
# HTTP header `Accept`
|
|
2241
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2242
|
+
['application/json']) # noqa: E501
|
|
2243
|
+
|
|
2244
|
+
# HTTP header `Content-Type`
|
|
2245
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2246
|
+
['application/json']) # noqa: E501
|
|
2247
|
+
|
|
2248
|
+
# Authentication setting
|
|
2249
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2250
|
+
|
|
2251
|
+
return self.api_client.call_api(
|
|
2252
|
+
'/ListBudgetFilterProduct/2022-01-01/billing/post/application_json/', 'POST',
|
|
2253
|
+
path_params,
|
|
2254
|
+
query_params,
|
|
2255
|
+
header_params,
|
|
2256
|
+
body=body_params,
|
|
2257
|
+
post_params=form_params,
|
|
2258
|
+
files=local_var_files,
|
|
2259
|
+
response_type='ListBudgetFilterProductResponse', # noqa: E501
|
|
2260
|
+
auth_settings=auth_settings,
|
|
2261
|
+
async_req=params.get('async_req'),
|
|
2262
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2263
|
+
_preload_content=params.get('_preload_content', True),
|
|
2264
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2265
|
+
collection_formats=collection_formats)
|
|
2266
|
+
|
|
2267
|
+
def list_budget_filter_project(self, body, **kwargs): # noqa: E501
|
|
2268
|
+
"""list_budget_filter_project # noqa: E501
|
|
2269
|
+
|
|
2270
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2271
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2272
|
+
>>> thread = api.list_budget_filter_project(body, async_req=True)
|
|
2273
|
+
>>> result = thread.get()
|
|
2274
|
+
|
|
2275
|
+
:param async_req bool
|
|
2276
|
+
:param ListBudgetFilterProjectRequest body: (required)
|
|
2277
|
+
:return: ListBudgetFilterProjectResponse
|
|
2278
|
+
If the method is called asynchronously,
|
|
2279
|
+
returns the request thread.
|
|
2280
|
+
"""
|
|
2281
|
+
kwargs['_return_http_data_only'] = True
|
|
2282
|
+
if kwargs.get('async_req'):
|
|
2283
|
+
return self.list_budget_filter_project_with_http_info(body, **kwargs) # noqa: E501
|
|
2284
|
+
else:
|
|
2285
|
+
(data) = self.list_budget_filter_project_with_http_info(body, **kwargs) # noqa: E501
|
|
2286
|
+
return data
|
|
2287
|
+
|
|
2288
|
+
def list_budget_filter_project_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2289
|
+
"""list_budget_filter_project # noqa: E501
|
|
2290
|
+
|
|
2291
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2292
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2293
|
+
>>> thread = api.list_budget_filter_project_with_http_info(body, async_req=True)
|
|
2294
|
+
>>> result = thread.get()
|
|
2295
|
+
|
|
2296
|
+
:param async_req bool
|
|
2297
|
+
:param ListBudgetFilterProjectRequest body: (required)
|
|
2298
|
+
:return: ListBudgetFilterProjectResponse
|
|
2299
|
+
If the method is called asynchronously,
|
|
2300
|
+
returns the request thread.
|
|
2301
|
+
"""
|
|
2302
|
+
|
|
2303
|
+
all_params = ['body'] # noqa: E501
|
|
2304
|
+
all_params.append('async_req')
|
|
2305
|
+
all_params.append('_return_http_data_only')
|
|
2306
|
+
all_params.append('_preload_content')
|
|
2307
|
+
all_params.append('_request_timeout')
|
|
2308
|
+
|
|
2309
|
+
params = locals()
|
|
2310
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2311
|
+
if key not in all_params:
|
|
2312
|
+
raise TypeError(
|
|
2313
|
+
"Got an unexpected keyword argument '%s'"
|
|
2314
|
+
" to method list_budget_filter_project" % key
|
|
2315
|
+
)
|
|
2316
|
+
params[key] = val
|
|
2317
|
+
del params['kwargs']
|
|
2318
|
+
# verify the required parameter 'body' is set
|
|
2319
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2320
|
+
params['body'] is None): # noqa: E501
|
|
2321
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_project`") # noqa: E501
|
|
2322
|
+
|
|
2323
|
+
collection_formats = {}
|
|
2324
|
+
|
|
2325
|
+
path_params = {}
|
|
2326
|
+
|
|
2327
|
+
query_params = []
|
|
2328
|
+
|
|
2329
|
+
header_params = {}
|
|
2330
|
+
|
|
2331
|
+
form_params = []
|
|
2332
|
+
local_var_files = {}
|
|
2333
|
+
|
|
2334
|
+
body_params = None
|
|
2335
|
+
if 'body' in params:
|
|
2336
|
+
body_params = params['body']
|
|
2337
|
+
# HTTP header `Accept`
|
|
2338
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2339
|
+
['application/json']) # noqa: E501
|
|
2340
|
+
|
|
2341
|
+
# HTTP header `Content-Type`
|
|
2342
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2343
|
+
['application/json']) # noqa: E501
|
|
2344
|
+
|
|
2345
|
+
# Authentication setting
|
|
2346
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2347
|
+
|
|
2348
|
+
return self.api_client.call_api(
|
|
2349
|
+
'/ListBudgetFilterProject/2022-01-01/billing/post/application_json/', 'POST',
|
|
2350
|
+
path_params,
|
|
2351
|
+
query_params,
|
|
2352
|
+
header_params,
|
|
2353
|
+
body=body_params,
|
|
2354
|
+
post_params=form_params,
|
|
2355
|
+
files=local_var_files,
|
|
2356
|
+
response_type='ListBudgetFilterProjectResponse', # noqa: E501
|
|
2357
|
+
auth_settings=auth_settings,
|
|
2358
|
+
async_req=params.get('async_req'),
|
|
2359
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2360
|
+
_preload_content=params.get('_preload_content', True),
|
|
2361
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2362
|
+
collection_formats=collection_formats)
|
|
2363
|
+
|
|
2364
|
+
def list_budget_filter_region_code(self, body, **kwargs): # noqa: E501
|
|
2365
|
+
"""list_budget_filter_region_code # noqa: E501
|
|
2366
|
+
|
|
2367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2369
|
+
>>> thread = api.list_budget_filter_region_code(body, async_req=True)
|
|
2370
|
+
>>> result = thread.get()
|
|
2371
|
+
|
|
2372
|
+
:param async_req bool
|
|
2373
|
+
:param ListBudgetFilterRegionCodeRequest body: (required)
|
|
2374
|
+
:return: ListBudgetFilterRegionCodeResponse
|
|
2375
|
+
If the method is called asynchronously,
|
|
2376
|
+
returns the request thread.
|
|
2377
|
+
"""
|
|
2378
|
+
kwargs['_return_http_data_only'] = True
|
|
2379
|
+
if kwargs.get('async_req'):
|
|
2380
|
+
return self.list_budget_filter_region_code_with_http_info(body, **kwargs) # noqa: E501
|
|
2381
|
+
else:
|
|
2382
|
+
(data) = self.list_budget_filter_region_code_with_http_info(body, **kwargs) # noqa: E501
|
|
2383
|
+
return data
|
|
2384
|
+
|
|
2385
|
+
def list_budget_filter_region_code_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2386
|
+
"""list_budget_filter_region_code # noqa: E501
|
|
2387
|
+
|
|
2388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2390
|
+
>>> thread = api.list_budget_filter_region_code_with_http_info(body, async_req=True)
|
|
2391
|
+
>>> result = thread.get()
|
|
2392
|
+
|
|
2393
|
+
:param async_req bool
|
|
2394
|
+
:param ListBudgetFilterRegionCodeRequest body: (required)
|
|
2395
|
+
:return: ListBudgetFilterRegionCodeResponse
|
|
2396
|
+
If the method is called asynchronously,
|
|
2397
|
+
returns the request thread.
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
all_params = ['body'] # noqa: E501
|
|
2401
|
+
all_params.append('async_req')
|
|
2402
|
+
all_params.append('_return_http_data_only')
|
|
2403
|
+
all_params.append('_preload_content')
|
|
2404
|
+
all_params.append('_request_timeout')
|
|
2405
|
+
|
|
2406
|
+
params = locals()
|
|
2407
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2408
|
+
if key not in all_params:
|
|
2409
|
+
raise TypeError(
|
|
2410
|
+
"Got an unexpected keyword argument '%s'"
|
|
2411
|
+
" to method list_budget_filter_region_code" % key
|
|
2412
|
+
)
|
|
2413
|
+
params[key] = val
|
|
2414
|
+
del params['kwargs']
|
|
2415
|
+
# verify the required parameter 'body' is set
|
|
2416
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2417
|
+
params['body'] is None): # noqa: E501
|
|
2418
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_region_code`") # noqa: E501
|
|
2419
|
+
|
|
2420
|
+
collection_formats = {}
|
|
2421
|
+
|
|
2422
|
+
path_params = {}
|
|
2423
|
+
|
|
2424
|
+
query_params = []
|
|
2425
|
+
|
|
2426
|
+
header_params = {}
|
|
2427
|
+
|
|
2428
|
+
form_params = []
|
|
2429
|
+
local_var_files = {}
|
|
2430
|
+
|
|
2431
|
+
body_params = None
|
|
2432
|
+
if 'body' in params:
|
|
2433
|
+
body_params = params['body']
|
|
2434
|
+
# HTTP header `Accept`
|
|
2435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2436
|
+
['application/json']) # noqa: E501
|
|
2437
|
+
|
|
2438
|
+
# HTTP header `Content-Type`
|
|
2439
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2440
|
+
['application/json']) # noqa: E501
|
|
2441
|
+
|
|
2442
|
+
# Authentication setting
|
|
2443
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2444
|
+
|
|
2445
|
+
return self.api_client.call_api(
|
|
2446
|
+
'/ListBudgetFilterRegionCode/2022-01-01/billing/post/application_json/', 'POST',
|
|
2447
|
+
path_params,
|
|
2448
|
+
query_params,
|
|
2449
|
+
header_params,
|
|
2450
|
+
body=body_params,
|
|
2451
|
+
post_params=form_params,
|
|
2452
|
+
files=local_var_files,
|
|
2453
|
+
response_type='ListBudgetFilterRegionCodeResponse', # noqa: E501
|
|
2454
|
+
auth_settings=auth_settings,
|
|
2455
|
+
async_req=params.get('async_req'),
|
|
2456
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2457
|
+
_preload_content=params.get('_preload_content', True),
|
|
2458
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2459
|
+
collection_formats=collection_formats)
|
|
2460
|
+
|
|
2461
|
+
def list_budget_filter_subject_info(self, body, **kwargs): # noqa: E501
|
|
2462
|
+
"""list_budget_filter_subject_info # noqa: E501
|
|
2463
|
+
|
|
2464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2466
|
+
>>> thread = api.list_budget_filter_subject_info(body, async_req=True)
|
|
2467
|
+
>>> result = thread.get()
|
|
2468
|
+
|
|
2469
|
+
:param async_req bool
|
|
2470
|
+
:param ListBudgetFilterSubjectInfoRequest body: (required)
|
|
2471
|
+
:return: ListBudgetFilterSubjectInfoResponse
|
|
2472
|
+
If the method is called asynchronously,
|
|
2473
|
+
returns the request thread.
|
|
2474
|
+
"""
|
|
2475
|
+
kwargs['_return_http_data_only'] = True
|
|
2476
|
+
if kwargs.get('async_req'):
|
|
2477
|
+
return self.list_budget_filter_subject_info_with_http_info(body, **kwargs) # noqa: E501
|
|
2478
|
+
else:
|
|
2479
|
+
(data) = self.list_budget_filter_subject_info_with_http_info(body, **kwargs) # noqa: E501
|
|
2480
|
+
return data
|
|
2481
|
+
|
|
2482
|
+
def list_budget_filter_subject_info_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2483
|
+
"""list_budget_filter_subject_info # noqa: E501
|
|
2484
|
+
|
|
2485
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2486
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2487
|
+
>>> thread = api.list_budget_filter_subject_info_with_http_info(body, async_req=True)
|
|
2488
|
+
>>> result = thread.get()
|
|
2489
|
+
|
|
2490
|
+
:param async_req bool
|
|
2491
|
+
:param ListBudgetFilterSubjectInfoRequest body: (required)
|
|
2492
|
+
:return: ListBudgetFilterSubjectInfoResponse
|
|
2493
|
+
If the method is called asynchronously,
|
|
2494
|
+
returns the request thread.
|
|
2495
|
+
"""
|
|
2496
|
+
|
|
2497
|
+
all_params = ['body'] # noqa: E501
|
|
2498
|
+
all_params.append('async_req')
|
|
2499
|
+
all_params.append('_return_http_data_only')
|
|
2500
|
+
all_params.append('_preload_content')
|
|
2501
|
+
all_params.append('_request_timeout')
|
|
2502
|
+
|
|
2503
|
+
params = locals()
|
|
2504
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2505
|
+
if key not in all_params:
|
|
2506
|
+
raise TypeError(
|
|
2507
|
+
"Got an unexpected keyword argument '%s'"
|
|
2508
|
+
" to method list_budget_filter_subject_info" % key
|
|
2509
|
+
)
|
|
2510
|
+
params[key] = val
|
|
2511
|
+
del params['kwargs']
|
|
2512
|
+
# verify the required parameter 'body' is set
|
|
2513
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2514
|
+
params['body'] is None): # noqa: E501
|
|
2515
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_subject_info`") # noqa: E501
|
|
2516
|
+
|
|
2517
|
+
collection_formats = {}
|
|
2518
|
+
|
|
2519
|
+
path_params = {}
|
|
2520
|
+
|
|
2521
|
+
query_params = []
|
|
2522
|
+
|
|
2523
|
+
header_params = {}
|
|
2524
|
+
|
|
2525
|
+
form_params = []
|
|
2526
|
+
local_var_files = {}
|
|
2527
|
+
|
|
2528
|
+
body_params = None
|
|
2529
|
+
if 'body' in params:
|
|
2530
|
+
body_params = params['body']
|
|
2531
|
+
# HTTP header `Accept`
|
|
2532
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2533
|
+
['application/json']) # noqa: E501
|
|
2534
|
+
|
|
2535
|
+
# HTTP header `Content-Type`
|
|
2536
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2537
|
+
['application/json']) # noqa: E501
|
|
2538
|
+
|
|
2539
|
+
# Authentication setting
|
|
2540
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2541
|
+
|
|
2542
|
+
return self.api_client.call_api(
|
|
2543
|
+
'/ListBudgetFilterSubjectInfo/2022-01-01/billing/post/application_json/', 'POST',
|
|
2544
|
+
path_params,
|
|
2545
|
+
query_params,
|
|
2546
|
+
header_params,
|
|
2547
|
+
body=body_params,
|
|
2548
|
+
post_params=form_params,
|
|
2549
|
+
files=local_var_files,
|
|
2550
|
+
response_type='ListBudgetFilterSubjectInfoResponse', # noqa: E501
|
|
2551
|
+
auth_settings=auth_settings,
|
|
2552
|
+
async_req=params.get('async_req'),
|
|
2553
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2554
|
+
_preload_content=params.get('_preload_content', True),
|
|
2555
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2556
|
+
collection_formats=collection_formats)
|
|
2557
|
+
|
|
2558
|
+
def list_budget_filter_tag_key(self, body, **kwargs): # noqa: E501
|
|
2559
|
+
"""list_budget_filter_tag_key # noqa: E501
|
|
2560
|
+
|
|
2561
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2562
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2563
|
+
>>> thread = api.list_budget_filter_tag_key(body, async_req=True)
|
|
2564
|
+
>>> result = thread.get()
|
|
2565
|
+
|
|
2566
|
+
:param async_req bool
|
|
2567
|
+
:param ListBudgetFilterTagKeyRequest body: (required)
|
|
2568
|
+
:return: ListBudgetFilterTagKeyResponse
|
|
2569
|
+
If the method is called asynchronously,
|
|
2570
|
+
returns the request thread.
|
|
2571
|
+
"""
|
|
2572
|
+
kwargs['_return_http_data_only'] = True
|
|
2573
|
+
if kwargs.get('async_req'):
|
|
2574
|
+
return self.list_budget_filter_tag_key_with_http_info(body, **kwargs) # noqa: E501
|
|
2575
|
+
else:
|
|
2576
|
+
(data) = self.list_budget_filter_tag_key_with_http_info(body, **kwargs) # noqa: E501
|
|
2577
|
+
return data
|
|
2578
|
+
|
|
2579
|
+
def list_budget_filter_tag_key_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2580
|
+
"""list_budget_filter_tag_key # noqa: E501
|
|
2581
|
+
|
|
2582
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2583
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2584
|
+
>>> thread = api.list_budget_filter_tag_key_with_http_info(body, async_req=True)
|
|
2585
|
+
>>> result = thread.get()
|
|
2586
|
+
|
|
2587
|
+
:param async_req bool
|
|
2588
|
+
:param ListBudgetFilterTagKeyRequest body: (required)
|
|
2589
|
+
:return: ListBudgetFilterTagKeyResponse
|
|
2590
|
+
If the method is called asynchronously,
|
|
2591
|
+
returns the request thread.
|
|
2592
|
+
"""
|
|
2593
|
+
|
|
2594
|
+
all_params = ['body'] # noqa: E501
|
|
2595
|
+
all_params.append('async_req')
|
|
2596
|
+
all_params.append('_return_http_data_only')
|
|
2597
|
+
all_params.append('_preload_content')
|
|
2598
|
+
all_params.append('_request_timeout')
|
|
2599
|
+
|
|
2600
|
+
params = locals()
|
|
2601
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2602
|
+
if key not in all_params:
|
|
2603
|
+
raise TypeError(
|
|
2604
|
+
"Got an unexpected keyword argument '%s'"
|
|
2605
|
+
" to method list_budget_filter_tag_key" % key
|
|
2606
|
+
)
|
|
2607
|
+
params[key] = val
|
|
2608
|
+
del params['kwargs']
|
|
2609
|
+
# verify the required parameter 'body' is set
|
|
2610
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2611
|
+
params['body'] is None): # noqa: E501
|
|
2612
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_tag_key`") # noqa: E501
|
|
2613
|
+
|
|
2614
|
+
collection_formats = {}
|
|
2615
|
+
|
|
2616
|
+
path_params = {}
|
|
2617
|
+
|
|
2618
|
+
query_params = []
|
|
2619
|
+
|
|
2620
|
+
header_params = {}
|
|
2621
|
+
|
|
2622
|
+
form_params = []
|
|
2623
|
+
local_var_files = {}
|
|
2624
|
+
|
|
2625
|
+
body_params = None
|
|
2626
|
+
if 'body' in params:
|
|
2627
|
+
body_params = params['body']
|
|
2628
|
+
# HTTP header `Accept`
|
|
2629
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2630
|
+
['application/json']) # noqa: E501
|
|
2631
|
+
|
|
2632
|
+
# HTTP header `Content-Type`
|
|
2633
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2634
|
+
['application/json']) # noqa: E501
|
|
2635
|
+
|
|
2636
|
+
# Authentication setting
|
|
2637
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2638
|
+
|
|
2639
|
+
return self.api_client.call_api(
|
|
2640
|
+
'/ListBudgetFilterTagKey/2022-01-01/billing/post/application_json/', 'POST',
|
|
2641
|
+
path_params,
|
|
2642
|
+
query_params,
|
|
2643
|
+
header_params,
|
|
2644
|
+
body=body_params,
|
|
2645
|
+
post_params=form_params,
|
|
2646
|
+
files=local_var_files,
|
|
2647
|
+
response_type='ListBudgetFilterTagKeyResponse', # noqa: E501
|
|
2648
|
+
auth_settings=auth_settings,
|
|
2649
|
+
async_req=params.get('async_req'),
|
|
2650
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2651
|
+
_preload_content=params.get('_preload_content', True),
|
|
2652
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2653
|
+
collection_formats=collection_formats)
|
|
2654
|
+
|
|
2655
|
+
def list_budget_filter_tag_value(self, body, **kwargs): # noqa: E501
|
|
2656
|
+
"""list_budget_filter_tag_value # noqa: E501
|
|
2657
|
+
|
|
2658
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2659
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2660
|
+
>>> thread = api.list_budget_filter_tag_value(body, async_req=True)
|
|
2661
|
+
>>> result = thread.get()
|
|
2662
|
+
|
|
2663
|
+
:param async_req bool
|
|
2664
|
+
:param ListBudgetFilterTagValueRequest body: (required)
|
|
2665
|
+
:return: ListBudgetFilterTagValueResponse
|
|
2666
|
+
If the method is called asynchronously,
|
|
2667
|
+
returns the request thread.
|
|
2668
|
+
"""
|
|
2669
|
+
kwargs['_return_http_data_only'] = True
|
|
2670
|
+
if kwargs.get('async_req'):
|
|
2671
|
+
return self.list_budget_filter_tag_value_with_http_info(body, **kwargs) # noqa: E501
|
|
2672
|
+
else:
|
|
2673
|
+
(data) = self.list_budget_filter_tag_value_with_http_info(body, **kwargs) # noqa: E501
|
|
2674
|
+
return data
|
|
2675
|
+
|
|
2676
|
+
def list_budget_filter_tag_value_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2677
|
+
"""list_budget_filter_tag_value # noqa: E501
|
|
2678
|
+
|
|
2679
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2680
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2681
|
+
>>> thread = api.list_budget_filter_tag_value_with_http_info(body, async_req=True)
|
|
2682
|
+
>>> result = thread.get()
|
|
2683
|
+
|
|
2684
|
+
:param async_req bool
|
|
2685
|
+
:param ListBudgetFilterTagValueRequest body: (required)
|
|
2686
|
+
:return: ListBudgetFilterTagValueResponse
|
|
2687
|
+
If the method is called asynchronously,
|
|
2688
|
+
returns the request thread.
|
|
2689
|
+
"""
|
|
2690
|
+
|
|
2691
|
+
all_params = ['body'] # noqa: E501
|
|
2692
|
+
all_params.append('async_req')
|
|
2693
|
+
all_params.append('_return_http_data_only')
|
|
2694
|
+
all_params.append('_preload_content')
|
|
2695
|
+
all_params.append('_request_timeout')
|
|
2696
|
+
|
|
2697
|
+
params = locals()
|
|
2698
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2699
|
+
if key not in all_params:
|
|
2700
|
+
raise TypeError(
|
|
2701
|
+
"Got an unexpected keyword argument '%s'"
|
|
2702
|
+
" to method list_budget_filter_tag_value" % key
|
|
2703
|
+
)
|
|
2704
|
+
params[key] = val
|
|
2705
|
+
del params['kwargs']
|
|
2706
|
+
# verify the required parameter 'body' is set
|
|
2707
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2708
|
+
params['body'] is None): # noqa: E501
|
|
2709
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_tag_value`") # noqa: E501
|
|
2710
|
+
|
|
2711
|
+
collection_formats = {}
|
|
2712
|
+
|
|
2713
|
+
path_params = {}
|
|
2714
|
+
|
|
2715
|
+
query_params = []
|
|
2716
|
+
|
|
2717
|
+
header_params = {}
|
|
2718
|
+
|
|
2719
|
+
form_params = []
|
|
2720
|
+
local_var_files = {}
|
|
2721
|
+
|
|
2722
|
+
body_params = None
|
|
2723
|
+
if 'body' in params:
|
|
2724
|
+
body_params = params['body']
|
|
2725
|
+
# HTTP header `Accept`
|
|
2726
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2727
|
+
['application/json']) # noqa: E501
|
|
2728
|
+
|
|
2729
|
+
# HTTP header `Content-Type`
|
|
2730
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2731
|
+
['application/json']) # noqa: E501
|
|
2732
|
+
|
|
2733
|
+
# Authentication setting
|
|
2734
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2735
|
+
|
|
2736
|
+
return self.api_client.call_api(
|
|
2737
|
+
'/ListBudgetFilterTagValue/2022-01-01/billing/post/application_json/', 'POST',
|
|
2738
|
+
path_params,
|
|
2739
|
+
query_params,
|
|
2740
|
+
header_params,
|
|
2741
|
+
body=body_params,
|
|
2742
|
+
post_params=form_params,
|
|
2743
|
+
files=local_var_files,
|
|
2744
|
+
response_type='ListBudgetFilterTagValueResponse', # noqa: E501
|
|
2745
|
+
auth_settings=auth_settings,
|
|
2746
|
+
async_req=params.get('async_req'),
|
|
2747
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2748
|
+
_preload_content=params.get('_preload_content', True),
|
|
2749
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2750
|
+
collection_formats=collection_formats)
|
|
2751
|
+
|
|
2752
|
+
def list_budget_filter_zone_code(self, body, **kwargs): # noqa: E501
|
|
2753
|
+
"""list_budget_filter_zone_code # noqa: E501
|
|
2754
|
+
|
|
2755
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2756
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2757
|
+
>>> thread = api.list_budget_filter_zone_code(body, async_req=True)
|
|
2758
|
+
>>> result = thread.get()
|
|
2759
|
+
|
|
2760
|
+
:param async_req bool
|
|
2761
|
+
:param ListBudgetFilterZoneCodeRequest body: (required)
|
|
2762
|
+
:return: ListBudgetFilterZoneCodeResponse
|
|
1405
2763
|
If the method is called asynchronously,
|
|
1406
2764
|
returns the request thread.
|
|
1407
2765
|
"""
|
|
1408
2766
|
kwargs['_return_http_data_only'] = True
|
|
1409
2767
|
if kwargs.get('async_req'):
|
|
1410
|
-
return self.
|
|
2768
|
+
return self.list_budget_filter_zone_code_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
2769
|
else:
|
|
1412
|
-
(data) = self.
|
|
2770
|
+
(data) = self.list_budget_filter_zone_code_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
2771
|
return data
|
|
1414
2772
|
|
|
1415
|
-
def
|
|
1416
|
-
"""
|
|
2773
|
+
def list_budget_filter_zone_code_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2774
|
+
"""list_budget_filter_zone_code # noqa: E501
|
|
1417
2775
|
|
|
1418
2776
|
This method makes a synchronous HTTP request by default. To make an
|
|
1419
2777
|
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
-
>>> thread = api.
|
|
2778
|
+
>>> thread = api.list_budget_filter_zone_code_with_http_info(body, async_req=True)
|
|
1421
2779
|
>>> result = thread.get()
|
|
1422
2780
|
|
|
1423
2781
|
:param async_req bool
|
|
1424
|
-
:param
|
|
1425
|
-
:return:
|
|
2782
|
+
:param ListBudgetFilterZoneCodeRequest body: (required)
|
|
2783
|
+
:return: ListBudgetFilterZoneCodeResponse
|
|
1426
2784
|
If the method is called asynchronously,
|
|
1427
2785
|
returns the request thread.
|
|
1428
2786
|
"""
|
|
@@ -1438,14 +2796,14 @@ class BILLINGApi(object):
|
|
|
1438
2796
|
if key not in all_params:
|
|
1439
2797
|
raise TypeError(
|
|
1440
2798
|
"Got an unexpected keyword argument '%s'"
|
|
1441
|
-
" to method
|
|
2799
|
+
" to method list_budget_filter_zone_code" % key
|
|
1442
2800
|
)
|
|
1443
2801
|
params[key] = val
|
|
1444
2802
|
del params['kwargs']
|
|
1445
2803
|
# verify the required parameter 'body' is set
|
|
1446
2804
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
2805
|
params['body'] is None): # noqa: E501
|
|
1448
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2806
|
+
raise ValueError("Missing the required parameter `body` when calling `list_budget_filter_zone_code`") # noqa: E501
|
|
1449
2807
|
|
|
1450
2808
|
collection_formats = {}
|
|
1451
2809
|
|
|
@@ -1473,14 +2831,14 @@ class BILLINGApi(object):
|
|
|
1473
2831
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
2832
|
|
|
1475
2833
|
return self.api_client.call_api(
|
|
1476
|
-
'/
|
|
2834
|
+
'/ListBudgetFilterZoneCode/2022-01-01/billing/post/application_json/', 'POST',
|
|
1477
2835
|
path_params,
|
|
1478
2836
|
query_params,
|
|
1479
2837
|
header_params,
|
|
1480
2838
|
body=body_params,
|
|
1481
2839
|
post_params=form_params,
|
|
1482
2840
|
files=local_var_files,
|
|
1483
|
-
response_type='
|
|
2841
|
+
response_type='ListBudgetFilterZoneCodeResponse', # noqa: E501
|
|
1484
2842
|
auth_settings=auth_settings,
|
|
1485
2843
|
async_req=params.get('async_req'),
|
|
1486
2844
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2167,6 +3525,103 @@ class BILLINGApi(object):
|
|
|
2167
3525
|
_request_timeout=params.get('_request_timeout'),
|
|
2168
3526
|
collection_formats=collection_formats)
|
|
2169
3527
|
|
|
3528
|
+
def list_recipient_information(self, body, **kwargs): # noqa: E501
|
|
3529
|
+
"""list_recipient_information # noqa: E501
|
|
3530
|
+
|
|
3531
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3532
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3533
|
+
>>> thread = api.list_recipient_information(body, async_req=True)
|
|
3534
|
+
>>> result = thread.get()
|
|
3535
|
+
|
|
3536
|
+
:param async_req bool
|
|
3537
|
+
:param ListRecipientInformationRequest body: (required)
|
|
3538
|
+
:return: ListRecipientInformationResponse
|
|
3539
|
+
If the method is called asynchronously,
|
|
3540
|
+
returns the request thread.
|
|
3541
|
+
"""
|
|
3542
|
+
kwargs['_return_http_data_only'] = True
|
|
3543
|
+
if kwargs.get('async_req'):
|
|
3544
|
+
return self.list_recipient_information_with_http_info(body, **kwargs) # noqa: E501
|
|
3545
|
+
else:
|
|
3546
|
+
(data) = self.list_recipient_information_with_http_info(body, **kwargs) # noqa: E501
|
|
3547
|
+
return data
|
|
3548
|
+
|
|
3549
|
+
def list_recipient_information_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3550
|
+
"""list_recipient_information # noqa: E501
|
|
3551
|
+
|
|
3552
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3553
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3554
|
+
>>> thread = api.list_recipient_information_with_http_info(body, async_req=True)
|
|
3555
|
+
>>> result = thread.get()
|
|
3556
|
+
|
|
3557
|
+
:param async_req bool
|
|
3558
|
+
:param ListRecipientInformationRequest body: (required)
|
|
3559
|
+
:return: ListRecipientInformationResponse
|
|
3560
|
+
If the method is called asynchronously,
|
|
3561
|
+
returns the request thread.
|
|
3562
|
+
"""
|
|
3563
|
+
|
|
3564
|
+
all_params = ['body'] # noqa: E501
|
|
3565
|
+
all_params.append('async_req')
|
|
3566
|
+
all_params.append('_return_http_data_only')
|
|
3567
|
+
all_params.append('_preload_content')
|
|
3568
|
+
all_params.append('_request_timeout')
|
|
3569
|
+
|
|
3570
|
+
params = locals()
|
|
3571
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3572
|
+
if key not in all_params:
|
|
3573
|
+
raise TypeError(
|
|
3574
|
+
"Got an unexpected keyword argument '%s'"
|
|
3575
|
+
" to method list_recipient_information" % key
|
|
3576
|
+
)
|
|
3577
|
+
params[key] = val
|
|
3578
|
+
del params['kwargs']
|
|
3579
|
+
# verify the required parameter 'body' is set
|
|
3580
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
3581
|
+
params['body'] is None): # noqa: E501
|
|
3582
|
+
raise ValueError("Missing the required parameter `body` when calling `list_recipient_information`") # noqa: E501
|
|
3583
|
+
|
|
3584
|
+
collection_formats = {}
|
|
3585
|
+
|
|
3586
|
+
path_params = {}
|
|
3587
|
+
|
|
3588
|
+
query_params = []
|
|
3589
|
+
|
|
3590
|
+
header_params = {}
|
|
3591
|
+
|
|
3592
|
+
form_params = []
|
|
3593
|
+
local_var_files = {}
|
|
3594
|
+
|
|
3595
|
+
body_params = None
|
|
3596
|
+
if 'body' in params:
|
|
3597
|
+
body_params = params['body']
|
|
3598
|
+
# HTTP header `Accept`
|
|
3599
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3600
|
+
['application/json']) # noqa: E501
|
|
3601
|
+
|
|
3602
|
+
# HTTP header `Content-Type`
|
|
3603
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3604
|
+
['application/json']) # noqa: E501
|
|
3605
|
+
|
|
3606
|
+
# Authentication setting
|
|
3607
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
3608
|
+
|
|
3609
|
+
return self.api_client.call_api(
|
|
3610
|
+
'/ListRecipientInformation/2022-01-01/billing/post/application_json/', 'POST',
|
|
3611
|
+
path_params,
|
|
3612
|
+
query_params,
|
|
3613
|
+
header_params,
|
|
3614
|
+
body=body_params,
|
|
3615
|
+
post_params=form_params,
|
|
3616
|
+
files=local_var_files,
|
|
3617
|
+
response_type='ListRecipientInformationResponse', # noqa: E501
|
|
3618
|
+
auth_settings=auth_settings,
|
|
3619
|
+
async_req=params.get('async_req'),
|
|
3620
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3621
|
+
_preload_content=params.get('_preload_content', True),
|
|
3622
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3623
|
+
collection_formats=collection_formats)
|
|
3624
|
+
|
|
2170
3625
|
def list_resource_packages(self, body, **kwargs): # noqa: E501
|
|
2171
3626
|
"""list_resource_packages # noqa: E501
|
|
2172
3627
|
|
|
@@ -2555,6 +4010,103 @@ class BILLINGApi(object):
|
|
|
2555
4010
|
_request_timeout=params.get('_request_timeout'),
|
|
2556
4011
|
collection_formats=collection_formats)
|
|
2557
4012
|
|
|
4013
|
+
def query_budget_detail(self, body, **kwargs): # noqa: E501
|
|
4014
|
+
"""query_budget_detail # noqa: E501
|
|
4015
|
+
|
|
4016
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4017
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4018
|
+
>>> thread = api.query_budget_detail(body, async_req=True)
|
|
4019
|
+
>>> result = thread.get()
|
|
4020
|
+
|
|
4021
|
+
:param async_req bool
|
|
4022
|
+
:param QueryBudgetDetailRequest body: (required)
|
|
4023
|
+
:return: QueryBudgetDetailResponse
|
|
4024
|
+
If the method is called asynchronously,
|
|
4025
|
+
returns the request thread.
|
|
4026
|
+
"""
|
|
4027
|
+
kwargs['_return_http_data_only'] = True
|
|
4028
|
+
if kwargs.get('async_req'):
|
|
4029
|
+
return self.query_budget_detail_with_http_info(body, **kwargs) # noqa: E501
|
|
4030
|
+
else:
|
|
4031
|
+
(data) = self.query_budget_detail_with_http_info(body, **kwargs) # noqa: E501
|
|
4032
|
+
return data
|
|
4033
|
+
|
|
4034
|
+
def query_budget_detail_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4035
|
+
"""query_budget_detail # noqa: E501
|
|
4036
|
+
|
|
4037
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4038
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4039
|
+
>>> thread = api.query_budget_detail_with_http_info(body, async_req=True)
|
|
4040
|
+
>>> result = thread.get()
|
|
4041
|
+
|
|
4042
|
+
:param async_req bool
|
|
4043
|
+
:param QueryBudgetDetailRequest body: (required)
|
|
4044
|
+
:return: QueryBudgetDetailResponse
|
|
4045
|
+
If the method is called asynchronously,
|
|
4046
|
+
returns the request thread.
|
|
4047
|
+
"""
|
|
4048
|
+
|
|
4049
|
+
all_params = ['body'] # noqa: E501
|
|
4050
|
+
all_params.append('async_req')
|
|
4051
|
+
all_params.append('_return_http_data_only')
|
|
4052
|
+
all_params.append('_preload_content')
|
|
4053
|
+
all_params.append('_request_timeout')
|
|
4054
|
+
|
|
4055
|
+
params = locals()
|
|
4056
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
4057
|
+
if key not in all_params:
|
|
4058
|
+
raise TypeError(
|
|
4059
|
+
"Got an unexpected keyword argument '%s'"
|
|
4060
|
+
" to method query_budget_detail" % key
|
|
4061
|
+
)
|
|
4062
|
+
params[key] = val
|
|
4063
|
+
del params['kwargs']
|
|
4064
|
+
# verify the required parameter 'body' is set
|
|
4065
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
4066
|
+
params['body'] is None): # noqa: E501
|
|
4067
|
+
raise ValueError("Missing the required parameter `body` when calling `query_budget_detail`") # noqa: E501
|
|
4068
|
+
|
|
4069
|
+
collection_formats = {}
|
|
4070
|
+
|
|
4071
|
+
path_params = {}
|
|
4072
|
+
|
|
4073
|
+
query_params = []
|
|
4074
|
+
|
|
4075
|
+
header_params = {}
|
|
4076
|
+
|
|
4077
|
+
form_params = []
|
|
4078
|
+
local_var_files = {}
|
|
4079
|
+
|
|
4080
|
+
body_params = None
|
|
4081
|
+
if 'body' in params:
|
|
4082
|
+
body_params = params['body']
|
|
4083
|
+
# HTTP header `Accept`
|
|
4084
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4085
|
+
['application/json']) # noqa: E501
|
|
4086
|
+
|
|
4087
|
+
# HTTP header `Content-Type`
|
|
4088
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4089
|
+
['application/json']) # noqa: E501
|
|
4090
|
+
|
|
4091
|
+
# Authentication setting
|
|
4092
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
4093
|
+
|
|
4094
|
+
return self.api_client.call_api(
|
|
4095
|
+
'/QueryBudgetDetail/2022-01-01/billing/post/application_json/', 'POST',
|
|
4096
|
+
path_params,
|
|
4097
|
+
query_params,
|
|
4098
|
+
header_params,
|
|
4099
|
+
body=body_params,
|
|
4100
|
+
post_params=form_params,
|
|
4101
|
+
files=local_var_files,
|
|
4102
|
+
response_type='QueryBudgetDetailResponse', # noqa: E501
|
|
4103
|
+
auth_settings=auth_settings,
|
|
4104
|
+
async_req=params.get('async_req'),
|
|
4105
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
4106
|
+
_preload_content=params.get('_preload_content', True),
|
|
4107
|
+
_request_timeout=params.get('_request_timeout'),
|
|
4108
|
+
collection_formats=collection_formats)
|
|
4109
|
+
|
|
2558
4110
|
def query_price_for_pay_as_you_go(self, body, **kwargs): # noqa: E501
|
|
2559
4111
|
"""query_price_for_pay_as_you_go # noqa: E501
|
|
2560
4112
|
|
|
@@ -3233,3 +4785,100 @@ class BILLINGApi(object):
|
|
|
3233
4785
|
_preload_content=params.get('_preload_content', True),
|
|
3234
4786
|
_request_timeout=params.get('_request_timeout'),
|
|
3235
4787
|
collection_formats=collection_formats)
|
|
4788
|
+
|
|
4789
|
+
def update_budget(self, body, **kwargs): # noqa: E501
|
|
4790
|
+
"""update_budget # noqa: E501
|
|
4791
|
+
|
|
4792
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4793
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4794
|
+
>>> thread = api.update_budget(body, async_req=True)
|
|
4795
|
+
>>> result = thread.get()
|
|
4796
|
+
|
|
4797
|
+
:param async_req bool
|
|
4798
|
+
:param UpdateBudgetRequest body: (required)
|
|
4799
|
+
:return: UpdateBudgetResponse
|
|
4800
|
+
If the method is called asynchronously,
|
|
4801
|
+
returns the request thread.
|
|
4802
|
+
"""
|
|
4803
|
+
kwargs['_return_http_data_only'] = True
|
|
4804
|
+
if kwargs.get('async_req'):
|
|
4805
|
+
return self.update_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
4806
|
+
else:
|
|
4807
|
+
(data) = self.update_budget_with_http_info(body, **kwargs) # noqa: E501
|
|
4808
|
+
return data
|
|
4809
|
+
|
|
4810
|
+
def update_budget_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4811
|
+
"""update_budget # noqa: E501
|
|
4812
|
+
|
|
4813
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4814
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4815
|
+
>>> thread = api.update_budget_with_http_info(body, async_req=True)
|
|
4816
|
+
>>> result = thread.get()
|
|
4817
|
+
|
|
4818
|
+
:param async_req bool
|
|
4819
|
+
:param UpdateBudgetRequest body: (required)
|
|
4820
|
+
:return: UpdateBudgetResponse
|
|
4821
|
+
If the method is called asynchronously,
|
|
4822
|
+
returns the request thread.
|
|
4823
|
+
"""
|
|
4824
|
+
|
|
4825
|
+
all_params = ['body'] # noqa: E501
|
|
4826
|
+
all_params.append('async_req')
|
|
4827
|
+
all_params.append('_return_http_data_only')
|
|
4828
|
+
all_params.append('_preload_content')
|
|
4829
|
+
all_params.append('_request_timeout')
|
|
4830
|
+
|
|
4831
|
+
params = locals()
|
|
4832
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
4833
|
+
if key not in all_params:
|
|
4834
|
+
raise TypeError(
|
|
4835
|
+
"Got an unexpected keyword argument '%s'"
|
|
4836
|
+
" to method update_budget" % key
|
|
4837
|
+
)
|
|
4838
|
+
params[key] = val
|
|
4839
|
+
del params['kwargs']
|
|
4840
|
+
# verify the required parameter 'body' is set
|
|
4841
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
4842
|
+
params['body'] is None): # noqa: E501
|
|
4843
|
+
raise ValueError("Missing the required parameter `body` when calling `update_budget`") # noqa: E501
|
|
4844
|
+
|
|
4845
|
+
collection_formats = {}
|
|
4846
|
+
|
|
4847
|
+
path_params = {}
|
|
4848
|
+
|
|
4849
|
+
query_params = []
|
|
4850
|
+
|
|
4851
|
+
header_params = {}
|
|
4852
|
+
|
|
4853
|
+
form_params = []
|
|
4854
|
+
local_var_files = {}
|
|
4855
|
+
|
|
4856
|
+
body_params = None
|
|
4857
|
+
if 'body' in params:
|
|
4858
|
+
body_params = params['body']
|
|
4859
|
+
# HTTP header `Accept`
|
|
4860
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4861
|
+
['application/json']) # noqa: E501
|
|
4862
|
+
|
|
4863
|
+
# HTTP header `Content-Type`
|
|
4864
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4865
|
+
['application/json']) # noqa: E501
|
|
4866
|
+
|
|
4867
|
+
# Authentication setting
|
|
4868
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
4869
|
+
|
|
4870
|
+
return self.api_client.call_api(
|
|
4871
|
+
'/UpdateBudget/2022-01-01/billing/post/application_json/', 'POST',
|
|
4872
|
+
path_params,
|
|
4873
|
+
query_params,
|
|
4874
|
+
header_params,
|
|
4875
|
+
body=body_params,
|
|
4876
|
+
post_params=form_params,
|
|
4877
|
+
files=local_var_files,
|
|
4878
|
+
response_type='UpdateBudgetResponse', # noqa: E501
|
|
4879
|
+
auth_settings=auth_settings,
|
|
4880
|
+
async_req=params.get('async_req'),
|
|
4881
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
4882
|
+
_preload_content=params.get('_preload_content', True),
|
|
4883
|
+
_request_timeout=params.get('_request_timeout'),
|
|
4884
|
+
collection_formats=collection_formats)
|