/** * * * OpenAPI spec version: 0.0.1 * * * 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/announcementsservice/ListAnnouncementSubscriptions.ts.html |here} to see how to use ListAnnouncementSubscriptionsRequest. */ export interface ListAnnouncementSubscriptionsRequest extends common.BaseRequest { /** * The OCID of the compartment. * */ "compartmentId": string; /** * A filter to return only announcement subscriptions that match the given lifecycle state. */ "lifecycleState"?: string; /** * A filter to return only resources that match the entire display name given. */ "displayName"?: string; /** * The OCID of the announcement subscription. */ "id"?: 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; /** * The sort order to use, whether ascending ('ASC') or descending ('DESC'). */ "sortOrder"?: model.SortOrder; /** * The criteria to sort by. You can specify only one sort order. The default sort order for the creation date of resources is descending. The default sort order for display names is ascending. * */ "sortBy"?: ListAnnouncementSubscriptionsRequest.SortBy; /** * The unique Oracle-assigned identifier for the request. If you need to contact Oracle about * a particular request, please provide the complete request ID. * */ "opcRequestId"?: string; } export declare namespace ListAnnouncementSubscriptionsRequest { enum SortBy { TimeCreated = "timeCreated", DisplayName = "displayName" } }