@@ -1197,6 +1197,103 @@ def delete_usage_report_with_http_info(self, body, **kwargs): # noqa: E501
11971197 _request_timeout = params .get ('_request_timeout' ),
11981198 collection_formats = collection_formats )
11991199
1200+ def describe_billing_detail (self , body , ** kwargs ): # noqa: E501
1201+ """describe_billing_detail # noqa: E501
1202+
1203+ This method makes a synchronous HTTP request by default. To make an
1204+ asynchronous HTTP request, please pass async_req=True
1205+ >>> thread = api.describe_billing_detail(body, async_req=True)
1206+ >>> result = thread.get()
1207+
1208+ :param async_req bool
1209+ :param DescribeBillingDetailRequest body: (required)
1210+ :return: DescribeBillingDetailResponse
1211+ If the method is called asynchronously,
1212+ returns the request thread.
1213+ """
1214+ kwargs ['_return_http_data_only' ] = True
1215+ if kwargs .get ('async_req' ):
1216+ return self .describe_billing_detail_with_http_info (body , ** kwargs ) # noqa: E501
1217+ else :
1218+ (data ) = self .describe_billing_detail_with_http_info (body , ** kwargs ) # noqa: E501
1219+ return data
1220+
1221+ def describe_billing_detail_with_http_info (self , body , ** kwargs ): # noqa: E501
1222+ """describe_billing_detail # noqa: E501
1223+
1224+ This method makes a synchronous HTTP request by default. To make an
1225+ asynchronous HTTP request, please pass async_req=True
1226+ >>> thread = api.describe_billing_detail_with_http_info(body, async_req=True)
1227+ >>> result = thread.get()
1228+
1229+ :param async_req bool
1230+ :param DescribeBillingDetailRequest body: (required)
1231+ :return: DescribeBillingDetailResponse
1232+ If the method is called asynchronously,
1233+ returns the request thread.
1234+ """
1235+
1236+ all_params = ['body' ] # noqa: E501
1237+ all_params .append ('async_req' )
1238+ all_params .append ('_return_http_data_only' )
1239+ all_params .append ('_preload_content' )
1240+ all_params .append ('_request_timeout' )
1241+
1242+ params = locals ()
1243+ for key , val in six .iteritems (params ['kwargs' ]):
1244+ if key not in all_params :
1245+ raise TypeError (
1246+ "Got an unexpected keyword argument '%s'"
1247+ " to method describe_billing_detail" % key
1248+ )
1249+ params [key ] = val
1250+ del params ['kwargs' ]
1251+ # verify the required parameter 'body' is set
1252+ if self .api_client .client_side_validation and ('body' not in params or
1253+ params ['body' ] is None ): # noqa: E501
1254+ raise ValueError ("Missing the required parameter `body` when calling `describe_billing_detail`" ) # noqa: E501
1255+
1256+ collection_formats = {}
1257+
1258+ path_params = {}
1259+
1260+ query_params = []
1261+
1262+ header_params = {}
1263+
1264+ form_params = []
1265+ local_var_files = {}
1266+
1267+ body_params = None
1268+ if 'body' in params :
1269+ body_params = params ['body' ]
1270+ # HTTP header `Accept`
1271+ header_params ['Accept' ] = self .api_client .select_header_accept (
1272+ ['application/json' ]) # noqa: E501
1273+
1274+ # HTTP header `Content-Type`
1275+ header_params ['Content-Type' ] = self .api_client .select_header_content_type ( # noqa: E501
1276+ ['application/json' ]) # noqa: E501
1277+
1278+ # Authentication setting
1279+ auth_settings = ['volcengineSign' ] # noqa: E501
1280+
1281+ return self .api_client .call_api (
1282+ '/DescribeBillingDetail/2021-03-01/cdn/post/application_json/' , 'POST' ,
1283+ path_params ,
1284+ query_params ,
1285+ header_params ,
1286+ body = body_params ,
1287+ post_params = form_params ,
1288+ files = local_var_files ,
1289+ response_type = 'DescribeBillingDetailResponse' , # noqa: E501
1290+ auth_settings = auth_settings ,
1291+ async_req = params .get ('async_req' ),
1292+ _return_http_data_only = params .get ('_return_http_data_only' ),
1293+ _preload_content = params .get ('_preload_content' , True ),
1294+ _request_timeout = params .get ('_request_timeout' ),
1295+ collection_formats = collection_formats )
1296+
12001297 def describe_cdn_access_log (self , body , ** kwargs ): # noqa: E501
12011298 """describe_cdn_access_log # noqa: E501
12021299
0 commit comments