Record Class Info

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Info

public record Info(String version, Float time, Float blocksLatency, Float messagesLatency, Float transactionsLatency, Float latency, Float lastBlockTime, List<String> endpoints, String chainOrderBoundary, Boolean rempEnabled) extends Record
GraphQL Server info;
  • Constructor Details

    • Info

      public Info(String version, Float time, Float blocksLatency, Float messagesLatency, Float transactionsLatency, Float latency, Float lastBlockTime, List<String> endpoints, String chainOrderBoundary, Boolean rempEnabled)
      Creates an instance of a Info record class.
      Parameters:
      version - the value for the version record component
      time - the value for the time record component
      blocksLatency - the value for the blocksLatency record component
      messagesLatency - the value for the messagesLatency record component
      transactionsLatency - the value for the transactionsLatency record component
      latency - the value for the latency record component
      lastBlockTime - the value for the lastBlockTime record component
      endpoints - the value for the endpoints record component
      chainOrderBoundary - the value for the chainOrderBoundary record component
      rempEnabled - the value for the rempEnabled record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • time

      public Float time()
      Returns the value of the time record component.
      Returns:
      the value of the time record component
    • blocksLatency

      public Float blocksLatency()
      Returns the value of the blocksLatency record component.
      Returns:
      the value of the blocksLatency record component
    • messagesLatency

      public Float messagesLatency()
      Returns the value of the messagesLatency record component.
      Returns:
      the value of the messagesLatency record component
    • transactionsLatency

      public Float transactionsLatency()
      Returns the value of the transactionsLatency record component.
      Returns:
      the value of the transactionsLatency record component
    • latency

      public Float latency()
      Returns the value of the latency record component.
      Returns:
      the value of the latency record component
    • lastBlockTime

      public Float lastBlockTime()
      Returns the value of the lastBlockTime record component.
      Returns:
      the value of the lastBlockTime record component
    • endpoints

      public List<String> endpoints()
      Returns the value of the endpoints record component.
      Returns:
      the value of the endpoints record component
    • chainOrderBoundary

      public String chainOrderBoundary()
      Returns the value of the chainOrderBoundary record component.
      Returns:
      the value of the chainOrderBoundary record component
    • rempEnabled

      public Boolean rempEnabled()
      Returns the value of the rempEnabled record component.
      Returns:
      the value of the rempEnabled record component