Package com.dropbox.core.v2.teamlog
Class JoinTeamDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.JoinTeamDetails.Builder
-
- Enclosing class:
- JoinTeamDetails
public static class JoinTeamDetails.Builder extends java.lang.Object
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 Modifier Constructor Description protected
Builder(java.util.List<UserLinkedAppLogInfo> linkedApps, java.util.List<LinkedDeviceLogInfo> linkedDevices, java.util.List<FolderLogInfo> linkedSharedFolders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinTeamDetails
build()
Builds an instance ofJoinTeamDetails
configured with this builder's valuesJoinTeamDetails.Builder
withHasLinkedApps(java.lang.Boolean hasLinkedApps)
Set value for optional field.JoinTeamDetails.Builder
withHasLinkedDevices(java.lang.Boolean hasLinkedDevices)
Set value for optional field.JoinTeamDetails.Builder
withHasLinkedSharedFolders(java.lang.Boolean hasLinkedSharedFolders)
Set value for optional field.JoinTeamDetails.Builder
withWasLinkedAppsTruncated(java.lang.Boolean wasLinkedAppsTruncated)
Set value for optional field.JoinTeamDetails.Builder
withWasLinkedDevicesTruncated(java.lang.Boolean wasLinkedDevicesTruncated)
Set value for optional field.JoinTeamDetails.Builder
withWasLinkedSharedFoldersTruncated(java.lang.Boolean wasLinkedSharedFoldersTruncated)
Set value for optional field.
-
-
-
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 java.lang.Boolean wasLinkedAppsTruncated
-
wasLinkedDevicesTruncated
protected java.lang.Boolean wasLinkedDevicesTruncated
-
wasLinkedSharedFoldersTruncated
protected java.lang.Boolean wasLinkedSharedFoldersTruncated
-
hasLinkedApps
protected java.lang.Boolean hasLinkedApps
-
hasLinkedDevices
protected java.lang.Boolean hasLinkedDevices
-
hasLinkedSharedFolders
protected java.lang.Boolean hasLinkedSharedFolders
-
-
Constructor Detail
-
Builder
protected Builder(java.util.List<UserLinkedAppLogInfo> linkedApps, java.util.List<LinkedDeviceLogInfo> linkedDevices, java.util.List<FolderLogInfo> linkedSharedFolders)
-
-
Method Detail
-
withWasLinkedAppsTruncated
public JoinTeamDetails.Builder withWasLinkedAppsTruncated(java.lang.Boolean wasLinkedAppsTruncated)
Set value for optional field.- Parameters:
wasLinkedAppsTruncated
- (Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).- Returns:
- this builder
-
withWasLinkedDevicesTruncated
public JoinTeamDetails.Builder withWasLinkedDevicesTruncated(java.lang.Boolean wasLinkedDevicesTruncated)
Set value for optional field.- Parameters:
wasLinkedDevicesTruncated
- (Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).- Returns:
- this builder
-
withWasLinkedSharedFoldersTruncated
public JoinTeamDetails.Builder withWasLinkedSharedFoldersTruncated(java.lang.Boolean wasLinkedSharedFoldersTruncated)
Set value for optional field.- Parameters:
wasLinkedSharedFoldersTruncated
- (Deprecated) True if the linked_shared_folders list was truncated to the maximum supported length (50).- Returns:
- this builder
-
withHasLinkedApps
public JoinTeamDetails.Builder withHasLinkedApps(java.lang.Boolean hasLinkedApps)
Set value for optional field.- Parameters:
hasLinkedApps
- True if the user had linked apps at event time.- Returns:
- this builder
-
withHasLinkedDevices
public JoinTeamDetails.Builder withHasLinkedDevices(java.lang.Boolean hasLinkedDevices)
Set value for optional field.- Parameters:
hasLinkedDevices
- True if the user had linked apps at event time.- Returns:
- this builder
-
withHasLinkedSharedFolders
public JoinTeamDetails.Builder withHasLinkedSharedFolders(java.lang.Boolean hasLinkedSharedFolders)
Set value for optional field.- Parameters:
hasLinkedSharedFolders
- True if the user had linked shared folders at event time.- Returns:
- this builder
-
build
public JoinTeamDetails build()
Builds an instance ofJoinTeamDetails
configured with this builder's values- Returns:
- new instance of
JoinTeamDetails
-
-