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



/**
 * 
 * @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;
}

