UNPKG

@space-cow-media/spellbook-client

Version:

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

52 lines (51 loc) 1.53 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. */ import type { Variant } from './variant'; /** * * @export * @interface PaginatedVariantList */ export interface PaginatedVariantList { /** * * @type {number} * @memberof PaginatedVariantList */ count: number; /** * * @type {string} * @memberof PaginatedVariantList */ next: string | null; /** * * @type {string} * @memberof PaginatedVariantList */ previous: string | null; /** * * @type {Array<Variant>} * @memberof PaginatedVariantList */ results: Array<Variant>; } /** * Check if a given object implements the PaginatedVariantList interface. */ export declare function instanceOfPaginatedVariantList(value: object): value is PaginatedVariantList; export declare function PaginatedVariantListFromJSON(json: any): PaginatedVariantList; export declare function PaginatedVariantListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedVariantList; export declare function PaginatedVariantListToJSON(json: any): PaginatedVariantList; export declare function PaginatedVariantListToJSONTyped(value?: PaginatedVariantList | null, ignoreDiscriminator?: boolean): any;