/* 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 AllowGuestMessage403Response
 */
export interface AllowGuestMessage403Response {
    /**
     * 
     * @type {string}
     * @memberof AllowGuestMessage403Response
     */
    kind: AllowGuestMessage403ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof AllowGuestMessage403Response
     */
    msg: AllowGuestMessage403ResponseMsgEnum;
}


/**
 * @export
 */
export const AllowGuestMessage403ResponseKindEnum = {
    Failure: 'failure'
} as const;
export type AllowGuestMessage403ResponseKindEnum = typeof AllowGuestMessage403ResponseKindEnum[keyof typeof AllowGuestMessage403ResponseKindEnum];

/**
 * @export
 */
export const AllowGuestMessage403ResponseMsgEnum = {
    GuestMessageFailureNotLoggedIn: 'guestMessage.failure.notLoggedIn'
} as const;
export type AllowGuestMessage403ResponseMsgEnum = typeof AllowGuestMessage403ResponseMsgEnum[keyof typeof AllowGuestMessage403ResponseMsgEnum];


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

export function AllowGuestMessage403ResponseFromJSON(json: any): AllowGuestMessage403Response {
    return AllowGuestMessage403ResponseFromJSONTyped(json, false);
}

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

export function AllowGuestMessage403ResponseToJSON(json: any): AllowGuestMessage403Response {
    return AllowGuestMessage403ResponseToJSONTyped(json, false);
}

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

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

