UNPKG

@space-cow-media/spellbook-client

Version:

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

67 lines (56 loc) 1.63 kB
/* tslint:disable */ /* eslint-disable */ /** * 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 { mapValues } from '../runtime'; /** * * @export * @interface InvalidUrlResponse */ export interface InvalidUrlResponse { /** * * @type {string} * @memberof InvalidUrlResponse */ detail: string; } /** * Check if a given object implements the InvalidUrlResponse interface. */ export function instanceOfInvalidUrlResponse(value: object): value is InvalidUrlResponse { if (!('detail' in value) || value['detail'] === undefined) return false; return true; } export function InvalidUrlResponseFromJSON(json: any): InvalidUrlResponse { return InvalidUrlResponseFromJSONTyped(json, false); } export function InvalidUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvalidUrlResponse { if (json == null) { return json; } return { 'detail': json['detail'], }; } export function InvalidUrlResponseToJSON(json: any): InvalidUrlResponse { return InvalidUrlResponseToJSONTyped(json, false); } export function InvalidUrlResponseToJSONTyped(value?: InvalidUrlResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'detail': value['detail'], }; }