export default Session; /** * The Session model module. * @module model/Session */ declare class Session { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a Session from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {Session} [obj] Optional instance to populate. * @returns {Session} The populated Session instance. */ static constructFromObject(data: Partial, obj?: Session): Session; /** * Validates the JSON data with respect to Session. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to Session. */ static validateJSON(data: Partial): boolean; key: string | undefined; type: (keyof typeof Session.TypeEnum) | undefined; ttl: number | undefined; ttl_unit: (keyof typeof Session.TtlUnitEnum) | undefined; } declare namespace Session { namespace TypeEnum { let LOCK: string; } namespace TtlUnitEnum { let DAYS: string; let HOURS: string; let MICROSECONDS: string; let MILLISECONDS: string; let MINUTES: string; let NANOSECONDS: string; let SECONDS: string; } }