/* 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';
import type { ListOrganizationMembers200ResponseMembersInner } from './ListOrganizationMembers200ResponseMembersInner';
import {
    ListOrganizationMembers200ResponseMembersInnerFromJSON,
    ListOrganizationMembers200ResponseMembersInnerFromJSONTyped,
    ListOrganizationMembers200ResponseMembersInnerToJSON,
} from './ListOrganizationMembers200ResponseMembersInner';

/**
 * 
 * @export
 * @interface ListOrganizationMembers200Response
 */
export interface ListOrganizationMembers200Response {
    /**
     * 
     * @type {Array<ListOrganizationMembers200ResponseMembersInner>}
     * @memberof ListOrganizationMembers200Response
     */
    members?: Array<ListOrganizationMembers200ResponseMembersInner>;
}

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

export function ListOrganizationMembers200ResponseFromJSON(json: any): ListOrganizationMembers200Response {
    return ListOrganizationMembers200ResponseFromJSONTyped(json, false);
}

export function ListOrganizationMembers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListOrganizationMembers200Response {
    if (json == null) {
        return json;
    }
    return {
        
        'members': json['members'] == null ? undefined : ((json['members'] as Array<any>).map(ListOrganizationMembers200ResponseMembersInnerFromJSON)),
    };
}

export function ListOrganizationMembers200ResponseToJSON(value?: ListOrganizationMembers200Response | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'members': value['members'] == null ? undefined : ((value['members'] as Array<any>).map(ListOrganizationMembers200ResponseMembersInnerToJSON)),
    };
}

