/** * * * OpenAPI spec version: 20191010 * * * 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/blockchain/ListPeers.ts.html |here} to see how to use ListPeersRequest. */ export interface ListPeersRequest extends common.BaseRequest { /** * Unique service identifier. */ "blockchainPlatformId": string; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Example: {@code My new resource} * */ "displayName"?: string; /** * The client request ID for tracing. */ "opcRequestId"?: string; /** * A token that uniquely identifies a request so it can be retried in case of a timeout or * server error without risk of executing that same action again. Retry tokens expire after 24 * hours, but can be invalidated before then due to conflicting operations. For example, if a resource * has been deleted and purged from the system, then a retry of the original creation request * might be rejected. * */ "opcRetryToken"?: string; /** * The sort order to use, either 'asc' or 'desc'. */ "sortOrder"?: ListPeersRequest.SortOrder; /** * The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. * */ "sortBy"?: ListPeersRequest.SortBy; /** * The page at which to start retrieving results. */ "page"?: string; /** * The maximum number of items to return. */ "limit"?: number; } export declare namespace ListPeersRequest { enum SortOrder { Asc = "ASC", Desc = "DESC" } enum SortBy { TimeCreated = "timeCreated", DisplayName = "displayName" } }