/** * * * OpenAPI spec version: 20181201 * * * 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/datasafe/ListReferentialRelations.ts.html |here} to see how to use ListReferentialRelationsRequest. */ export interface ListReferentialRelationsRequest extends common.BaseRequest { /** * The OCID of the sensitive data model. */ "sensitiveDataModelId": string; /** * A filter to return only items related to specific schema name. */ "schemaName"?: Array; /** * A filter to return only items related to a specific object name. */ "objectName"?: Array; /** * A filter to return only a specific column based on column name. */ "columnName"?: Array; /** * Returns referential relations containing sensitive columns when true. * Returns referential relations containing non sensitive columns when false. * */ "isSensitive"?: boolean; /** * A filter to return sensitive columns based on their relationship with their parent columns. If set to NONE, * it returns the sensitive columns that do not have any parent. The response includes the parent columns as * well as the independent columns that are not in any relationship. If set to APP_DEFINED, it returns all the * child columns that have application-level (non-dictionary) relationship with their parents. If set to DB_DEFINED, * it returns all the child columns that have database-level (dictionary-defined) relationship with their parents. * */ "relationType"?: Array; /** * For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). */ "limit"?: number; /** * For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). */ "page"?: string; /** * The sort order to use, either ascending (ASC) or descending (DESC). */ "sortOrder"?: ListReferentialRelationsRequest.SortOrder; /** * The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for key is descending. * */ "sortBy"?: ListReferentialRelationsRequest.SortBy; /** * Unique identifier for the request. */ "opcRequestId"?: string; } export declare namespace ListReferentialRelationsRequest { enum RelationType { None = "NONE", AppDefined = "APP_DEFINED", DbDefined = "DB_DEFINED" } enum SortOrder { Asc = "ASC", Desc = "DESC" } enum SortBy { Key = "key", RelationType = "relationType", SchemaName = "schemaName", TableName = "tableName" } }