Skip to content

Commit b10ec32

Browse files
committed
update
2 parents add7c64 + b5b30aa commit b10ec32

File tree

7 files changed

+2582
-2
lines changed

7 files changed

+2582
-2
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"lasted": "1.0.65",
3-
"meta_commit": "91e2ea8978bf19f8688e59ee8901e20b227bc8cf"
4-
}
3+
"meta_commit": "25427c7684dff4d500db02f50d861d3a0c7278db"
4+
}

volcenginesdkbilling/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
# import models into sdk package
2222
from volcenginesdkbilling.models.convert_list_for_list_bill_overview_by_category_output import ConvertListForListBillOverviewByCategoryOutput
23+
from volcenginesdkbilling.models.list_amortized_cost_bill_daily_request import ListAmortizedCostBillDailyRequest
24+
from volcenginesdkbilling.models.list_amortized_cost_bill_daily_response import ListAmortizedCostBillDailyResponse
2325
from volcenginesdkbilling.models.list_amortized_cost_bill_detail_request import ListAmortizedCostBillDetailRequest
2426
from volcenginesdkbilling.models.list_amortized_cost_bill_detail_response import ListAmortizedCostBillDetailResponse
2527
from volcenginesdkbilling.models.list_amortized_cost_bill_monthly_request import ListAmortizedCostBillMonthlyRequest
@@ -32,6 +34,7 @@
3234
from volcenginesdkbilling.models.list_bill_overview_by_prod_response import ListBillOverviewByProdResponse
3335
from volcenginesdkbilling.models.list_bill_request import ListBillRequest
3436
from volcenginesdkbilling.models.list_bill_response import ListBillResponse
37+
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_daily_output import ListForListAmortizedCostBillDailyOutput
3538
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_detail_output import ListForListAmortizedCostBillDetailOutput
3639
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_monthly_output import ListForListAmortizedCostBillMonthlyOutput
3740
from volcenginesdkbilling.models.list_for_list_bill_detail_output import ListForListBillDetailOutput

volcenginesdkbilling/api/billing_api.py

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,103 @@ def __init__(self, api_client=None):
3333
api_client = volcenginesdkcore.ApiClient()
3434
self.api_client = api_client
3535

