/** * * * OpenAPI spec version: 20180608 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/vault/ListSecretVersions.ts.html |here} to see how to use ListSecretVersionsRequest. */ export interface ListSecretVersionsRequest extends common.BaseRequest { /** * The OCID of the secret. */ "secretId": string; /** * The maximum number of items to return in a paginated \"List\" call. * */ "limit"?: number; /** * The value of the {@code opc-next-page} response header * from the previous \"List\" call. * */ "page"?: string; /** * Unique identifier for the request. If provided, the returned request ID * will include this value. Otherwise, a random request ID will be * generated by the service. * */ "opcRequestId"?: string; /** * The field to sort by. Only one sort order may be provided. Time created is default ordered as descending. Display name is default ordered as ascending. * */ "sortBy"?: ListSecretVersionsRequest.SortBy; /** * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). * */ "sortOrder"?: ListSecretVersionsRequest.SortOrder; } export declare namespace ListSecretVersionsRequest { enum SortBy { VersionNumber = "VERSION_NUMBER" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }