cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
46 lines (45 loc) • 1.34 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.ProjectLockIdToJSON = exports.ProjectLockIdFromJSONTyped = exports.ProjectLockIdFromJSON = exports.instanceOfProjectLockId = void 0;
/**
* Check if a given object implements the ProjectLockId interface.
*/
function instanceOfProjectLockId(value) {
return true;
}
exports.instanceOfProjectLockId = instanceOfProjectLockId;
function ProjectLockIdFromJSON(json) {
return ProjectLockIdFromJSONTyped(json, false);
}
exports.ProjectLockIdFromJSON = ProjectLockIdFromJSON;
function ProjectLockIdFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'id': json['id'] == null ? undefined : json['id'],
};
}
exports.ProjectLockIdFromJSONTyped = ProjectLockIdFromJSONTyped;
function ProjectLockIdToJSON(value) {
if (value == null) {
return value;
}
return {
'id': value['id'],
};
}
exports.ProjectLockIdToJSON = ProjectLockIdToJSON;