Package com.dropbox.core.v2.team
Class DevicesListTeamDevicesBuilder
- java.lang.Object
-
- com.dropbox.core.v2.team.DevicesListTeamDevicesBuilder
-
public class DevicesListTeamDevicesBuilder extends java.lang.Object
The request builder returned byDbxTeamTeamRequests.devicesListTeamDevicesBuilder()
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTeamDevicesResult
start()
Issues the request.DevicesListTeamDevicesBuilder
withCursor(java.lang.String cursor)
Set value for optional field.DevicesListTeamDevicesBuilder
withIncludeDesktopClients(java.lang.Boolean includeDesktopClients)
Set value for optional field.DevicesListTeamDevicesBuilder
withIncludeMobileClients(java.lang.Boolean includeMobileClients)
Set value for optional field.DevicesListTeamDevicesBuilder
withIncludeWebSessions(java.lang.Boolean includeWebSessions)
Set value for optional field.
-
-
-
Method Detail
-
withCursor
public DevicesListTeamDevicesBuilder withCursor(java.lang.String cursor)
Set value for optional field.- Parameters:
cursor
- At the first call to theDbxTeamTeamRequests.devicesListTeamDevices(com.dropbox.core.v2.team.ListTeamDevicesArg)
the cursor shouldn't be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of team devices.- Returns:
- this builder
-
withIncludeWebSessions
public DevicesListTeamDevicesBuilder withIncludeWebSessions(java.lang.Boolean includeWebSessions)
Set value for optional field.If left unset or set to
null
, defaults totrue
.- Parameters:
includeWebSessions
- Whether to list web sessions of the team members. Defaults totrue
when set tonull
.- Returns:
- this builder
-
withIncludeDesktopClients
public DevicesListTeamDevicesBuilder withIncludeDesktopClients(java.lang.Boolean includeDesktopClients)
Set value for optional field.If left unset or set to
null
, defaults totrue
.- Parameters:
includeDesktopClients
- Whether to list desktop clients of the team members. Defaults totrue
when set tonull
.- Returns:
- this builder
-
withIncludeMobileClients
public DevicesListTeamDevicesBuilder withIncludeMobileClients(java.lang.Boolean includeMobileClients)
Set value for optional field.If left unset or set to
null
, defaults totrue
.- Parameters:
includeMobileClients
- Whether to list mobile clients of the team members. Defaults totrue
when set tonull
.- Returns:
- this builder
-
start
public ListTeamDevicesResult start() throws ListTeamDevicesErrorException, DbxException
Issues the request.
-
-