Package com.mindee.product.us.usmail
Class UsMailV2Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.us.usmail.UsMailV2Document
-
public class UsMailV2Document extends Prediction
US Mail API version 2.0 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<UsMailV2RecipientAddress>
recipientAddresses
The addresses of the recipients.protected List<StringField>
recipientNames
The names of the recipients.protected UsMailV2SenderAddress
senderAddress
The address of the sender.protected StringField
senderName
The name of the sender.
-
Constructor Summary
Constructors Constructor Description UsMailV2Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<UsMailV2RecipientAddress>
getRecipientAddresses()
The addresses of the recipients.List<StringField>
getRecipientNames()
The names of the recipients.UsMailV2SenderAddress
getSenderAddress()
The address of the sender.StringField
getSenderName()
The name of the sender.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
recipientAddresses
protected List<UsMailV2RecipientAddress> recipientAddresses
The addresses of the recipients.
-
recipientNames
protected List<StringField> recipientNames
The names of the recipients.
-
senderAddress
protected UsMailV2SenderAddress senderAddress
The address of the sender.
-
senderName
protected StringField senderName
The name of the sender.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Specified by:
isEmpty
in classPrediction
-
getRecipientAddresses
public List<UsMailV2RecipientAddress> getRecipientAddresses()
The addresses of the recipients.
-
getRecipientNames
public List<StringField> getRecipientNames()
The names of the recipients.
-
getSenderAddress
public UsMailV2SenderAddress getSenderAddress()
The address of the sender.
-
getSenderName
public StringField getSenderName()
The name of the sender.
-
canEqual
protected boolean canEqual(Object other)
-
-