/* 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 ChangePassword200Response
 */
export interface ChangePassword200Response {
    /**
     * 
     * @type {string}
     * @memberof ChangePassword200Response
     */
    kind: ChangePassword200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof ChangePassword200Response
     */
    msg: ChangePassword200ResponseMsgEnum;
}


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

/**
 * @export
 */
export const ChangePassword200ResponseMsgEnum = {
    ChangePasswordSuccess: 'changePassword.success'
} as const;
export type ChangePassword200ResponseMsgEnum = typeof ChangePassword200ResponseMsgEnum[keyof typeof ChangePassword200ResponseMsgEnum];


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

export function ChangePassword200ResponseFromJSON(json: any): ChangePassword200Response {
    return ChangePassword200ResponseFromJSONTyped(json, false);
}

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

export function ChangePassword200ResponseToJSON(json: any): ChangePassword200Response {
    return ChangePassword200ResponseToJSONTyped(json, false);
}

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

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

