/* 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 DoiResourceTypeResourceTypeGeneralEnum = {
    Audiovisual: 'Audiovisual',
    Collection: 'Collection',
    DataPaper: 'DataPaper',
    Dataset: 'Dataset',
    Event: 'Event',
    Image: 'Image',
    InteractiveResource: 'InteractiveResource',
    Model: 'Model',
    PhysicalObject: 'PhysicalObject',
    Service: 'Service',
    Software: 'Software',
    Sound: 'Sound',
    Text: 'Text',
    Workflow: 'Workflow',
    Other: 'Other'
};
/**
 * Check if a given object implements the DoiResourceType interface.
 */
export function instanceOfDoiResourceType(value) {
    return true;
}
export function DoiResourceTypeFromJSON(json) {
    return DoiResourceTypeFromJSONTyped(json, false);
}
export function DoiResourceTypeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'resourceTypeGeneral': json['resourceTypeGeneral'] == null ? undefined : json['resourceTypeGeneral'],
    };
}
export function DoiResourceTypeToJSON(json) {
    return DoiResourceTypeToJSONTyped(json, false);
}
export function DoiResourceTypeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'resourceTypeGeneral': value['resourceTypeGeneral'],
    };
}
//# sourceMappingURL=DoiResourceType.js.map