/* 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.
 */

/**
 *
 * @export
 * @interface UserPath
 */
export interface UserPath {
    /**
     *
     * @type {Array<string>}
     * @memberof UserPath
     */
    readonly paths: Array<string>;
}

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

export function UserPathFromJSON(json: any): UserPath {
    return UserPathFromJSONTyped(json, false);
}

export function UserPathFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPath {
    if (json == null) {
        return json;
    }
    return {
        paths: json["paths"],
    };
}

export function UserPathToJSON(json: any): UserPath {
    return UserPathToJSONTyped(json, false);
}

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

    return {};
}
