/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { AccessControlListFromJSON, AccessControlListToJSON, } from './AccessControlList';
import { EntityFromJSON, EntityToJSON, } from './Entity';
import { V2AnnotationsFromJSON, V2AnnotationsToJSON, } from './V2Annotations';
/**
 * Check if a given object implements the EntityBundleCreate interface.
 */
export function instanceOfEntityBundleCreate(value) {
    return true;
}
export function EntityBundleCreateFromJSON(json) {
    return EntityBundleCreateFromJSONTyped(json, false);
}
export function EntityBundleCreateFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'entity': json['entity'] == null ? undefined : EntityFromJSON(json['entity']),
        'annotations': json['annotations'] == null ? undefined : V2AnnotationsFromJSON(json['annotations']),
        'accessControlList': json['accessControlList'] == null ? undefined : AccessControlListFromJSON(json['accessControlList']),
    };
}
export function EntityBundleCreateToJSON(json) {
    return EntityBundleCreateToJSONTyped(json, false);
}
export function EntityBundleCreateToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'entity': EntityToJSON(value['entity']),
        'annotations': V2AnnotationsToJSON(value['annotations']),
        'accessControlList': AccessControlListToJSON(value['accessControlList']),
    };
}
//# sourceMappingURL=EntityBundleCreate.js.map