/* 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 WikiPage interface.
 */
export function instanceOfWikiPage(value) {
    return true;
}
export function WikiPageFromJSON(json) {
    return WikiPageFromJSONTyped(json, false);
}
export function WikiPageFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
        'parentWikiId': json['parentWikiId'] == null ? undefined : json['parentWikiId'],
        'title': json['title'] == null ? undefined : json['title'],
        'markdown': json['markdown'] == null ? undefined : json['markdown'],
        'attachmentFileHandleIds': json['attachmentFileHandleIds'] == null ? undefined : json['attachmentFileHandleIds'],
    };
}
export function WikiPageToJSON(json) {
    return WikiPageToJSONTyped(json, false);
}
export function WikiPageToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'etag': value['etag'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'modifiedOn': value['modifiedOn'],
        'modifiedBy': value['modifiedBy'],
        'parentWikiId': value['parentWikiId'],
        'title': value['title'],
        'markdown': value['markdown'],
        'attachmentFileHandleIds': value['attachmentFileHandleIds'],
    };
}
//# sourceMappingURL=WikiPage.js.map