Show / Hide Table of Contents

Class GetTeamEventsResult

The get team events result object

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

Constructors

| Improve this Doc View Source

GetTeamEventsResult(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 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.

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 hasMore may be true, even if events is empty.

Properties

| Improve this Doc 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
System.String
| Improve this Doc 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
System.Collections.Generic.IList<TeamEvent>
| Improve this Doc 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
System.Boolean
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • GetTeamEventsResult(IEnumerable<TeamEvent>, String, Boolean)
  • Properties
    • Cursor
    • Events
    • HasMore
Back to top Generated by DocFX