/* 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 { ReferenceFromJSON, ReferenceToJSON, } from './Reference';
/**
 * Check if a given object implements the EntityGroupRecord interface.
 */
export function instanceOfEntityGroupRecord(value) {
    return true;
}
export function EntityGroupRecordFromJSON(json) {
    return EntityGroupRecordFromJSONTyped(json, false);
}
export function EntityGroupRecordFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'entityReference': json['entityReference'] == null ? undefined : ReferenceFromJSON(json['entityReference']),
        'note': json['note'] == null ? undefined : json['note'],
    };
}
export function EntityGroupRecordToJSON(json) {
    return EntityGroupRecordToJSONTyped(json, false);
}
export function EntityGroupRecordToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'entityReference': ReferenceToJSON(value['entityReference']),
        'note': value['note'],
    };
}
//# sourceMappingURL=EntityGroupRecord.js.map