Class CommunicationTimestampsDTO
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.model.CommunicationTimestampsDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2019-12-31T15:15:54.669445052-03:00[America/Argentina/Buenos_Aires]") public class CommunicationTimestampsDTO extends java.lang.ObjectCommunicationTimestampsDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERIALIZED_NAME_RECEIVE_TIMESTAMPstatic java.lang.StringSERIALIZED_NAME_SEND_TIMESTAMP
-
Constructor Summary
Constructors Constructor Description CommunicationTimestampsDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.math.BigIntegergetReceiveTimestamp()Number of seconds elapsed since the creation of the nemesis block.java.math.BigIntegergetSendTimestamp()Number of seconds elapsed since the creation of the nemesis block.inthashCode()CommunicationTimestampsDTOreceiveTimestamp(java.math.BigInteger receiveTimestamp)CommunicationTimestampsDTOsendTimestamp(java.math.BigInteger sendTimestamp)voidsetReceiveTimestamp(java.math.BigInteger receiveTimestamp)voidsetSendTimestamp(java.math.BigInteger sendTimestamp)java.lang.StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_SEND_TIMESTAMP
public static final java.lang.String SERIALIZED_NAME_SEND_TIMESTAMP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECEIVE_TIMESTAMP
public static final java.lang.String SERIALIZED_NAME_RECEIVE_TIMESTAMP
- See Also:
- Constant Field Values
-
-
Method Detail
-
sendTimestamp
public CommunicationTimestampsDTO sendTimestamp(java.math.BigInteger sendTimestamp)
-
getSendTimestamp
@Nullable public java.math.BigInteger getSendTimestamp()
Number of seconds elapsed since the creation of the nemesis block.- Returns:
- sendTimestamp
-
setSendTimestamp
public void setSendTimestamp(java.math.BigInteger sendTimestamp)
-
receiveTimestamp
public CommunicationTimestampsDTO receiveTimestamp(java.math.BigInteger receiveTimestamp)
-
getReceiveTimestamp
@Nullable public java.math.BigInteger getReceiveTimestamp()
Number of seconds elapsed since the creation of the nemesis block.- Returns:
- receiveTimestamp
-
setReceiveTimestamp
public void setReceiveTimestamp(java.math.BigInteger receiveTimestamp)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-