/* 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 AliasCheckRequestTypeEnum = {
    USER_NAME: 'USER_NAME',
    TEAM_NAME: 'TEAM_NAME',
    USER_EMAIL: 'USER_EMAIL',
    USER_OPEN_ID: 'USER_OPEN_ID',
    USER_ORCID: 'USER_ORCID'
};
/**
 * Check if a given object implements the AliasCheckRequest interface.
 */
export function instanceOfAliasCheckRequest(value) {
    return true;
}
export function AliasCheckRequestFromJSON(json) {
    return AliasCheckRequestFromJSONTyped(json, false);
}
export function AliasCheckRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'alias': json['alias'] == null ? undefined : json['alias'],
        'type': json['type'] == null ? undefined : json['type'],
    };
}
export function AliasCheckRequestToJSON(json) {
    return AliasCheckRequestToJSONTyped(json, false);
}
export function AliasCheckRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'alias': value['alias'],
        'type': value['type'],
    };
}
//# sourceMappingURL=AliasCheckRequest.js.map