@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
76 lines (75 loc) • 2.44 kB
TypeScript
/**
* Commander Spellbook API
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
*
* The version of the OpenAPI document: 4.8.19
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { ZoneLocationsEnum } from './zoneLocationsEnum';
/**
*
* @export
* @interface CardUsedInVariantSuggestion
*/
export interface CardUsedInVariantSuggestion {
/**
* Card name
* @type {string}
* @memberof CardUsedInVariantSuggestion
*/
card: string;
/**
* Quantity of the card in the combo.
* @type {number}
* @memberof CardUsedInVariantSuggestion
*/
quantity: number;
/**
*
* @type {Array<ZoneLocationsEnum>}
* @memberof CardUsedInVariantSuggestion
*/
zoneLocations: Array<ZoneLocationsEnum>;
/**
* State of the card on the battlefield, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestion
*/
battlefieldCardState: string;
/**
* State of the card in exile, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestion
*/
exileCardState: string;
/**
* State of the card in the library, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestion
*/
libraryCardState: string;
/**
* State of the card in the graveyard, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestion
*/
graveyardCardState: string;
/**
* Does the card have to be a commander?
* @type {boolean}
* @memberof CardUsedInVariantSuggestion
*/
mustBeCommander: boolean;
}
/**
* Check if a given object implements the CardUsedInVariantSuggestion interface.
*/
export declare function instanceOfCardUsedInVariantSuggestion(value: object): value is CardUsedInVariantSuggestion;
export declare function CardUsedInVariantSuggestionFromJSON(json: any): CardUsedInVariantSuggestion;
export declare function CardUsedInVariantSuggestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardUsedInVariantSuggestion;
export declare function CardUsedInVariantSuggestionToJSON(json: any): CardUsedInVariantSuggestion;
export declare function CardUsedInVariantSuggestionToJSONTyped(value?: CardUsedInVariantSuggestion | null, ignoreDiscriminator?: boolean): any;