/* tslint:disable */
/* eslint-disable */
/**
 * zrok
 * zrok client access
 *
 * The version of the OpenAPI document: 0.3.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 InviteTokenGenerateRequest
 */
export interface InviteTokenGenerateRequest {
    /**
     * 
     * @type {Array<string>}
     * @memberof InviteTokenGenerateRequest
     */
    tokens?: Array<string>;
}

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

    return isInstance;
}

export function InviteTokenGenerateRequestFromJSON(json: any): InviteTokenGenerateRequest {
    return InviteTokenGenerateRequestFromJSONTyped(json, false);
}

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

export function InviteTokenGenerateRequestToJSON(value?: InviteTokenGenerateRequest | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'tokens': value.tokens,
    };
}

