UNPKG

cwmsjs

Version:

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

56 lines (55 loc) 1.38 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. */ /** * * @export * @interface ApiKey */ export interface ApiKey { /** * * @type {string} * @memberof ApiKey */ userId: string; /** * * @type {string} * @memberof ApiKey */ keyName: string; /** * * @type {string} * @memberof ApiKey */ apiKey?: string; /** * The instant this Key was created, in ISO-8601 format with offset and timezone ('yyyy-MM-dd'T'HH:mm:ssZ'['VV']'') * @type {Date} * @memberof ApiKey */ readonly created?: Date; /** * When this key expires, in ISO-8601 format with offset and timezone ('yyyy-MM-dd'T'HH:mm:ssZ'['VV']'') * @type {Date} * @memberof ApiKey */ expires?: Date; } /** * Check if a given object implements the ApiKey interface. */ export declare function instanceOfApiKey(value: object): boolean; export declare function ApiKeyFromJSON(json: any): ApiKey; export declare function ApiKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKey; export declare function ApiKeyToJSON(value?: ApiKey | null): any;