vault/ui/api-client/dist/models/LeasesReadLeaseResponse.d.ts
Jordan Reimer 5905f43e1f
[UI] Check-in Built API Client (#29955)
* removes dist from api-client gitignore

* ignores api-client/dist directory for eslint and prettier

* builds api client
2025-03-19 11:50:15 -06:00

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;