java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.RecoveryInfoImpl
All Implemented Interfaces:
RecoveryInfo

public class RecoveryInfoImpl extends Object implements RecoveryInfo
  • Constructor Details

    • RecoveryInfoImpl

      public RecoveryInfoImpl(long after, long timestamp, long requestId, int responseCode, String responseMessage, Integer nodeId)
  • Method Details

    • getAfter

      public long getAfter()
      Gets the after timestamp of the recovery or 0 if full recovery was done
      Specified by:
      getAfter in interface RecoveryInfo
      Returns:
      the after timestamp of the recovery or 0 if full recovery was done
    • getTimestamp

      public long getTimestamp()
      Gets the timestamp specifying when the recovery was initiated
      Specified by:
      getTimestamp in interface RecoveryInfo
      Returns:
      the timestamp specifying when the recovery was initiated
    • getRequestId

      public long getRequestId()
      Gets the request identifier
      Specified by:
      getRequestId in interface RecoveryInfo
      Returns:
      the request identifier
    • getResponseCode

      public int getResponseCode()
      Gets the response code of the recovery request
      Specified by:
      getResponseCode in interface RecoveryInfo
      Returns:
      the response code of the recovery request
    • getResponseMessage

      public String getResponseMessage()
      Gets the response message of the recovery request
      Specified by:
      getResponseMessage in interface RecoveryInfo
      Returns:
      the response message of the recovery request
    • getNodeId

      public int getNodeId()
      Gets the node identifier
      Specified by:
      getNodeId in interface RecoveryInfo
      Returns:
      the node identifier
    • toString

      public String toString()
      Overrides:
      toString in class Object