/* 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 VersionInfo interface.
 */
export function instanceOfVersionInfo(value) {
    return true;
}
export function VersionInfoFromJSON(json) {
    return VersionInfoFromJSONTyped(json, false);
}
export function VersionInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'versionNumber': json['versionNumber'] == null ? undefined : json['versionNumber'],
        'versionLabel': json['versionLabel'] == null ? undefined : json['versionLabel'],
        'versionComment': json['versionComment'] == null ? undefined : json['versionComment'],
        'isLatestVersion': json['isLatestVersion'] == null ? undefined : json['isLatestVersion'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
        'contentSize': json['contentSize'] == null ? undefined : json['contentSize'],
        'contentMd5': json['contentMd5'] == null ? undefined : json['contentMd5'],
        'fileHandleId': json['fileHandleId'] == null ? undefined : json['fileHandleId'],
        'modifiedByPrincipalId': json['modifiedByPrincipalId'] == null ? undefined : json['modifiedByPrincipalId'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
    };
}
export function VersionInfoToJSON(json) {
    return VersionInfoToJSONTyped(json, false);
}
export function VersionInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'versionNumber': value['versionNumber'],
        'versionLabel': value['versionLabel'],
        'versionComment': value['versionComment'],
        'isLatestVersion': value['isLatestVersion'],
        'modifiedBy': value['modifiedBy'],
        'contentSize': value['contentSize'],
        'contentMd5': value['contentMd5'],
        'fileHandleId': value['fileHandleId'],
        'modifiedByPrincipalId': value['modifiedByPrincipalId'],
        'modifiedOn': value['modifiedOn'],
    };
}
//# sourceMappingURL=VersionInfo.js.map