mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 00:21:07 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
63 lines
1.9 KiB
TypeScript
63 lines
1.9 KiB
TypeScript
/**
|
|
* HashiCorp Vault API
|
|
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
|
|
*
|
|
* The version of the OpenAPI document: 1.20.0
|
|
*
|
|
*
|
|
* 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 LeasesReadLeaseResponse
|
|
*/
|
|
export interface LeasesReadLeaseResponse {
|
|
/**
|
|
* Optional lease expiry time
|
|
* @type {Date}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
expireTime?: Date;
|
|
/**
|
|
* Lease id
|
|
* @type {string}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* Timestamp for the lease's issue time
|
|
* @type {Date}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
issueTime?: Date;
|
|
/**
|
|
* Optional Timestamp of the last time the lease was renewed
|
|
* @type {Date}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
lastRenewal?: Date;
|
|
/**
|
|
* True if the lease is able to be renewed
|
|
* @type {boolean}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
renewable?: boolean;
|
|
/**
|
|
* Time to Live set for the lease, returns 0 if unset
|
|
* @type {number}
|
|
* @memberof LeasesReadLeaseResponse
|
|
*/
|
|
ttl?: number;
|
|
}
|
|
/**
|
|
* Check if a given object implements the LeasesReadLeaseResponse interface.
|
|
*/
|
|
export declare function instanceOfLeasesReadLeaseResponse(value: object): value is LeasesReadLeaseResponse;
|
|
export declare function LeasesReadLeaseResponseFromJSON(json: any): LeasesReadLeaseResponse;
|
|
export declare function LeasesReadLeaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeasesReadLeaseResponse;
|
|
export declare function LeasesReadLeaseResponseToJSON(json: any): LeasesReadLeaseResponse;
|
|
export declare function LeasesReadLeaseResponseToJSONTyped(value?: LeasesReadLeaseResponse | null, ignoreDiscriminator?: boolean): any;
|