Event
data class Event(val id: Long, val eventType: EventType, val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val source: String? = "ozone/default", 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
source
Source of the decision
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, source: String? = "ozone/default", createdBy: Did, createdAt: Timestamp, comment: String? = null)