Package org.stellar.sdk.xdr
Class ConfigUpgradeSetKey
java.lang.Object
org.stellar.sdk.xdr.ConfigUpgradeSetKey
ConfigUpgradeSetKey's original definition in the XDR file is:
struct ConfigUpgradeSetKey { Hash contractID; Hash contentHash; };
-
Nested Class Summary
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
ConfigUpgradeSetKey
public ConfigUpgradeSetKey() -
ConfigUpgradeSetKey
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getContractID
-
getContentHash
-
setContractID
-
setContentHash
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-