//#region src/model/ApiToken.d.ts type IApiToken = { id: string; name: string; description: string; prefix: string; iat: Date; exp: Date; lastUsed: Date; extended: boolean; expired: boolean; }; /** * @typedef {Object} IApiToken * @property {String} id * @property {String} name * @property {String} description * @property {String} prefix * @property {Date} iat * @property {Date} exp * @property {Date} lastUsed * @property {Boolean} extended * @property {Boolean} expired */ /** * The ApiToken model module. * @module model/ApiToken * @type {IApiToken} */ declare class ApiToken { /** * 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 ApiToken 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 {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/ApiToken} obj Optional instance to populate. * @return {module:model/ApiToken} The populated ApiToken instance. */ static constructFromObject(data: any, obj: any): any; /** * Validates the JSON data with respect to ApiToken. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to ApiToken. */ static validateJSON(data: any): boolean; id: string; name: string; description: string; prefix: string; iat: Date; exp: Date; lastUsed: Date; extended: boolean; expired: boolean; } //#endregion export { IApiToken, ApiToken as default };