/* 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 ChangePassword500Response
 */
export interface ChangePassword500Response {
    /**
     * 
     * @type {string}
     * @memberof ChangePassword500Response
     */
    kind: ChangePassword500ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof ChangePassword500Response
     */
    msg: ChangePassword500ResponseMsgEnum;
}


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

/**
 * @export
 */
export const ChangePassword500ResponseMsgEnum = {
    ChangePasswordFailedGeneric: 'changePassword.failed.generic'
} as const;
export type ChangePassword500ResponseMsgEnum = typeof ChangePassword500ResponseMsgEnum[keyof typeof ChangePassword500ResponseMsgEnum];


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

export function ChangePassword500ResponseFromJSON(json: any): ChangePassword500Response {
    return ChangePassword500ResponseFromJSONTyped(json, false);
}

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

export function ChangePassword500ResponseToJSON(json: any): ChangePassword500Response {
    return ChangePassword500ResponseToJSONTyped(json, false);
}

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

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

