Package org.stellar.sdk.xdr
Class SCSpecEventParamV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecEventParamV0
- All Implemented Interfaces:
XdrElement
SCSpecEventParamV0's original definition in the XDR file is:
struct SCSpecEventParamV0
{
string doc<SC_SPEC_DOC_LIMIT>;
string name<30>;
SCSpecTypeDef type;
SCSpecEventParamLocationV0 location;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSCSpecEventParamV0(XdrString doc, XdrString name, SCSpecTypeDef type, SCSpecEventParamLocationV0 location) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCSpecEventParamV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCSpecEventParamV0fromXdrBase64(String xdr) static SCSpecEventParamV0fromXdrByteArray(byte[] xdr) getDoc()getName()getType()inthashCode()voidvoidsetLocation(SCSpecEventParamLocationV0 location) voidvoidsetType(SCSpecTypeDef type) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSpecEventParamV0
public SCSpecEventParamV0() -
SCSpecEventParamV0
public SCSpecEventParamV0(XdrString doc, XdrString name, SCSpecTypeDef type, SCSpecEventParamLocationV0 location)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDoc
-
getName
-
getType
-
getLocation
-
setDoc
-
setName
-
setType
-
setLocation
-
equals
-
hashCode
public int hashCode() -
toString
-