UrlRule
data class UrlRule(val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val source: String? = "ozone/default", val comment: String? = null, val createdBy: Did, val createdAt: Timestamp, val updatedAt: Timestamp)
An active URL safety rule
Parameters
url
The URL or domain to apply the rule to
source
Source of the rule
comment
Optional comment about the decision
createdBy
DID of the user added the rule.
createdAt
Timestamp when the rule was created
updatedAt
Timestamp when the rule was last updated
Constructors
Link copied to clipboard
constructor(url: String, pattern: PatternType, action: ActionType, reason: ReasonType, source: String? = "ozone/default", comment: String? = null, createdBy: Did, createdAt: Timestamp, updatedAt: Timestamp)