queryEvents method

Future<XRPCResponse<ModerationQueryEventsOutput>> queryEvents({
  1. List<String>? types,
  2. String? createdBy,
  3. String? sortDirection,
  4. DateTime? createdAfter,
  5. DateTime? createdBefore,
  6. String? subject,
  7. List<String>? collections,
  8. ModerationQueryEventsSubjectType? subjectType,
  9. bool? includeAllUserRecords,
  10. int? limit,
  11. bool? hasComment,
  12. String? comment,
  13. List<String>? addedLabels,
  14. List<String>? removedLabels,
  15. List<String>? addedTags,
  16. List<String>? removedTags,
  17. List<String>? reportTypes,
  18. List<String>? policies,
  19. List<String>? modTool,
  20. String? batchId,
  21. ModerationQueryEventsAgeAssuranceState? ageAssuranceState,
  22. String? cursor,
  23. Map<String, String>? $headers,
  24. 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,
);