/** * * * OpenAPI spec version: 20180418 * * * 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/streaming/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. */ export interface ListWorkRequestsRequest extends common.BaseRequest { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. */ "workRequestId"?: string; /** * The OCID of the compartment. Is exclusive with the {@code streamPoolId} parameter. One of them is required. */ "compartmentId"?: string; /** * The page at which to start retrieving results. */ "page"?: string; /** * The maximum number of items to return. The value must be between 1 and 50. The default is 10. */ "limit"?: number; /** * The sort order to use, either 'asc' or 'desc'. * */ "sortOrder"?: ListWorkRequestsRequest.SortOrder; /** * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. * */ "sortBy"?: ListWorkRequestsRequest.SortBy; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. */ "resourceId"?: string; /** * The 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 ListWorkRequestsRequest { enum SortOrder { Asc = "ASC", Desc = "DESC" } enum SortBy { Timeaccepted = "TIMEACCEPTED" } }