vault/ui/api-client/dist/esm/models/ActivationFlagsActivateRequest.js
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

42 lines
1.2 KiB
JavaScript

/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
* Check if a given object implements the ActivationFlagsActivateRequest interface.
*/
export function instanceOfActivationFlagsActivateRequest(value) {
return true;
}
export function ActivationFlagsActivateRequestFromJSON(json) {
return ActivationFlagsActivateRequestFromJSONTyped(json, false);
}
export function ActivationFlagsActivateRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'namespace': json['namespace'] == null ? undefined : json['namespace'],
};
}
export function ActivationFlagsActivateRequestToJSON(json) {
return ActivationFlagsActivateRequestToJSONTyped(json, false);
}
export function ActivationFlagsActivateRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'namespace': value['namespace'],
};
}