/** * * * OpenAPI spec version: 20190101 * * * 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/datascience/ListModelGroupVersionHistories.ts.html |here} to see how to use ListModelGroupVersionHistoriesRequest. */ export interface ListModelGroupVersionHistoriesRequest extends common.BaseRequest { /** * Filter results by the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ "compartmentId": string; /** * Filter results by the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. */ "projectId"?: string; /** * Filter results by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. * */ "id"?: string; /** * Filter results by its user-friendly name. */ "displayName"?: string; /** * A filter to return resources matching the given lifecycleState. */ "lifecycleState"?: model.ModelGroupVersionHistoryLifecycleState; /** * Filter results by the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ "createdBy"?: string; /** * For list pagination. The maximum number of results per page, * or items to return in a paginated \"List\" call. * 1 is the minimum, 100 is the maximum. * See [List Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). *
Example: {@code 50} * */ "limit"?: number; /** * For list pagination. The value of the {@code opc-next-page} response * header from the previous \"List\" call. *
See [List Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). * */ "page"?: string; /** * Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). * */ "sortOrder"?: ListModelGroupVersionHistoriesRequest.SortOrder; /** * Specifies the field to sort by. Accepts only one field. * By default, when you sort by {@code timeCreated}, the results are shown * in descending order. All other fields default to ascending order. Sort order for the {@code displayName} field is case sensitive. * */ "sortBy"?: ListModelGroupVersionHistoriesRequest.SortBy; /** * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. * */ "opcRequestId"?: string; } export declare namespace ListModelGroupVersionHistoriesRequest { enum SortOrder { Asc = "ASC", Desc = "DESC" } enum SortBy { TimeCreated = "timeCreated", DisplayName = "displayName", LifecycleState = "lifecycleState" } }