Package com.dropbox.core.v2.teamlog
Class JoinTeamDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.JoinTeamDetails.Builder
- Enclosing class:
JoinTeamDetails
Builder for
JoinTeamDetails.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected Booleanprotected final List<UserLinkedAppLogInfo> protected final List<LinkedDeviceLogInfo> protected final List<FolderLogInfo> protected Booleanprotected Booleanprotected Boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofJoinTeamDetailsconfigured with this builder's valueswithHasLinkedApps(Boolean hasLinkedApps) Set value for optional field.withHasLinkedDevices(Boolean hasLinkedDevices) Set value for optional field.withHasLinkedSharedFolders(Boolean hasLinkedSharedFolders) Set value for optional field.withWasLinkedAppsTruncated(Boolean wasLinkedAppsTruncated) Deprecated.withWasLinkedDevicesTruncated(Boolean wasLinkedDevicesTruncated) Deprecated.withWasLinkedSharedFoldersTruncated(Boolean wasLinkedSharedFoldersTruncated) Deprecated.
-
Field Details
-
linkedApps
-
linkedDevices
-
wasLinkedAppsTruncated
-
wasLinkedDevicesTruncated
-
hasLinkedApps
-
hasLinkedDevices
-
-
Constructor Details
-
Builder
protected Builder(List<UserLinkedAppLogInfo> linkedApps, List<LinkedDeviceLogInfo> linkedDevices, List<FolderLogInfo> linkedSharedFolders)
-
-
Method Details
-
withWasLinkedAppsTruncated
@Deprecated public JoinTeamDetails.Builder withWasLinkedAppsTruncated(Boolean wasLinkedAppsTruncated) Deprecated.Set value for optional field.- Parameters:
wasLinkedAppsTruncated- Field is deprecated. (Deprecated) True if the linked_apps list was truncated to the maximum supported length (50).- Returns:
- this builder
-
withWasLinkedDevicesTruncated
@Deprecated public JoinTeamDetails.Builder withWasLinkedDevicesTruncated(Boolean wasLinkedDevicesTruncated) Deprecated.Set value for optional field.- Parameters:
wasLinkedDevicesTruncated- Field is deprecated. (Deprecated) True if the linked_devices list was truncated to the maximum supported length (50).- Returns:
- this builder
-
withHasLinkedApps
Set value for optional field.- Parameters:
hasLinkedApps- True if the user had linked apps at event time.- Returns:
- this builder
-
withHasLinkedDevices
Set value for optional field.- Parameters:
hasLinkedDevices- True if the user had linked apps at event time.- Returns:
- this builder
-
build
Builds an instance ofJoinTeamDetailsconfigured with this builder's values- Returns:
- new instance of
JoinTeamDetails
-