Class PeerData
- java.lang.Object
-
- com.syntifi.casper.sdk.model.peer.PeerData
-
public class PeerData extends java.lang.Object
Root class for a Casper peer info request- Since:
- 0.0.1
- See Also:
PeerData
-
-
Constructor Summary
Constructors Constructor Description PeerData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
The RPC API versionjava.util.List<PeerEntry>
getPeers()
List of @see PeerEntryint
hashCode()
void
setApiVersion(java.lang.String apiVersion)
The RPC API versionvoid
setPeers(java.util.List<PeerEntry> peers)
List of @see PeerEntryjava.lang.String
toString()
-
-
-
Method Detail
-
getApiVersion
public java.lang.String getApiVersion()
The RPC API version
-
getPeers
public java.util.List<PeerEntry> getPeers()
List of @see PeerEntry
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
The RPC API version
-
setPeers
public void setPeers(java.util.List<PeerEntry> peers)
List of @see PeerEntry
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-