/** * ELEMENTS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { StorageNodeMini } from './'; /** * * @export * @interface Alert */ export interface Alert { /** * * @type {number} * @memberof Alert */ id: number; /** * * @type {string} * @memberof Alert */ name: string; /** * * @type {string} * @memberof Alert */ message: string; /** * * @type {string} * @memberof Alert */ level: string; /** * * @type {boolean} * @memberof Alert */ isOpen: boolean; /** * * @type {StorageNodeMini} * @memberof Alert */ node: StorageNodeMini | null; /** * * @type {Date} * @memberof Alert */ readonly openedAt: Date; /** * * @type {Date} * @memberof Alert */ closedAt?: Date | null; /** * * @type {string} * @memberof Alert */ readonly duration: string; } export declare function AlertFromJSON(json: any): Alert; export declare function AlertFromJSONTyped(json: any, ignoreDiscriminator: boolean): Alert; export declare function AlertToJSON(value?: Alert | null): any;