/* 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 RecordSetGenerationExecutionDetailsConcreteTypeEnum = {
    org_sagebionetworks_repo_model_curation_execution_RecordSetGenerationExecutionDetails: 'org.sagebionetworks.repo.model.curation.execution.RecordSetGenerationExecutionDetails'
};
/**
 * Check if a given object implements the RecordSetGenerationExecutionDetails interface.
 */
export function instanceOfRecordSetGenerationExecutionDetails(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(RecordSetGenerationExecutionDetailsConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function RecordSetGenerationExecutionDetailsFromJSON(json) {
    return RecordSetGenerationExecutionDetailsFromJSONTyped(json, false);
}
export function RecordSetGenerationExecutionDetailsFromJSONTyped(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 RecordSetGenerationExecutionDetailsToJSON(json) {
    return RecordSetGenerationExecutionDetailsToJSONTyped(json, false);
}
export function RecordSetGenerationExecutionDetailsToJSONTyped(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=RecordSetGenerationExecutionDetails.js.map