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

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

export function ListOrganizationMembers200ResponseMembersInnerFromJSON(json: any): ListOrganizationMembers200ResponseMembersInner {
    return ListOrganizationMembers200ResponseMembersInnerFromJSONTyped(json, false);
}

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

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

