package com.atlassian.bitbucket.internal.importer.rest;

import com.atlassian.bitbucket.internal.importer.ExternalUser;
import com.atlassian.bitbucket.rest.annotation.JsonSurrogate;
import org.codehaus.jackson.map.annotate.JsonSerialize;

@JsonSerialize
@JsonSurrogate(ExternalUser.class)
public class RestExternalUser extends RestExternalEntity implements ExternalUser {
    public RestExternalUser(ExternalUser externalUser) {
        super(externalUser.getAvatarUrl(), externalUser.getDescription(), externalUser.getName());
    }
}
