@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
76 lines (75 loc) • 2.07 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 { Card } from './card';
/**
*
* @export
* @interface CardInVariant
*/
export interface CardInVariant {
/**
*
* @type {Card}
* @memberof CardInVariant
*/
readonly card: Card;
/**
*
* @type {Array<string>}
* @memberof CardInVariant
*/
readonly zoneLocations: Array<string>;
/**
*
* @type {string}
* @memberof CardInVariant
*/
readonly battlefieldCardState: string;
/**
*
* @type {string}
* @memberof CardInVariant
*/
readonly exileCardState: string;
/**
*
* @type {string}
* @memberof CardInVariant
*/
readonly libraryCardState: string;
/**
*
* @type {string}
* @memberof CardInVariant
*/
readonly graveyardCardState: string;
/**
*
* @type {boolean}
* @memberof CardInVariant
*/
readonly mustBeCommander: boolean;
/**
* Quantity of the card in the combo.
* @type {number}
* @memberof CardInVariant
*/
quantity: number;
}
/**
* Check if a given object implements the CardInVariant interface.
*/
export declare function instanceOfCardInVariant(value: object): value is CardInVariant;
export declare function CardInVariantFromJSON(json: any): CardInVariant;
export declare function CardInVariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardInVariant;
export declare function CardInVariantToJSON(json: any): CardInVariant;
export declare function CardInVariantToJSONTyped(value?: Omit<CardInVariant, 'card' | 'zoneLocations' | 'battlefieldCardState' | 'exileCardState' | 'libraryCardState' | 'graveyardCardState' | 'mustBeCommander'> | null, ignoreDiscriminator?: boolean): any;