public class SCSpecTypeResult extends java.lang.Object implements XdrElement
struct SCSpecTypeResult { SCSpecTypeDef okType; SCSpecTypeDef errorType; };
Modifier and Type | Class and Description |
---|---|
static class |
SCSpecTypeResult.SCSpecTypeResultBuilder |
Constructor and Description |
---|
SCSpecTypeResult() |
SCSpecTypeResult(SCSpecTypeDef okType,
SCSpecTypeDef errorType) |
Modifier and Type | Method and Description |
---|---|
static SCSpecTypeResult.SCSpecTypeResultBuilder |
builder() |
static SCSpecTypeResult |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCSpecTypeResult |
fromXdrBase64(java.lang.String xdr) |
static SCSpecTypeResult |
fromXdrByteArray(byte[] xdr) |
SCSpecTypeDef |
getErrorType() |
SCSpecTypeDef |
getOkType() |
int |
hashCode() |
void |
setErrorType(SCSpecTypeDef errorType) |
void |
setOkType(SCSpecTypeDef okType) |
SCSpecTypeResult.SCSpecTypeResultBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SCSpecTypeResult()
public SCSpecTypeResult(SCSpecTypeDef okType, SCSpecTypeDef errorType)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCSpecTypeResult decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCSpecTypeResult fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCSpecTypeResult fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCSpecTypeResult.SCSpecTypeResultBuilder builder()
public SCSpecTypeResult.SCSpecTypeResultBuilder toBuilder()
public SCSpecTypeDef getOkType()
public SCSpecTypeDef getErrorType()
public void setOkType(SCSpecTypeDef okType)
public void setErrorType(SCSpecTypeDef errorType)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object