cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
58 lines (57 loc) • 1.71 kB
TypeScript
/**
* 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.
*/
/**
*
* @export
* @interface RateInputValues
*/
export interface RateInputValues {
/**
* The units of the output values
* @type {string}
* @memberof RateInputValues
*/
outputUnit: string;
/**
* A specific date/time to use as the "current time" of the rating. No ratings with a create date later than this will be used. Useful for performing historical ratings. If not specified or NULL, the current time is use.
* @type {number}
* @memberof RateInputValues
*/
ratingTime?: number;
/**
* A flag specifying whether to round the rated values according to the rounding spec contained in the rating specification. Defaults to false.
* @type {boolean}
* @memberof RateInputValues
*/
round?: boolean;
/**
*
* @type {Array<Array<number>>}
* @memberof RateInputValues
*/
values: Array<Array<number>>;
/**
*
* @type {Array<number>}
* @memberof RateInputValues
*/
valueTimes?: Array<number>;
/**
*
* @type {Array<string>}
* @memberof RateInputValues
*/
inputUnits: Array<string>;
}
export declare function RateInputValuesFromJSON(json: any): RateInputValues;
export declare function RateInputValuesFromJSONTyped(json: any, ignoreDiscriminator: boolean): RateInputValues;
export declare function RateInputValuesToJSON(value?: RateInputValues | null): any;