/** * * * OpenAPI spec version: 20181001 * * * 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 * as model from "../model"; import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplace/ListPublications.ts.html |here} to see how to use ListPublicationsRequest. */ export interface ListPublicationsRequest extends common.BaseRequest { /** * The unique identifier for the compartment. */ "compartmentId": string; /** * The type of the listing. */ "listingType": model.ListingType; /** * The name of the publication. */ "name"?: Array; /** * The unique identifier for the publication. */ "publicationId"?: string; /** * The operating system of the listing. */ "operatingSystems"?: Array; /** * The field to use to sort listed results. You can only specify one field to sort by. * {@code TIMERELEASED} displays results in descending order by default. * You can change your preference by specifying a different sort order. * */ "sortBy"?: ListPublicationsRequest.SortBy; /** * The sort order to use, either {@code ASC} or {@code DESC}. */ "sortOrder"?: ListPublicationsRequest.SortOrder; /** * How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30. * */ "limit"?: number; /** * The value of the {@code opc-next-page} response header from the previous \"List\" call. */ "page"?: string; /** * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, * please provide the request ID. * */ "opcRequestId"?: string; } export declare namespace ListPublicationsRequest { enum SortBy { Timereleased = "TIMERELEASED" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }