"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.instanceOfInternalClientActivityConfigureRequest = instanceOfInternalClientActivityConfigureRequest; exports.InternalClientActivityConfigureRequestFromJSON = InternalClientActivityConfigureRequestFromJSON; exports.InternalClientActivityConfigureRequestFromJSONTyped = InternalClientActivityConfigureRequestFromJSONTyped; exports.InternalClientActivityConfigureRequestToJSON = InternalClientActivityConfigureRequestToJSON; exports.InternalClientActivityConfigureRequestToJSONTyped = InternalClientActivityConfigureRequestToJSONTyped; /** * Check if a given object implements the InternalClientActivityConfigureRequest interface. */ function instanceOfInternalClientActivityConfigureRequest(value) { return true; } function InternalClientActivityConfigureRequestFromJSON(json) { return InternalClientActivityConfigureRequestFromJSONTyped(json, false); } function InternalClientActivityConfigureRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { defaultReportMonths: json['default_report_months'] == null ? undefined : json['default_report_months'], enabled: json['enabled'] == null ? undefined : json['enabled'], retentionMonths: json['retention_months'] == null ? undefined : json['retention_months'], }; } function InternalClientActivityConfigureRequestToJSON(json) { return InternalClientActivityConfigureRequestToJSONTyped(json, false); } function InternalClientActivityConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { default_report_months: value['defaultReportMonths'], enabled: value['enabled'], retention_months: value['retentionMonths'], }; }