/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT License.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is regenerated.
 */

import {
  PathsZjw2F1V01AppsOwnerNameAppNameDeploymentsDeploymentNameReleasesReleaseLabelPatchRequestbodyContentApplicationJsonSchema,
  DeploymentReleasesUpdateOptionalParams,
  DeploymentReleasesUpdateResponse
} from "../models";

/** Interface representing a DeploymentReleases. */
export interface DeploymentReleases {
  /**
   * Modifies a CodePush release metadata under the given Deployment
   * @param deploymentName deployment name
   * @param releaseLabel release label
   * @param ownerName The name of the owner
   * @param appName The name of the application
   * @param release Release modification. All fields are optional and only provided fields will get
   *                updated.
   * @param options The options parameters.
   */
  update(
    deploymentName: string,
    releaseLabel: string,
    ownerName: string,
    appName: string,
    release: PathsZjw2F1V01AppsOwnerNameAppNameDeploymentsDeploymentNameReleasesReleaseLabelPatchRequestbodyContentApplicationJsonSchema,
    options?: DeploymentReleasesUpdateOptionalParams
  ): Promise<DeploymentReleasesUpdateResponse>;
}
