@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
40 lines (39 loc) • 1.25 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 { CardInDeckRequest } from './cardInDeckRequest';
/**
*
* @export
* @interface DeckRequest
*/
export interface DeckRequest {
/**
*
* @type {Array<CardInDeckRequest>}
* @memberof DeckRequest
*/
main?: Array<CardInDeckRequest>;
/**
*
* @type {Array<CardInDeckRequest>}
* @memberof DeckRequest
*/
commanders?: Array<CardInDeckRequest>;
}
/**
* Check if a given object implements the DeckRequest interface.
*/
export declare function instanceOfDeckRequest(value: object): value is DeckRequest;
export declare function DeckRequestFromJSON(json: any): DeckRequest;
export declare function DeckRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeckRequest;
export declare function DeckRequestToJSON(json: any): DeckRequest;
export declare function DeckRequestToJSONTyped(value?: DeckRequest | null, ignoreDiscriminator?: boolean): any;