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

/**
 * Global default outpost config
 * @export
 * @interface OutpostDefaultConfig
 */
export interface OutpostDefaultConfig {
    /**
     *
     * @type {{ [key: string]: any; }}
     * @memberof OutpostDefaultConfig
     */
    readonly config: { [key: string]: any };
}

/**
 * Check if a given object implements the OutpostDefaultConfig interface.
 */
export function instanceOfOutpostDefaultConfig(value: object): value is OutpostDefaultConfig {
    if (!("config" in value) || value["config"] === undefined) return false;
    return true;
}

export function OutpostDefaultConfigFromJSON(json: any): OutpostDefaultConfig {
    return OutpostDefaultConfigFromJSONTyped(json, false);
}

export function OutpostDefaultConfigFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): OutpostDefaultConfig {
    if (json == null) {
        return json;
    }
    return {
        config: json["config"],
    };
}

export function OutpostDefaultConfigToJSON(json: any): OutpostDefaultConfig {
    return OutpostDefaultConfigToJSONTyped(json, false);
}

export function OutpostDefaultConfigToJSONTyped(
    value?: Omit<OutpostDefaultConfig, "config"> | null,
    ignoreDiscriminator: boolean = false,
): any {
    if (value == null) {
        return value;
    }

    return {};
}
