UNPKG

@space-cow-media/spellbook-client

Version:

An Open Api generated client for the Commander Spellbook backend REST API.

117 lines (116 loc) 2.39 kB
/** * 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. */ /** * * @export * @interface Card */ export interface Card { /** * * @type {number} * @memberof Card */ readonly id: number; /** * * @type {string} * @memberof Card */ name: string; /** * * @type {string} * @memberof Card */ oracleId: string | null; /** * Is this from an upcoming set? * @type {boolean} * @memberof Card */ spoiler: boolean; /** * * @type {string} * @memberof Card */ typeLine: string; /** * * @type {string} * @memberof Card */ imageUriFrontPng: string | null; /** * * @type {string} * @memberof Card */ imageUriFrontLarge: string | null; /** * * @type {string} * @memberof Card */ imageUriFrontNormal: string | null; /** * * @type {string} * @memberof Card */ imageUriFrontSmall: string | null; /** * * @type {string} * @memberof Card */ imageUriFrontArtCrop: string | null; /** * * @type {string} * @memberof Card */ imageUriBackPng: string | null; /** * * @type {string} * @memberof Card */ imageUriBackLarge: string | null; /** * * @type {string} * @memberof Card */ imageUriBackNormal: string | null; /** * * @type {string} * @memberof Card */ imageUriBackSmall: string | null; /** * * @type {string} * @memberof Card */ imageUriBackArtCrop: string | null; } /** * Check if a given object implements the Card interface. */ export declare function instanceOfCard(value: object): value is Card; export declare function CardFromJSON(json: any): Card; export declare function CardFromJSONTyped(json: any, ignoreDiscriminator: boolean): Card; export declare function CardToJSON(json: any): Card; export declare function CardToJSONTyped(value?: Omit<Card, 'id'> | null, ignoreDiscriminator?: boolean): any;