cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
37 lines (36 loc) • 1.1 kB
JavaScript
;
/* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnitSystemToJSON = exports.UnitSystemFromJSONTyped = exports.UnitSystemFromJSON = exports.UnitSystem = void 0;
/**
* Unit System desired in response. Can be SI (International Scientific) or EN (Imperial.) If unspecified, defaults to SI.
* @export
*/
exports.UnitSystem = {
Si: 'SI',
En: 'EN'
};
function UnitSystemFromJSON(json) {
return UnitSystemFromJSONTyped(json, false);
}
exports.UnitSystemFromJSON = UnitSystemFromJSON;
function UnitSystemFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
exports.UnitSystemFromJSONTyped = UnitSystemFromJSONTyped;
function UnitSystemToJSON(value) {
return value;
}
exports.UnitSystemToJSON = UnitSystemToJSON;