/* 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 FileHandleAssociationAssociateObjectTypeEnum = {
    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'
};
/**
 * Check if a given object implements the FileHandleAssociation interface.
 */
export function instanceOfFileHandleAssociation(value) {
    return true;
}
export function FileHandleAssociationFromJSON(json) {
    return FileHandleAssociationFromJSONTyped(json, false);
}
export function FileHandleAssociationFromJSONTyped(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'],
    };
}
export function FileHandleAssociationToJSON(json) {
    return FileHandleAssociationToJSONTyped(json, false);
}
export function FileHandleAssociationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'fileHandleId': value['fileHandleId'],
        'associateObjectId': value['associateObjectId'],
        'associateObjectType': value['associateObjectType'],
    };
}
//# sourceMappingURL=FileHandleAssociation.js.map