/* tslint:disable */
/* eslint-disable */
/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform. 
 *
 * 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 { InspectionScriptCategory } from './inspection-script-category';
// May contain unused imports in some cases
// @ts-ignore
import type { LocalizedDescription } from './localized-description';

/**
 * 
 * @export
 * @interface InspectionScript
 */
export interface InspectionScript {
    /**
     * 
     * @type {string}
     * @memberof InspectionScript
     */
    'id'?: string;
    /**
     * 
     * @type {string}
     * @memberof InspectionScript
     */
    'name': string;
    /**
     * 
     * @type {LocalizedDescription}
     * @memberof InspectionScript
     */
    'displayName'?: LocalizedDescription;
    /**
     * The engine type this script is applicable to, such as cluster, mysql, node
     * @type {string}
     * @memberof InspectionScript
     */
    'engine': string;
    /**
     * The type of the script, such as \"promQL\"
     * @type {string}
     * @memberof InspectionScript
     */
    'type': string;
    /**
     * 
     * @type {InspectionScriptCategory}
     * @memberof InspectionScript
     */
    'category': InspectionScriptCategory;
    /**
     * 
     * @type {LocalizedDescription}
     * @memberof InspectionScript
     */
    'description'?: LocalizedDescription;
    /**
     * 
     * @type {string}
     * @memberof InspectionScript
     */
    'scriptExpr': string;
    /**
     * 
     * @type {string}
     * @memberof InspectionScript
     */
    'checkExpr'?: string;
    /**
     * scope type, such as \"system\"/\"global\"/\"org\"
     * @type {string}
     * @memberof InspectionScript
     */
    'scopeType': string;
    /**
     * The identifier of the scope, such as org_id
     * @type {string}
     * @memberof InspectionScript
     */
    'scopeID'?: string;
    /**
     * The identifier of the scope, such as org_name
     * @type {string}
     * @memberof InspectionScript
     */
    'scopeName'?: string;
    /**
     * 
     * @type {boolean}
     * @memberof InspectionScript
     */
    'enabled': boolean;
    /**
     * 
     * @type {string}
     * @memberof InspectionScript
     */
    'unit'?: string;
    /**
     * Timestamp of creation time
     * @type {number}
     * @memberof InspectionScript
     */
    'createdAt'?: number;
    /**
     * Timestamp of update time
     * @type {number}
     * @memberof InspectionScript
     */
    'updatedAt'?: number;
}



