@@ -1003,103 +1003,6 @@ def list_amortized_cost_bill_daily_with_http_info(self, body, **kwargs): # noqa
10031003 _request_timeout = params .get ('_request_timeout' ),
10041004 collection_formats = collection_formats )
10051005
1006- def list_amortized_cost_bill_detail (self , body , ** kwargs ): # noqa: E501
1007- """list_amortized_cost_bill_detail # noqa: E501
1008-
1009- This method makes a synchronous HTTP request by default. To make an
1010- asynchronous HTTP request, please pass async_req=True
1011- >>> thread = api.list_amortized_cost_bill_detail(body, async_req=True)
1012- >>> result = thread.get()
1013-
1014- :param async_req bool
1015- :param ListAmortizedCostBillDetailRequest body: (required)
1016- :return: ListAmortizedCostBillDetailResponse
1017- If the method is called asynchronously,
1018- returns the request thread.
1019- """
1020- kwargs ['_return_http_data_only' ] = True
1021- if kwargs .get ('async_req' ):
1022- return self .list_amortized_cost_bill_detail_with_http_info (body , ** kwargs ) # noqa: E501
1023- else :
1024- (data ) = self .list_amortized_cost_bill_detail_with_http_info (body , ** kwargs ) # noqa: E501
1025- return data
1026-
1027- def list_amortized_cost_bill_detail_with_http_info (self , body , ** kwargs ): # noqa: E501
1028- """list_amortized_cost_bill_detail # noqa: E501
1029-
1030- This method makes a synchronous HTTP request by default. To make an
1031- asynchronous HTTP request, please pass async_req=True
1032- >>> thread = api.list_amortized_cost_bill_detail_with_http_info(body, async_req=True)
1033- >>> result = thread.get()
1034-
1035- :param async_req bool
1036- :param ListAmortizedCostBillDetailRequest body: (required)
1037- :return: ListAmortizedCostBillDetailResponse
1038- If the method is called asynchronously,
1039- returns the request thread.
1040- """
1041-
1042- all_params = ['body' ] # noqa: E501
1043- all_params .append ('async_req' )
1044- all_params .append ('_return_http_data_only' )
1045- all_params .append ('_preload_content' )
1046- all_params .append ('_request_timeout' )
1047-
1048- params = locals ()
1049- for key , val in six .iteritems (params ['kwargs' ]):
1050- if key not in all_params :
1051- raise TypeError (
1052- "Got an unexpected keyword argument '%s'"
1053- " to method list_amortized_cost_bill_detail" % key
1054- )
1055- params [key ] = val
1056- del params ['kwargs' ]
1057- # verify the required parameter 'body' is set
1058- if self .api_client .client_side_validation and ('body' not in params or
1059- params ['body' ] is None ): # noqa: E501
1060- raise ValueError ("Missing the required parameter `body` when calling `list_amortized_cost_bill_detail`" ) # noqa: E501
1061-
1062- collection_formats = {}
1063-
1064- path_params = {}
1065-
1066- query_params = []
1067-
1068- header_params = {}
1069-
1070- form_params = []
1071- local_var_files = {}
1072-
1073- body_params = None
1074- if 'body' in params :
1075- body_params = params ['body' ]
1076- # HTTP header `Accept`
1077- header_params ['Accept' ] = self .api_client .select_header_accept (
1078- ['application/json' ]) # noqa: E501
1079-
1080- # HTTP header `Content-Type`
1081- header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1082- ['application/json' ]) # noqa: E501
1083-
1084- # Authentication setting
1085- auth_settings = ['volcengineSign' ] # noqa: E501
1086-
1087- return self .api_client .call_api (
1088- '/ListAmortizedCostBillDetail/2022-01-01/billing/post/application_json/' , 'POST' ,
1089- path_params ,
1090- query_params ,
1091- header_params ,
1092- body = body_params ,
1093- post_params = form_params ,
1094- files = local_var_files ,
1095- response_type = 'ListAmortizedCostBillDetailResponse' , # noqa: E501
1096- auth_settings = auth_settings ,
1097- async_req = params .get ('async_req' ),
1098- _return_http_data_only = params .get ('_return_http_data_only' ),
1099- _preload_content = params .get ('_preload_content' , True ),
1100- _request_timeout = params .get ('_request_timeout' ),
1101- collection_formats = collection_formats )
1102-
11031006 def list_amortized_cost_bill_monthly (self , body , ** kwargs ): # noqa: E501
11041007 """list_amortized_cost_bill_monthly # noqa: E501
11051008
0 commit comments