Class FileRequestReceiveFileDetails


  • public class FileRequestReceiveFileDetails
    extends java.lang.Object
    Received files for file request.
    • Field Detail

      • fileRequestId

        @Nullable
        protected final java.lang.String fileRequestId
      • submittedFileNames

        @Nonnull
        protected final java.util.List<java.lang.String> submittedFileNames
      • submitterName

        @Nullable
        protected final java.lang.String submitterName
      • submitterEmail

        @Nullable
        protected final java.lang.String submitterEmail
    • Constructor Detail

      • FileRequestReceiveFileDetails

        public FileRequestReceiveFileDetails​(@Nonnull
                                             java.util.List<java.lang.String> submittedFileNames,
                                             @Nullable
                                             java.lang.String fileRequestId,
                                             @Nullable
                                             FileRequestDetails fileRequestDetails,
                                             @Nullable
                                             java.lang.String submitterName,
                                             @Nullable
                                             java.lang.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:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • FileRequestReceiveFileDetails

        public FileRequestReceiveFileDetails​(@Nonnull
                                             java.util.List<java.lang.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:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getSubmittedFileNames

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

        @Nullable
        public java.lang.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 java.lang.String getSubmitterName()
        The name as provided by the submitter.
        Returns:
        value for this field, or null if not present.
      • getSubmitterEmail

        @Nullable
        public java.lang.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​(java.util.List<java.lang.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:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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