Package com.dropbox.core.v2.teamlog
Class DbxTeamTeamLogRequests
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.DbxTeamTeamLogRequests
-
public class DbxTeamTeamLogRequests extends java.lang.Object
Routes in namespace "team_log".
-
-
Constructor Summary
Constructors Constructor Description DbxTeamTeamLogRequests(DbxRawClientV2 client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTeamEventsResult
getEvents()
Retrieves team events.GetEventsBuilder
getEventsBuilder()
Retrieves team events.GetTeamEventsResult
getEventsContinue(java.lang.String cursor)
Once a cursor has been retrieved fromgetEvents(com.dropbox.core.v2.teamlog.GetTeamEventsArg)
, use this to paginate through all events.
-
-
-
Constructor Detail
-
DbxTeamTeamLogRequests
public DbxTeamTeamLogRequests(DbxRawClientV2 client)
-
-
Method Detail
-
getEvents
public GetTeamEventsResult getEvents() throws GetTeamEventsErrorException, DbxException
Retrieves team events. If the result'sGetTeamEventsResult.getHasMore()
field istrue
, callgetEventsContinue(String)
with the returned cursor to retrieve more entries. If end_time is not specified in your request, you may use the returned cursor to pollgetEventsContinue(String)
for new events.Many attributes note 'may be missing due to historical data gap'.
Note that the file_operations category and & analogous paper events are not available on all Dropbox Business plans. Use features/get_values to check for this feature.
Permission : Team Auditing.
The default values for the optional request parameters will be used. See
GetEventsBuilder
for more details.
-
getEventsBuilder
public GetEventsBuilder getEventsBuilder()
Retrieves team events. If the result'sGetTeamEventsResult.getHasMore()
field istrue
, callgetEventsContinue(String)
with the returned cursor to retrieve more entries. If end_time is not specified in your request, you may use the returned cursor to pollgetEventsContinue(String)
for new events. Many attributes note 'may be missing due to historical data gap'. Note that the file_operations category and & analogous paper events are not available on all Dropbox Business plans. Use features/get_values to check for this feature. Permission : Team Auditing.- Returns:
- Request builder for configuring request parameters and completing the request.
-
getEventsContinue
public GetTeamEventsResult getEventsContinue(java.lang.String cursor) throws GetTeamEventsContinueErrorException, DbxException
Once a cursor has been retrieved fromgetEvents(com.dropbox.core.v2.teamlog.GetTeamEventsArg)
, use this to paginate through all events.Permission : Team Auditing.
- Parameters:
cursor
- Indicates from what point to get the next set of events. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.GetTeamEventsContinueErrorException
DbxException
-
-