Dropbox .NET SDK

Class TeamEvent

An audit log event.

Inheritance
object
TeamEvent
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 TeamEvent

Constructors

View Source

TeamEvent(DateTime, EventCategory, EventType, EventDetails, ActorLogInfo, OriginLogInfo, bool?, ContextLogInfo, IEnumerable<ParticipantLogInfo>, IEnumerable<AssetLogInfo>)

Initializes a new instance of the TeamEvent class.

Declaration
public TeamEvent(DateTime timestamp, EventCategory eventCategory, EventType eventType, EventDetails details, ActorLogInfo actor = null, OriginLogInfo origin = null, bool? involveNonTeamMember = null, ContextLogInfo context = null, IEnumerable<ParticipantLogInfo> participants = null, IEnumerable<AssetLogInfo> assets = null)
Parameters
Type Name Description
DateTime timestamp

The Dropbox timestamp representing when the action was taken.

EventCategory eventCategory

The category that this type of action belongs to.

EventType eventType

The particular type of action taken.

EventDetails details

The variable event schema applicable to this type of action, instantiated with respect to this particular action.

ActorLogInfo actor

The entity who actually performed the action.

OriginLogInfo origin

The origin from which the actor performed the action including information about host, ip address, location, session, etc. If the action was performed programmatically via the API the origin represents the API client.

bool? involveNonTeamMember

True if the action involved a non team member either as the actor or as one of the affected users.

ContextLogInfo context

The user or team on whose behalf the actor performed the action.

IEnumerable<ParticipantLogInfo> participants

Zero or more users and/or groups that are affected by the action. Note that this list doesn't include any actors or users in context.

IEnumerable<AssetLogInfo> assets

Zero or more content assets involved in the action. Currently these include Dropbox files and folders but in the future we might add other asset types such as Paper documents, folders, projects, etc.

Properties

View Source

Actor

The entity who actually performed the action.

Declaration
public ActorLogInfo Actor { get; protected set; }
Property Value
Type Description
ActorLogInfo
View Source

Assets

Zero or more content assets involved in the action. Currently these include Dropbox files and folders but in the future we might add other asset types such as Paper documents, folders, projects, etc.

Declaration
public IList<AssetLogInfo> Assets { get; protected set; }
Property Value
Type Description
IList<AssetLogInfo>
View Source

Context

The user or team on whose behalf the actor performed the action.

Declaration
public ContextLogInfo Context { get; protected set; }
Property Value
Type Description
ContextLogInfo
View Source

Details

The variable event schema applicable to this type of action, instantiated with respect to this particular action.

Declaration
public EventDetails Details { get; protected set; }
Property Value
Type Description
EventDetails
View Source

EventCategory

The category that this type of action belongs to.

Declaration
public EventCategory EventCategory { get; protected set; }
Property Value
Type Description
EventCategory
View Source

EventType

The particular type of action taken.

Declaration
public EventType EventType { get; protected set; }
Property Value
Type Description
EventType
View Source

InvolveNonTeamMember

True if the action involved a non team member either as the actor or as one of the affected users.

Declaration
public bool? InvolveNonTeamMember { get; protected set; }
Property Value
Type Description
bool?
View Source

Origin

The origin from which the actor performed the action including information about host, ip address, location, session, etc. If the action was performed programmatically via the API the origin represents the API client.

Declaration
public OriginLogInfo Origin { get; protected set; }
Property Value
Type Description
OriginLogInfo
View Source

Participants

Zero or more users and/or groups that are affected by the action. Note that this list doesn't include any actors or users in context.

Declaration
public IList<ParticipantLogInfo> Participants { get; protected set; }
Property Value
Type Description
IList<ParticipantLogInfo>
View Source

Timestamp

The Dropbox timestamp representing when the action was taken.

Declaration
public DateTime Timestamp { get; protected set; }
Property Value
Type Description
DateTime
  • View Source
In this article
Back to top Dropbox .NET SDK