@JsonSurrogate public class

RestPerson

extends RestMapEntity
implements AvatarAware Person
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.user.RestPerson
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
String EMAIL_ADDRESS
String NAME
[Expand]
Inherited Constants
From interface com.atlassian.bitbucket.rest.avatar.AvatarAware
Fields
public static final RestPerson EXAMPLE
public static final RestPerson EXAMPLE_NAME_ONLY
public static final Function<PersonRestPerson> REST_TRANSFORM
Public Constructors
RestPerson(Person author)
RestPerson(Map<StringObject> map)
RestPerson()
Protected Constructors
RestPerson(String name, String emailAddress)
Public Methods
String getEmailAddress()
@Nonnull String getName()
void setAvatarUrl(String avatarUrl)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface com.atlassian.bitbucket.rest.avatar.AvatarAware
From interface com.atlassian.bitbucket.user.Person
From interface java.util.Map

Constants

public static final String EMAIL_ADDRESS

Constant Value: "emailAddress"

public static final String NAME

Constant Value: "name"

Fields

public static final RestPerson EXAMPLE

public static final RestPerson EXAMPLE_NAME_ONLY

public static final Function<PersonRestPerson> REST_TRANSFORM

Public Constructors

public RestPerson (Person author)

public RestPerson (Map<StringObject> map)

public RestPerson ()

Protected Constructors

protected RestPerson (String name, String emailAddress)

Public Methods

public String getEmailAddress ()

@Nonnull public String getName ()

public void setAvatarUrl (String avatarUrl)