/* tslint:disable */
/* eslint-disable */
/**
 * zrok
 * zrok client access
 *
 * 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 { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface RemoveOrganizationMemberRequest
 */
export interface RemoveOrganizationMemberRequest {
    /**
     * 
     * @type {string}
     * @memberof RemoveOrganizationMemberRequest
     */
    token?: string;
    /**
     * 
     * @type {string}
     * @memberof RemoveOrganizationMemberRequest
     */
    email?: string;
}

/**
 * Check if a given object implements the RemoveOrganizationMemberRequest interface.
 */
export function instanceOfRemoveOrganizationMemberRequest(value: object): value is RemoveOrganizationMemberRequest {
    return true;
}

export function RemoveOrganizationMemberRequestFromJSON(json: any): RemoveOrganizationMemberRequest {
    return RemoveOrganizationMemberRequestFromJSONTyped(json, false);
}

export function RemoveOrganizationMemberRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveOrganizationMemberRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'token': json['token'] == null ? undefined : json['token'],
        'email': json['email'] == null ? undefined : json['email'],
    };
}

export function RemoveOrganizationMemberRequestToJSON(value?: RemoveOrganizationMemberRequest | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'token': value['token'],
        'email': value['email'],
    };
}

