@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
40 lines (39 loc) • 1.43 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 { Feature } from './feature';
/**
*
* @export
* @interface FeatureProducedByVariant
*/
export interface FeatureProducedByVariant {
/**
*
* @type {Feature}
* @memberof FeatureProducedByVariant
*/
readonly feature: Feature;
/**
* Quantity of the feature produced by the variant.
* @type {number}
* @memberof FeatureProducedByVariant
*/
quantity: number;
}
/**
* Check if a given object implements the FeatureProducedByVariant interface.
*/
export declare function instanceOfFeatureProducedByVariant(value: object): value is FeatureProducedByVariant;
export declare function FeatureProducedByVariantFromJSON(json: any): FeatureProducedByVariant;
export declare function FeatureProducedByVariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureProducedByVariant;
export declare function FeatureProducedByVariantToJSON(json: any): FeatureProducedByVariant;
export declare function FeatureProducedByVariantToJSONTyped(value?: Omit<FeatureProducedByVariant, 'feature'> | null, ignoreDiscriminator?: boolean): any;