import type { JSONSupport } from "../../../../core/JSONSupport.js";
import type { AccessType } from "../../../../versionManagement/support/type.js";

/** @since 5.0 */
export interface AlterVersionParametersProperties extends Partial<Pick<AlterVersionParameters, "access" | "description" | "ownerName" | "versionName">> {}

/** @since 5.0 */
export default class AlterVersionParameters extends JSONSupport {
  constructor(properties?: AlterVersionParametersProperties);
  /**
   * The new access permissions of the version.
   *
   * @since 5.0
   */
  accessor access: AccessType | null | undefined;
  /**
   * The new description for the version.
   *
   * @since 5.0
   */
  accessor description: string | undefined;
  /**
   * The new owner name of the version.
   *
   * @since 5.0
   */
  accessor ownerName: string | undefined;
  /**
   * The new name for the version.
   *
   * @since 5.0
   */
  accessor versionName: string | undefined;
}