cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
107 lines (106 loc) • 2.42 kB
TypeScript
/**
* CWMS Data API
* CWMS REST API for Data Retrieval
*
* The version of the OpenAPI document: 2.3.2-2025.03.19
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { ForecastSpec } from './ForecastSpec';
/**
*
* @export
* @interface ForecastInstance
*/
export interface ForecastInstance {
/**
*
* @type {ForecastSpec}
* @memberof ForecastInstance
*/
spec?: ForecastSpec;
/**
*
* @type {Date}
* @memberof ForecastInstance
*/
dateTime?: Date;
/**
*
* @type {Date}
* @memberof ForecastInstance
*/
issueDateTime?: Date;
/**
*
* @type {Date}
* @memberof ForecastInstance
*/
firstDateTime?: Date;
/**
*
* @type {Date}
* @memberof ForecastInstance
*/
lastDateTime?: Date;
/**
*
* @type {number}
* @memberof ForecastInstance
*/
maxAge?: number;
/**
* Forecast Instance Notes
* @type {string}
* @memberof ForecastInstance
*/
notes?: string;
/**
*
* @type {{ [key: string]: string; }}
* @memberof ForecastInstance
*/
metadata?: {
[key: string]: string;
};
/**
* Forecast Filename
* @type {string}
* @memberof ForecastInstance
*/
filename?: string;
/**
* Description of Forecast File
* @type {string}
* @memberof ForecastInstance
*/
fileDescription?: string;
/**
* Forecast File Media Type
* @type {string}
* @memberof ForecastInstance
*/
fileMediaType?: string;
/**
* Forecast File binary data
* @type {string}
* @memberof ForecastInstance
*/
fileData?: string;
/**
* Link to Forecast File binary data
* @type {string}
* @memberof ForecastInstance
*/
fileDataUrl?: string;
}
/**
* Check if a given object implements the ForecastInstance interface.
*/
export declare function instanceOfForecastInstance(value: object): boolean;
export declare function ForecastInstanceFromJSON(json: any): ForecastInstance;
export declare function ForecastInstanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecastInstance;
export declare function ForecastInstanceToJSON(value?: ForecastInstance | null): any;