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)

Properties

Link copied to clipboard
Link copied to clipboard

Optional comment about the decision

Link copied to clipboard
Link copied to clipboard

DID of the user who created this rule

Link copied to clipboard
Link copied to clipboard
val id: Long

Auto-incrementing row ID

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String

The URL that this rule applies to