Package dev.vality.fistful
Class ForbiddenOperationCurrency
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.fistful.ForbiddenOperationCurrency
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ForbiddenOperationCurrency>,org.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class ForbiddenOperationCurrency
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>, Serializable, Cloneable, Comparable<ForbiddenOperationCurrency>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForbiddenOperationCurrency._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Set<CurrencyRef>allowed_currenciesCurrencyRefcurrencystatic Map<ForbiddenOperationCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description ForbiddenOperationCurrency()ForbiddenOperationCurrency(CurrencyRef currency, Set<CurrencyRef> allowed_currencies)ForbiddenOperationCurrency(ForbiddenOperationCurrency other)Performs a deep copy on other. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
currency
-
allowed_currencies
-
metaDataMap
public static final Map<ForbiddenOperationCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ForbiddenOperationCurrency
public ForbiddenOperationCurrency() -
ForbiddenOperationCurrency
-
ForbiddenOperationCurrency
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
getAllowedCurrenciesSize
public int getAllowedCurrenciesSize() -
getAllowedCurrenciesIterator
-
addToAllowedCurrencies
-
getAllowedCurrencies
-
setAllowedCurrencies
-
unsetAllowedCurrencies
public void unsetAllowedCurrencies() -
isSetAllowedCurrencies
public boolean isSetAllowedCurrencies()Returns true if field allowed_currencies is set (has been assigned a value) and false otherwise -
setAllowedCurrenciesIsSet
public void setAllowedCurrenciesIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._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<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ForbiddenOperationCurrency>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._Fields>
-
getFieldMetaData
public Map<ForbiddenOperationCurrency._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ForbiddenOperationCurrency,ForbiddenOperationCurrency._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
-