"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.instanceOfKvV2ReadConfigurationResponse = instanceOfKvV2ReadConfigurationResponse; exports.KvV2ReadConfigurationResponseFromJSON = KvV2ReadConfigurationResponseFromJSON; exports.KvV2ReadConfigurationResponseFromJSONTyped = KvV2ReadConfigurationResponseFromJSONTyped; exports.KvV2ReadConfigurationResponseToJSON = KvV2ReadConfigurationResponseToJSON; exports.KvV2ReadConfigurationResponseToJSONTyped = KvV2ReadConfigurationResponseToJSONTyped; /** * Check if a given object implements the KvV2ReadConfigurationResponse interface. */ function instanceOfKvV2ReadConfigurationResponse(value) { return true; } function KvV2ReadConfigurationResponseFromJSON(json) { return KvV2ReadConfigurationResponseFromJSONTyped(json, false); } function KvV2ReadConfigurationResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'casRequired': json['cas_required'] == null ? undefined : json['cas_required'], 'deleteVersionAfter': json['delete_version_after'] == null ? undefined : json['delete_version_after'], 'maxVersions': json['max_versions'] == null ? undefined : json['max_versions'], }; } function KvV2ReadConfigurationResponseToJSON(json) { return KvV2ReadConfigurationResponseToJSONTyped(json, false); } function KvV2ReadConfigurationResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'cas_required': value['casRequired'], 'delete_version_after': value['deleteVersionAfter'], 'max_versions': value['maxVersions'], }; }