SafelinkService class base

tools.ozone.safelink.*

Constructors

SafelinkService.new(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRule({required String url, required PatternType pattern, required ActionType action, required ReasonType reason, String? comment, String? createdBy, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Add a new URL safety rule
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryEvents({String? cursor, int? limit, List<String>? urls, String? patternType, SafelinkQueryEventsSortDirection? sortDirection, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SafelinkQueryEventsOutput>>
Query URL safety audit events
queryRules({String? cursor, int? limit, List<String>? urls, String? patternType, List<String>? actions, String? reason, String? createdBy, SafelinkQueryRulesSortDirection? sortDirection, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<SafelinkQueryRulesOutput>>
Query URL safety rules
removeRule({required String url, required PatternType pattern, String? comment, String? createdBy, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Remove an existing URL safety rule
toString() String
A string representation of this object.
inherited
updateRule({required String url, required PatternType pattern, required ActionType action, required ReasonType reason, String? comment, String? createdBy, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<Event>>
Update an existing URL safety rule

Operators

operator ==(Object other) bool
The equality operator.
inherited