Class SocketAuditLogEntry
Represents a Socket-based audit log entry.
public class SocketAuditLogEntry : SocketEntity<ulong>, IAuditLogEntry, ISnowflakeEntity, IEntity<ulong>
- Inheritance
-
SocketAuditLogEntry
- Implements
- Inherited Members
Properties
Action
Gets the action which occurred to create this entry.
public ActionType Action { get; }
Property Value
- ActionType
The type of action for this audit log entry.
CreatedAt
Gets when the snowflake was created.
public DateTimeOffset CreatedAt { get; }
Property Value
- DateTimeOffset
A DateTimeOffset representing when the entity was first created.
Data
Gets the data for this entry.
public ISocketAuditLogData Data { get; }
Property Value
- ISocketAuditLogData
An IAuditLogData for this audit log entry; null if no data is available.
Reason
Gets the reason behind the change.
public string Reason { get; }
Property Value
User
Gets the user responsible for causing the changes.
public SocketUser User { get; }
Property Value
- SocketUser
A user object.