vault/ui/api-client/dist/models/KvV2PatchRequest.d.ts
Jordan Reimer d90653042d
[UI] API Client Update - Patch Support (#30619)
* adds patch endpoints to api client and missing params for sync

* adds namespace param to sync activation api client method
2025-05-14 11:30:45 -06:00

45 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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 KvV2PatchRequest
*/
export interface KvV2PatchRequest {
/**
* The contents of the data map will be stored and returned on read.
* @type {object}
* @memberof KvV2PatchRequest
*/
data?: object;
/**
* Options for writing a KV entry. Set the "cas" value to use a Check-And-Set operation. If not set the write will be allowed. If set to 0 a write will only be allowed if the key doesnt exist. If the index is non-zero the write will only be allowed if the keys current version matches the version specified in the cas parameter.
* @type {object}
* @memberof KvV2PatchRequest
*/
options?: object;
/**
* If provided during a read, the value at the version number will be returned
* @type {number}
* @memberof KvV2PatchRequest
*/
version?: number;
}
/**
* Check if a given object implements the KvV2PatchRequest interface.
*/
export declare function instanceOfKvV2PatchRequest(value: object): value is KvV2PatchRequest;
export declare function KvV2PatchRequestFromJSON(json: any): KvV2PatchRequest;
export declare function KvV2PatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KvV2PatchRequest;
export declare function KvV2PatchRequestToJSON(json: any): KvV2PatchRequest;
export declare function KvV2PatchRequestToJSONTyped(value?: KvV2PatchRequest | null, ignoreDiscriminator?: boolean): any;