MastodonAdminReportUpdateRequest class

Request for updating an admin report.

Request body for PUT /api/v1/admin/reports/:id.

Constructors

MastodonAdminReportUpdateRequest({String? category, List<int>? ruleIds})
Creates a MastodonAdminReportUpdateRequest.
const

Properties

category String?
Report category (spam / legal / violation / other).
final
hashCode int
The hash code for this object.
no setterinherited
ruleIds List<int>?
List of violated rule IDs when the category is violation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to a JSON map for the request body.
toString() String
A string representation of this object.
inherited

Operators

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