/* 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 GuestLogin500Response
 */
export interface GuestLogin500Response {
    /**
     * 
     * @type {string}
     * @memberof GuestLogin500Response
     */
    kind: GuestLogin500ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof GuestLogin500Response
     */
    msg: GuestLogin500ResponseMsgEnum;
}


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

/**
 * @export
 */
export const GuestLogin500ResponseMsgEnum = {
    GuestLoginFailedGenericUnknown: 'guestLogin.failed.generic.unknown',
    GuestLoginFailedGenericError: 'guestLogin.failed.generic.error'
} as const;
export type GuestLogin500ResponseMsgEnum = typeof GuestLogin500ResponseMsgEnum[keyof typeof GuestLogin500ResponseMsgEnum];


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

export function GuestLogin500ResponseFromJSON(json: any): GuestLogin500Response {
    return GuestLogin500ResponseFromJSONTyped(json, false);
}

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

export function GuestLogin500ResponseToJSON(json: any): GuestLogin500Response {
    return GuestLogin500ResponseToJSONTyped(json, false);
}

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

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

