/**
 * Database Management API
 * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics
for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and
running a SQL job on a Managed Database or Managed Database Group.

 * OpenAPI spec version: 20201101
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, 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" ) ; /**
 * A recommendation for a given object in a SQL Tuning Task.
 *
 */ export interface SqlTuningAdvisorTaskRecommendationSummary { /**
     * Unique identifier of the task. It is not the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
     */ "sqlTuningAdvisorTaskId" : number ; /**
     * Key of the object to which these recommendations apply. It is not the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
     *  Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
     */ "sqlTuningAdvisorTaskObjectId" : number ; /**
     * Unique identifier of the recommendation in the scope of the task. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
     */ "recommendationKey" : number ; /**
     * Type of recommendation
     */ "recommendationType" : SqlTuningAdvisorTaskRecommendationSummary . RecommendationType ; /**
     * Summary of the issue found for the SQL statement.
     */ "finding" ? : string ; /**
     * Particular recommendation for the finding.
     */ "recommendation" ? : string ; /**
     * Describes the reasoning behind the recommendation and how it relates to the finding.
     */ "rationale" ? : string ; /**
     * The percentage benefit of this implementation. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
     */ "benefit" ? : number ; /**
     * Action sql to be implemented based on the recommendation result.
     */ "implementActionSql" ? : string ; } export namespace SqlTuningAdvisorTaskRecommendationSummary { export enum RecommendationType { Statistics = "STATISTICS" , Index = "INDEX" , SqlProfile = "SQL_PROFILE" , RestructureSql = "RESTRUCTURE_SQL" , AlternativePlans = "ALTERNATIVE_PLANS" , Error = "ERROR" , Miscellaneous = "MISCELLANEOUS" , /**
         * This value is used if a service returns a value for this enum that is not recognized by this
         * version of the SDK.
         */ UnknownValue = "UNKNOWN_VALUE" } export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } }