Class GetTeamEventsResult
The get team events result object
Inheritance
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class GetTeamEventsResult
Constructors
| Improve this Doc View SourceGetTeamEventsResult(IEnumerable<TeamEvent>, String, Boolean)
Initializes a new instance of the GetTeamEventsResult class.
Declaration
public GetTeamEventsResult(IEnumerable<TeamEvent> events, string cursor, bool hasMore)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TeamEvent> | events | List of events. Note that events are not guaranteed to be sorted by their timestamp value. |
System.String | cursor | Pass the cursor into GetEventsContinueAsync(GetTeamEventsContinueArg) to
obtain additional events. The value of |
System.Boolean | hasMore | Is true if there may be additional events that have not been
returned yet. An additional call to GetEventsContinueAsync(GetTeamEventsContinueArg) can
retrieve them. Note that |
Properties
| Improve this Doc View SourceCursor
Pass the cursor into GetEventsContinueAsync(GetTeamEventsContinueArg) to obtain additional events.
The value of Cursor may change for each response from GetEventsContinueAsync(GetTeamEventsContinueArg), regardless of the value of HasMore; older cursor strings may expire.
Thus, callers should ensure that they update their cursor based on the latest value of Cursor after each call, and poll regularly if they wish to poll for new events.
Callers should handle reset exceptions for expired cursors.
Declaration
public string Cursor { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Events
List of events. Note that events are not guaranteed to be sorted by their timestamp value.
Declaration
public IList<TeamEvent> Events { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<TeamEvent> |
HasMore
Is true if there may be additional events that have not been returned yet. An
additional call to GetEventsContinueAsync(GetTeamEventsContinueArg) can
retrieve them. Note that HasMore may be true
, even if Events is empty.
Declaration
public bool HasMore { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |