Record Class EverSdkException.ErrorResultData

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.EverSdkException.ErrorResultData
Enclosing class:
EverSdkException

public static record EverSdkException.ErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String functionName, String accountAddress, Number accountBalance, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId, String messageId, String shardBlockId, String waitingExpirationTime, String blockTime, EverSdkException.ErrorResult localError) extends Record
  • Constructor Details

    • ErrorResultData

      public ErrorResultData(String coreVersion, String phase, int exitCode, int exitArg, String functionName, String accountAddress, Number accountBalance, int gasUsed, String description, String contractError, String[] configServers, String queryUrl, String queryIpAddress, String transactionId, String messageId, String shardBlockId, String waitingExpirationTime, String blockTime, EverSdkException.ErrorResult localError)
      Creates an instance of a ErrorResultData record class.
      Parameters:
      coreVersion - the value for the coreVersion record component
      phase - the value for the phase record component
      exitCode - the value for the exitCode record component
      exitArg - the value for the exitArg record component
      functionName - the value for the functionName record component
      accountAddress - the value for the accountAddress record component
      accountBalance - the value for the accountBalance record component
      gasUsed - the value for the gasUsed record component
      description - the value for the description record component
      contractError - the value for the contractError record component
      configServers - the value for the configServers record component
      queryUrl - the value for the queryUrl record component
      queryIpAddress - the value for the queryIpAddress record component
      transactionId - the value for the transactionId record component
      messageId - the value for the messageId record component
      shardBlockId - the value for the shardBlockId record component
      waitingExpirationTime - the value for the waitingExpirationTime record component
      blockTime - the value for the blockTime record component
      localError - the value for the localError 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • coreVersion

      public String coreVersion()
      Returns the value of the coreVersion record component.
      Returns:
      the value of the coreVersion record component
    • phase

      public String phase()
      Returns the value of the phase record component.
      Returns:
      the value of the phase record component
    • exitCode

      public int exitCode()
      Returns the value of the exitCode record component.
      Returns:
      the value of the exitCode record component
    • exitArg

      public int exitArg()
      Returns the value of the exitArg record component.
      Returns:
      the value of the exitArg record component
    • functionName

      public String functionName()
      Returns the value of the functionName record component.
      Returns:
      the value of the functionName record component
    • accountAddress

      public String accountAddress()
      Returns the value of the accountAddress record component.
      Returns:
      the value of the accountAddress record component
    • accountBalance

      public Number accountBalance()
      Returns the value of the accountBalance record component.
      Returns:
      the value of the accountBalance record component
    • gasUsed

      public int gasUsed()
      Returns the value of the gasUsed record component.
      Returns:
      the value of the gasUsed record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • contractError

      public String contractError()
      Returns the value of the contractError record component.
      Returns:
      the value of the contractError record component
    • configServers

      public String[] configServers()
      Returns the value of the configServers record component.
      Returns:
      the value of the configServers record component
    • queryUrl

      public String queryUrl()
      Returns the value of the queryUrl record component.
      Returns:
      the value of the queryUrl record component
    • queryIpAddress

      public String queryIpAddress()
      Returns the value of the queryIpAddress record component.
      Returns:
      the value of the queryIpAddress record component
    • transactionId

      public String transactionId()
      Returns the value of the transactionId record component.
      Returns:
      the value of the transactionId record component
    • messageId

      public String messageId()
      Returns the value of the messageId record component.
      Returns:
      the value of the messageId record component
    • shardBlockId

      public String shardBlockId()
      Returns the value of the shardBlockId record component.
      Returns:
      the value of the shardBlockId record component
    • waitingExpirationTime

      public String waitingExpirationTime()
      Returns the value of the waitingExpirationTime record component.
      Returns:
      the value of the waitingExpirationTime record component
    • blockTime

      public String blockTime()
      Returns the value of the blockTime record component.
      Returns:
      the value of the blockTime record component
    • localError

      public EverSdkException.ErrorResult localError()
      Returns the value of the localError record component.
      Returns:
      the value of the localError record component