/* tslint:disable */
/* eslint-disable */
/**
 * Commander Spellbook API
 * API for Commander Spellbook, the combo database engine for Magic: The Gathering
 *
 * The version of the OpenAPI document: 5.4.10
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime.js';
/**
 * 
 * @export
 * @interface Combo
 */
export interface Combo {
    /**
     * 
     * @type {number}
     * @memberof Combo
     */
    readonly id: number;
}

/**
 * Check if a given object implements the Combo interface.
 */
export function instanceOfCombo(value: object): value is Combo {
    if (!('id' in value) || value['id'] === undefined) return false;
    return true;
}

export function ComboFromJSON(json: any): Combo {
    return ComboFromJSONTyped(json, false);
}

export function ComboFromJSONTyped(json: any, ignoreDiscriminator: boolean): Combo {
    if (json == null) {
        return json;
    }
    return {
        
        'id': json['id'],
    };
}

export function ComboToJSON(json: any): Combo {
    return ComboToJSONTyped(json, false);
}

export function ComboToJSONTyped(value?: Omit<Combo, 'id'> | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
    };
}

