Package io.nem.sdk.openapi.jersey2.model
Class CommunicationTimestampsDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.CommunicationTimestampsDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class CommunicationTimestampsDTO extends java.lang.ObjectCommunicationTimestampsDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_RECEIVE_TIMESTAMPstatic java.lang.StringJSON_PROPERTY_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
-
JSON_PROPERTY_SEND_TIMESTAMP
public static final java.lang.String JSON_PROPERTY_SEND_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECEIVE_TIMESTAMP
public static final java.lang.String JSON_PROPERTY_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
-
-