/* 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 GetUser403Response
 */
export interface GetUser403Response {
    /**
     * 
     * @type {string}
     * @memberof GetUser403Response
     */
    kind: GetUser403ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof GetUser403Response
     */
    msg: GetUser403ResponseMsgEnum;
}


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

/**
 * @export
 */
export const GetUser403ResponseMsgEnum = {
    UserinfoFailureNotLoggedIn: 'userinfo.failure.notLoggedIn'
} as const;
export type GetUser403ResponseMsgEnum = typeof GetUser403ResponseMsgEnum[keyof typeof GetUser403ResponseMsgEnum];


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

export function GetUser403ResponseFromJSON(json: any): GetUser403Response {
    return GetUser403ResponseFromJSONTyped(json, false);
}

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

export function GetUser403ResponseToJSON(json: any): GetUser403Response {
    return GetUser403ResponseToJSONTyped(json, false);
}

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

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

