/* 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 DmsSession */ export interface DmsSession { /** * numeric session ID, when the database exposes one that fits in int64 * @type {number} * @memberof DmsSession */ 'id'?: number | null; /** * native session ID used by the terminate API; for Redis this is the numeric CLIENT LIST client id * @type {string} * @memberof DmsSession */ 'sessionId'?: string | null; /** * user name * @type {string} * @memberof DmsSession */ 'user': string; /** * tenant name * @type {string} * @memberof DmsSession */ 'tenant'?: string | null; /** * client host information * @type {string} * @memberof DmsSession */ 'host': string; /** * database name * @type {string} * @memberof DmsSession */ 'db'?: string | null; /** * current command * @type {string} * @memberof DmsSession */ 'command'?: string | null; /** * session duration time * @type {number} * @memberof DmsSession */ 'time'?: number | null; /** * session state * @type {string} * @memberof DmsSession */ 'state'?: string | null; /** * additional session information; for Redis this is a JSON object with the full CLIENT LIST entry * @type {string} * @memberof DmsSession */ 'info'?: string | null; /** * server ip * @type {string} * @memberof DmsSession */ 'ip'?: string | null; /** * server port * @type {number} * @memberof DmsSession */ 'port'?: number | null; /** * whether the session is protected and don\'t allow to be killed * @type {boolean} * @memberof DmsSession */ 'protected'?: boolean; }