Class AuditLogRaw
- Namespace
- Cloudflare.NET.AuditLogs.Models
- Assembly
- Cloudflare.NET.dll
Raw HTTP request details for an audit log entry.
public record AuditLogRaw : IEquatable<AuditLogRaw>
- Inheritance
-
AuditLogRaw
- Implements
- Inherited Members
Constructors
AuditLogRaw(string?, string?, int?, string?, string?)
Raw HTTP request details for an audit log entry.
public AuditLogRaw(string? CfRayId = null, string? Method = null, int? StatusCode = null, string? Uri = null, string? UserAgent = null)
Parameters
CfRayIdstringCloudflare Ray ID for the request.
MethodstringHTTP method (GET, POST, PUT, DELETE, etc.).
StatusCodeint?HTTP status code returned.
UristringRequest URI path.
UserAgentstringUser agent string of the client.
Properties
CfRayId
Cloudflare Ray ID for the request.
[JsonPropertyName("cf_ray_id")]
public string? CfRayId { get; init; }
Property Value
Method
HTTP method (GET, POST, PUT, DELETE, etc.).
[JsonPropertyName("method")]
public string? Method { get; init; }
Property Value
StatusCode
HTTP status code returned.
[JsonPropertyName("status_code")]
public int? StatusCode { get; init; }
Property Value
- int?
Uri
Request URI path.
[JsonPropertyName("uri")]
public string? Uri { get; init; }
Property Value
UserAgent
User agent string of the client.
[JsonPropertyName("user_agent")]
public string? UserAgent { get; init; }