/* 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 Match interface.
 */
export function instanceOfMatch(value) {
    return true;
}
export function MatchFromJSON(json) {
    return MatchFromJSONTyped(json, false);
}
export function MatchFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'forumId': json['forumId'] == null ? undefined : json['forumId'],
        'threadId': json['threadId'] == null ? undefined : json['threadId'],
        'replyId': json['replyId'] == null ? undefined : json['replyId'],
    };
}
export function MatchToJSON(json) {
    return MatchToJSONTyped(json, false);
}
export function MatchToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'forumId': value['forumId'],
        'threadId': value['threadId'],
        'replyId': value['replyId'],
    };
}
//# sourceMappingURL=Match.js.map