Package com.dropbox.core.v2.teamlog
Class JoinTeamDetails
java.lang.Object
com.dropbox.core.v2.teamlog.JoinTeamDetails
Additional information relevant when a new member joins the team.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Booleanprotected final Booleanprotected final Booleanprotected final List<UserLinkedAppLogInfo> protected final List<LinkedDeviceLogInfo> protected final List<FolderLogInfo> protected final Booleanprotected final Booleanprotected final Boolean -
Constructor Summary
ConstructorsConstructorDescriptionJoinTeamDetails(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders) Additional information relevant when a new member joins the team.JoinTeamDetails(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders, Boolean wasLinkedAppsTruncated, Boolean wasLinkedDevicesTruncated, Boolean wasLinkedSharedFoldersTruncated, Boolean hasLinkedApps, Boolean hasLinkedDevices, Boolean hasLinkedSharedFolders) Additional information relevant when a new member joins the team. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if the user had linked apps at event time.True if the user had linked apps at event time.True if the user had linked shared folders at event time.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.inthashCode()static JoinTeamDetails.BuildernewBuilder(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
linkedApps
-
linkedDevices
-
wasLinkedAppsTruncated
-
wasLinkedDevicesTruncated
-
hasLinkedApps
-
hasLinkedDevices
-
-
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 anullitem and not benull.linkedDevices- Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- Field is deprecated. Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anullitem and not benull.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 anullitem and not benull.linkedDevices- Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- Field is deprecated. Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
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.Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead.- Returns:
- value for this field, never
null.
-
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
nullif not present.
-
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
nullif not present.
-
getHasLinkedApps
True if the user had linked apps at event time.- Returns:
- value for this field, or
nullif not present.
-
getHasLinkedDevices
True if the user had linked apps at event time.- Returns:
- value for this field, or
nullif 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 anullitem and not benull.linkedDevices- Field is deprecated. Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- Field is deprecated. Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anullitem and not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-