/* tslint:disable */
/* eslint-disable */
/**
 * Montelo
 * Documentation for the Montelo API.
 *
 * The version of the OpenAPI document: 1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface FineTuneModalInput
 */
export interface FineTuneModalInput {
    /**
     * 
     * @type {string}
     * @memberof FineTuneModalInput
     */
    model: FineTuneModalInputModelEnum;
}


/**
 * @export
 */
export const FineTuneModalInputModelEnum = {
    _8b: 'llama-3-8b',
    _70b: 'llama-3-70b'
} as const;
export type FineTuneModalInputModelEnum = typeof FineTuneModalInputModelEnum[keyof typeof FineTuneModalInputModelEnum];


/**
 * Check if a given object implements the FineTuneModalInput interface.
 */
export function instanceOfFineTuneModalInput(value: object): boolean {
    let isInstance = true;
    isInstance = isInstance && "model" in value;

    return isInstance;
}

export function FineTuneModalInputFromJSON(json: any): FineTuneModalInput {
    return FineTuneModalInputFromJSONTyped(json, false);
}

export function FineTuneModalInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FineTuneModalInput {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'model': json['model'],
    };
}

export function FineTuneModalInputToJSON(value?: FineTuneModalInput | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'model': value.model,
    };
}

