SubjectStatusView class
- Available extensions
- Annotations
-
- @freezed
Constructors
-
SubjectStatusView({@Default(toolsOzoneModerationDefsSubjectStatusView) @JsonKey(name: r'$type') String $type, required int id, @USubjectStatusViewSubjectConverter() required USubjectStatusViewSubject subject, List<
String> ? subjectBlobCids, String? subjectRepoHandle, required DateTime updatedAt, required DateTime createdAt, @USubjectReviewStateConverter() required USubjectReviewState reviewState, String? comment, DateTime? muteUntil, DateTime? muteReportingUntil, String? lastReviewedBy, DateTime? lastReviewedAt, DateTime? lastReportedAt, DateTime? lastAppealedAt, @Default(false) bool takendown, @Default(false) bool appealed, DateTime? suspendUntil, List<String> ? tags, @JsonKey(name: r'$unknown') Map<String, dynamic> ? $unknown}) -
constfactory
-
SubjectStatusView.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type → String
-
The unique namespace for this lex object.
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
Contains unknown objects not defined in Lexicon.
no setterinherited
- appealed → bool
-
True indicates that the a previously taken moderator action was
appealed against, by the author of the content. False indicates
last appeal was resolved by moderators.
no setterinherited
- comment → String?
-
Sticky comment on the subject.
no setterinherited
-
copyWith
→ $SubjectStatusViewCopyWith<
SubjectStatusView> -
no setterinherited
- createdAt → DateTime
-
Timestamp referencing the first moderation status impacting event
was emitted on the subject
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setterinherited
- lastAppealedAt → DateTime?
-
Timestamp referencing when the author of the subject appealed a
moderation action
no setterinherited
- lastReportedAt → DateTime?
-
no setterinherited
- lastReviewedAt → DateTime?
-
no setterinherited
- lastReviewedBy → String?
-
no setterinherited
- muteReportingUntil → DateTime?
-
no setterinherited
- muteUntil → DateTime?
-
no setterinherited
- reviewState → USubjectReviewState
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → USubjectStatusViewSubject
-
no setterinherited
-
subjectBlobCids
→ List<
String> ? -
no setterinherited
- subjectRepoHandle → String?
-
no setterinherited
- suspendUntil → DateTime?
-
no setterinherited
-
no setterinherited
- takendown → bool
-
no setterinherited
- updatedAt → DateTime
-
Timestamp referencing when the last update was made to the
moderation status of the subject
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited