Class AuditLogActor
- Namespace
- Cloudflare.NET.AuditLogs.Models
- Assembly
- Cloudflare.NET.dll
Actor (who performed the action) for an audit log entry.
public record AuditLogActor : IEquatable<AuditLogActor>
- Inheritance
-
AuditLogActor
- Implements
- Inherited Members
Constructors
AuditLogActor(string?, string?, string?, string?)
Actor (who performed the action) for an audit log entry.
public AuditLogActor(string? Id, string? Email = null, string? Ip = null, string? Type = null)
Parameters
IdstringActor identifier (user or service ID).
EmailstringEmail address of the actor (for user actions).
IpstringIP address from which the action was performed.
TypestringType of actor (e.g., "user", "system", "service").
Properties
Email address of the actor (for user actions).
[JsonPropertyName("email")]
public string? Email { get; init; }
Property Value
Id
Actor identifier (user or service ID).
[JsonPropertyName("id")]
public string? Id { get; init; }
Property Value
Ip
IP address from which the action was performed.
[JsonPropertyName("ip")]
public string? Ip { get; init; }
Property Value
Type
Type of actor (e.g., "user", "system", "service").
[JsonPropertyName("type")]
public string? Type { get; init; }