/* 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 ChangeDesc200Response
 */
export interface ChangeDesc200Response {
    /**
     * 
     * @type {string}
     * @memberof ChangeDesc200Response
     */
    kind: ChangeDesc200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof ChangeDesc200Response
     */
    msg: ChangeDesc200ResponseMsgEnum;
}


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

/**
 * @export
 */
export const ChangeDesc200ResponseMsgEnum = {
    ChangedescSuccess: 'changedesc.success'
} as const;
export type ChangeDesc200ResponseMsgEnum = typeof ChangeDesc200ResponseMsgEnum[keyof typeof ChangeDesc200ResponseMsgEnum];


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

export function ChangeDesc200ResponseFromJSON(json: any): ChangeDesc200Response {
    return ChangeDesc200ResponseFromJSONTyped(json, false);
}

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

export function ChangeDesc200ResponseToJSON(json: any): ChangeDesc200Response {
    return ChangeDesc200ResponseToJSONTyped(json, false);
}

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

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

