ModerationService class base
tools.ozone.moderation.*
Constructors
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
-
emitEvent(
{required UModerationEmitEventEvent event, required UModerationEmitEventSubject subject, List< String> ? subjectBlobCids, required String createdBy, ModTool? modTool, String? externalId, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModEventView> > - Take a moderation action on an actor.
-
getAccountTimeline(
{required String did, Map< String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationGetAccountTimelineOutput> > - Get timeline of all available events of an account. This includes moderation events, account history and did history.
-
getEvent(
{required int id, Map< String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModEventViewDetail> > - Get details about a moderation event.
-
getRecord(
{required AtUri uri, String? cid, Map< String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< RecordViewDetail> > - Get details about a record.
-
getRecords(
{required List< AtUri> uris, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationGetRecordsOutput> > - Get details about some records.
-
getRepo(
{required String did, Map< String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< RepoViewDetail> > - Get details about a repository.
-
getReporterStats(
{required List< String> dids, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationGetReporterStatsOutput> > - Get reporter stats for a list of users.
-
getRepos(
{required List< String> dids, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationGetReposOutput> > - Get details about some repositories.
-
getSubjects(
{required List< String> subjects, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationGetSubjectsOutput> > - Get details about subjects.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryEvents(
{List< String> ? types, String? createdBy, String? sortDirection, DateTime? createdAfter, DateTime? createdBefore, String? subject, List<String> ? collections, ModerationQueryEventsSubjectType? subjectType, bool? includeAllUserRecords, int? limit, bool? hasComment, String? comment, List<String> ? addedLabels, List<String> ? removedLabels, List<String> ? addedTags, List<String> ? removedTags, List<String> ? reportTypes, List<String> ? policies, List<String> ? modTool, String? batchId, ModerationQueryEventsAgeAssuranceState? ageAssuranceState, String? cursor, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationQueryEventsOutput> > - List moderation events related to a subject.
-
queryStatuses(
{int? queueCount, int? queueIndex, String? queueSeed, bool? includeAllUserRecords, String? subject, String? comment, DateTime? reportedAfter, DateTime? reportedBefore, DateTime? reviewedAfter, DateTime? hostingDeletedAfter, DateTime? hostingDeletedBefore, DateTime? hostingUpdatedAfter, DateTime? hostingUpdatedBefore, List< String> ? hostingStatuses, DateTime? reviewedBefore, bool? includeMuted, bool? onlyMuted, String? reviewState, List<String> ? ignoreSubjects, String? lastReviewedBy, String? sortField, String? sortDirection, bool? takendown, bool? appealed, int? limit, List<String> ? tags, List<String> ? excludeTags, String? cursor, List<String> ? collections, ModerationQueryStatusesSubjectType? subjectType, int? minAccountSuspendCount, int? minReportedRecordsCount, int? minTakendownRecordsCount, int? minPriorityScore, ModerationQueryStatusesAgeAssuranceState? ageAssuranceState, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationQueryStatusesOutput> > - View moderation statuses of subjects (record or repo).
-
searchRepos(
{String? term, String? q, int? limit, String? cursor, Map< String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< ModerationSearchReposOutput> > - Find repositories based on a search term.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited