ModerationQueryEventsInput class abstract

Available extensions
Annotations
  • @freezed

Constructors

ModerationQueryEventsInput.new({List<String>? types, String? createdBy, @Default('desc') String sortDirection, DateTime? createdAfter, DateTime? createdBefore, String? subject, List<String>? collections, @ModerationQueryEventsSubjectTypeConverter() ModerationQueryEventsSubjectType? subjectType, @Default(false) bool includeAllUserRecords, @Default(50) 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, @ModerationQueryEventsAgeAssuranceStateConverter() ModerationQueryEventsAgeAssuranceState? ageAssuranceState, String? cursor, Map<String, dynamic>? $unknown})
const
factory
ModerationQueryEventsInput.fromJson(Map<String, Object?> json)
factory

Properties

$unknown Map<String, dynamic>?
no setterinherited
addedLabels List<String>?
no setterinherited
addedTags List<String>?
no setterinherited
ageAssuranceState ModerationQueryEventsAgeAssuranceState?
If specified, only events where the age assurance state matches the given value are returned
no setterinherited
batchId String?
If specified, only events where the batchId matches the given value are returned
no setterinherited
collections List<String>?
no setterinherited
comment String?
If specified, only events with comments containing the keyword are returned. Apply || separator to use multiple keywords and match using OR condition.
no setterinherited
copyWith → $ModerationQueryEventsInputCopyWith<ModerationQueryEventsInput>
Create a copy of ModerationQueryEventsInput with the given fields replaced by the non-null parameter values.
no setterinherited
createdAfter DateTime?
Retrieve events created after a given timestamp
no setterinherited
createdBefore DateTime?
Retrieve events created before a given timestamp
no setterinherited
createdBy String?
no setterinherited
cursor String?
no setterinherited
hasAgeAssuranceState bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasBatchId bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasComment bool?
If true, only events with comments are returned
no setterinherited
hasCreatedAfter bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasCreatedBefore bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasCreatedBy bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasCursor bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
hasNotAgeAssuranceState bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotBatchId bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotComment bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotCreatedAfter bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotCreatedBefore bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotCreatedBy bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotCursor bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotSubject bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasNotSubjectType bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasSubject bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
hasSubjectType bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
includeAllUserRecords bool
If true, events on all record types (posts, lists, profile etc.) or records from given 'collections' param, owned by the did are returned.
no setterinherited
isIncludeAllUserRecords bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
isNotIncludeAllUserRecords bool

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputExtension extension

no setter
limit int
no setterinherited
modTool List<String>?
no setterinherited
policies List<String>?
If specified, only events where the action policies match any of the given policies are returned
no setterinherited
removedLabels List<String>?
no setterinherited
removedTags List<String>?
no setterinherited
reportTypes List<String>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortDirection String
Sort direction for the events. Defaults to descending order of created at timestamp.
no setterinherited
subject String?
no setterinherited
subjectType ModerationQueryEventsSubjectType?
If specified, only events where the subject is 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.
no setterinherited
types List<String>?
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_ModerationQueryEventsInput value)) → TResult

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_ModerationQueryEventsInput value)?) → TResult?

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_ModerationQueryEventsInput value)?, {required TResult orElse()}) → TResult

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(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, dynamic>? $unknown)?, {required TResult orElse()}) → TResult

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this ModerationQueryEventsInput to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(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, dynamic>? $unknown)) → TResult

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(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, dynamic>? $unknown)?) → TResult?

Available on ModerationQueryEventsInput, provided by the ModerationQueryEventsInputPatterns extension

A variant of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

knownProps → const List<String>