SubjectStatusView class

Available extensions
Annotations
  • @freezed

Constructors

SubjectStatusView.new({@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})
const
factory
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
hasComment bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if comment is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasLastAppealedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastAppealedAt is not null, otherwise false.
no setter
hasLastReportedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReportedAt is not null, otherwise false.
no setter
hasLastReviewedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReviewedAt is not null, otherwise false.
no setter
hasLastReviewedBy bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReviewedBy is not null, otherwise false.
no setter
hasMuteReportingUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if muteReportingUntil is not null, otherwise false.
no setter
hasMuteUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if muteUntil is not null, otherwise false.
no setter
hasNotComment bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if comment is null, otherwise false.
no setter
hasNotLastAppealedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastAppealedAt is null, otherwise false.
no setter
hasNotLastReportedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReportedAt is null, otherwise false.
no setter
hasNotLastReviewedAt bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReviewedAt is null, otherwise false.
no setter
hasNotLastReviewedBy bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if lastReviewedBy is null, otherwise false.
no setter
hasNotMuteReportingUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if muteReportingUntil is null, otherwise false.
no setter
hasNotMuteUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if muteUntil is null, otherwise false.
no setter
hasNotSubjectBlobCids bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if subjectBlobCids is null, otherwise false.
no setter
hasNotSubjectRepoHandle bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if subjectRepoHandle is null, otherwise false.
no setter
hasNotSuspendUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if suspendUntil is null, otherwise false.
no setter
hasNotTags bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if tags is null, otherwise false.
no setter
hasNotUnknown bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasSubjectBlobCids bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if subjectBlobCids is not null, otherwise false.
no setter
hasSubjectRepoHandle bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if subjectRepoHandle is not null, otherwise false.
no setter
hasSuspendUntil bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if suspendUntil is not null, otherwise false.
no setter
hasTags bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if tags is not null, otherwise false.
no setter
hasUnknown bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
id int
no setterinherited
isAppealed bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true or false from appealed.
no setter
isNotAppealed bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns negated true or false from appealed.
no setter
isNotTakendown bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns negated true or false from takendown.
no setter
isTakendown bool

Available on SubjectStatusView, provided by the $SubjectStatusViewExtension extension

Returns true or false from takendown.
no setter
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
tags List<String>?
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