/* 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 DoiNameIdentifierNameIdentifierSchemeEnum = {
    ORCID: 'ORCID',
    ISNI: 'ISNI'
};
/**
 * Check if a given object implements the DoiNameIdentifier interface.
 */
export function instanceOfDoiNameIdentifier(value) {
    return true;
}
export function DoiNameIdentifierFromJSON(json) {
    return DoiNameIdentifierFromJSONTyped(json, false);
}
export function DoiNameIdentifierFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'identifier': json['identifier'] == null ? undefined : json['identifier'],
        'nameIdentifierScheme': json['nameIdentifierScheme'] == null ? undefined : json['nameIdentifierScheme'],
    };
}
export function DoiNameIdentifierToJSON(json) {
    return DoiNameIdentifierToJSONTyped(json, false);
}
export function DoiNameIdentifierToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'identifier': value['identifier'],
        'nameIdentifierScheme': value['nameIdentifierScheme'],
    };
}
//# sourceMappingURL=DoiNameIdentifier.js.map