Class RecoveryInfoImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.RecoveryInfoImpl
- All Implemented Interfaces:
RecoveryInfo
-
Constructor Summary
ConstructorsConstructorDescriptionRecoveryInfoImpl(long after, long timestamp, long requestId, int responseCode, String responseMessage, Integer nodeId) -
Method Summary
Modifier and TypeMethodDescriptionlonggetAfter()Gets the after timestamp of the recovery or 0 if full recovery was doneintGets the node identifierlongGets the request identifierintGets the response code of the recovery requestGets the response message of the recovery requestlongGets the timestamp specifying when the recovery was initiatedtoString()
-
Constructor Details
-
RecoveryInfoImpl
-
-
Method Details
-
getAfter
public long getAfter()Gets the after timestamp of the recovery or 0 if full recovery was done- Specified by:
getAfterin interfaceRecoveryInfo- 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:
getTimestampin interfaceRecoveryInfo- Returns:
- the timestamp specifying when the recovery was initiated
-
getRequestId
public long getRequestId()Gets the request identifier- Specified by:
getRequestIdin interfaceRecoveryInfo- Returns:
- the request identifier
-
getResponseCode
public int getResponseCode()Gets the response code of the recovery request- Specified by:
getResponseCodein interfaceRecoveryInfo- Returns:
- the response code of the recovery request
-
getResponseMessage
Gets the response message of the recovery request- Specified by:
getResponseMessagein interfaceRecoveryInfo- Returns:
- the response message of the recovery request
-
getNodeId
public int getNodeId()Gets the node identifier- Specified by:
getNodeIdin interfaceRecoveryInfo- Returns:
- the node identifier
-
toString
-