cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
58 lines (57 loc) • 1.38 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.
*/
/**
* A representation of a CWMS office
* @export
* @interface Office
*/
export interface Office {
/**
*
* @type {string}
* @memberof Office
*/
name?: string;
/**
*
* @type {string}
* @memberof Office
*/
longName?: string;
/**
*
* @type {string}
* @memberof Office
*/
type?: OfficeTypeEnum;
/**
* Reference to another office, like a division, that this office reports to.
* @type {string}
* @memberof Office
*/
reportsTo?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum OfficeTypeEnum {
Unknown = "unknown",
CorpsHeadquarters = "corps headquarters",
DivisionHeadquarters = "division headquarters",
DivisionRegional = "division regional",
District = "district",
FiledOperatingActivity = "filed operating activity"
}
export declare function OfficeFromJSON(json: any): Office;
export declare function OfficeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Office;
export declare function OfficeToJSON(value?: Office | null): any;