/* 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 Content interface.
 */
export function instanceOfContent(value) {
    return true;
}
export function ContentFromJSON(json) {
    return ContentFromJSONTyped(json, false);
}
export function ContentFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'id': json['id'] == null ? undefined : json['id'],
        'drs_uri': json['drs_uri'] == null ? undefined : json['drs_uri'],
    };
}
export function ContentToJSON(json) {
    return ContentToJSONTyped(json, false);
}
export function ContentToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'id': value['id'],
        'drs_uri': value['drs_uri'],
    };
}
//# sourceMappingURL=Content.js.map