Package com.dropbox.core.v2.teamlog
Class EmailIngestReceiveFileDetails
java.lang.Object
com.dropbox.core.v2.teamlog.EmailIngestReceiveFileDetails
Received files via Email to Dropbox.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEmailIngestReceiveFileDetails(String inboxName, List<String> attachmentNames) Received files via Email to Dropbox.EmailIngestReceiveFileDetails(String inboxName, List<String> attachmentNames, String subject, String fromName, String fromEmail) Received files via Email to Dropbox. -
Method Summary
Modifier and TypeMethodDescriptionbooleanSubmitted file names.The email as provided by the submitter.The name as provided by the submitter.Inbox name.Subject of the email.inthashCode()newBuilder(String inboxName, List<String> attachmentNames) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
inboxName
-
attachmentNames
-
subject
-
fromName
-
fromEmail
-
-
Constructor Details
-
EmailIngestReceiveFileDetails
public EmailIngestReceiveFileDetails(@Nonnull String inboxName, @Nonnull List<String> attachmentNames, @Nullable String subject, @Nullable String fromName, @Nullable 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
EmailIngestReceiveFileDetails
public EmailIngestReceiveFileDetails(@Nonnull String inboxName, @Nonnull List<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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getInboxName
Inbox name.- Returns:
- value for this field, never
null.
-
getAttachmentNames
Submitted file names.- Returns:
- value for this field, never
null.
-
getSubject
Subject of the email.- Returns:
- value for this field, or
nullif not present.
-
getFromName
The name as provided by the submitter.- Returns:
- value for this field, or
nullif not present.
-
getFromEmail
The email as provided by the submitter.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static EmailIngestReceiveFileDetails.Builder newBuilder(String inboxName, List<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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-