Class AdapterSrv.ProcessWithdrawal_args
java.lang.Object
dev.vality.damsel.withdrawals.provider_adapter.AdapterSrv.ProcessWithdrawal_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AdapterSrv.ProcessWithdrawal_args>,org.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- AdapterSrv
public static class AdapterSrv.ProcessWithdrawal_args extends Object implements org.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>, Serializable, Cloneable, Comparable<AdapterSrv.ProcessWithdrawal_args>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdapterSrv.ProcessWithdrawal_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<AdapterSrv.ProcessWithdrawal_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapMap<String,String>optsValuestateWithdrawalwithdrawal -
Constructor Summary
Constructors Constructor Description ProcessWithdrawal_args()ProcessWithdrawal_args(AdapterSrv.ProcessWithdrawal_args other)Performs a deep copy on other.ProcessWithdrawal_args(Withdrawal withdrawal, Value state, Map<String,String> opts) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AdapterSrv.ProcessWithdrawal_args other)AdapterSrv.ProcessWithdrawal_argsdeepCopy()booleanequals(AdapterSrv.ProcessWithdrawal_args that)booleanequals(Object that)AdapterSrv.ProcessWithdrawal_args._FieldsfieldForId(int fieldId)Map<AdapterSrv.ProcessWithdrawal_args._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AdapterSrv.ProcessWithdrawal_args._Fields[]getFields()ObjectgetFieldValue(AdapterSrv.ProcessWithdrawal_args._Fields field)Map<String,String>getOpts()intgetOptsSize()ValuegetState()WithdrawalgetWithdrawal()inthashCode()booleanisSet(AdapterSrv.ProcessWithdrawal_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetOpts()Returns true if field opts is set (has been assigned a value) and false otherwisebooleanisSetState()Returns true if field state is set (has been assigned a value) and false otherwisebooleanisSetWithdrawal()Returns true if field withdrawal is set (has been assigned a value) and false otherwisevoidputToOpts(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(AdapterSrv.ProcessWithdrawal_args._Fields field, Object value)AdapterSrv.ProcessWithdrawal_argssetOpts(Map<String,String> opts)voidsetOptsIsSet(boolean value)AdapterSrv.ProcessWithdrawal_argssetState(Value state)voidsetStateIsSet(boolean value)AdapterSrv.ProcessWithdrawal_argssetWithdrawal(Withdrawal withdrawal)voidsetWithdrawalIsSet(boolean value)StringtoString()voidunsetOpts()voidunsetState()voidunsetWithdrawal()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
withdrawal
-
state
-
opts
-
metaDataMap
public static final Map<AdapterSrv.ProcessWithdrawal_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ProcessWithdrawal_args
public ProcessWithdrawal_args() -
ProcessWithdrawal_args
-
ProcessWithdrawal_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
getWithdrawal
-
setWithdrawal
-
unsetWithdrawal
public void unsetWithdrawal() -
isSetWithdrawal
public boolean isSetWithdrawal()Returns true if field withdrawal is set (has been assigned a value) and false otherwise -
setWithdrawalIsSet
public void setWithdrawalIsSet(boolean value) -
getState
-
setState
-
unsetState
public void unsetState() -
isSetState
public boolean isSetState()Returns true if field state is set (has been assigned a value) and false otherwise -
setStateIsSet
public void setStateIsSet(boolean value) -
getOptsSize
public int getOptsSize() -
putToOpts
-
getOpts
-
setOpts
-
unsetOpts
public void unsetOpts() -
isSetOpts
public boolean isSetOpts()Returns true if field opts is set (has been assigned a value) and false otherwise -
setOptsIsSet
public void setOptsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AdapterSrv.ProcessWithdrawal_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
getFieldMetaData
public Map<AdapterSrv.ProcessWithdrawal_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AdapterSrv.ProcessWithdrawal_args,AdapterSrv.ProcessWithdrawal_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-