ModerationQueryStatusesInput constructor
- @JsonSerializable(includeIfNull: false)
const
ModerationQueryStatusesInput(
{ - int? queueCount,
- int? queueIndex,
- String? queueSeed,
- bool? includeAllUserRecords,
- String? subject,
- 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,
- @Default('lastReportedAt') String sortField,
- @Default('desc') String sortDirection,
- bool? takendown,
- bool? appealed,
- @Default(50) int limit,
- List<String>? tags,
- List<String>? excludeTags,
- String? cursor,
- List<String>? collections,
- @ModerationQueryStatusesSubjectTypeConverter() ModerationQueryStatusesSubjectType? subjectType,
- int? minAccountSuspendCount,
- int? minReportedRecordsCount,
- int? minTakendownRecordsCount,
- int? minPriorityScore,
- @ModerationQueryStatusesAgeAssuranceStateConverter() ModerationQueryStatusesAgeAssuranceState? ageAssuranceState,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ModerationQueryStatusesInput({
/// Number of queues being used by moderators. Subjects will be split among all queues.
int? queueCount,
/// Index of the queue to fetch subjects from. Works only when queueCount value is specified.
int? queueIndex,
/// A seeder to shuffle/balance the queue items.
String? queueSeed,
/// All subjects, or subjects from given 'collections' param, belonging to the account specified in the 'subject' param will be returned.
bool? includeAllUserRecords,
/// The subject to get the status for.
String? subject,
/// Search subjects by keyword from comments
String? comment,
/// Search subjects reported after a given timestamp
DateTime? reportedAfter,
/// Search subjects reported before a given timestamp
DateTime? reportedBefore,
/// Search subjects reviewed after a given timestamp
DateTime? reviewedAfter,
/// Search subjects where the associated record/account was deleted after a given timestamp
DateTime? hostingDeletedAfter,
/// Search subjects where the associated record/account was deleted before a given timestamp
DateTime? hostingDeletedBefore,
/// Search subjects where the associated record/account was updated after a given timestamp
DateTime? hostingUpdatedAfter,
/// Search subjects where the associated record/account was updated before a given timestamp
DateTime? hostingUpdatedBefore,
List<String>? hostingStatuses,
/// Search subjects reviewed before a given timestamp
DateTime? reviewedBefore,
/// By default, we don't include muted subjects in the results. Set this to true to include them.
bool? includeMuted,
/// When set to true, only muted subjects and reporters will be returned.
bool? onlyMuted,
/// Specify when fetching subjects in a certain state
String? reviewState,
List<String>? ignoreSubjects,
/// Get all subject statuses that were reviewed by a specific moderator
String? lastReviewedBy,
@Default('lastReportedAt') String sortField,
@Default('desc') String sortDirection,
/// Get subjects that were taken down
bool? takendown,
/// Get subjects in unresolved appealed status
bool? appealed,
@Default(50) int limit,
/// Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters
List<String>? tags,
List<String>? excludeTags,
String? cursor,
List<String>? collections,
/// If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.
@ModerationQueryStatusesSubjectTypeConverter()
ModerationQueryStatusesSubjectType? subjectType,
/// If specified, only subjects that belong to an account that has at least this many suspensions will be returned.
int? minAccountSuspendCount,
/// If specified, only subjects that belong to an account that has at least this many reported records will be returned.
int? minReportedRecordsCount,
/// If specified, only subjects that belong to an account that has at least this many taken down records will be returned.
int? minTakendownRecordsCount,
/// If specified, only subjects that have priority score value above the given value will be returned.
int? minPriorityScore,
/// If specified, only subjects with the given age assurance state will be returned.
@ModerationQueryStatusesAgeAssuranceStateConverter()
ModerationQueryStatusesAgeAssuranceState? ageAssuranceState,
Map<String, dynamic>? $unknown,
}) = _ModerationQueryStatusesInput;