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

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

export function ListOrganizations200ResponseOrganizationsInnerFromJSON(json: any): ListOrganizations200ResponseOrganizationsInner {
    return ListOrganizations200ResponseOrganizationsInnerFromJSONTyped(json, false);
}

export function ListOrganizations200ResponseOrganizationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListOrganizations200ResponseOrganizationsInner {
    if (json == null) {
        return json;
    }
    return {
        
        'token': json['token'] == null ? undefined : json['token'],
        'description': json['description'] == null ? undefined : json['description'],
    };
}

export function ListOrganizations200ResponseOrganizationsInnerToJSON(value?: ListOrganizations200ResponseOrganizationsInner | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'token': value['token'],
        'description': value['description'],
    };
}

