Class JoinTeamDetails


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

      • linkedSharedFolders

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

        @Nullable
        protected final java.lang.Boolean wasLinkedAppsTruncated
      • wasLinkedDevicesTruncated

        @Nullable
        protected final java.lang.Boolean wasLinkedDevicesTruncated
      • wasLinkedSharedFoldersTruncated

        @Nullable
        protected final java.lang.Boolean wasLinkedSharedFoldersTruncated
      • hasLinkedApps

        @Nullable
        protected final java.lang.Boolean hasLinkedApps
      • hasLinkedDevices

        @Nullable
        protected final java.lang.Boolean hasLinkedDevices
      • hasLinkedSharedFolders

        @Nullable
        protected final java.lang.Boolean hasLinkedSharedFolders
    • Constructor Detail

      • JoinTeamDetails

        public JoinTeamDetails​(@Nonnull
                               java.util.List<UserLinkedAppLogInfo> linkedApps,
                               @Nonnull
                               java.util.List<LinkedDeviceLogInfo> linkedDevices,
                               @Nonnull
                               java.util.List<FolderLogInfo> linkedSharedFolders,
                               @Nullable
                               java.lang.Boolean wasLinkedAppsTruncated,
                               @Nullable
                               java.lang.Boolean wasLinkedDevicesTruncated,
                               @Nullable
                               java.lang.Boolean wasLinkedSharedFoldersTruncated,
                               @Nullable
                               java.lang.Boolean hasLinkedApps,
                               @Nullable
                               java.lang.Boolean hasLinkedDevices,
                               @Nullable
                               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​(@Nonnull
                               java.util.List<UserLinkedAppLogInfo> linkedApps,
                               @Nonnull
                               java.util.List<LinkedDeviceLogInfo> linkedDevices,
                               @Nonnull
                               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

        @Nonnull
        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

        @Nonnull
        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

        @Nonnull
        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

        @Nullable
        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

        @Nullable
        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

        @Nullable
        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

        @Nullable
        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

        @Nullable
        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

        @Nullable
        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