mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
48 lines
1.7 KiB
JavaScript
48 lines
1.7 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.21.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 TransformWriteFpeTransformationRequest interface.
|
|
*/
|
|
export function instanceOfTransformWriteFpeTransformationRequest(value) {
|
|
return true;
|
|
}
|
|
export function TransformWriteFpeTransformationRequestFromJSON(json) {
|
|
return TransformWriteFpeTransformationRequestFromJSONTyped(json, false);
|
|
}
|
|
export function TransformWriteFpeTransformationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'allowedRoles': json['allowed_roles'] == null ? undefined : json['allowed_roles'],
|
|
'deletionAllowed': json['deletion_allowed'] == null ? undefined : json['deletion_allowed'],
|
|
'template': json['template'] == null ? undefined : json['template'],
|
|
'tweakSource': json['tweak_source'] == null ? undefined : json['tweak_source'],
|
|
};
|
|
}
|
|
export function TransformWriteFpeTransformationRequestToJSON(json) {
|
|
return TransformWriteFpeTransformationRequestToJSONTyped(json, false);
|
|
}
|
|
export function TransformWriteFpeTransformationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'allowed_roles': value['allowedRoles'],
|
|
'deletion_allowed': value['deletionAllowed'],
|
|
'template': value['template'],
|
|
'tweak_source': value['tweakSource'],
|
|
};
|
|
}
|