UNPKG

cwmsjs

Version:

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

39 lines (31 loc) 950 B
/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * Unit System desired in response. Can be SI (International Scientific) or EN (Imperial.) If unspecified, defaults to SI. * @export */ export const UnitSystem = { Si: 'SI', En: 'EN' } as const; export type UnitSystem = typeof UnitSystem[keyof typeof UnitSystem]; 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; }