Package com.dropbox.core.v2.teamlog
Class JoinTeamDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.JoinTeamDetails
-
public class JoinTeamDetails extends java.lang.ObjectAdditional information relevant when a new member joins the team.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJoinTeamDetails.BuilderBuilder forJoinTeamDetails.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanhasLinkedAppsprotected java.lang.BooleanhasLinkedDevicesprotected java.lang.BooleanhasLinkedSharedFoldersprotected java.util.List<UserLinkedAppLogInfo>linkedAppsprotected java.util.List<LinkedDeviceLogInfo>linkedDevicesprotected java.util.List<FolderLogInfo>linkedSharedFoldersprotected java.lang.BooleanwasLinkedAppsTruncatedprotected java.lang.BooleanwasLinkedDevicesTruncatedprotected java.lang.BooleanwasLinkedSharedFoldersTruncated
-
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 booleanequals(java.lang.Object obj)java.lang.BooleangetHasLinkedApps()True if the user had linked apps at event time.java.lang.BooleangetHasLinkedDevices()True if the user had linked apps at event time.java.lang.BooleangetHasLinkedSharedFolders()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.BooleangetWasLinkedAppsTruncated()(Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).java.lang.BooleangetWasLinkedDevicesTruncated()(Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).java.lang.BooleangetWasLinkedSharedFoldersTruncated()(Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50).inthashCode()static JoinTeamDetails.BuildernewBuilder(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.StringtoString()java.lang.StringtoStringMultiline()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 anullitem and not benull.linkedDevices- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anullitem 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 anullitem and not benull.linkedDevices- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- Linked shared folders. (Deprecated) Please use has_linked_shared_folders boolean field instead. Must not contain anullitem 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
nullif 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
nullif 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
nullif not present.
-
getHasLinkedApps
public java.lang.Boolean getHasLinkedApps()
True if the user had linked apps at event time.- Returns:
- value for this field, or
nullif not present.
-
getHasLinkedDevices
public java.lang.Boolean getHasLinkedDevices()
True if the user had linked apps at event time.- Returns:
- value for this field, or
nullif 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
nullif 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 anullitem and not benull.linkedDevices- Linked devices. (Deprecated) Please use has_linked_devices boolean field instead. Must not contain anullitem and not benull.linkedSharedFolders- 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:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-