/* 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 ChangeDescRequest
 */
export interface ChangeDescRequest {
    /**
     * 
     * @type {string}
     * @memberof ChangeDescRequest
     */
    desc: string;
}

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

export function ChangeDescRequestFromJSON(json: any): ChangeDescRequest {
    return ChangeDescRequestFromJSONTyped(json, false);
}

export function ChangeDescRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeDescRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'desc': json['desc'],
    };
}

export function ChangeDescRequestToJSON(json: any): ChangeDescRequest {
    return ChangeDescRequestToJSONTyped(json, false);
}

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

    return {
        
        'desc': value['desc'],
    };
}

