Package dev.vality.xrates.rate
Class RatesSrv.GetConvertedAmount_args
java.lang.Object
dev.vality.xrates.rate.RatesSrv.GetConvertedAmount_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RatesSrv.GetConvertedAmount_args>,org.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- RatesSrv
public static class RatesSrv.GetConvertedAmount_args extends Object implements org.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>, Serializable, Cloneable, Comparable<RatesSrv.GetConvertedAmount_args>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRatesSrv.GetConvertedAmount_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<RatesSrv.GetConvertedAmount_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapConversionRequestrequestStringsource -
Constructor Summary
Constructors Constructor Description GetConvertedAmount_args()GetConvertedAmount_args(RatesSrv.GetConvertedAmount_args other)Performs a deep copy on other.GetConvertedAmount_args(String source, ConversionRequest request) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(RatesSrv.GetConvertedAmount_args other)RatesSrv.GetConvertedAmount_argsdeepCopy()booleanequals(RatesSrv.GetConvertedAmount_args that)booleanequals(Object that)RatesSrv.GetConvertedAmount_args._FieldsfieldForId(int fieldId)Map<RatesSrv.GetConvertedAmount_args._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()RatesSrv.GetConvertedAmount_args._Fields[]getFields()ObjectgetFieldValue(RatesSrv.GetConvertedAmount_args._Fields field)ConversionRequestgetRequest()StringgetSource()inthashCode()booleanisSet(RatesSrv.GetConvertedAmount_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetRequest()Returns true if field request is set (has been assigned a value) and false otherwisebooleanisSetSource()Returns true if field source is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(RatesSrv.GetConvertedAmount_args._Fields field, Object value)RatesSrv.GetConvertedAmount_argssetRequest(ConversionRequest request)voidsetRequestIsSet(boolean value)RatesSrv.GetConvertedAmount_argssetSource(String source)voidsetSourceIsSet(boolean value)StringtoString()voidunsetRequest()voidunsetSource()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
source
-
request
-
metaDataMap
public static final Map<RatesSrv.GetConvertedAmount_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
GetConvertedAmount_args
public GetConvertedAmount_args() -
GetConvertedAmount_args
-
GetConvertedAmount_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
getSource
-
setSource
-
unsetSource
public void unsetSource() -
isSetSource
public boolean isSetSource()Returns true if field source is set (has been assigned a value) and false otherwise -
setSourceIsSet
public void setSourceIsSet(boolean value) -
getRequest
-
setRequest
-
unsetRequest
public void unsetRequest() -
isSetRequest
public boolean isSetRequest()Returns true if field request is set (has been assigned a value) and false otherwise -
setRequestIsSet
public void setRequestIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_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<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RatesSrv.GetConvertedAmount_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_args._Fields>
-
getFieldMetaData
public Map<RatesSrv.GetConvertedAmount_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RatesSrv.GetConvertedAmount_args,RatesSrv.GetConvertedAmount_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
-