/* tslint:disable */
/* eslint-disable */
/**
 * KubeBlocks Cloud API
 * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources.  The API is organized around REST.  Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs.  We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. 
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { ClusterExecutionLogItem } from './cluster-execution-log-item';
// May contain unused imports in some cases
// @ts-ignore
import type { DmsQueryResponse } from './dms-query-response';

/**
 * Explain response for a selected slow log template sample
 * @export
 * @interface ClusterSlowLogExplainResponse
 */
export interface ClusterSlowLogExplainResponse {
    /**
     * Query template identifier
     * @type {string}
     * @memberof ClusterSlowLogExplainResponse
     */
    'templateId'?: string;
    /**
     * Concrete sample SQL used for EXPLAIN
     * @type {string}
     * @memberof ClusterSlowLogExplainResponse
     */
    'sql'?: string;
    /**
     * Statement type accepted by the backend safety check
     * @type {string}
     * @memberof ClusterSlowLogExplainResponse
     */
    'sqlType'?: string;
    /**
     * Database selected from the slow log sample
     * @type {string}
     * @memberof ClusterSlowLogExplainResponse
     */
    'database'?: string;
    /**
     * Normalized SQL template from oteld
     * @type {string}
     * @memberof ClusterSlowLogExplainResponse
     */
    'normalizedQuery'?: string;
    /**
     * Timestamp of the selected sample in epoch nanoseconds
     * @type {number}
     * @memberof ClusterSlowLogExplainResponse
     */
    'sampleTimestamp'?: number;
    /**
     * Execution time of the selected sample in seconds
     * @type {number}
     * @memberof ClusterSlowLogExplainResponse
     */
    'executionTime'?: number;
    /**
     * 
     * @type {ClusterExecutionLogItem}
     * @memberof ClusterSlowLogExplainResponse
     */
    'sample'?: ClusterExecutionLogItem;
    /**
     * 
     * @type {DmsQueryResponse}
     * @memberof ClusterSlowLogExplainResponse
     */
    'explainResult'?: DmsQueryResponse;
}

