/* 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.
 */
/**
 * @export
 */
export const FileDownloadSummaryAssociateObjectTypeEnum = {
    FileEntity: 'FileEntity',
    TableEntity: 'TableEntity',
    WikiAttachment: 'WikiAttachment',
    WikiMarkdown: 'WikiMarkdown',
    UserProfileAttachment: 'UserProfileAttachment',
    MessageAttachment: 'MessageAttachment',
    TeamAttachment: 'TeamAttachment',
    SubmissionAttachment: 'SubmissionAttachment',
    VerificationSubmission: 'VerificationSubmission',
    AccessRequirementAttachment: 'AccessRequirementAttachment',
    DataAccessRequestAttachment: 'DataAccessRequestAttachment',
    DataAccessSubmissionAttachment: 'DataAccessSubmissionAttachment',
    FormData: 'FormData'
};
/**
 * @export
 */
export const FileDownloadSummaryStatusEnum = {
    SUCCESS: 'SUCCESS',
    FAILURE: 'FAILURE'
};
/**
 * @export
 */
export const FileDownloadSummaryFailureCodeEnum = {
    NOT_FOUND: 'NOT_FOUND',
    UNAUTHORIZED: 'UNAUTHORIZED',
    DUPLICATE: 'DUPLICATE',
    EXCEEDS_SIZE_LIMIT: 'EXCEEDS_SIZE_LIMIT',
    UNKNOWN_ERROR: 'UNKNOWN_ERROR'
};
/**
 * Check if a given object implements the FileDownloadSummary interface.
 */
export function instanceOfFileDownloadSummary(value) {
    return true;
}
export function FileDownloadSummaryFromJSON(json) {
    return FileDownloadSummaryFromJSONTyped(json, false);
}
export function FileDownloadSummaryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'fileHandleId': json['fileHandleId'] == null ? undefined : json['fileHandleId'],
        'associateObjectId': json['associateObjectId'] == null ? undefined : json['associateObjectId'],
        'associateObjectType': json['associateObjectType'] == null ? undefined : json['associateObjectType'],
        'zipEntryName': json['zipEntryName'] == null ? undefined : json['zipEntryName'],
        'status': json['status'] == null ? undefined : json['status'],
        'failureMessage': json['failureMessage'] == null ? undefined : json['failureMessage'],
        'failureCode': json['failureCode'] == null ? undefined : json['failureCode'],
    };
}
export function FileDownloadSummaryToJSON(json) {
    return FileDownloadSummaryToJSONTyped(json, false);
}
export function FileDownloadSummaryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'fileHandleId': value['fileHandleId'],
        'associateObjectId': value['associateObjectId'],
        'associateObjectType': value['associateObjectType'],
        'zipEntryName': value['zipEntryName'],
        'status': value['status'],
        'failureMessage': value['failureMessage'],
        'failureCode': value['failureCode'],
    };
}
//# sourceMappingURL=FileDownloadSummary.js.map