AddRuleRequest

data class AddRuleRequest(val url: String, val pattern: PatternType, val action: ActionType, val reason: ReasonType, val comment: String? = null, val createdBy: Did? = null)

Parameters

url

The URL or domain to apply the rule to

comment

Optional comment about the decision

createdBy

Author DID. Only respected when using admin auth

Constructors

Link copied to clipboard
constructor(url: String, pattern: PatternType, action: ActionType, reason: ReasonType, comment: String? = null, createdBy: Did? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Optional comment about the decision

Link copied to clipboard

Author DID. Only respected when using admin auth

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

The URL or domain to apply the rule to