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

import { mapValues } from '../runtime';
/**
 * Serializer to upload file
 * @export
 * @interface FilePathRequest
 */
export interface FilePathRequest {
    /**
     * 
     * @type {string}
     * @memberof FilePathRequest
     */
    url: string;
}

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

export function FilePathRequestFromJSON(json: any): FilePathRequest {
    return FilePathRequestFromJSONTyped(json, false);
}

export function FilePathRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilePathRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'url': json['url'],
    };
}

export function FilePathRequestToJSON(json: any): FilePathRequest {
    return FilePathRequestToJSONTyped(json, false);
}

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

    return {
        
        'url': value['url'],
    };
}

