/* 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 ChangeDisplayNameRequest
 */
export interface ChangeDisplayNameRequest {
    /**
     * New Display Name
     * @type {string}
     * @memberof ChangeDisplayNameRequest
     */
    name: string;
}

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

export function ChangeDisplayNameRequestFromJSON(json: any): ChangeDisplayNameRequest {
    return ChangeDisplayNameRequestFromJSONTyped(json, false);
}

export function ChangeDisplayNameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeDisplayNameRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'name': json['name'],
    };
}

export function ChangeDisplayNameRequestToJSON(json: any): ChangeDisplayNameRequest {
    return ChangeDisplayNameRequestToJSONTyped(json, false);
}

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

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

