Class TeamEvent
An audit log event.
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class TeamEvent
Constructors
View SourceTeamEvent(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 SourceActor
The entity who actually performed the action.
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 |
|---|---|
| IList<AssetLogInfo> |
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 |
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.
Declaration
public bool? InvolveNonTeamMember { get; protected set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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 |
|---|---|
| IList<ParticipantLogInfo> |
Timestamp
The Dropbox timestamp representing when the action was taken.
Declaration
public DateTime Timestamp { get; protected set; }
Property Value
| Type | Description |
|---|---|
| DateTime |