Package dev.vality.fistful.deposit
Class InconsistentDepositCurrency
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.fistful.deposit.InconsistentDepositCurrency
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InconsistentDepositCurrency>,org.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class InconsistentDepositCurrency
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>, Serializable, Cloneable, Comparable<InconsistentDepositCurrency>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInconsistentDepositCurrency._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CurrencyRefdeposit_currencystatic Map<InconsistentDepositCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCurrencyRefsource_currencyCurrencyRefwallet_currency -
Constructor Summary
Constructors Constructor Description InconsistentDepositCurrency()InconsistentDepositCurrency(CurrencyRef deposit_currency, CurrencyRef source_currency, CurrencyRef wallet_currency)InconsistentDepositCurrency(InconsistentDepositCurrency other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InconsistentDepositCurrency other)InconsistentDepositCurrencydeepCopy()booleanequals(InconsistentDepositCurrency that)booleanequals(Object that)InconsistentDepositCurrency._FieldsfieldForId(int fieldId)CurrencyRefgetDepositCurrency()Map<InconsistentDepositCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InconsistentDepositCurrency._Fields[]getFields()ObjectgetFieldValue(InconsistentDepositCurrency._Fields field)CurrencyRefgetSourceCurrency()CurrencyRefgetWalletCurrency()inthashCode()booleanisSet(InconsistentDepositCurrency._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDepositCurrency()Returns true if field deposit_currency is set (has been assigned a value) and false otherwisebooleanisSetSourceCurrency()Returns true if field source_currency is set (has been assigned a value) and false otherwisebooleanisSetWalletCurrency()Returns true if field wallet_currency is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InconsistentDepositCurrencysetDepositCurrency(CurrencyRef deposit_currency)voidsetDepositCurrencyIsSet(boolean value)voidsetFieldValue(InconsistentDepositCurrency._Fields field, Object value)InconsistentDepositCurrencysetSourceCurrency(CurrencyRef source_currency)voidsetSourceCurrencyIsSet(boolean value)InconsistentDepositCurrencysetWalletCurrency(CurrencyRef wallet_currency)voidsetWalletCurrencyIsSet(boolean value)StringtoString()voidunsetDepositCurrency()voidunsetSourceCurrency()voidunsetWalletCurrency()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
deposit_currency
-
source_currency
-
wallet_currency
-
metaDataMap
public static final Map<InconsistentDepositCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InconsistentDepositCurrency
public InconsistentDepositCurrency() -
InconsistentDepositCurrency
public InconsistentDepositCurrency(CurrencyRef deposit_currency, CurrencyRef source_currency, CurrencyRef wallet_currency) -
InconsistentDepositCurrency
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
getDepositCurrency
-
setDepositCurrency
-
unsetDepositCurrency
public void unsetDepositCurrency() -
isSetDepositCurrency
public boolean isSetDepositCurrency()Returns true if field deposit_currency is set (has been assigned a value) and false otherwise -
setDepositCurrencyIsSet
public void setDepositCurrencyIsSet(boolean value) -
getSourceCurrency
-
setSourceCurrency
-
unsetSourceCurrency
public void unsetSourceCurrency() -
isSetSourceCurrency
public boolean isSetSourceCurrency()Returns true if field source_currency is set (has been assigned a value) and false otherwise -
setSourceCurrencyIsSet
public void setSourceCurrencyIsSet(boolean value) -
getWalletCurrency
-
setWalletCurrency
-
unsetWalletCurrency
public void unsetWalletCurrency() -
isSetWalletCurrency
public boolean isSetWalletCurrency()Returns true if field wallet_currency is set (has been assigned a value) and false otherwise -
setWalletCurrencyIsSet
public void setWalletCurrencyIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._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<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InconsistentDepositCurrency>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._Fields>
-
getFieldMetaData
public Map<InconsistentDepositCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InconsistentDepositCurrency,InconsistentDepositCurrency._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
-