/* 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 FineTuneOpenaiInput
 */
export interface FineTuneOpenaiInput {
    /**
     * 
     * @type {string}
     * @memberof FineTuneOpenaiInput
     */
    model: FineTuneOpenaiInputModelEnum;
}


/**
 * @export
 */
export const FineTuneOpenaiInputModelEnum = {
    _0125: 'gpt-3.5-turbo-0125',
    _1106: 'gpt-3.5-turbo-1106'
} as const;
export type FineTuneOpenaiInputModelEnum = typeof FineTuneOpenaiInputModelEnum[keyof typeof FineTuneOpenaiInputModelEnum];


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

    return isInstance;
}

export function FineTuneOpenaiInputFromJSON(json: any): FineTuneOpenaiInput {
    return FineTuneOpenaiInputFromJSONTyped(json, false);
}

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

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

