UNPKG

cwmsjs

Version:

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

41 lines (40 loc) 1.06 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. */ /** * Check if a given object implements the PoolNameType interface. */ export function instanceOfPoolNameType(value) { return true; } export function PoolNameTypeFromJSON(json) { return PoolNameTypeFromJSONTyped(json, false); } export function PoolNameTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'officeId': json['officeId'] == null ? undefined : json['officeId'], 'poolName': json['poolName'] == null ? undefined : json['poolName'], }; } export function PoolNameTypeToJSON(value) { if (value == null) { return value; } return { 'officeId': value['officeId'], 'poolName': value['poolName'], }; }