Class TeamEvent
An audit log event.
Inheritance
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class TeamEvent
Constructors
| Improve this Doc View SourceTeamEvent(DateTime, EventCategory, EventType, EventDetails, ActorLogInfo, OriginLogInfo, Nullable<Boolean>, 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 |
---|---|---|
System.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. Might be missing due to historical data gap. |
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. |
System.Nullable<System.Boolean> | involveNonTeamMember | True if the action involved a non team member either as the actor or as one of the affected users. Might be missing due to historical data gap. |
ContextLogInfo | context | The user or team on whose behalf the actor performed the action. Might be missing due to historical data gap. |
System.Collections.Generic.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. |
System.Collections.Generic.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
| Improve this Doc View SourceActor
The entity who actually performed the action. Might be missing due to historical data gap.
Declaration
public ActorLogInfo Actor { get; protected set; }
Property Value
Type | Description |
---|---|
ActorLogInfo |
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 |
---|---|
System.Collections.Generic.IList<AssetLogInfo> |
Context
The user or team on whose behalf the actor performed the action. Might be missing due to historical data gap.
Declaration
public ContextLogInfo Context { get; protected set; }
Property Value
Type | Description |
---|---|
ContextLogInfo |
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 |
EventCategory
The category that this type of action belongs to.
Declaration
public EventCategory EventCategory { get; protected set; }
Property Value
Type | Description |
---|---|
EventCategory |
EventType
The particular type of action taken.
Declaration
public EventType EventType { get; protected set; }
Property Value
Type | Description |
---|---|
EventType |
InvolveNonTeamMember
True if the action involved a non team member either as the actor or as one of the affected users. Might be missing due to historical data gap.
Declaration
public bool? InvolveNonTeamMember { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
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 |
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 |
---|---|
System.Collections.Generic.IList<ParticipantLogInfo> |
Timestamp
The Dropbox timestamp representing when the action was taken.
Declaration
public DateTime Timestamp { get; protected set; }
Property Value
Type | Description |
---|---|
System.DateTime |