TeamEvent

public class TeamEvent : CustomStringConvertible, JSONRepresentable

An audit log event.

  • The Dropbox timestamp representing when the action was taken.

    Declaration

    Swift

    public let timestamp_: Date
  • The category that this type of action belongs to.

    Declaration

    Swift

    public let eventCategory: TeamLog.EventCategory
  • The entity who actually performed the action. Might be missing due to historical data gap.

    Declaration

    Swift

    public let actor: TeamLog.ActorLogInfo?
  • 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

    Swift

    public let origin: TeamLog.OriginLogInfo?
  • 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

    Swift

    public let involveNonTeamMember: Bool?
  • The user or team on whose behalf the actor performed the action. Might be missing due to historical data gap.

    Declaration

    Swift

    public let context: TeamLog.ContextLogInfo?
  • 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

    Swift

    public let participants: [TeamLog.ParticipantLogInfo]?
  • 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

    Swift

    public let assets: [TeamLog.AssetLogInfo]?
  • The particular type of action taken.

    Declaration

    Swift

    public let eventType: TeamLog.EventType
  • The variable event schema applicable to this type of action, instantiated with respect to this particular action.

    Declaration

    Swift

    public let details: TeamLog.EventDetails
  • Declaration

    Swift

    public var description: String { get }