@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
90 lines (89 loc) • 3.27 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 { CardUsedInVariantSuggestionRequest } from './cardUsedInVariantSuggestionRequest';
import type { FeatureProducedInVariantSuggestionRequest } from './featureProducedInVariantSuggestionRequest';
import type { TemplateRequiredInVariantSuggestionRequest } from './templateRequiredInVariantSuggestionRequest';
/**
*
* @export
* @interface PatchedVariantSuggestionRequest
*/
export interface PatchedVariantSuggestionRequest {
/**
*
* @type {Array<CardUsedInVariantSuggestionRequest>}
* @memberof PatchedVariantSuggestionRequest
*/
uses?: Array<CardUsedInVariantSuggestionRequest>;
/**
*
* @type {Array<TemplateRequiredInVariantSuggestionRequest>}
* @memberof PatchedVariantSuggestionRequest
*/
requires?: Array<TemplateRequiredInVariantSuggestionRequest>;
/**
*
* @type {Array<FeatureProducedInVariantSuggestionRequest>}
* @memberof PatchedVariantSuggestionRequest
*/
produces?: Array<FeatureProducedInVariantSuggestionRequest>;
/**
* If this suggestion is a variant of an existing one, link it here.
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
variantOf?: string | null;
/**
* Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
manaNeeded?: string;
/**
* Easily achievable prerequisites for this combo.
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
easyPrerequisites?: string;
/**
* Notable prerequisites for this combo.
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
notablePrerequisites?: string;
/**
* Long description, in steps
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
description?: string;
/**
* Is this combo a spoiler?
* @type {boolean}
* @memberof PatchedVariantSuggestionRequest
*/
spoiler?: boolean;
/**
* Comment written by the user that suggested this
* @type {string}
* @memberof PatchedVariantSuggestionRequest
*/
comment?: string;
}
/**
* Check if a given object implements the PatchedVariantSuggestionRequest interface.
*/
export declare function instanceOfPatchedVariantSuggestionRequest(value: object): value is PatchedVariantSuggestionRequest;
export declare function PatchedVariantSuggestionRequestFromJSON(json: any): PatchedVariantSuggestionRequest;
export declare function PatchedVariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequest;
export declare function PatchedVariantSuggestionRequestToJSON(json: any): PatchedVariantSuggestionRequest;
export declare function PatchedVariantSuggestionRequestToJSONTyped(value?: PatchedVariantSuggestionRequest | null, ignoreDiscriminator?: boolean): any;