/* 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: 4.2.2
 * 
 *
 * 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';
/**
 * 
 * @export
 * @interface FeatureProducedInVariantSuggestion
 */
export interface FeatureProducedInVariantSuggestion {
    /**
     * Feature name
     * @type {string}
     * @memberof FeatureProducedInVariantSuggestion
     */
    feature: string;
}

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

export function FeatureProducedInVariantSuggestionFromJSON(json: any): FeatureProducedInVariantSuggestion {
    return FeatureProducedInVariantSuggestionFromJSONTyped(json, false);
}

export function FeatureProducedInVariantSuggestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureProducedInVariantSuggestion {
    if (json == null) {
        return json;
    }
    return {
        
        'feature': json['feature'],
    };
}

export function FeatureProducedInVariantSuggestionToJSON(json: any): FeatureProducedInVariantSuggestion {
    return FeatureProducedInVariantSuggestionToJSONTyped(json, false);
}

export function FeatureProducedInVariantSuggestionToJSONTyped(value?: FeatureProducedInVariantSuggestion | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'feature': value['feature'],
    };
}

