Class RestAuditLogEntry
Represents a REST-based audit log entry.
public class RestAuditLogEntry : RestEntity<ulong>, IAuditLogEntry, ISnowflakeEntity, IEntity<ulong>
- Inheritance
-
RestAuditLogEntry
- 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 IAuditLogData Data { get; }
Property Value
- IAuditLogData
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 IUser User { get; }
Property Value
- IUser
A user object.