Package dev.vality.fistful.p2p_transfer
Class QuoteParams
java.lang.Object
dev.vality.fistful.p2p_transfer.QuoteParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QuoteParams>,org.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class QuoteParams
extends Object
implements org.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>, Serializable, Cloneable, Comparable<QuoteParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuoteParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashbodyStringidentity_idstatic Map<QuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapResourcereceiverResourcesender -
Constructor Summary
Constructors Constructor Description QuoteParams()QuoteParams(Cash body, String identity_id, Resource sender, Resource receiver)QuoteParams(QuoteParams other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(QuoteParams other)QuoteParamsdeepCopy()booleanequals(QuoteParams that)booleanequals(Object that)QuoteParams._FieldsfieldForId(int fieldId)CashgetBody()Map<QuoteParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()QuoteParams._Fields[]getFields()ObjectgetFieldValue(QuoteParams._Fields field)StringgetIdentityId()ResourcegetReceiver()ResourcegetSender()inthashCode()booleanisSet(QuoteParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body is set (has been assigned a value) and false otherwisebooleanisSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwisebooleanisSetReceiver()Returns true if field receiver is set (has been assigned a value) and false otherwisebooleanisSetSender()Returns true if field sender is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)QuoteParamssetBody(Cash body)voidsetBodyIsSet(boolean value)voidsetFieldValue(QuoteParams._Fields field, Object value)QuoteParamssetIdentityId(String identity_id)voidsetIdentityIdIsSet(boolean value)QuoteParamssetReceiver(Resource receiver)voidsetReceiverIsSet(boolean value)QuoteParamssetSender(Resource sender)voidsetSenderIsSet(boolean value)StringtoString()voidunsetBody()voidunsetIdentityId()voidunsetReceiver()voidunsetSender()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
body
-
identity_id
-
sender
-
receiver
-
metaDataMap
-
-
Constructor Details
-
QuoteParams
public QuoteParams() -
QuoteParams
-
QuoteParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getBody
-
setBody
-
unsetBody
public void unsetBody() -
isSetBody
public boolean isSetBody()Returns true if field body is set (has been assigned a value) and false otherwise -
setBodyIsSet
public void setBodyIsSet(boolean value) -
getIdentityId
-
setIdentityId
-
unsetIdentityId
public void unsetIdentityId() -
isSetIdentityId
public boolean isSetIdentityId()Returns true if field identity_id is set (has been assigned a value) and false otherwise -
setIdentityIdIsSet
public void setIdentityIdIsSet(boolean value) -
getSender
-
setSender
-
unsetSender
public void unsetSender() -
isSetSender
public boolean isSetSender()Returns true if field sender is set (has been assigned a value) and false otherwise -
setSenderIsSet
public void setSenderIsSet(boolean value) -
getReceiver
-
setReceiver
-
unsetReceiver
public void unsetReceiver() -
isSetReceiver
public boolean isSetReceiver()Returns true if field receiver is set (has been assigned a value) and false otherwise -
setReceiverIsSet
public void setReceiverIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._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<QuoteParams,QuoteParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<QuoteParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<QuoteParams,QuoteParams._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
-