"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.instanceOfPatchedSettingsRequestFlags = instanceOfPatchedSettingsRequestFlags;
exports.PatchedSettingsRequestFlagsFromJSON = PatchedSettingsRequestFlagsFromJSON;
exports.PatchedSettingsRequestFlagsFromJSONTyped = PatchedSettingsRequestFlagsFromJSONTyped;
exports.PatchedSettingsRequestFlagsToJSON = PatchedSettingsRequestFlagsToJSON;
exports.PatchedSettingsRequestFlagsToJSONTyped = PatchedSettingsRequestFlagsToJSONTyped;
/**
 * Check if a given object implements the PatchedSettingsRequestFlags interface.
 */
function instanceOfPatchedSettingsRequestFlags(value) {
    if (!('policiesBufferedAccessView' in value) || value['policiesBufferedAccessView'] === undefined)
        return false;
    return true;
}
function PatchedSettingsRequestFlagsFromJSON(json) {
    return PatchedSettingsRequestFlagsFromJSONTyped(json, false);
}
function PatchedSettingsRequestFlagsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'policiesBufferedAccessView': json['policies_buffered_access_view'],
    };
}
function PatchedSettingsRequestFlagsToJSON(json) {
    return PatchedSettingsRequestFlagsToJSONTyped(json, false);
}
function PatchedSettingsRequestFlagsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'policies_buffered_access_view': value['policiesBufferedAccessView'],
    };
}
//# sourceMappingURL=PatchedSettingsRequestFlags.js.map