Dropbox .NET SDK

Class GetTeamEventsResult

The get team events result object

Inheritance
object
GetTeamEventsResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class GetTeamEventsResult

Constructors

View Source

GetTeamEventsResult(IEnumerable<TeamEvent>, string, bool)

Initializes a new instance of the GetTeamEventsResult class.

Declaration
public GetTeamEventsResult(IEnumerable<TeamEvent> events, string cursor, bool hasMore)
Parameters
Type Name Description
IEnumerable<TeamEvent> events

List of events. Note that events are not guaranteed to be sorted by their timestamp value.

string cursor

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.

bool 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.

Properties

View Source

Cursor

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
string
View Source

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
IList<TeamEvent>
View Source

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
bool
  • View Source
In this article
Back to top Dropbox .NET SDK