/* tslint:disable */
/* eslint-disable */
/**
 * OpenAPI Petstore
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface SpecialModelName
 */
export interface SpecialModelName {
    /**
     * 
     * @type {number}
     * @memberof SpecialModelName
     */
    $specialPropertyName?: number;
}

/**
 * Check if a given object implements the SpecialModelName interface.
 */
export function instanceOfSpecialModelName(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function SpecialModelNameFromJSON(json: any): SpecialModelName {
    return SpecialModelNameFromJSONTyped(json, false);
}

export function SpecialModelNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpecialModelName {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        '$specialPropertyName': !exists(json, '$special[property.name]') ? undefined : json['$special[property.name]'],
    };
}

export function SpecialModelNameToJSON(value?: SpecialModelName | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        '$special[property.name]': value.$specialPropertyName,
    };
}

