/* 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 SystemWriteMfaMethodPingidNameRequest interface. */ export function instanceOfSystemWriteMfaMethodPingidNameRequest(value) { return true; } export function SystemWriteMfaMethodPingidNameRequestFromJSON(json) { return SystemWriteMfaMethodPingidNameRequestFromJSONTyped(json, false); } export function SystemWriteMfaMethodPingidNameRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'mountAccessor': json['mount_accessor'] == null ? undefined : json['mount_accessor'], 'settingsFileBase64': json['settings_file_base64'] == null ? undefined : json['settings_file_base64'], 'usernameFormat': json['username_format'] == null ? undefined : json['username_format'], }; } export function SystemWriteMfaMethodPingidNameRequestToJSON(json) { return SystemWriteMfaMethodPingidNameRequestToJSONTyped(json, false); } export function SystemWriteMfaMethodPingidNameRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'mount_accessor': value['mountAccessor'], 'settings_file_base64': value['settingsFileBase64'], 'username_format': value['usernameFormat'], }; }