Class JoinTeamDetails


  • public class JoinTeamDetails
    extends java.lang.Object
    Additional information relevant when a new member joins the team.
    • Field Detail

      • linkedSharedFolders

        protected final java.util.List<FolderLogInfo> linkedSharedFolders
      • wasLinkedAppsTruncated

        protected final java.lang.Boolean wasLinkedAppsTruncated
      • wasLinkedDevicesTruncated

        protected final java.lang.Boolean wasLinkedDevicesTruncated
      • wasLinkedSharedFoldersTruncated

        protected final java.lang.Boolean wasLinkedSharedFoldersTruncated
      • hasLinkedApps

        protected final java.lang.Boolean hasLinkedApps
      • hasLinkedDevices

        protected final java.lang.Boolean hasLinkedDevices
      • hasLinkedSharedFolders

        protected final java.lang.Boolean hasLinkedSharedFolders
    • Constructor Detail

      • JoinTeamDetails

        public JoinTeamDetails​(java.util.List<UserLinkedAppLogInfo> linkedApps,
                               java.util.List<LinkedDeviceLogInfo> linkedDevices,
                               java.util.List<FolderLogInfo> linkedSharedFolders,
                               java.lang.Boolean wasLinkedAppsTruncated,
                               java.lang.Boolean wasLinkedDevicesTruncated,
                               java.lang.Boolean wasLinkedSharedFoldersTruncated,
                               java.lang.Boolean hasLinkedApps,
                               java.lang.Boolean hasLinkedDevices,
                               java.lang.Boolean hasLinkedSharedFolders)
        Additional information relevant when a new member joins the team.

        Use newBuilder(java.util.List<com.dropbox.core.v2.teamlog.UserLinkedAppLogInfo>,java.util.List<com.dropbox.core.v2.teamlog.LinkedDeviceLogInfo>,java.util.List<com.dropbox.core.v2.teamlog.FolderLogInfo>) to create instances of this class without specifying values for all optional fields.

        Parameters:
        linkedApps - Linked applications. (Deprecated) Please use has_linked_apps boolean field instead. Must not contain a null item and not be null.
        linkedDevices - Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain a null item and not be null.
        linkedSharedFolders - Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain a null item and not be null.
        wasLinkedAppsTruncated - (Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).
        wasLinkedDevicesTruncated - (Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).
        wasLinkedSharedFoldersTruncated - (Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50).
        hasLinkedApps - True if the user had linked apps at event time.
        hasLinkedDevices - True if the user had linked apps at event time.
        hasLinkedSharedFolders - True if the user had linked shared folders at event time.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • JoinTeamDetails

        public JoinTeamDetails​(java.util.List<UserLinkedAppLogInfo> linkedApps,
                               java.util.List<LinkedDeviceLogInfo> linkedDevices,
                               java.util.List<FolderLogInfo> linkedSharedFolders)
        Additional information relevant when a new member joins the team.

        The default values for unset fields will be used.

        Parameters:
        linkedApps - Linked applications. (Deprecated) Please use has_linked_apps boolean field instead. Must not contain a null item and not be null.
        linkedDevices - Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain a null item and not be null.
        linkedSharedFolders - Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getLinkedApps

        public java.util.List<UserLinkedAppLogInfo> getLinkedApps()
        Linked applications. (Deprecated) Please use has_linked_apps boolean field instead.
        Returns:
        value for this field, never null.
      • getLinkedDevices

        public java.util.List<LinkedDeviceLogInfo> getLinkedDevices()
        Linked devices. (Deprecated) Please use has_linked_devices boolean field instead.
        Returns:
        value for this field, never null.
      • getLinkedSharedFolders

        public java.util.List<FolderLogInfo> getLinkedSharedFolders()
        Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead.
        Returns:
        value for this field, never null.
      • getWasLinkedAppsTruncated

        public java.lang.Boolean getWasLinkedAppsTruncated()
        (Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).
        Returns:
        value for this field, or null if not present.
      • getWasLinkedDevicesTruncated

        public java.lang.Boolean getWasLinkedDevicesTruncated()
        (Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).
        Returns:
        value for this field, or null if not present.
      • getWasLinkedSharedFoldersTruncated

        public java.lang.Boolean getWasLinkedSharedFoldersTruncated()
        (Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50).
        Returns:
        value for this field, or null if not present.
      • getHasLinkedApps

        public java.lang.Boolean getHasLinkedApps()
        True if the user had linked apps at event time.
        Returns:
        value for this field, or null if not present.
      • getHasLinkedDevices

        public java.lang.Boolean getHasLinkedDevices()
        True if the user had linked apps at event time.
        Returns:
        value for this field, or null if not present.
      • getHasLinkedSharedFolders

        public java.lang.Boolean getHasLinkedSharedFolders()
        True if the user had linked shared folders at event time.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static JoinTeamDetails.Builder newBuilder​(java.util.List<UserLinkedAppLogInfo> linkedApps,
                                                         java.util.List<LinkedDeviceLogInfo> linkedDevices,
                                                         java.util.List<FolderLogInfo> linkedSharedFolders)
        Returns a new builder for creating an instance of this class.
        Parameters:
        linkedApps - Linked applications. (Deprecated) Please use has_linked_apps boolean field instead. Must not contain a null item and not be null.
        linkedDevices - Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain a null item and not be null.
        linkedSharedFolders - Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. 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