ModRemovePost constructor
- @ForceUtcDateTime()
- @ForceUtcDateTimeNullable()
- @JsonSerializable(fieldRename: FieldRename.snake)
const
ModRemovePost(
{ - required int id,
- required int modPersonId,
- required int postId,
- String? reason,
- bool? removed,
- @JsonKey(name: 'when_') required DateTime when,
- required String instanceHost,
})
Implementation
@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModRemovePost({
required int id,
required int modPersonId,
required int postId,
String? reason,
bool? removed,
@JsonKey(name: 'when_') required DateTime when,
required String instanceHost,
}) = _ModRemovePost;