/* 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 V2WikiHistorySnapshot interface.
 */
export function instanceOfV2WikiHistorySnapshot(value) {
    return true;
}
export function V2WikiHistorySnapshotFromJSON(json) {
    return V2WikiHistorySnapshotFromJSONTyped(json, false);
}
export function V2WikiHistorySnapshotFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'version': json['version'] == null ? undefined : json['version'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
    };
}
export function V2WikiHistorySnapshotToJSON(json) {
    return V2WikiHistorySnapshotToJSONTyped(json, false);
}
export function V2WikiHistorySnapshotToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'version': value['version'],
        'modifiedOn': value['modifiedOn'],
        'modifiedBy': value['modifiedBy'],
    };
}
//# sourceMappingURL=V2WikiHistorySnapshot.js.map