/* 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 GrantsRequest
 */
export interface GrantsRequest {
    /**
     * 
     * @type {string}
     * @memberof GrantsRequest
     */
    email?: string;
}

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

export function GrantsRequestFromJSON(json: any): GrantsRequest {
    return GrantsRequestFromJSONTyped(json, false);
}

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

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

