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