cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
176 lines (175 loc) • 3.13 kB
TypeScript
/**
* CWMS Data API
* CWMS REST API for Data Retrieval
*
* The version of the OpenAPI document: 2.4.0-2026.3.16
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Alias } from './Alias';
/**
*
* @export
* @interface Location
*/
export interface Location {
/**
* Owning office of object.
* @type {string}
* @memberof Location
*/
officeId: string;
/**
*
* @type {string}
* @memberof Location
*/
name: string;
/**
*
* @type {number}
* @memberof Location
*/
latitude?: number;
/**
*
* @type {number}
* @memberof Location
*/
longitude?: number;
/**
*
* @type {boolean}
* @memberof Location
*/
active?: boolean;
/**
*
* @type {string}
* @memberof Location
*/
publicName?: string;
/**
*
* @type {string}
* @memberof Location
*/
longName?: string;
/**
*
* @type {string}
* @memberof Location
*/
description?: string;
/**
*
* @type {string}
* @memberof Location
*/
timezoneName?: string;
/**
*
* @type {string}
* @memberof Location
*/
locationType?: string;
/**
*
* @type {string}
* @memberof Location
*/
locationKind?: string;
/**
*
* @type {string}
* @memberof Location
*/
nation?: LocationNationEnum;
/**
*
* @type {string}
* @memberof Location
*/
stateInitial?: string;
/**
*
* @type {string}
* @memberof Location
*/
countyName?: string;
/**
*
* @type {string}
* @memberof Location
*/
nearestCity?: string;
/**
*
* @type {string}
* @memberof Location
*/
horizontalDatum?: string;
/**
*
* @type {number}
* @memberof Location
*/
publishedLongitude?: number;
/**
*
* @type {number}
* @memberof Location
*/
publishedLatitude?: number;
/**
*
* @type {string}
* @memberof Location
*/
verticalDatum?: string;
/**
*
* @type {number}
* @memberof Location
*/
elevation?: number;
/**
*
* @type {string}
* @memberof Location
*/
mapLabel?: string;
/**
*
* @type {string}
* @memberof Location
*/
boundingOfficeId?: string;
/**
*
* @type {string}
* @memberof Location
*/
elevationUnits?: string;
/**
*
* @type {Array<Alias>}
* @memberof Location
*/
aliases?: Array<Alias>;
}
/**
* @export
* @enum {string}
*/
export declare enum LocationNationEnum {
Us = "US",
Canada = "CANADA",
Mexico = "MEXICO"
}
export declare function LocationFromJSON(json: any): Location;
export declare function LocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Location;
export declare function LocationToJSON(value?: Location | null): any;