Package net.troja.eve.esi.model
Class MailLabel
- java.lang.Object
-
- net.troja.eve.esi.model.MailLabel
-
- All Implemented Interfaces:
Serializable
public class MailLabel extends Object implements Serializable
label object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailLabel.ColorEnumcolor string
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_COLORstatic StringSERIALIZED_NAME_LABEL_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_UNREAD_COUNT
-
Constructor Summary
Constructors Constructor Description MailLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailLabelcolor(MailLabel.ColorEnum colorEnum)MailLabelcolorString(String color)booleanequals(Object o)MailLabel.ColorEnumgetColor()color stringStringgetColorString()IntegergetLabelId()label_id integer minimum: 0StringgetName()name stringIntegergetUnreadCount()unread_count integer minimum: 0inthashCode()MailLabellabelId(Integer labelId)MailLabelname(String name)voidsetColor(MailLabel.ColorEnum colorEnum)voidsetColorString(String color)voidsetLabelId(Integer labelId)voidsetName(String name)voidsetUnreadCount(Integer unreadCount)StringtoString()MailLabelunreadCount(Integer unreadCount)
-
-
-
Field Detail
-
SERIALIZED_NAME_COLOR
public static final String SERIALIZED_NAME_COLOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABEL_ID
public static final String SERIALIZED_NAME_LABEL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNREAD_COUNT
public static final String SERIALIZED_NAME_UNREAD_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
color
public MailLabel color(MailLabel.ColorEnum colorEnum)
-
getColor
@Nullable public MailLabel.ColorEnum getColor()
color string- Returns:
- color
-
getColorString
public String getColorString()
-
setColor
public void setColor(MailLabel.ColorEnum colorEnum)
-
setColorString
public void setColorString(String color)
-
setLabelId
public void setLabelId(Integer labelId)
-
setName
public void setName(String name)
-
getUnreadCount
@Nullable public Integer getUnreadCount()
unread_count integer minimum: 0- Returns:
- unreadCount
-
setUnreadCount
public void setUnreadCount(Integer unreadCount)
-
-