/** * * * 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/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. */ export interface ListWorkRequestsRequest 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 optional field to sort the results by. */ "sortBy"?: ListWorkRequestsRequest.SortBy; /** * The sort order to use (ASC or DESC). */ "sortOrder"?: ListWorkRequestsRequest.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 ListWorkRequestsRequest { enum SortBy { Id = "ID", OperationType = "OPERATION_TYPE", Status = "STATUS", TimeAccepted = "TIME_ACCEPTED", TimeStarted = "TIME_STARTED", TimeFinished = "TIME_FINISHED" } enum SortOrder { Asc = "ASC", Desc = "DESC" } }