QueryValidatorSlashesRequest constructor
QueryValidatorSlashesRequest({
- String? validatorAddress,
- Int64? startingHeight,
- Int64? endingHeight,
- PageRequest? pagination,
Implementation
factory QueryValidatorSlashesRequest({
$core.String? validatorAddress,
$fixnum.Int64? startingHeight,
$fixnum.Int64? endingHeight,
$4.PageRequest? pagination,
}) {
final _result = create();
if (validatorAddress != null) {
_result.validatorAddress = validatorAddress;
}
if (startingHeight != null) {
_result.startingHeight = startingHeight;
}
if (endingHeight != null) {
_result.endingHeight = endingHeight;
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}