/* 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 Signin500Response
 */
export interface Signin500Response {
    /**
     * 
     * @type {string}
     * @memberof Signin500Response
     */
    kind: Signin500ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof Signin500Response
     */
    msg: Signin500ResponseMsgEnum;
}


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

/**
 * @export
 */
export const Signin500ResponseMsgEnum = {
    SigninFailedGeneric: 'signin.failed.generic'
} as const;
export type Signin500ResponseMsgEnum = typeof Signin500ResponseMsgEnum[keyof typeof Signin500ResponseMsgEnum];


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

export function Signin500ResponseFromJSON(json: any): Signin500Response {
    return Signin500ResponseFromJSONTyped(json, false);
}

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

export function Signin500ResponseToJSON(json: any): Signin500Response {
    return Signin500ResponseToJSONTyped(json, false);
}

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

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

