Class JoinTeamDetails

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

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

    • linkedApps

      @Nonnull protected final List<UserLinkedAppLogInfo> linkedApps
    • linkedDevices

      @Nonnull protected final List<LinkedDeviceLogInfo> linkedDevices
    • linkedSharedFolders

      @Nonnull protected final List<FolderLogInfo> linkedSharedFolders
    • wasLinkedAppsTruncated

      @Nullable protected final Boolean wasLinkedAppsTruncated
    • wasLinkedDevicesTruncated

      @Nullable protected final Boolean wasLinkedDevicesTruncated
    • wasLinkedSharedFoldersTruncated

      @Nullable protected final Boolean wasLinkedSharedFoldersTruncated
    • hasLinkedApps

      @Nullable protected final Boolean hasLinkedApps
    • hasLinkedDevices

      @Nullable protected final Boolean hasLinkedDevices
    • hasLinkedSharedFolders

      @Nullable protected final Boolean hasLinkedSharedFolders
  • Constructor Details

    • JoinTeamDetails

      public JoinTeamDetails(@Nonnull List<UserLinkedAppLogInfo> linkedApps, @Nonnull List<LinkedDeviceLogInfo> linkedDevices, @Nonnull List<FolderLogInfo> linkedSharedFolders, @Nullable Boolean wasLinkedAppsTruncated, @Nullable Boolean wasLinkedDevicesTruncated, @Nullable Boolean wasLinkedSharedFoldersTruncated, @Nullable Boolean hasLinkedApps, @Nullable Boolean hasLinkedDevices, @Nullable 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 - Field is deprecated. Linked applications. (Deprecated) Please use has_linked_apps boolean field instead. Must not contain a null item and not be null.
      linkedDevices - Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain a null item and not be null.
      linkedSharedFolders - Field is deprecated. Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain a null item and not be null.
      wasLinkedAppsTruncated - Field is deprecated. (Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).
      wasLinkedDevicesTruncated - Field is deprecated. (Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).
      wasLinkedSharedFoldersTruncated - Field is deprecated. (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:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • JoinTeamDetails

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

      The default values for unset fields will be used.

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

    • getLinkedApps

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

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

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

      @Deprecated @Nullable public Boolean getWasLinkedAppsTruncated()
      Deprecated.
      Field is deprecated. (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

      @Deprecated @Nullable public Boolean getWasLinkedDevicesTruncated()
      Deprecated.
      Field is deprecated. (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

      @Deprecated @Nullable public Boolean getWasLinkedSharedFoldersTruncated()
      Deprecated.
      Field is deprecated. (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 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 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 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(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders)
      Returns a new builder for creating an instance of this class.
      Parameters:
      linkedApps - Field is deprecated. Linked applications. (Deprecated) Please use has_linked_apps boolean field instead. Must not contain a null item and not be null.
      linkedDevices - Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain a null item and not be null.
      linkedSharedFolders - Field is deprecated. 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:
      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