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