@Introspected
public class JsonFeedAuthor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonFeedAuthor.Builder
JSON Feed Author's Builder.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_AVATAR |
static java.lang.String |
KEY_NAME |
static java.lang.String |
KEY_URL |
Constructor and Description |
---|
JsonFeedAuthor() |
Modifier and Type | Method and Description |
---|---|
static JsonFeedAuthor.Builder |
builder() |
java.lang.String |
getAvatar()
the URL for an image for the author.
|
java.lang.String |
getName()
Name of the author.
|
java.lang.String |
getUrl()
The URL of a site owned by the author.
|
boolean |
isEmpty() |
void |
setAvatar(java.lang.String avatar)
The URL for an image for the author.
|
void |
setName(java.lang.String name)
Name of the author.
|
void |
setUrl(java.lang.String url)
The URL of a site owned by the author.
|
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
public static final java.lang.String KEY_AVATAR
public static final java.lang.String KEY_URL
public static final java.lang.String KEY_NAME
@Nullable public java.lang.String getName()
public void setName(@Nullable java.lang.String name)
name
- name of the author@Nullable public java.lang.String getUrl()
public void setUrl(@Nullable java.lang.String url)
url
- the URL of a site owned by the author@Nullable public java.lang.String getAvatar()
public void setAvatar(@Nullable java.lang.String avatar)
avatar
- the URL for an image for the author.public boolean isEmpty()
@NonNull public java.util.Map<java.lang.String,java.lang.Object> toMap()
@NonNull public static JsonFeedAuthor.Builder builder()