/* 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';
import type { Owner } from './Owner';
import {
    OwnerFromJSON,
    OwnerFromJSONTyped,
    OwnerToJSON,
} from './Owner';

/**
 * 
 * @export
 * @interface Club
 */
export interface Club {
    /**
     * 
     * @type {Owner}
     * @memberof Club
     */
    readonly owner?: Owner;
}

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

    return isInstance;
}

export function ClubFromJSON(json: any): Club {
    return ClubFromJSONTyped(json, false);
}

export function ClubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Club {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'owner': !exists(json, 'owner') ? undefined : OwnerFromJSON(json['owner']),
    };
}

export function ClubToJSON(value?: Club | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
    };
}

