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


/**
 * @export
 */
export const FineTuneCohereInputModelEnum = {
    CommandR: 'command-r'
} as const;
export type FineTuneCohereInputModelEnum = typeof FineTuneCohereInputModelEnum[keyof typeof FineTuneCohereInputModelEnum];


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

    return isInstance;
}

export function FineTuneCohereInputFromJSON(json: any): FineTuneCohereInput {
    return FineTuneCohereInputFromJSONTyped(json, false);
}

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

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

