/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface PatchedSettingsRequestFlags
 */
export interface PatchedSettingsRequestFlags {
    /**
     * 
     * @type {boolean}
     * @memberof PatchedSettingsRequestFlags
     */
    policiesBufferedAccessView: boolean;
}

/**
 * Check if a given object implements the PatchedSettingsRequestFlags interface.
 */
export function instanceOfPatchedSettingsRequestFlags(value: object): value is PatchedSettingsRequestFlags {
    if (!('policiesBufferedAccessView' in value) || value['policiesBufferedAccessView'] === undefined) return false;
    return true;
}

export function PatchedSettingsRequestFlagsFromJSON(json: any): PatchedSettingsRequestFlags {
    return PatchedSettingsRequestFlagsFromJSONTyped(json, false);
}

export function PatchedSettingsRequestFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSettingsRequestFlags {
    if (json == null) {
        return json;
    }
    return {
        
        'policiesBufferedAccessView': json['policies_buffered_access_view'],
    };
}

export function PatchedSettingsRequestFlagsToJSON(json: any): PatchedSettingsRequestFlags {
    return PatchedSettingsRequestFlagsToJSONTyped(json, false);
}

export function PatchedSettingsRequestFlagsToJSONTyped(value?: PatchedSettingsRequestFlags | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'policies_buffered_access_view': value['policiesBufferedAccessView'],
    };
}

