MastodonAdminRetentionRequest class

Request for fetching admin retention data.

Request body for POST /api/v1/admin/retention.

Constructors

MastodonAdminRetentionRequest({required DateTime startAt, required DateTime endAt, required String frequency})
Creates a MastodonAdminRetentionRequest.
const

Properties

endAt DateTime
End date (time portion is ignored).
final
frequency String
Granularity of the data (day or month).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAt DateTime
Start date (time portion is ignored).
final

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