cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
37 lines (31 loc) • 885 B
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
* Unit System desired in response. Can be SI (International Scientific) or EN (Imperial.) If unspecified, defaults to SI.
* @export
* @enum {string}
*/
export enum UnitSystem {
Si = 'SI',
En = 'EN'
}
export function UnitSystemFromJSON(json: any): UnitSystem {
return UnitSystemFromJSONTyped(json, false);
}
export function UnitSystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitSystem {
return json as UnitSystem;
}
export function UnitSystemToJSON(value?: UnitSystem | null): any {
return value as any;
}