/* 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 ForumObjectTypeEnum = {
    ENTITY: 'ENTITY',
    ACCESS_REQUIREMENT: 'ACCESS_REQUIREMENT'
};
/**
 * Check if a given object implements the Forum interface.
 */
export function instanceOfForum(value) {
    return true;
}
export function ForumFromJSON(json) {
    return ForumFromJSONTyped(json, false);
}
export function ForumFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'projectId': json['projectId'] == null ? undefined : json['projectId'],
        'objectId': json['objectId'] == null ? undefined : json['objectId'],
        'objectType': json['objectType'] == null ? undefined : json['objectType'],
        'etag': json['etag'] == null ? undefined : json['etag'],
    };
}
export function ForumToJSON(json) {
    return ForumToJSONTyped(json, false);
}
export function ForumToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'projectId': value['projectId'],
        'objectId': value['objectId'],
        'objectType': value['objectType'],
        'etag': value['etag'],
    };
}
//# sourceMappingURL=Forum.js.map