mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
50 lines
1.9 KiB
JavaScript
50 lines
1.9 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 CertConfigureRequest interface.
|
|
*/
|
|
export function instanceOfCertConfigureRequest(value) {
|
|
return true;
|
|
}
|
|
export function CertConfigureRequestFromJSON(json) {
|
|
return CertConfigureRequestFromJSONTyped(json, false);
|
|
}
|
|
export function CertConfigureRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'disableBinding': json['disable_binding'] == null ? undefined : json['disable_binding'],
|
|
'enableIdentityAliasMetadata': json['enable_identity_alias_metadata'] == null ? undefined : json['enable_identity_alias_metadata'],
|
|
'enableMetadataOnFailures': json['enable_metadata_on_failures'] == null ? undefined : json['enable_metadata_on_failures'],
|
|
'ocspCacheSize': json['ocsp_cache_size'] == null ? undefined : json['ocsp_cache_size'],
|
|
'roleCacheSize': json['role_cache_size'] == null ? undefined : json['role_cache_size'],
|
|
};
|
|
}
|
|
export function CertConfigureRequestToJSON(json) {
|
|
return CertConfigureRequestToJSONTyped(json, false);
|
|
}
|
|
export function CertConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'disable_binding': value['disableBinding'],
|
|
'enable_identity_alias_metadata': value['enableIdentityAliasMetadata'],
|
|
'enable_metadata_on_failures': value['enableMetadataOnFailures'],
|
|
'ocsp_cache_size': value['ocspCacheSize'],
|
|
'role_cache_size': value['roleCacheSize'],
|
|
};
|
|
}
|