/* 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.
 */
/**
 * Check if a given object implements the SynonymSet interface.
 */
export function instanceOfSynonymSet(value) {
    if (!('definition' in value) || value['definition'] === undefined)
        return false;
    return true;
}
export function SynonymSetFromJSON(json) {
    return SynonymSetFromJSONTyped(json, false);
}
export function SynonymSetFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
        'name': json['name'] == null ? undefined : json['name'],
        'description': json['description'] == null ? undefined : json['description'],
        'definition': json['definition'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
    };
}
export function SynonymSetToJSON(json) {
    return SynonymSetToJSONTyped(json, false);
}
export function SynonymSetToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'organizationName': value['organizationName'],
        'name': value['name'],
        'description': value['description'],
        'definition': value['definition'],
        'etag': value['etag'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'modifiedOn': value['modifiedOn'],
        'modifiedBy': value['modifiedBy'],
    };
}
//# sourceMappingURL=SynonymSet.js.map