queryEvents method
Future<XRPCResponse<ModerationQueryEventsOutput> >
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,
List moderation events related to a subject.
Implementation
Future<XRPCResponse<ModerationQueryEventsOutput>> 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,
}) async => await toolsOzoneModerationQueryEvents(
types: types,
createdBy: createdBy,
sortDirection: sortDirection,
createdAfter: createdAfter,
createdBefore: createdBefore,
subject: subject,
collections: collections,
subjectType: subjectType,
includeAllUserRecords: includeAllUserRecords,
limit: limit,
hasComment: hasComment,
comment: comment,
addedLabels: addedLabels,
removedLabels: removedLabels,
addedTags: addedTags,
removedTags: removedTags,
reportTypes: reportTypes,
policies: policies,
modTool: modTool,
batchId: batchId,
ageAssuranceState: ageAssuranceState,
cursor: cursor,
$ctx: _ctx,
$headers: $headers,
$unknown: $unknown,
);