/* 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 GetUser404Response
 */
export interface GetUser404Response {
    /**
     * 
     * @type {string}
     * @memberof GetUser404Response
     */
    kind: GetUser404ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof GetUser404Response
     */
    msg: GetUser404ResponseMsgEnum;
}


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

/**
 * @export
 */
export const GetUser404ResponseMsgEnum = {
    UserinfoFailureUnknownUser: 'userinfo.failure.unknownUser'
} as const;
export type GetUser404ResponseMsgEnum = typeof GetUser404ResponseMsgEnum[keyof typeof GetUser404ResponseMsgEnum];


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

export function GetUser404ResponseFromJSON(json: any): GetUser404Response {
    return GetUser404ResponseFromJSONTyped(json, false);
}

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

export function GetUser404ResponseToJSON(json: any): GetUser404Response {
    return GetUser404ResponseToJSONTyped(json, false);
}

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

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

