/* 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 { PgExtensionAvailableDatabaseSchema } from './pg-extension-available-database-schema';

/**
 * 
 * @export
 * @interface PgExtension
 */
export interface PgExtension {
    /**
     * The name of the PostgreSQL extension.
     * @type {string}
     * @memberof PgExtension
     */
    'name'?: string;
    /**
     * The database where the extension is installed.
     * @type {string}
     * @memberof PgExtension
     */
    'database'?: string;
    /**
     * The default version of the extension.
     * @type {string}
     * @memberof PgExtension
     */
    'default_version'?: string;
    /**
     * The currently installed version of the extension.
     * @type {string}
     * @memberof PgExtension
     */
    'installed_version'?: string;
    /**
     * The schema where the extension is installed.
     * @type {string}
     * @memberof PgExtension
     */
    'schema'?: string;
    /**
     * The databases and schemas where the extension can be installed. This is empty for installed extensions.
     * @type {Array<PgExtensionAvailableDatabaseSchema>}
     * @memberof PgExtension
     */
    'available_database_schema'?: Array<PgExtensionAvailableDatabaseSchema>;
    /**
     * The category of the extension.
     * @type {string}
     * @memberof PgExtension
     */
    'category'?: string;
    /**
     * Whether the extension needs a restart to take effect.
     * @type {boolean}
     * @memberof PgExtension
     */
    'need_restart'?: boolean;
    /**
     * The version of PostgreSQL that the extension is compatible with.
     * @type {Array<string>}
     * @memberof PgExtension
     */
    'pg_version'?: Array<string>;
    /**
     * A description of the extension in Chinese.
     * @type {string}
     * @memberof PgExtension
     */
    'description_zn'?: string;
    /**
     * A description of the extension in English.
     * @type {string}
     * @memberof PgExtension
     */
    'description_en'?: string;
}

