/* 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 CreateDiscussionThread interface.
 */
export function instanceOfCreateDiscussionThread(value) {
    return true;
}
export function CreateDiscussionThreadFromJSON(json) {
    return CreateDiscussionThreadFromJSONTyped(json, false);
}
export function CreateDiscussionThreadFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'forumId': json['forumId'] == null ? undefined : json['forumId'],
        'title': json['title'] == null ? undefined : json['title'],
        'messageMarkdown': json['messageMarkdown'] == null ? undefined : json['messageMarkdown'],
    };
}
export function CreateDiscussionThreadToJSON(json) {
    return CreateDiscussionThreadToJSONTyped(json, false);
}
export function CreateDiscussionThreadToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'forumId': value['forumId'],
        'title': value['title'],
        'messageMarkdown': value['messageMarkdown'],
    };
}
//# sourceMappingURL=CreateDiscussionThread.js.map