queryStatuses method
Future<XRPCResponse<QueryStatusesOutput> >
queryStatuses({
- bool? includeAllUserRecords,
- String? subject,
- String? comment,
- DateTime? reportedAfter,
- DateTime? reportedBefore,
- DateTime? reviewedAfter,
- 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,
- Map<
String, String> ? $unknown, - Map<
String, String> ? $headers, - GetClient? $client,
View moderation statuses of subjects (record or repo).
https://atprotodart.com/docs/lexicons/tools/ozone/moderation/queryStatuses
Implementation
Future<XRPCResponse<QueryStatusesOutput>> queryStatuses({
bool? includeAllUserRecords,
String? subject,
String? comment,
DateTime? reportedAfter,
DateTime? reportedBefore,
DateTime? reviewedAfter,
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,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<QueryStatusesOutput>(
ns.toolsOzoneModerationQueryStatuses,
headers: $headers,
parameters: {
if (includeAllUserRecords != null)
'includeAllUserRecords': includeAllUserRecords.toString(),
if (subject != null) 'subject': subject,
if (comment != null) 'comment': comment,
if (reportedAfter != null) 'reportedAfter': iso8601(reportedAfter),
if (reportedBefore != null) 'reportedBefore': iso8601(reportedBefore),
if (reviewedAfter != null) 'reviewedAfter': iso8601(reviewedAfter),
if (reviewedBefore != null) 'reviewedBefore': iso8601(reviewedBefore),
if (includeMuted != null) 'includeMuted': includeMuted.toString(),
if (onlyMuted != null) 'onlyMuted': onlyMuted.toString(),
if (reviewState != null) 'reviewState': reviewState,
if (ignoreSubjects != null) 'ignoreSubjects': ignoreSubjects,
if (lastReviewedBy != null) 'lastReviewedBy': lastReviewedBy,
if (sortField != null) 'sortField': sortField,
if (sortDirection != null) 'sortDirection': sortDirection,
if (takendown != null) 'takendown': takendown.toString(),
if (appealed != null) 'appealed': appealed.toString(),
if (limit != null) 'limit': limit.toString(),
if (tags != null) 'tags': tags,
if (excludeTags != null) 'excludeTags': excludeTags,
if (cursor != null) 'cursor': cursor,
...?$unknown,
},
to: const QueryStatusesOutputConverter().fromJson,
client: $client,
);