"use strict";
/* 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.FineTuneModalInputToJSON = exports.FineTuneModalInputFromJSONTyped = exports.FineTuneModalInputFromJSON = exports.instanceOfFineTuneModalInput = exports.FineTuneModalInputModelEnum = void 0;
/**
 * @export
 */
exports.FineTuneModalInputModelEnum = {
    _8b: 'llama-3-8b',
    _70b: 'llama-3-70b'
};
/**
 * Check if a given object implements the FineTuneModalInput interface.
 */
function instanceOfFineTuneModalInput(value) {
    let isInstance = true;
    isInstance = isInstance && "model" in value;
    return isInstance;
}
exports.instanceOfFineTuneModalInput = instanceOfFineTuneModalInput;
function FineTuneModalInputFromJSON(json) {
    return FineTuneModalInputFromJSONTyped(json, false);
}
exports.FineTuneModalInputFromJSON = FineTuneModalInputFromJSON;
function FineTuneModalInputFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'model': json['model'],
    };
}
exports.FineTuneModalInputFromJSONTyped = FineTuneModalInputFromJSONTyped;
function FineTuneModalInputToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'model': value.model,
    };
}
exports.FineTuneModalInputToJSON = FineTuneModalInputToJSON;
