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 color) |
boolean |
equals(Object o) |
MailLabel.ColorEnum |
getColor()
color string
|
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 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_UNREAD_COUNT
public static final String SERIALIZED_NAME_COLOR
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_LABEL_ID
public Integer getUnreadCount()
public void setUnreadCount(Integer unreadCount)
public MailLabel color(MailLabel.ColorEnum color)
public MailLabel.ColorEnum getColor()
public void setColor(MailLabel.ColorEnum color)
public String getName()
public void setName(String name)
public Integer getLabelId()
public void setLabelId(Integer labelId)
Copyright © 2019. All Rights Reserved.