"use strict"; /* 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfCertConfigureRequest = instanceOfCertConfigureRequest; exports.CertConfigureRequestFromJSON = CertConfigureRequestFromJSON; exports.CertConfigureRequestFromJSONTyped = CertConfigureRequestFromJSONTyped; exports.CertConfigureRequestToJSON = CertConfigureRequestToJSON; exports.CertConfigureRequestToJSONTyped = CertConfigureRequestToJSONTyped; /** * Check if a given object implements the CertConfigureRequest interface. */ function instanceOfCertConfigureRequest(value) { return true; } function CertConfigureRequestFromJSON(json) { return CertConfigureRequestFromJSONTyped(json, false); } 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'], }; } function CertConfigureRequestToJSON(json) { return CertConfigureRequestToJSONTyped(json, false); } 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'], }; }