UrlRule
data class UrlRule(val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val comment: String? = null, val createdBy: Did, val createdAt: Timestamp, val updatedAt: Timestamp)
Input for creating a URL safety rule
Parameters
url
The URL or domain to apply the rule to
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, comment: String? = null, createdBy: Did, createdAt: Timestamp, updatedAt: Timestamp)