RequestLogItem

@Serializable
data class RequestLogItem(val requestId: String? = null, val method: String? = null, val path: String? = null, val statusCode: Int? = null, val ip: String? = null, val userAgent: String? = null, val createdAt: String? = null, val responseTimeMs: Long? = null)

平台请求日志项。

Constructors

Link copied to clipboard
constructor(requestId: String? = null, method: String? = null, path: String? = null, statusCode: Int? = null, ip: String? = null, userAgent: String? = null, createdAt: String? = null, responseTimeMs: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String?
Link copied to clipboard
@SerialName(value = "ip")
val ip: String?
Link copied to clipboard
@SerialName(value = "method")
val method: String?
Link copied to clipboard
@SerialName(value = "path")
val path: String?
Link copied to clipboard
@SerialName(value = "request_id")
val requestId: String?
Link copied to clipboard
@SerialName(value = "response_time_ms")
val responseTimeMs: Long?
Link copied to clipboard
@SerialName(value = "status_code")
val statusCode: Int?
Link copied to clipboard
@SerialName(value = "user_agent")
val userAgent: String?