"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.instanceOfTokenRenewRequest = instanceOfTokenRenewRequest; exports.TokenRenewRequestFromJSON = TokenRenewRequestFromJSON; exports.TokenRenewRequestFromJSONTyped = TokenRenewRequestFromJSONTyped; exports.TokenRenewRequestToJSON = TokenRenewRequestToJSON; exports.TokenRenewRequestToJSONTyped = TokenRenewRequestToJSONTyped; /** * Check if a given object implements the TokenRenewRequest interface. */ function instanceOfTokenRenewRequest(value) { return true; } function TokenRenewRequestFromJSON(json) { return TokenRenewRequestFromJSONTyped(json, false); } function TokenRenewRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'increment': json['increment'] == null ? undefined : json['increment'], 'token': json['token'] == null ? undefined : json['token'], }; } function TokenRenewRequestToJSON(json) { return TokenRenewRequestToJSONTyped(json, false); } function TokenRenewRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'increment': value['increment'], 'token': value['token'], }; }