UNPKG

cwmsjs

Version:

CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps

155 lines (154 loc) 4.1 kB
/** * CWMS Data API * CWMS REST API for Data Retrieval * * The version of the OpenAPI document: 2.4.0-2026.3.16 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Alias } from './Alias'; /** * * @export * @interface TimeSeriesLocationLevel */ export interface TimeSeriesLocationLevel { /** * Owning office of object. * @type {string} * @memberof TimeSeriesLocationLevel */ officeId: string; /** * Name of the location level * @type {string} * @memberof TimeSeriesLocationLevel */ locationLevelId: string; /** * TimeSeries ID (e.g. from the times series catalog) to use as the location level. Mutually exclusive with seasonalValues and siParameterUnitsConstantValue * @type {string} * @memberof TimeSeriesLocationLevel */ specifiedLevelId?: string; /** * The expiration date of the location level. * @type {Date} * @memberof TimeSeriesLocationLevel */ expirationDate?: Date; /** * Data Type such as Stage, Elevation, or others. * @type {string} * @memberof TimeSeriesLocationLevel */ parameterId?: string; /** * To indicate if single or aggregate value * @type {string} * @memberof TimeSeriesLocationLevel */ parameterTypeId?: TimeSeriesLocationLevelParameterTypeIdEnum; /** * Indicating whether or not to interpolate between seasonal values. * @type {string} * @memberof TimeSeriesLocationLevel */ interpolateString?: TimeSeriesLocationLevelInterpolateStringEnum; /** * Units the provided levels are in * @type {string} * @memberof TimeSeriesLocationLevel */ levelUnitsId?: string; /** * The date/time at which this location level configuration takes effect. * @type {Date} * @memberof TimeSeriesLocationLevel */ levelDate?: Date; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ levelComment?: string; /** * 0 if parameterTypeId is Inst. Otherwise duration indicating the time window of the aggregate value. * @type {string} * @memberof TimeSeriesLocationLevel */ durationId?: string; /** * * @type {number} * @memberof TimeSeriesLocationLevel */ attributeValue?: number; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ attributeUnitsId?: string; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ attributeParameterTypeId?: string; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ attributeParameterId?: string; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ attributeDurationId?: string; /** * * @type {string} * @memberof TimeSeriesLocationLevel */ attributeComment?: string; /** * * @type {Array<Alias>} * @memberof TimeSeriesLocationLevel */ aliases?: Array<Alias>; /** * TimeSeries ID (e.g. from the times series catalog) to use as the location level. Mutually exclusive with seasonalValues and siParameterUnitsConstantValue * @type {string} * @memberof TimeSeriesLocationLevel */ seasonalTimeSeriesId: string; } /** * @export * @enum {string} */ export declare enum TimeSeriesLocationLevelParameterTypeIdEnum { Inst = "Inst", Ave = "Ave", Min = "Min", Max = "Max", Total = "Total" } /** * @export * @enum {string} */ export declare enum TimeSeriesLocationLevelInterpolateStringEnum { T = "T", F = "F" } export declare function TimeSeriesLocationLevelFromJSON(json: any): TimeSeriesLocationLevel; export declare function TimeSeriesLocationLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeSeriesLocationLevel; export declare function TimeSeriesLocationLevelToJSON(value?: TimeSeriesLocationLevel | null): any;