UNPKG

cwmsjs

Version:

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

61 lines (52 loc) 1.26 kB
/* 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. */ import { mapValues } from '../runtime'; /** * * @export * @interface ProjectLockId */ export interface ProjectLockId { /** * * @type {string} * @memberof ProjectLockId */ id?: string; } /** * Check if a given object implements the ProjectLockId interface. */ export function instanceOfProjectLockId(value: object): boolean { return true; } export function ProjectLockIdFromJSON(json: any): ProjectLockId { return ProjectLockIdFromJSONTyped(json, false); } export function ProjectLockIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectLockId { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], }; } export function ProjectLockIdToJSON(value?: ProjectLockId | null): any { if (value == null) { return value; } return { 'id': value['id'], }; }