/* 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.
 */



/**
 * 
 * @export
 * @interface PostgresqlSession
 */
export interface PostgresqlSession {
    /**
     * 
     * @type {number}
     * @memberof PostgresqlSession
     */
    'pid': number;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'user': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'database': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'applicationName': string;
    /**
     * Client address.
     * @type {string}
     * @memberof PostgresqlSession
     */
    'clientAddr': string;
    /**
     * Client port.
     * @type {string}
     * @memberof PostgresqlSession
     */
    'clientPort': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'state': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'waitEventType': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'waitEvent': string;
    /**
     * Backend start timestamp if available.
     * @type {string}
     * @memberof PostgresqlSession
     */
    'backendStart'?: string;
    /**
     * Query start timestamp if available.
     * @type {string}
     * @memberof PostgresqlSession
     */
    'queryStart'?: string;
    /**
     * Transaction start timestamp if available.
     * @type {string}
     * @memberof PostgresqlSession
     */
    'xactStart'?: string;
    /**
     * 
     * @type {number}
     * @memberof PostgresqlSession
     */
    'durationSeconds': number;
    /**
     * 
     * @type {number}
     * @memberof PostgresqlSession
     */
    'xactDurationSeconds': number;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'queryDigest': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'querySummary': string;
    /**
     * 
     * @type {string}
     * @memberof PostgresqlSession
     */
    'backendType': string;
}

