@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
89 lines (88 loc) • 3.71 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 TemplateRequiredInVariantSuggestionRequest
*/
export interface TemplateRequiredInVariantSuggestionRequest {
/**
* Template name
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
template: string;
/**
* Quantity of the card in the combo.
* @type {number}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
quantity?: number;
/**
* Variables supported: mv, manavalue, power, pow, toughness, tou, pt, powtou, loyalty, loy, c, color, id, identity, produces, has, t, type, keyword, kw, is, o, oracle, function, otag, oracletag, oracleid, m, mana, devotion.
* Operators supported: =, !=, <, >, <=, >=, :.
* You can compose a "and"/"or" expression made of "and"/"or" expressions, like "(c:W or c:U) and (t:creature or t:artifact)".
* You can also omit parentheses when not necessary, like "(c:W or c:U) t:creature".
* Card names are only supported if wrapped in double quotes and preceded by an exclamation mark (!) in order to match the exact name, like !"Lightning Bolt".
* You can negate any expression by prepending a dash (-), like "-t:creature".
* More info at: https://scryfall.com/docs/syntax.
*
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
scryfallQuery?: string | null;
/**
*
* @type {Array<ZoneLocationsEnum>}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
zoneLocations: Array<ZoneLocationsEnum>;
/**
* State of the card on the battlefield, if present.
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
battlefieldCardState?: string;
/**
* State of the card in exile, if present.
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
exileCardState?: string;
/**
* State of the card in the library, if present.
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
libraryCardState?: string;
/**
* State of the card in the graveyard, if present.
* @type {string}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
graveyardCardState?: string;
/**
* Does the card have to be a commander?
* @type {boolean}
* @memberof TemplateRequiredInVariantSuggestionRequest
*/
mustBeCommander?: boolean;
}
/**
* Check if a given object implements the TemplateRequiredInVariantSuggestionRequest interface.
*/
export declare function instanceOfTemplateRequiredInVariantSuggestionRequest(value: object): value is TemplateRequiredInVariantSuggestionRequest;
export declare function TemplateRequiredInVariantSuggestionRequestFromJSON(json: any): TemplateRequiredInVariantSuggestionRequest;
export declare function TemplateRequiredInVariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TemplateRequiredInVariantSuggestionRequest;
export declare function TemplateRequiredInVariantSuggestionRequestToJSON(json: any): TemplateRequiredInVariantSuggestionRequest;
export declare function TemplateRequiredInVariantSuggestionRequestToJSONTyped(value?: TemplateRequiredInVariantSuggestionRequest | null, ignoreDiscriminator?: boolean): any;