Class GetVersionInfoResponse

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

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

    • GetVersionInfoResponse

      public GetVersionInfoResponse(String version, String commitHash, String buildTimestamp, String captiveCoreVersion, Integer protocolVersion)
  • Method Details

    • getVersion

      public String getVersion()
    • getCommitHash

      public String getCommitHash()
    • getBuildTimestamp

      public String getBuildTimestamp()
    • getCaptiveCoreVersion

      public String getCaptiveCoreVersion()
    • getProtocolVersion

      public Integer getProtocolVersion()
    • 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