Package org.stellar.sdk.xdr
Class ConfigUpgradeSetKey
java.lang.Object
org.stellar.sdk.xdr.ConfigUpgradeSetKey
- All Implemented Interfaces:
XdrElement
ConfigUpgradeSetKey's original definition in the XDR file is:
struct ConfigUpgradeSetKey { Hash contractID; Hash contentHash; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ConfigUpgradeSetKey
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ConfigUpgradeSetKey
fromXdrBase64
(String xdr) static ConfigUpgradeSetKey
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setContentHash
(Hash contentHash) void
setContractID
(Hash contractID) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ConfigUpgradeSetKey
public ConfigUpgradeSetKey() -
ConfigUpgradeSetKey
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractID
-
getContentHash
-
setContractID
-
setContentHash
-
equals
-
hashCode
public int hashCode() -
toString
-