modelsDeleteByAssetmodelidAndTenantid method

Future<void> modelsDeleteByAssetmodelidAndTenantid(
  1. int assetModelId,
  2. String tenantId,
  3. String region, {
  4. String ifMatch,
})

Archive a model for future deletion

Summary:Archive a model for future deletion.
Return Type:

Parameters:

  • int assetModelId (required): key: AssetModelId

  • String tenantId (required): The unique Tenant ID (UUID or Identifier string)

  • String region (required): The data center region the data resides in

  • String ifMatch: If-Match header

Implementation

Future<void> modelsDeleteByAssetmodelidAndTenantid(int assetModelId, String tenantId, String region, { String ifMatch, }) async {
  final response = await modelsDeleteByAssetmodelidAndTenantidWithHttpInfo(assetModelId, tenantId, region,  ifMatch: ifMatch, );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}