createAssetsScanColumnWithHttpInfo method

Future<Response> createAssetsScanColumnWithHttpInfo(
  1. String companyId,
  2. String assetId,
  3. AssetsInput assetsInput
)

Scan a column in the asset's table to retrieve distinct values Request Body: column (str): Column name to scan limit (int, optional): Maximum distinct values to return (default 1000, max 5000) Returns: Flask Response with scan results

Note: This method returns the HTTP Response.

Parameters:

  • String companyId (required): Unique identifier for the Company

  • String assetId (required): Unique identifier for the Asset

  • AssetsInput assetsInput (required):

Implementation

Future<Response> createAssetsScanColumnWithHttpInfo(String companyId, String assetId, AssetsInput assetsInput,) async {
  // ignore: prefer_const_declarations
  final path = r'/companies/{company_id}/assets/{asset_id}/scan_column'
    .replaceAll('{company_id}', companyId)
    .replaceAll('{asset_id}', assetId);

  // 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,
  );
}