/* 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 DiscussionReplyBundleObjectTypeEnum = {
    ENTITY: 'ENTITY',
    ACCESS_REQUIREMENT: 'ACCESS_REQUIREMENT'
};
/**
 * Check if a given object implements the DiscussionReplyBundle interface.
 */
export function instanceOfDiscussionReplyBundle(value) {
    return true;
}
export function DiscussionReplyBundleFromJSON(json) {
    return DiscussionReplyBundleFromJSONTyped(json, false);
}
export function DiscussionReplyBundleFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'threadId': json['threadId'] == null ? undefined : json['threadId'],
        'forumId': json['forumId'] == null ? undefined : json['forumId'],
        'projectId': json['projectId'] == null ? undefined : json['projectId'],
        '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'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'messageKey': json['messageKey'] == null ? undefined : json['messageKey'],
        'isEdited': json['isEdited'] == null ? undefined : json['isEdited'],
        'isDeleted': json['isDeleted'] == null ? undefined : json['isDeleted'],
    };
}
export function DiscussionReplyBundleToJSON(json) {
    return DiscussionReplyBundleToJSONTyped(json, false);
}
export function DiscussionReplyBundleToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'threadId': value['threadId'],
        'forumId': value['forumId'],
        'projectId': value['projectId'],
        'objectId': value['objectId'],
        'objectType': value['objectType'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'modifiedOn': value['modifiedOn'],
        'etag': value['etag'],
        'messageKey': value['messageKey'],
        'isEdited': value['isEdited'],
        'isDeleted': value['isDeleted'],
    };
}
//# sourceMappingURL=DiscussionReplyBundle.js.map