Package com.dropbox.core.v2.teamlog
Class EmailIngestReceiveFileDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.EmailIngestReceiveFileDetails
 
- 
 public class EmailIngestReceiveFileDetails extends java.lang.ObjectReceived files via Email to Dropbox.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEmailIngestReceiveFileDetails.BuilderBuilder forEmailIngestReceiveFileDetails.
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<java.lang.String>attachmentNamesprotected java.lang.StringfromEmailprotected java.lang.StringfromNameprotected java.lang.StringinboxNameprotected java.lang.Stringsubject
 - 
Constructor SummaryConstructors Constructor Description EmailIngestReceiveFileDetails(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames)Received files via Email to Dropbox.EmailIngestReceiveFileDetails(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames, java.lang.String subject, java.lang.String fromName, java.lang.String fromEmail)Received files via Email to Dropbox.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<java.lang.String>getAttachmentNames()Submitted file names.java.lang.StringgetFromEmail()The email as provided by the submitter.java.lang.StringgetFromName()The name as provided by the submitter.java.lang.StringgetInboxName()Inbox name.java.lang.StringgetSubject()Subject of the email.inthashCode()static EmailIngestReceiveFileDetails.BuildernewBuilder(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames)Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
EmailIngestReceiveFileDetailspublic EmailIngestReceiveFileDetails(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames, java.lang.String subject, java.lang.String fromName, java.lang.String fromEmail)Received files via Email to Dropbox.Use newBuilder(java.lang.String,java.util.List<java.lang.String>)to create instances of this class without specifying values for all optional fields.- Parameters:
- inboxName- Inbox name. Must not be- null.
- attachmentNames- Submitted file names. Must not contain a- nullitem and not be- null.
- subject- Subject of the email.
- fromName- The name as provided by the submitter.
- fromEmail- The email as provided by the submitter. Must have length of at most 255.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
EmailIngestReceiveFileDetailspublic EmailIngestReceiveFileDetails(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames)Received files via Email to Dropbox.The default values for unset fields will be used. - Parameters:
- inboxName- Inbox name. Must not be- null.
- attachmentNames- Submitted file names. Must not contain a- nullitem and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getInboxNamepublic java.lang.String getInboxName() Inbox name.- Returns:
- value for this field, never null.
 
 - 
getAttachmentNamespublic java.util.List<java.lang.String> getAttachmentNames() Submitted file names.- Returns:
- value for this field, never null.
 
 - 
getSubjectpublic java.lang.String getSubject() Subject of the email.- Returns:
- value for this field, or nullif not present.
 
 - 
getFromNamepublic java.lang.String getFromName() The name as provided by the submitter.- Returns:
- value for this field, or nullif not present.
 
 - 
getFromEmailpublic java.lang.String getFromEmail() The email as provided by the submitter.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static EmailIngestReceiveFileDetails.Builder newBuilder(java.lang.String inboxName, java.util.List<java.lang.String> attachmentNames) Returns a new builder for creating an instance of this class.- Parameters:
- inboxName- Inbox name. Must not be- null.
- attachmentNames- Submitted file names. Must not contain a- nullitem and not be- null.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-