/* tslint:disable */
/* eslint-disable */
/**
 * Example
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * 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 ClubOwner
 */
export interface ClubOwner {
    /**
     * 
     * @type {string}
     * @memberof ClubOwner
     */
    name?: string;
}

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

    return isInstance;
}

export function ClubOwnerFromJSON(json: any): ClubOwner {
    return ClubOwnerFromJSONTyped(json, false);
}

export function ClubOwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClubOwner {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'name': !exists(json, 'name') ? undefined : json['name'],
    };
}

export function ClubOwnerToJSON(value?: ClubOwner | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'name': value.name,
    };
}

