/* 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.
 */

/**
 * * `NW` - Not Working
 * * `SE` - Spelling Error
 * * `II` - Incorrect Info
 * * `WC` - Wrong Card
 * * `VG` - Variant Grouping
 * * `O` - Other
 * @export
 * @enum {string}
 */
export enum KindEnum {
    Nw = 'NW',
    Se = 'SE',
    Ii = 'II',
    Wc = 'WC',
    Vg = 'VG',
    O = 'O'
}


export function instanceOfKindEnum(value: any): boolean {
    for (const key in KindEnum) {
        if (Object.prototype.hasOwnProperty.call(KindEnum, key)) {
            if (KindEnum[key as keyof typeof KindEnum] === value) {
                return true;
            }
        }
    }
    return false;
}

export function KindEnumFromJSON(json: any): KindEnum {
    return KindEnumFromJSONTyped(json, false);
}

export function KindEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): KindEnum {
    return json as KindEnum;
}

export function KindEnumToJSON(value?: KindEnum | null): any {
    return value as any;
}

export function KindEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): KindEnum {
    return value as KindEnum;
}

