public class MailLabel extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MailLabel.ColorEnum
color string
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_COLOR |
static String |
SERIALIZED_NAME_LABEL_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UNREAD_COUNT |
| Constructor and Description |
|---|
MailLabel() |
| Modifier and Type | Method and Description |
|---|---|
MailLabel |
color(MailLabel.ColorEnum colorEnum) |
MailLabel |
colorString(String color) |
boolean |
equals(Object o) |
MailLabel.ColorEnum |
getColor()
color string
|
String |
getColorString() |
Integer |
getLabelId()
label_id integer minimum: 0
|
String |
getName()
name string
|
Integer |
getUnreadCount()
unread_count integer minimum: 0
|
int |
hashCode() |
MailLabel |
labelId(Integer labelId) |
MailLabel |
name(String name) |
void |
setColor(MailLabel.ColorEnum colorEnum) |
void |
setColorString(String color) |
void |
setLabelId(Integer labelId) |
void |
setName(String name) |
void |
setUnreadCount(Integer unreadCount) |
String |
toString() |
MailLabel |
unreadCount(Integer unreadCount) |
public static final String SERIALIZED_NAME_COLOR
public static final String SERIALIZED_NAME_LABEL_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_UNREAD_COUNT
public MailLabel color(MailLabel.ColorEnum colorEnum)
@Nullable public MailLabel.ColorEnum getColor()
public String getColorString()
public void setColor(MailLabel.ColorEnum colorEnum)
public void setColorString(String color)
public void setLabelId(Integer labelId)
public void setName(String name)
@Nullable public Integer getUnreadCount()
public void setUnreadCount(Integer unreadCount)
Copyright © 2020. All Rights Reserved.