Event
data class Event(val id: Long, val eventType: EventType, val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val createdBy: Did, val createdAt: Timestamp, val comment: String? = null)
An event for URL safety decisions
Parameters
id
Auto-incrementing row ID
url
The URL that this rule applies to
createdBy
DID of the user who created this rule
comment
Optional comment about the decision
Constructors
Link copied to clipboard
constructor(id: Long, eventType: EventType, url: String, pattern: PatternType, action: ActionType, reason: ReasonType, createdBy: Did, createdAt: Timestamp, comment: String? = null)