@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
76 lines (75 loc) • 2.59 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 CardUsedInVariantSuggestionRequest
*/
export interface CardUsedInVariantSuggestionRequest {
/**
* Card name
* @type {string}
* @memberof CardUsedInVariantSuggestionRequest
*/
card: string;
/**
* Quantity of the card in the combo.
* @type {number}
* @memberof CardUsedInVariantSuggestionRequest
*/
quantity?: number;
/**
*
* @type {Array<ZoneLocationsEnum>}
* @memberof CardUsedInVariantSuggestionRequest
*/
zoneLocations: Array<ZoneLocationsEnum>;
/**
* State of the card on the battlefield, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestionRequest
*/
battlefieldCardState?: string;
/**
* State of the card in exile, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestionRequest
*/
exileCardState?: string;
/**
* State of the card in the library, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestionRequest
*/
libraryCardState?: string;
/**
* State of the card in the graveyard, if present.
* @type {string}
* @memberof CardUsedInVariantSuggestionRequest
*/
graveyardCardState?: string;
/**
* Does the card have to be a commander?
* @type {boolean}
* @memberof CardUsedInVariantSuggestionRequest
*/
mustBeCommander?: boolean;
}
/**
* Check if a given object implements the CardUsedInVariantSuggestionRequest interface.
*/
export declare function instanceOfCardUsedInVariantSuggestionRequest(value: object): value is CardUsedInVariantSuggestionRequest;
export declare function CardUsedInVariantSuggestionRequestFromJSON(json: any): CardUsedInVariantSuggestionRequest;
export declare function CardUsedInVariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardUsedInVariantSuggestionRequest;
export declare function CardUsedInVariantSuggestionRequestToJSON(json: any): CardUsedInVariantSuggestionRequest;
export declare function CardUsedInVariantSuggestionRequestToJSONTyped(value?: CardUsedInVariantSuggestionRequest | null, ignoreDiscriminator?: boolean): any;