UpdatableCommentParams class

Constructors

UpdatableCommentParams({String? urlId, String? urlIdRaw, String? url, String? pageTitle, String? userId, String? commenterEmail, String? commenterName, String? commenterLink, String? comment, String? commentHTML, String? parentId, double? date, String? localDateString, int? localDateHours, int? votes, int? votesUp, int? votesDown, DateTime? expireAt, bool? verified, DateTime? verifiedDate, bool? notificationSentForParent, bool? notificationSentForParentTenant, bool? reviewed, String? externalId, String? externalParentId, String? avatarSrc, bool? isSpam, bool? approved, bool? isDeleted, bool? isDeletedUser, bool? isByAdmin, bool? isByModerator, bool? isPinned, bool? isLocked, int? flagCount, String? displayLabel, APICommentBaseMeta? meta, List<String>? moderationGroupIds = const [], List<String> feedbackIds = const []})
Returns a new UpdatableCommentParams instance.

Properties

approved ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
avatarSrc ↔ String?
getter/setter pair
comment ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
commenterEmail ↔ String?
getter/setter pair
getter/setter pair
commenterName ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
commentHTML ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
date ↔ double?
getter/setter pair
displayLabel ↔ String?
getter/setter pair
expireAt ↔ DateTime?
getter/setter pair
externalId ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
externalParentId ↔ String?
getter/setter pair
feedbackIds ↔ List<String>
getter/setter pair
flagCount ↔ int?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
isByAdmin ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isByModerator ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isDeleted ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isDeletedUser ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isLocked ↔ bool?
getter/setter pair
isPinned ↔ bool?
getter/setter pair
isSpam ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
localDateHours ↔ int?
getter/setter pair
localDateString ↔ String?
getter/setter pair
meta ↔ APICommentBaseMeta?
getter/setter pair
moderationGroupIds ↔ List<String>?
getter/setter pair
notificationSentForParent ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
notificationSentForParentTenant ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
pageTitle ↔ String?
getter/setter pair
parentId ↔ String?
getter/setter pair
reviewed ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
urlId ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
urlIdRaw ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
userId ↔ String?
getter/setter pair
verified ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
verifiedDate ↔ DateTime?
getter/setter pair
votes ↔ int?
getter/setter pair
votesDown ↔ int?
getter/setter pair
votesUp ↔ int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → UpdatableCommentParams?
Returns a new UpdatableCommentParams instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<UpdatableCommentParams>
mapFromJson(dynamic json) → Map<String, UpdatableCommentParams>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<UpdatableCommentParams>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.