/** * * * OpenAPI spec version: 20190415 * * * 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/mysql/ListChannels.ts.html |here} to see how to use ListChannelsRequest. */ export interface ListChannelsRequest extends common.BaseRequest { /** * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "compartmentId": string; /** * Customer-defined unique identifier for the request. If you need to * contact Oracle about a specific request, please provide the request * ID that you supplied in this header with the request. * */ "opcRequestId"?: string; /** * The DB System [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "dbSystemId"?: string; /** * The OCID of the Channel. */ "channelId"?: string; /** * A filter to return only the resource matching the given display name exactly. */ "displayName"?: string; /** * The LifecycleState of the Channel. */ "lifecycleState"?: string; /** * If true, returns only Channels that are enabled. If false, returns only * Channels that are disabled. * */ "isEnabled"?: boolean; /** * The field to sort by. Only one sort order may be provided. Time fields are default ordered as descending. Display name is default ordered as ascending. * */ "sortBy"?: ListChannelsRequest.SortBy; /** * The sort order to use (ASC or DESC). */ "sortOrder"?: ListChannelsRequest.SortOrder; /** * The maximum number of items to return in a paginated list call. For information about pagination, see * [List Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "limit"?: number; /** * The value of the {@code opc-next-page} or {@code opc-prev-page} response header from * the previous list call. For information about pagination, see [List * Pagination](https://docs.oracle.com/iaas/#API/Concepts/usingapi.htm#List_Pagination). * */ "page"?: string; } export declare namespace ListChannelsRequest { enum SortBy { DisplayName = "displayName", TimeCreated = "timeCreated" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }