Package net.troja.eve.esi.model
Class MailResponse
- java.lang.Object
-
- net.troja.eve.esi.model.MailResponse
-
- All Implemented Interfaces:
Serializable
public class MailResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_BODYstatic StringSERIALIZED_NAME_FROMstatic StringSERIALIZED_NAME_LABELSstatic StringSERIALIZED_NAME_READstatic StringSERIALIZED_NAME_RECIPIENTSstatic StringSERIALIZED_NAME_SUBJECTstatic StringSERIALIZED_NAME_TIMESTAMP
-
Constructor Summary
Constructors Constructor Description MailResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailResponseaddLabelsItem(Integer labelsItem)MailResponseaddRecipientsItem(Recipient recipientsItem)MailResponsebody(String body)booleanequals(Object o)MailResponsefrom(Integer from)StringgetBody()Mail's bodyIntegergetFrom()From whom the mail was sentList<Integer>getLabels()Labels attached to the mailBooleangetRead()Whether the mail is flagged as readList<Recipient>getRecipients()Recipients of the mailStringgetSubject()Mail subjectjava.time.OffsetDateTimegetTimestamp()When the mail was sentinthashCode()MailResponselabels(List<Integer> labels)MailResponseread(Boolean read)MailResponserecipients(List<Recipient> recipients)voidsetBody(String body)voidsetFrom(Integer from)voidsetLabels(List<Integer> labels)voidsetRead(Boolean read)voidsetRecipients(List<Recipient> recipients)voidsetSubject(String subject)voidsetTimestamp(java.time.OffsetDateTime timestamp)MailResponsesubject(String subject)MailResponsetimestamp(java.time.OffsetDateTime timestamp)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_BODY
public static final String SERIALIZED_NAME_BODY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_FROM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABELS
public static final String SERIALIZED_NAME_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_READ
public static final String SERIALIZED_NAME_READ
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECIPIENTS
public static final String SERIALIZED_NAME_RECIPIENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUBJECT
public static final String SERIALIZED_NAME_SUBJECT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIMESTAMP
public static final String SERIALIZED_NAME_TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
body
public MailResponse body(String body)
-
setBody
public void setBody(String body)
-
from
public MailResponse from(Integer from)
-
setFrom
public void setFrom(Integer from)
-
labels
public MailResponse labels(List<Integer> labels)
-
addLabelsItem
public MailResponse addLabelsItem(Integer labelsItem)
-
read
public MailResponse read(Boolean read)
-
setRead
public void setRead(Boolean read)
-
recipients
public MailResponse recipients(List<Recipient> recipients)
-
addRecipientsItem
public MailResponse addRecipientsItem(Recipient recipientsItem)
-
getRecipients
@Nullable public List<Recipient> getRecipients()
Recipients of the mail- Returns:
- recipients
-
subject
public MailResponse subject(String subject)
-
setSubject
public void setSubject(String subject)
-
timestamp
public MailResponse timestamp(java.time.OffsetDateTime timestamp)
-
getTimestamp
@Nullable public java.time.OffsetDateTime getTimestamp()
When the mail was sent- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(java.time.OffsetDateTime timestamp)
-
-