Class GetHealthResponse

java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetHealthResponse

public final class GetHealthResponse extends Object
Response for JSON-RPC method getHealth.
See Also:
  • Constructor Details

    • GetHealthResponse

      public GetHealthResponse(String status, Long latestLedger, Long oldestLedger, Long ledgerRetentionWindow)
  • Method Details

    • getStatus

      public String getStatus()
    • getLatestLedger

      public Long getLatestLedger()
    • getOldestLedger

      public Long getOldestLedger()
    • getLedgerRetentionWindow

      public Long getLedgerRetentionWindow()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object