cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
62 lines (61 loc) • 1.63 kB
TypeScript
/**
* 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.
*/
/**
* 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
*/
export declare const OfficeTypeEnum: {
readonly Unknown: "unknown";
readonly CorpsHeadquarters: "corps headquarters";
readonly DivisionHeadquarters: "division headquarters";
readonly DivisionRegional: "division regional";
readonly District: "district";
readonly FiledOperatingActivity: "filed operating activity";
};
export type OfficeTypeEnum = typeof OfficeTypeEnum[keyof typeof OfficeTypeEnum];
/**
* Check if a given object implements the Office interface.
*/
export declare function instanceOfOffice(value: object): boolean;
export declare function OfficeFromJSON(json: any): Office;
export declare function OfficeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Office;
export declare function OfficeToJSON(value?: Office | null): any;