SafelinkAddRuleInput constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory SafelinkAddRuleInput({
/// The URL or domain to apply the rule to
required String url,
@PatternTypeConverter() required PatternType pattern,
@ActionTypeConverter() required ActionType action,
@ReasonTypeConverter() required ReasonType reason,
/// Optional comment about the decision
String? comment,
/// Author DID. Only respected when using admin auth
String? createdBy,
Map<String, dynamic>? $unknown,
}) = _SafelinkAddRuleInput;