/* 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 RecordBasedMetadataTaskPropertiesConcreteTypeEnum = {
    org_sagebionetworks_repo_model_curation_metadata_RecordBasedMetadataTaskProperties: 'org.sagebionetworks.repo.model.curation.metadata.RecordBasedMetadataTaskProperties'
};
/**
 * @export
 */
export const RecordBasedMetadataTaskPropertiesSuggestedAuthorizationModeEnum = {
    SESSION_OWNER: 'SESSION_OWNER',
    SOURCE_BENEFACTOR: 'SOURCE_BENEFACTOR'
};
/**
 * Check if a given object implements the RecordBasedMetadataTaskProperties interface.
 */
export function instanceOfRecordBasedMetadataTaskProperties(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(RecordBasedMetadataTaskPropertiesConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function RecordBasedMetadataTaskPropertiesFromJSON(json) {
    return RecordBasedMetadataTaskPropertiesFromJSONTyped(json, false);
}
export function RecordBasedMetadataTaskPropertiesFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'collaboratorPrincipalIds': json['collaboratorPrincipalIds'] == null ? undefined : json['collaboratorPrincipalIds'],
        'suggestedAuthorizationMode': json['suggestedAuthorizationMode'] == null ? undefined : json['suggestedAuthorizationMode'],
        'recordSetId': json['recordSetId'] == null ? undefined : json['recordSetId'],
    };
}
export function RecordBasedMetadataTaskPropertiesToJSON(json) {
    return RecordBasedMetadataTaskPropertiesToJSONTyped(json, false);
}
export function RecordBasedMetadataTaskPropertiesToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'collaboratorPrincipalIds': value['collaboratorPrincipalIds'],
        'suggestedAuthorizationMode': value['suggestedAuthorizationMode'],
        'recordSetId': value['recordSetId'],
    };
}
//# sourceMappingURL=RecordBasedMetadataTaskProperties.js.map