/* tslint:disable */
/* eslint-disable */
/**
 * @fastify/swagger
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 9.6.1
 * 
 *
 * 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 GuestLogin400Response
 */
export interface GuestLogin400Response {
    /**
     * 
     * @type {string}
     * @memberof GuestLogin400Response
     */
    kind: GuestLogin400ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof GuestLogin400Response
     */
    msg: GuestLogin400ResponseMsgEnum;
}


/**
 * @export
 */
export const GuestLogin400ResponseKindEnum = {
    Failed: 'failed'
} as const;
export type GuestLogin400ResponseKindEnum = typeof GuestLogin400ResponseKindEnum[keyof typeof GuestLogin400ResponseKindEnum];

/**
 * @export
 */
export const GuestLogin400ResponseMsgEnum = {
    GuestLoginFailedInvalid: 'guestLogin.failed.invalid'
} as const;
export type GuestLogin400ResponseMsgEnum = typeof GuestLogin400ResponseMsgEnum[keyof typeof GuestLogin400ResponseMsgEnum];


/**
 * Check if a given object implements the GuestLogin400Response interface.
 */
export function instanceOfGuestLogin400Response(value: object): value is GuestLogin400Response {
    if (!('kind' in value) || value['kind'] === undefined) return false;
    if (!('msg' in value) || value['msg'] === undefined) return false;
    return true;
}

export function GuestLogin400ResponseFromJSON(json: any): GuestLogin400Response {
    return GuestLogin400ResponseFromJSONTyped(json, false);
}

export function GuestLogin400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuestLogin400Response {
    if (json == null) {
        return json;
    }
    return {
        
        'kind': json['kind'],
        'msg': json['msg'],
    };
}

export function GuestLogin400ResponseToJSON(json: any): GuestLogin400Response {
    return GuestLogin400ResponseToJSONTyped(json, false);
}

export function GuestLogin400ResponseToJSONTyped(value?: GuestLogin400Response | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'kind': value['kind'],
        'msg': value['msg'],
    };
}

