/* 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 ChangeDesc403Response
 */
export interface ChangeDesc403Response {
    /**
     * 
     * @type {string}
     * @memberof ChangeDesc403Response
     */
    kind: ChangeDesc403ResponseKindEnum;
    /**
     * 
     * @type {string}
     * @memberof ChangeDesc403Response
     */
    msg: ChangeDesc403ResponseMsgEnum;
}


/**
 * @export
 */
export const ChangeDesc403ResponseKindEnum = {
    Failure: 'failure'
} as const;
export type ChangeDesc403ResponseKindEnum = typeof ChangeDesc403ResponseKindEnum[keyof typeof ChangeDesc403ResponseKindEnum];

/**
 * @export
 */
export const ChangeDesc403ResponseMsgEnum = {
    ChangedescFailureNotLoggedIn: 'changedesc.failure.notLoggedIn'
} as const;
export type ChangeDesc403ResponseMsgEnum = typeof ChangeDesc403ResponseMsgEnum[keyof typeof ChangeDesc403ResponseMsgEnum];


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

export function ChangeDesc403ResponseFromJSON(json: any): ChangeDesc403Response {
    return ChangeDesc403ResponseFromJSONTyped(json, false);
}

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

export function ChangeDesc403ResponseToJSON(json: any): ChangeDesc403Response {
    return ChangeDesc403ResponseToJSONTyped(json, false);
}

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

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

