more nullable values in RippleServerState (#739)

This commit is contained in:
a10zn8
2025-10-31 16:33:16 +03:00
committed by GitHub
parent adebfacf45
commit 35fa52a01e

View File

@@ -172,7 +172,7 @@ data class RippleState(
data class RippleServerState(
@JsonProperty("build_version") val buildVersion: String,
@JsonProperty("complete_ledgers") val completeLedgers: String,
@JsonProperty("initial_sync_duration_us") val initialSyncDurationUs: String,
@JsonProperty("initial_sync_duration_us") val initialSyncDurationUs: String?,
@JsonProperty("io_latency_ms") val ioLatencyMs: Int,
@JsonProperty("jq_trans_overflow") val jqTransOverflow: String,
@JsonProperty("last_close") val lastClose: LastClose,
@@ -183,14 +183,14 @@ data class RippleServerState(
@JsonProperty("load_factor_fee_reference") val loadFactorFeeReference: Int,
@JsonProperty("load_factor_server") val loadFactorServer: Int,
@JsonProperty("network_id") val networkId: Int,
@JsonProperty("peer_disconnects") val peerDisconnects: String,
@JsonProperty("peer_disconnects_resources") val peerDisconnectsResources: String,
@JsonProperty("peer_disconnects") val peerDisconnects: String?,
@JsonProperty("peer_disconnects_resources") val peerDisconnectsResources: String?,
@JsonProperty("peers") val peers: Int,
@JsonProperty("ports") val ports: List<Port>,
@JsonProperty("pubkey_node") val pubkeyNode: String,
@JsonProperty("server_state") val serverState: String,
@JsonProperty("server_state_duration_us") val serverStateDurationUs: String,
@JsonProperty("state_accounting") val stateAccounting: StateAccounting,
@JsonProperty("pubkey_node") val pubkeyNode: String?,
@JsonProperty("server_state") val serverState: String?,
@JsonProperty("server_state_duration_us") val serverStateDurationUs: String?,
@JsonProperty("state_accounting") val stateAccounting: StateAccounting?,
@JsonProperty("time") val time: String,
@JsonProperty("uptime") val uptime: Long,
@JsonProperty("validated_ledger") val validatedLedger: ValidatedLedger,