"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfCurrentBrandFlags = instanceOfCurrentBrandFlags;
exports.CurrentBrandFlagsFromJSON = CurrentBrandFlagsFromJSON;
exports.CurrentBrandFlagsFromJSONTyped = CurrentBrandFlagsFromJSONTyped;
exports.CurrentBrandFlagsToJSON = CurrentBrandFlagsToJSON;
exports.CurrentBrandFlagsToJSONTyped = CurrentBrandFlagsToJSONTyped;
/**
 * Check if a given object implements the CurrentBrandFlags interface.
 */
function instanceOfCurrentBrandFlags(value) {
    if (!('enterpriseAuditIncludeExpandedDiff' in value) || value['enterpriseAuditIncludeExpandedDiff'] === undefined)
        return false;
    if (!('policiesBufferedAccessView' in value) || value['policiesBufferedAccessView'] === undefined)
        return false;
    if (!('flowsContinuousLogin' in value) || value['flowsContinuousLogin'] === undefined)
        return false;
    if (!('flowsRefreshOthers' in value) || value['flowsRefreshOthers'] === undefined)
        return false;
    return true;
}
function CurrentBrandFlagsFromJSON(json) {
    return CurrentBrandFlagsFromJSONTyped(json, false);
}
function CurrentBrandFlagsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'enterpriseAuditIncludeExpandedDiff': json['enterprise_audit_include_expanded_diff'],
        'policiesBufferedAccessView': json['policies_buffered_access_view'],
        'flowsContinuousLogin': json['flows_continuous_login'],
        'flowsRefreshOthers': json['flows_refresh_others'],
    };
}
function CurrentBrandFlagsToJSON(json) {
    return CurrentBrandFlagsToJSONTyped(json, false);
}
function CurrentBrandFlagsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'enterprise_audit_include_expanded_diff': value['enterpriseAuditIncludeExpandedDiff'],
        'policies_buffered_access_view': value['policiesBufferedAccessView'],
        'flows_continuous_login': value['flowsContinuousLogin'],
        'flows_refresh_others': value['flowsRefreshOthers'],
    };
}
//# sourceMappingURL=CurrentBrandFlags.js.map