/* 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 UploadDestinationListSettingConcreteTypeEnum = {
    org_sagebionetworks_repo_model_project_UploadDestinationListSetting: 'org.sagebionetworks.repo.model.project.UploadDestinationListSetting'
};
/**
 * @export
 */
export const UploadDestinationListSettingSettingsTypeEnum = {
    upload: 'upload'
};
/**
 * Check if a given object implements the UploadDestinationListSetting interface.
 */
export function instanceOfUploadDestinationListSetting(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(UploadDestinationListSettingConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function UploadDestinationListSettingFromJSON(json) {
    return UploadDestinationListSettingFromJSONTyped(json, false);
}
export function UploadDestinationListSettingFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'id': json['id'] == null ? undefined : json['id'],
        'projectId': json['projectId'] == null ? undefined : json['projectId'],
        'settingsType': json['settingsType'] == null ? undefined : json['settingsType'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'locations': json['locations'] == null ? undefined : json['locations'],
    };
}
export function UploadDestinationListSettingToJSON(json) {
    return UploadDestinationListSettingToJSONTyped(json, false);
}
export function UploadDestinationListSettingToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'id': value['id'],
        'projectId': value['projectId'],
        'settingsType': value['settingsType'],
        'etag': value['etag'],
        'locations': value['locations'],
    };
}
//# sourceMappingURL=UploadDestinationListSetting.js.map