createAssetsAnalyzeWithHttpInfo method
Future<Response>
createAssetsAnalyzeWithHttpInfo(
- String companyHandle,
- String assetSlug,
- AssetsInput assetsInput
Process (analyze) an asset with dynamic rate limiting applied via decorator.
Note: This method returns the HTTP Response.
Parameters:
-
String companyHandle (required): Human-readable handle for the Company
-
String assetSlug (required): URL-friendly slug for the Asset
-
AssetsInput assetsInput (required):
Implementation
Future<Response> createAssetsAnalyzeWithHttpInfo(String companyHandle, String assetSlug, AssetsInput assetsInput,) async {
// ignore: prefer_const_declarations
final path = r'/analyze/{company_handle}/assets/{asset_slug}'
.replaceAll('{company_handle}', companyHandle)
.replaceAll('{asset_slug}', assetSlug);
// ignore: prefer_final_locals
Object? postBody = assetsInput;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}