/* 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 ChangeDisplayName200Response
 */
export interface ChangeDisplayName200Response {
    /**
     * 
     * @type {string}
     * @memberof ChangeDisplayName200Response
     */
    kind: ChangeDisplayName200ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof ChangeDisplayName200Response
     */
    msg: ChangeDisplayName200ResponseMsgEnum;
}


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

/**
 * @export
 */
export const ChangeDisplayName200ResponseMsgEnum = {
    ChangeDisplayNameSuccess: 'changeDisplayName.success'
} as const;
export type ChangeDisplayName200ResponseMsgEnum = typeof ChangeDisplayName200ResponseMsgEnum[keyof typeof ChangeDisplayName200ResponseMsgEnum];


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

export function ChangeDisplayName200ResponseFromJSON(json: any): ChangeDisplayName200Response {
    return ChangeDisplayName200ResponseFromJSONTyped(json, false);
}

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

export function ChangeDisplayName200ResponseToJSON(json: any): ChangeDisplayName200Response {
    return ChangeDisplayName200ResponseToJSONTyped(json, false);
}

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

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

