UNPKG

cwmsjs

Version:

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

120 lines (119 loc) 2.61 kB
/** * 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 type { CwmsId } from './CwmsId'; import type { StreamflowMeasurement } from './StreamflowMeasurement'; import type { SupplementalStreamflowMeasurement } from './SupplementalStreamflowMeasurement'; import type { UsgsMeasurement } from './UsgsMeasurement'; /** * * @export * @interface Measurement */ export interface Measurement { /** * * @type {string} * @memberof Measurement */ heightUnit?: string; /** * * @type {string} * @memberof Measurement */ flowUnit?: string; /** * * @type {string} * @memberof Measurement */ tempUnit?: string; /** * * @type {string} * @memberof Measurement */ velocityUnit?: string; /** * * @type {string} * @memberof Measurement */ areaUnit?: string; /** * * @type {boolean} * @memberof Measurement */ used?: boolean; /** * * @type {string} * @memberof Measurement */ agency?: string; /** * * @type {string} * @memberof Measurement */ party?: string; /** * * @type {string} * @memberof Measurement */ wmComments?: string; /** * * @type {Date} * @memberof Measurement */ instant: Date; /** * * @type {CwmsId} * @memberof Measurement */ id: CwmsId; /** * * @type {string} * @memberof Measurement */ number: string; /** * * @type {StreamflowMeasurement} * @memberof Measurement */ streamflowMeasurement?: StreamflowMeasurement; /** * * @type {SupplementalStreamflowMeasurement} * @memberof Measurement */ supplementalStreamflowMeasurement?: SupplementalStreamflowMeasurement; /** * * @type {UsgsMeasurement} * @memberof Measurement */ usgsMeasurement?: UsgsMeasurement; } /** * Check if a given object implements the Measurement interface. */ export declare function instanceOfMeasurement(value: object): boolean; export declare function MeasurementFromJSON(json: any): Measurement; export declare function MeasurementFromJSONTyped(json: any, ignoreDiscriminator: boolean): Measurement; export declare function MeasurementToJSON(value?: Measurement | null): any;