//#region src/model/Cache.d.ts
type ICache = {
enabled: boolean;
ttl: string;
};
/**
* @typedef {Object} ICache
* @property {Boolean} enabled
* @property {String} ttl
*/
/**
* The Cache model module.
* @module model/Cache
* @type {ICache}
*/
declare class Cache {
/**
* 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, enabled: any): void;
/**
* Constructs a Cache 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/Cache} obj Optional instance to populate.
* @return {module:model/Cache} The populated Cache instance.
*/
static constructFromObject(data: any, obj: any): any;
/**
* Validates the JSON data with respect to Cache.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @return {boolean} to indicate whether the JSON data is valid with respect to Cache.
*/
static validateJSON(data: any): boolean;
/**
* Constructs a new Cache.
* @alias module:model/Cache
* @param {Boolean} enabled -
*/
constructor(enabled: boolean);
enabled: boolean;
ttl: string;
}
declare namespace Cache {
let RequiredProperties: string[];
}
//#endregion
export { ICache, Cache as default };