Class FileRequestReceiveFileDetails

java.lang.Object
com.dropbox.core.v2.teamlog.FileRequestReceiveFileDetails

public class FileRequestReceiveFileDetails extends Object
Received files for file request.
  • Field Details

    • fileRequestId

      @Nullable protected final String fileRequestId
    • fileRequestDetails

      @Nullable protected final FileRequestDetails fileRequestDetails
    • submittedFileNames

      @Nonnull protected final List<String> submittedFileNames
    • submitterName

      @Nullable protected final String submitterName
    • submitterEmail

      @Nullable protected final String submitterEmail
  • Constructor Details

    • FileRequestReceiveFileDetails

      public FileRequestReceiveFileDetails(@Nonnull List<String> submittedFileNames, @Nullable String fileRequestId, @Nullable FileRequestDetails fileRequestDetails, @Nullable String submitterName, @Nullable String submitterEmail)
      Received files for file request.

      Use newBuilder(java.util.List<java.lang.String>) to create instances of this class without specifying values for all optional fields.

      Parameters:
      submittedFileNames - Submitted file names. Must not contain a null item and not be null.
      fileRequestId - File request id. Might be missing due to historical data gap. Must have length of at least 1 and match pattern " [-_0-9a-zA-Z]+".
      fileRequestDetails - File request details. Might be missing due to historical data gap.
      submitterName - The name as provided by the submitter.
      submitterEmail - The email as provided by the submitter. Must have length of at most 255.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • FileRequestReceiveFileDetails

      public FileRequestReceiveFileDetails(@Nonnull List<String> submittedFileNames)
      Received files for file request.

      The default values for unset fields will be used.

      Parameters:
      submittedFileNames - Submitted file names. Must not contain a null item and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getSubmittedFileNames

      @Nonnull public List<String> getSubmittedFileNames()
      Submitted file names.
      Returns:
      value for this field, never null.
    • getFileRequestId

      @Nullable public String getFileRequestId()
      File request id. Might be missing due to historical data gap.
      Returns:
      value for this field, or null if not present.
    • getFileRequestDetails

      @Nullable public FileRequestDetails getFileRequestDetails()
      File request details. Might be missing due to historical data gap.
      Returns:
      value for this field, or null if not present.
    • getSubmitterName

      @Nullable public String getSubmitterName()
      The name as provided by the submitter.
      Returns:
      value for this field, or null if not present.
    • getSubmitterEmail

      @Nullable public String getSubmitterEmail()
      The email as provided by the submitter.
      Returns:
      value for this field, or null if not present.
    • newBuilder

      public static FileRequestReceiveFileDetails.Builder newBuilder(List<String> submittedFileNames)
      Returns a new builder for creating an instance of this class.
      Parameters:
      submittedFileNames - Submitted file names. Must not contain a null item and not be null.
      Returns:
      builder for this class.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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