/* 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 V2WikiMarkdownVersion interface.
 */
export function instanceOfV2WikiMarkdownVersion(value) {
    return true;
}
export function V2WikiMarkdownVersionFromJSON(json) {
    return V2WikiMarkdownVersionFromJSONTyped(json, false);
}
export function V2WikiMarkdownVersionFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'version': json['version'] == null ? undefined : json['version'],
        'title': json['title'] == null ? undefined : json['title'],
        'markdownFileHandleId': json['markdownFileHandleId'] == null ? undefined : json['markdownFileHandleId'],
        'attachmentFileHandleIds': json['attachmentFileHandleIds'] == null ? undefined : json['attachmentFileHandleIds'],
    };
}
export function V2WikiMarkdownVersionToJSON(json) {
    return V2WikiMarkdownVersionToJSONTyped(json, false);
}
export function V2WikiMarkdownVersionToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'version': value['version'],
        'title': value['title'],
        'markdownFileHandleId': value['markdownFileHandleId'],
        'attachmentFileHandleIds': value['attachmentFileHandleIds'],
    };
}
//# sourceMappingURL=V2WikiMarkdownVersion.js.map