"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-rc1
 * Contact: hello@goauthentik.io
 *
 * 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.instanceOfPatchedBrandRequest = instanceOfPatchedBrandRequest;
exports.PatchedBrandRequestFromJSON = PatchedBrandRequestFromJSON;
exports.PatchedBrandRequestFromJSONTyped = PatchedBrandRequestFromJSONTyped;
exports.PatchedBrandRequestToJSON = PatchedBrandRequestToJSON;
exports.PatchedBrandRequestToJSONTyped = PatchedBrandRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedBrandRequest interface.
 */
function instanceOfPatchedBrandRequest(value) {
    return true;
}
function PatchedBrandRequestFromJSON(json) {
    return PatchedBrandRequestFromJSONTyped(json, false);
}
function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'domain': json['domain'] == null ? undefined : json['domain'],
        '_default': json['default'] == null ? undefined : json['default'],
        'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
        'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
        'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
        'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
        'brandingDefaultFlowBackground': json['branding_default_flow_background'] == null ? undefined : json['branding_default_flow_background'],
        'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
        'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
        'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
        'flowUnenrollment': json['flow_unenrollment'] == null ? undefined : json['flow_unenrollment'],
        'flowUserSettings': json['flow_user_settings'] == null ? undefined : json['flow_user_settings'],
        'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
        'defaultApplication': json['default_application'] == null ? undefined : json['default_application'],
        'webCertificate': json['web_certificate'] == null ? undefined : json['web_certificate'],
        'clientCertificates': json['client_certificates'] == null ? undefined : json['client_certificates'],
        'attributes': json['attributes'] == null ? undefined : json['attributes'],
    };
}
function PatchedBrandRequestToJSON(json) {
    return PatchedBrandRequestToJSONTyped(json, false);
}
function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'domain': value['domain'],
        'default': value['_default'],
        'branding_title': value['brandingTitle'],
        'branding_logo': value['brandingLogo'],
        'branding_favicon': value['brandingFavicon'],
        'branding_custom_css': value['brandingCustomCss'],
        'branding_default_flow_background': value['brandingDefaultFlowBackground'],
        'flow_authentication': value['flowAuthentication'],
        'flow_invalidation': value['flowInvalidation'],
        'flow_recovery': value['flowRecovery'],
        'flow_unenrollment': value['flowUnenrollment'],
        'flow_user_settings': value['flowUserSettings'],
        'flow_device_code': value['flowDeviceCode'],
        'default_application': value['defaultApplication'],
        'web_certificate': value['webCertificate'],
        'client_certificates': value['clientCertificates'],
        'attributes': value['attributes'],
    };
}
//# sourceMappingURL=PatchedBrandRequest.js.map