36+
def list_amortized_cost_bill_daily(self, body, **kwargs): # noqa: E501
37+
"""list_amortized_cost_bill_daily # noqa: E501
38+
39+
This method makes a synchronous HTTP request by default. To make an
40+
asynchronous HTTP request, please pass async_req=True
41+
>>> thread = api.list_amortized_cost_bill_daily(body, async_req=True)
42+
>>> result = thread.get()
43+
44+
:param async_req bool
45+
:param ListAmortizedCostBillDailyRequest body: (required)
46+
:return: ListAmortizedCostBillDailyResponse
47+
If the method is called asynchronously,
48+
returns the request thread.
49+
"""
50+
kwargs['_return_http_data_only'] = True
51+
if kwargs.get('async_req'):
52+
return self.list_amortized_cost_bill_daily_with_http_info(body, **kwargs) # noqa: E501
53+
else:
54+
(data) = self.list_amortized_cost_bill_daily_with_http_info(body, **kwargs) # noqa: E501
55+
return data
56+
57+
def list_amortized_cost_bill_daily_with_http_info(self, body, **kwargs): # noqa: E501
58+
"""list_amortized_cost_bill_daily # noqa: E501
59+
60+
This method makes a synchronous HTTP request by default. To make an
61+
asynchronous HTTP request, please pass async_req=True
62+
>>> thread = api.list_amortized_cost_bill_daily_with_http_info(body, async_req=True)
63+
>>> result = thread.get()
64+
65+
:param async_req bool
66+
:param ListAmortizedCostBillDailyRequest body: (required)
67+
:return: ListAmortizedCostBillDailyResponse
68+
If the method is called asynchronously,
69+
returns the request thread.
70+
"""
71+
72+
all_params = ['body'] # noqa: E501
73+
all_params.append('async_req')
74+
all_params.append('_return_http_data_only')
75+
all_params.append('_preload_content')
76+
all_params.append('_request_timeout')
77+
78+
params = locals()
79+
for key, val in six.iteritems(params['kwargs']):
80+
if key not in all_params:
81+
raise TypeError(
82+
"Got an unexpected keyword argument '%s'"
83+
" to method list_amortized_cost_bill_daily" % key
84+
)
85+
params[key] = val
86+
del params['kwargs']
87+
# verify the required parameter 'body' is set
88+
if self.api_client.client_side_validation and ('body' not in params or
89+
params['body'] is None): # noqa: E501
90+
raise ValueError("Missing the required parameter `body` when calling `list_amortized_cost_bill_daily`") # noqa: E501
91+
92+
collection_formats = {}
93+
94+
path_params = {}
95+
96+
query_params = []
97+
98+
header_params = {}
99+
100+
form_params = []
101+
local_var_files = {}
102+
103+
body_params = None
104+
if 'body' in params:
105+
body_params = params['body']
106+
# HTTP header `Accept`
107+
header_params['Accept'] = self.api_client.select_header_accept(
108+
['application/json']) # noqa: E501
109+
110+
# HTTP header `Content-Type`
111+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
112+
['application/json']) # noqa: E501
113+
114+
# Authentication setting
115+
auth_settings = ['volcengineSign'] # noqa: E501
116+
117+
return self.api_client.call_api(
118+
'/ListAmortizedCostBillDaily/2022-01-01/billing/post/application_json/', 'POST',
119+
path_params,
120+
query_params,
121+
header_params,
122+
body=body_params,
123+
post_params=form_params,
124+
files=local_var_files,
125+
response_type='ListAmortizedCostBillDailyResponse', # noqa: E501
126+
auth_settings=auth_settings,
127+
async_req=params.get('async_req'),
128+
_return_http_data_only=params.get('_return_http_data_only'),
129+
_preload_content=params.get('_preload_content', True),
130+
_request_timeout=params.get('_request_timeout'),
131+
collection_formats=collection_formats)
132+
36133
def list_amortized_cost_bill_detail(self, body, **kwargs): # noqa: E501
37134
"""list_amortized_cost_bill_detail # noqa: E501
38135

volcenginesdkbilling/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
# import models into model package
1818
from volcenginesdkbilling.models.convert_list_for_list_bill_overview_by_category_output import ConvertListForListBillOverviewByCategoryOutput
19+
from volcenginesdkbilling.models.list_amortized_cost_bill_daily_request import ListAmortizedCostBillDailyRequest
20+
from volcenginesdkbilling.models.list_amortized_cost_bill_daily_response import ListAmortizedCostBillDailyResponse
1921
from volcenginesdkbilling.models.list_amortized_cost_bill_detail_request import ListAmortizedCostBillDetailRequest
2022
from volcenginesdkbilling.models.list_amortized_cost_bill_detail_response import ListAmortizedCostBillDetailResponse
2123
from volcenginesdkbilling.models.list_amortized_cost_bill_monthly_request import ListAmortizedCostBillMonthlyRequest
@@ -28,6 +30,7 @@
2830
from volcenginesdkbilling.models.list_bill_overview_by_prod_response import ListBillOverviewByProdResponse
2931
from volcenginesdkbilling.models.list_bill_request import ListBillRequest
3032
from volcenginesdkbilling.models.list_bill_response import ListBillResponse
33+
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_daily_output import ListForListAmortizedCostBillDailyOutput
3134
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_detail_output import ListForListAmortizedCostBillDetailOutput
3235
from volcenginesdkbilling.models.list_for_list_amortized_cost_bill_monthly_output import ListForListAmortizedCostBillMonthlyOutput
3336
from volcenginesdkbilling.models.list_for_list_bill_detail_output import ListForListBillDetailOutput

0 commit comments

Comments
 (0)