@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
66 lines (65 loc) • 2.4 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 { KindEnum } from './kindEnum';
import type { VariantInVariantUpdateSuggestionRequest } from './variantInVariantUpdateSuggestionRequest';
/**
*
* @export
* @interface PatchedVariantUpdateSuggestionRequest
*/
export interface PatchedVariantUpdateSuggestionRequest {
/**
* Type of suggestion
*
* * `NW` - Not Working
* * `SE` - Spelling Error
* * `II` - Incorrect Info
* * `WC` - Wrong Card
* * `VG` - Variant Grouping
* * `O` - Other
* @type {KindEnum}
* @memberof PatchedVariantUpdateSuggestionRequest
*/
kind?: KindEnum;
/**
*
* @type {Array<VariantInVariantUpdateSuggestionRequest>}
* @memberof PatchedVariantUpdateSuggestionRequest
*/
variants?: Array<VariantInVariantUpdateSuggestionRequest>;
/**
* Description of the problem
* @type {string}
* @memberof PatchedVariantUpdateSuggestionRequest
*/
issue?: string;
/**
* Description of the solution
* @type {string}
* @memberof PatchedVariantUpdateSuggestionRequest
*/
solution?: string;
/**
* Comment written by the user that suggested this
* @type {string}
* @memberof PatchedVariantUpdateSuggestionRequest
*/
comment?: string;
}
/**
* Check if a given object implements the PatchedVariantUpdateSuggestionRequest interface.
*/
export declare function instanceOfPatchedVariantUpdateSuggestionRequest(value: object): value is PatchedVariantUpdateSuggestionRequest;
export declare function PatchedVariantUpdateSuggestionRequestFromJSON(json: any): PatchedVariantUpdateSuggestionRequest;
export declare function PatchedVariantUpdateSuggestionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantUpdateSuggestionRequest;
export declare function PatchedVariantUpdateSuggestionRequestToJSON(json: any): PatchedVariantUpdateSuggestionRequest;
export declare function PatchedVariantUpdateSuggestionRequestToJSONTyped(value?: PatchedVariantUpdateSuggestionRequest | null, ignoreDiscriminator?: boolean): any;