/* 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 DownloadListItemResult interface.
 */
export function instanceOfDownloadListItemResult(value) {
    return true;
}
export function DownloadListItemResultFromJSON(json) {
    return DownloadListItemResultFromJSONTyped(json, false);
}
export function DownloadListItemResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'fileName': json['fileName'] == null ? undefined : json['fileName'],
        'addedOn': json['addedOn'] == null ? undefined : json['addedOn'],
        'projectId': json['projectId'] == null ? undefined : json['projectId'],
        'projectName': json['projectName'] == null ? undefined : json['projectName'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'fileSizeBytes': json['fileSizeBytes'] == null ? undefined : json['fileSizeBytes'],
        'isEligibleForPackaging': json['isEligibleForPackaging'] == null ? undefined : json['isEligibleForPackaging'],
        'fileHandleId': json['fileHandleId'] == null ? undefined : json['fileHandleId'],
        'fileEntityId': json['fileEntityId'] == null ? undefined : json['fileEntityId'],
        'versionNumber': json['versionNumber'] == null ? undefined : json['versionNumber'],
    };
}
export function DownloadListItemResultToJSON(json) {
    return DownloadListItemResultToJSONTyped(json, false);
}
export function DownloadListItemResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'fileName': value['fileName'],
        'addedOn': value['addedOn'],
        'projectId': value['projectId'],
        'projectName': value['projectName'],
        'createdBy': value['createdBy'],
        'createdOn': value['createdOn'],
        'fileSizeBytes': value['fileSizeBytes'],
        'isEligibleForPackaging': value['isEligibleForPackaging'],
        'fileHandleId': value['fileHandleId'],
        'fileEntityId': value['fileEntityId'],
        'versionNumber': value['versionNumber'],
    };
}
//# sourceMappingURL=DownloadListItemResult.js.map