/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface ApiReverseProxyAuthenticationConfigurationDTO */ export interface ApiReverseProxyAuthenticationConfigurationDTO { /** * * @type {boolean} * @memberof ApiReverseProxyAuthenticationConfigurationDTO */ csrfProtectionDisabled?: boolean; /** * * @type {boolean} * @memberof ApiReverseProxyAuthenticationConfigurationDTO */ enabled?: boolean; /** * * @type {string} * @memberof ApiReverseProxyAuthenticationConfigurationDTO */ logoutUrl?: string; /** * * @type {string} * @memberof ApiReverseProxyAuthenticationConfigurationDTO */ usernameHeader?: string; } /** * Check if a given object implements the ApiReverseProxyAuthenticationConfigurationDTO interface. */ export function instanceOfApiReverseProxyAuthenticationConfigurationDTO(value: object): value is ApiReverseProxyAuthenticationConfigurationDTO { return true; } export function ApiReverseProxyAuthenticationConfigurationDTOFromJSON(json: any): ApiReverseProxyAuthenticationConfigurationDTO { return ApiReverseProxyAuthenticationConfigurationDTOFromJSONTyped(json, false); } export function ApiReverseProxyAuthenticationConfigurationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiReverseProxyAuthenticationConfigurationDTO { if (json == null) { return json; } return { 'csrfProtectionDisabled': json['csrfProtectionDisabled'] == null ? undefined : json['csrfProtectionDisabled'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], 'logoutUrl': json['logoutUrl'] == null ? undefined : json['logoutUrl'], 'usernameHeader': json['usernameHeader'] == null ? undefined : json['usernameHeader'], }; } export function ApiReverseProxyAuthenticationConfigurationDTOToJSON(json: any): ApiReverseProxyAuthenticationConfigurationDTO { return ApiReverseProxyAuthenticationConfigurationDTOToJSONTyped(json, false); } export function ApiReverseProxyAuthenticationConfigurationDTOToJSONTyped(value?: ApiReverseProxyAuthenticationConfigurationDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'csrfProtectionDisabled': value['csrfProtectionDisabled'], 'enabled': value['enabled'], 'logoutUrl': value['logoutUrl'], 'usernameHeader': value['usernameHeader'], }; }