/* 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 { JsonSchemaVersionInfoFromJSON, JsonSchemaVersionInfoToJSON, } from './JsonSchemaVersionInfo';
/**
 * @export
 */
export const JsonSchemaObjectBindingObjectTypeEnum = {
    entity: 'entity'
};
/**
 * Check if a given object implements the JsonSchemaObjectBinding interface.
 */
export function instanceOfJsonSchemaObjectBinding(value) {
    return true;
}
export function JsonSchemaObjectBindingFromJSON(json) {
    return JsonSchemaObjectBindingFromJSONTyped(json, false);
}
export function JsonSchemaObjectBindingFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'jsonSchemaVersionInfo': json['jsonSchemaVersionInfo'] == null ? undefined : JsonSchemaVersionInfoFromJSON(json['jsonSchemaVersionInfo']),
        'objectId': json['objectId'] == null ? undefined : json['objectId'],
        'objectType': json['objectType'] == null ? undefined : json['objectType'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'enableDerivedAnnotations': json['enableDerivedAnnotations'] == null ? undefined : json['enableDerivedAnnotations'],
    };
}
export function JsonSchemaObjectBindingToJSON(json) {
    return JsonSchemaObjectBindingToJSONTyped(json, false);
}
export function JsonSchemaObjectBindingToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'jsonSchemaVersionInfo': JsonSchemaVersionInfoToJSON(value['jsonSchemaVersionInfo']),
        'objectId': value['objectId'],
        'objectType': value['objectType'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'enableDerivedAnnotations': value['enableDerivedAnnotations'],
    };
}
//# sourceMappingURL=JsonSchemaObjectBinding.js.map