/* 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 AllowGuestMessage200Response
 */
export interface AllowGuestMessage200Response {
    /**
     * 
     * @type {string}
     * @memberof AllowGuestMessage200Response
     */
    kind: AllowGuestMessage200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof AllowGuestMessage200Response
     */
    msg: AllowGuestMessage200ResponseMsgEnum;
}


/**
 * @export
 */
export const AllowGuestMessage200ResponseKindEnum = {
    Success: 'success'
} as const;
export type AllowGuestMessage200ResponseKindEnum = typeof AllowGuestMessage200ResponseKindEnum[keyof typeof AllowGuestMessage200ResponseKindEnum];

/**
 * @export
 */
export const AllowGuestMessage200ResponseMsgEnum = {
    GuestMessageSuccess: 'guestMessage.success'
} as const;
export type AllowGuestMessage200ResponseMsgEnum = typeof AllowGuestMessage200ResponseMsgEnum[keyof typeof AllowGuestMessage200ResponseMsgEnum];


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

export function AllowGuestMessage200ResponseFromJSON(json: any): AllowGuestMessage200Response {
    return AllowGuestMessage200ResponseFromJSONTyped(json, false);
}

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

export function AllowGuestMessage200ResponseToJSON(json: any): AllowGuestMessage200Response {
    return AllowGuestMessage200ResponseToJSONTyped(json, false);
}

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

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

