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 Summary
Nested Classes Modifier and Type Class Description static classEmailIngestReceiveFileDetails.BuilderBuilder forEmailIngestReceiveFileDetails.
-
Field Summary
Fields 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 Summary
Constructors 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 Summary
All 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
-
EmailIngestReceiveFileDetails
public 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 benull.attachmentNames- Submitted file names. Must not contain anullitem and not benull.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.
-
EmailIngestReceiveFileDetails
public 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 benull.attachmentNames- Submitted file names. Must not contain anullitem and not benull.- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getInboxName
public java.lang.String getInboxName()
Inbox name.- Returns:
- value for this field, never
null.
-
getAttachmentNames
public java.util.List<java.lang.String> getAttachmentNames()
Submitted file names.- Returns:
- value for this field, never
null.
-
getSubject
public java.lang.String getSubject()
Subject of the email.- Returns:
- value for this field, or
nullif not present.
-
getFromName
public java.lang.String getFromName()
The name as provided by the submitter.- Returns:
- value for this field, or
nullif not present.
-
getFromEmail
public java.lang.String getFromEmail()
The email as provided by the submitter.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public 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 benull.attachmentNames- Submitted file names. Must not contain anullitem and not benull.- Returns:
- builder for this class.
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toStringMultiline
public 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
-
-