/* 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 InternalClientActivityConfigureRequest interface. */ export function instanceOfInternalClientActivityConfigureRequest(value) { return true; } export function InternalClientActivityConfigureRequestFromJSON(json) { return InternalClientActivityConfigureRequestFromJSONTyped(json, false); } export 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'], }; } export function InternalClientActivityConfigureRequestToJSON(json) { return InternalClientActivityConfigureRequestToJSONTyped(json, false); } export function InternalClientActivityConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'default_report_months': value['defaultReportMonths'], 'enabled': value['enabled'], 'retention_months': value['retentionMonths'], }; }