/* 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.
 */
/**
 * @export
 */
export const TopicObjectTypeEnum = {
    FORUM: 'FORUM',
    THREAD: 'THREAD',
    DATA_ACCESS_SUBMISSION: 'DATA_ACCESS_SUBMISSION',
    DATA_ACCESS_SUBMISSION_STATUS: 'DATA_ACCESS_SUBMISSION_STATUS'
};
/**
 * Check if a given object implements the Topic interface.
 */
export function instanceOfTopic(value) {
    return true;
}
export function TopicFromJSON(json) {
    return TopicFromJSONTyped(json, false);
}
export function TopicFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectId': json['objectId'] == null ? undefined : json['objectId'],
        'objectType': json['objectType'] == null ? undefined : json['objectType'],
    };
}
export function TopicToJSON(json) {
    return TopicToJSONTyped(json, false);
}
export function TopicToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'objectId': value['objectId'],
        'objectType': value['objectType'],
    };
}
//# sourceMappingURL=Topic.js.map