updateTransformWithHttpInfo method

Future<Response> updateTransformWithHttpInfo(
  1. String id,
  2. AssetsTransformsRequestBody assetsTransformsRequestBody
)

Update an existing AssetsTransform by ID

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> updateTransformWithHttpInfo(
  String id,
  AssetsTransformsRequestBody assetsTransformsRequestBody,
) async {
  // ignore: prefer_const_declarations
  final path = r'/ga/transforms/{id}'.replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody = assetsTransformsRequestBody.toJson();

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};
  const contentTypes = <String>['application/json'];

  return apiClient.invokeAPI(
    path,
    'PUT',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}