Package com.dropbox.core.v2.teamlog
Class JoinTeamDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.JoinTeamDetails
-
public class JoinTeamDetails extends java.lang.Object
Additional information relevant when a new member joins the team.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JoinTeamDetails.Builder
Builder forJoinTeamDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
hasLinkedApps
protected java.lang.Boolean
hasLinkedDevices
protected java.lang.Boolean
hasLinkedSharedFolders
protected java.util.List<UserLinkedAppLogInfo>
linkedApps
protected java.util.List<LinkedDeviceLogInfo>
linkedDevices
protected java.util.List<FolderLogInfo>
linkedSharedFolders
protected java.lang.Boolean
wasLinkedAppsTruncated
protected java.lang.Boolean
wasLinkedDevicesTruncated
protected java.lang.Boolean
wasLinkedSharedFoldersTruncated
-
Constructor Summary
Constructors Constructor Description 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.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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Boolean
getHasLinkedApps()
True if the user had linked apps at event time.java.lang.Boolean
getHasLinkedDevices()
True if the user had linked apps at event time.java.lang.Boolean
getHasLinkedSharedFolders()
True if the user had linked shared folders at event time.java.util.List<UserLinkedAppLogInfo>
getLinkedApps()
Linked applications.java.util.List<LinkedDeviceLogInfo>
getLinkedDevices()
Linked devices.java.util.List<FolderLogInfo>
getLinkedSharedFolders()
Linked shared folders.java.lang.Boolean
getWasLinkedAppsTruncated()
(Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).java.lang.Boolean
getWasLinkedDevicesTruncated()
(Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).java.lang.Boolean
getWasLinkedSharedFoldersTruncated()
(Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50).int
hashCode()
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.java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
linkedApps
protected final java.util.List<UserLinkedAppLogInfo> linkedApps
-
linkedDevices
protected final java.util.List<LinkedDeviceLogInfo> linkedDevices
-
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 anull
item and not benull
.linkedDevices
- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anull
item and not benull
.linkedSharedFolders
- Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anull
item and not benull
.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 anull
item and not benull
.linkedDevices
- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anull
item and not benull
.linkedSharedFolders
- Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anull
item and not benull
.- 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 anull
item and not benull
.linkedDevices
- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anull
item and not benull
.linkedSharedFolders
- Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anull
item and not benull
.- Returns:
- builder for this class.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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
-
-