/* 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 SampleSheetGenerationExecutionDetailsConcreteTypeEnum = {
    org_sagebionetworks_repo_model_curation_execution_SampleSheetGenerationExecutionDetails: 'org.sagebionetworks.repo.model.curation.execution.SampleSheetGenerationExecutionDetails'
};
/**
 * Check if a given object implements the SampleSheetGenerationExecutionDetails interface.
 */
export function instanceOfSampleSheetGenerationExecutionDetails(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(SampleSheetGenerationExecutionDetailsConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function SampleSheetGenerationExecutionDetailsFromJSON(json) {
    return SampleSheetGenerationExecutionDetailsFromJSONTyped(json, false);
}
export function SampleSheetGenerationExecutionDetailsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'asyncJobId': json['asyncJobId'] == null ? undefined : json['asyncJobId'],
        'startedBy': json['startedBy'] == null ? undefined : json['startedBy'],
        'startedOn': json['startedOn'] == null ? undefined : json['startedOn'],
        'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
        'errorDetails': json['errorDetails'] == null ? undefined : json['errorDetails'],
    };
}
export function SampleSheetGenerationExecutionDetailsToJSON(json) {
    return SampleSheetGenerationExecutionDetailsToJSONTyped(json, false);
}
export function SampleSheetGenerationExecutionDetailsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'asyncJobId': value['asyncJobId'],
        'startedBy': value['startedBy'],
        'startedOn': value['startedOn'],
        'errorMessage': value['errorMessage'],
        'errorDetails': value['errorDetails'],
    };
}
//# sourceMappingURL=SampleSheetGenerationExecutionDetails.js.map