"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.FineTuneCohereInputToJSON = exports.FineTuneCohereInputFromJSONTyped = exports.FineTuneCohereInputFromJSON = exports.instanceOfFineTuneCohereInput = exports.FineTuneCohereInputModelEnum = void 0;
/**
 * @export
 */
exports.FineTuneCohereInputModelEnum = {
    CommandR: 'command-r'
};
/**
 * Check if a given object implements the FineTuneCohereInput interface.
 */
function instanceOfFineTuneCohereInput(value) {
    let isInstance = true;
    isInstance = isInstance && "model" in value;
    return isInstance;
}
exports.instanceOfFineTuneCohereInput = instanceOfFineTuneCohereInput;
function FineTuneCohereInputFromJSON(json) {
    return FineTuneCohereInputFromJSONTyped(json, false);
}
exports.FineTuneCohereInputFromJSON = FineTuneCohereInputFromJSON;
function FineTuneCohereInputFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'model': json['model'],
    };
}
exports.FineTuneCohereInputFromJSONTyped = FineTuneCohereInputFromJSONTyped;
function FineTuneCohereInputToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'model': value.model,
    };
}
exports.FineTuneCohereInputToJSON = FineTuneCohereInputToJSON;
