/* 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 PrincipalAliasRequestTypeEnum = {
    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 PrincipalAliasRequest interface.
 */
export function instanceOfPrincipalAliasRequest(value) {
    return true;
}
export function PrincipalAliasRequestFromJSON(json) {
    return PrincipalAliasRequestFromJSONTyped(json, false);
}
export function PrincipalAliasRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'alias': json['alias'] == null ? undefined : json['alias'],
        'type': json['type'] == null ? undefined : json['type'],
    };
}
export function PrincipalAliasRequestToJSON(json) {
    return PrincipalAliasRequestToJSONTyped(json, false);
}
export function PrincipalAliasRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'alias': value['alias'],
        'type': value['type'],
    };
}
//# sourceMappingURL=PrincipalAliasRequest.js.map