import "../ApiClient-fBZ10h6n.mjs"; import { n as StateTypeStatic } from "../StateType-CA4aMnXy.mjs"; //#region src/model/State.d.ts type IState = { duration: string; startDate: Date; endDate: Date; current: keyof typeof StateTypeStatic; /** * :model/StateHistory>} histories */ "": Array; getDuration: string; getStartDate: Date; getEndDate: Date; }; /** * @typedef {Object} IState * @property {String} duration * @property {Date} startDate * @property {Date} endDate * @property {keyof typeof import('./StateType').StateTypeStatic} current * @property {Array.} histories * @property {String} getDuration * @property {Date} getStartDate * @property {Date} getEndDate */ /** * The State model module. * @module model/State * @type {IState} */ declare class State { /** * 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, current: any, getDuration: any, getStartDate: any, getEndDate: any): void; /** * Constructs a State 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/State} obj Optional instance to populate. * @return {module:model/State} The populated State instance. */ static constructFromObject(data: any, obj: any): any; /** * Validates the JSON data with respect to State. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to State. */ static validateJSON(data: any): boolean; /** * Constructs a new State. * @alias module:model/State * @param {module:model/StateType} current - * @param {String} getDuration - * @param {Date} getStartDate - * @param {Date} getEndDate - */ constructor(current: any, getDuration: string, getStartDate: Date, getEndDate: Date); duration: string; startDate: Date; endDate: Date; current: "SUCCESS" | "WARNING" | "CREATED" | "SUBMITTED" | "RUNNING" | "PAUSED" | "RESTARTED" | "KILLING" | "FAILED" | "KILLED" | "CANCELLED" | "QUEUED" | "RETRYING" | "RETRIED" | "SKIPPED" | "BREAKPOINT" | "RESUBMITTED"; histories: any; getDuration: string; getStartDate: Date; getEndDate: Date; } declare namespace State { let RequiredProperties: string[]; } //#endregion export { IState, State as default };