public class DevicesListTeamDevicesBuilder
extends java.lang.Object
DbxTeamTeamRequests.devicesListTeamDevicesBuilder()
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and 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.
|
public DevicesListTeamDevicesBuilder withCursor(java.lang.String cursor)
cursor
- At the first call to the DbxTeamTeamRequests.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.public DevicesListTeamDevicesBuilder withIncludeWebSessions(java.lang.Boolean includeWebSessions)
If left unset or set to null
, defaults to true
.
includeWebSessions
- Whether to list web sessions of the team
members. Defaults to true
when set to null
.public DevicesListTeamDevicesBuilder withIncludeDesktopClients(java.lang.Boolean includeDesktopClients)
If left unset or set to null
, defaults to true
.
includeDesktopClients
- Whether to list desktop clients of the team
members. Defaults to true
when set to null
.public DevicesListTeamDevicesBuilder withIncludeMobileClients(java.lang.Boolean includeMobileClients)
If left unset or set to null
, defaults to true
.
includeMobileClients
- Whether to list mobile clients of the team
members. Defaults to true
when set to null
.public ListTeamDevicesResult start() throws ListTeamDevicesErrorException, DbxException