Package dev.vality.bouncer.context.v1
Class WalletAPIOperation
java.lang.Object
dev.vality.bouncer.context.v1.WalletAPIOperation
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WalletAPIOperation>,org.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-01-24")
public class WalletAPIOperation
extends Object
implements org.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>, Serializable, Cloneable, Comparable<WalletAPIOperation>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWalletAPIOperation._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description StringdepositStringdestinationStringfileStringidНапример: - "ListDestinations" - "GetIdentity" - "CreateWebhook"Stringidentitystatic Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpartyStringreportStringsourceStringw2w_transferStringwalletStringwebhookStringwithdrawal -
Constructor Summary
Constructors Constructor Description WalletAPIOperation()WalletAPIOperation(WalletAPIOperation other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(WalletAPIOperation other)WalletAPIOperationdeepCopy()booleanequals(WalletAPIOperation that)booleanequals(Object that)WalletAPIOperation._FieldsfieldForId(int fieldId)StringgetDeposit()StringgetDestination()Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()WalletAPIOperation._Fields[]getFields()ObjectgetFieldValue(WalletAPIOperation._Fields field)StringgetFile()StringgetId()Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"StringgetIdentity()StringgetParty()StringgetReport()StringgetSource()StringgetW2wTransfer()StringgetWallet()StringgetWebhook()StringgetWithdrawal()inthashCode()booleanisSet(WalletAPIOperation._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDeposit()Returns true if field deposit is set (has been assigned a value) and false otherwisebooleanisSetDestination()Returns true if field destination is set (has been assigned a value) and false otherwisebooleanisSetFile()Returns true if field file is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetIdentity()Returns true if field identity is set (has been assigned a value) and false otherwisebooleanisSetParty()Returns true if field party is set (has been assigned a value) and false otherwisebooleanisSetReport()Returns true if field report is set (has been assigned a value) and false otherwisebooleanisSetSource()Returns true if field source is set (has been assigned a value) and false otherwisebooleanisSetW2wTransfer()Returns true if field w2w_transfer is set (has been assigned a value) and false otherwisebooleanisSetWallet()Returns true if field wallet is set (has been assigned a value) and false otherwisebooleanisSetWebhook()Returns true if field webhook is set (has been assigned a value) and false otherwisebooleanisSetWithdrawal()Returns true if field withdrawal is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)WalletAPIOperationsetDeposit(String deposit)voidsetDepositIsSet(boolean value)WalletAPIOperationsetDestination(String destination)voidsetDestinationIsSet(boolean value)voidsetFieldValue(WalletAPIOperation._Fields field, Object value)WalletAPIOperationsetFile(String file)voidsetFileIsSet(boolean value)WalletAPIOperationsetId(String id)Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"WalletAPIOperationsetIdentity(String identity)voidsetIdentityIsSet(boolean value)voidsetIdIsSet(boolean value)WalletAPIOperationsetParty(String party)voidsetPartyIsSet(boolean value)WalletAPIOperationsetReport(String report)voidsetReportIsSet(boolean value)WalletAPIOperationsetSource(String source)voidsetSourceIsSet(boolean value)WalletAPIOperationsetW2wTransfer(String w2w_transfer)voidsetW2wTransferIsSet(boolean value)WalletAPIOperationsetWallet(String wallet)voidsetWalletIsSet(boolean value)WalletAPIOperationsetWebhook(String webhook)voidsetWebhookIsSet(boolean value)WalletAPIOperationsetWithdrawal(String withdrawal)voidsetWithdrawalIsSet(boolean value)StringtoString()voidunsetDeposit()voidunsetDestination()voidunsetFile()voidunsetId()voidunsetIdentity()voidunsetParty()voidunsetReport()voidunsetSource()voidunsetW2wTransfer()voidunsetWallet()voidunsetWebhook()voidunsetWithdrawal()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook" -
party
-
identity
-
wallet
-
withdrawal
-
deposit
-
w2w_transfer
-
source
-
destination
-
report
-
file
-
webhook
-
metaDataMap
public static final Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WalletAPIOperation
public WalletAPIOperation() -
WalletAPIOperation
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>
-
getId
Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook" -
setId
Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook" -
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getParty
-
setParty
-
unsetParty
public void unsetParty() -
isSetParty
public boolean isSetParty()Returns true if field party is set (has been assigned a value) and false otherwise -
setPartyIsSet
public void setPartyIsSet(boolean value) -
getIdentity
-
setIdentity
-
unsetIdentity
public void unsetIdentity() -
isSetIdentity
public boolean isSetIdentity()Returns true if field identity is set (has been assigned a value) and false otherwise -
setIdentityIsSet
public void setIdentityIsSet(boolean value) -
getWallet
-
setWallet
-
unsetWallet
public void unsetWallet() -
isSetWallet
public boolean isSetWallet()Returns true if field wallet is set (has been assigned a value) and false otherwise -
setWalletIsSet
public void setWalletIsSet(boolean value) -
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) -
getDeposit
-
setDeposit
-
unsetDeposit
public void unsetDeposit() -
isSetDeposit
public boolean isSetDeposit()Returns true if field deposit is set (has been assigned a value) and false otherwise -
setDepositIsSet
public void setDepositIsSet(boolean value) -
getW2wTransfer
-
setW2wTransfer
-
unsetW2wTransfer
public void unsetW2wTransfer() -
isSetW2wTransfer
public boolean isSetW2wTransfer()Returns true if field w2w_transfer is set (has been assigned a value) and false otherwise -
setW2wTransferIsSet
public void setW2wTransferIsSet(boolean value) -
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) -
getDestination
-
setDestination
-
unsetDestination
public void unsetDestination() -
isSetDestination
public boolean isSetDestination()Returns true if field destination is set (has been assigned a value) and false otherwise -
setDestinationIsSet
public void setDestinationIsSet(boolean value) -
getReport
-
setReport
-
unsetReport
public void unsetReport() -
isSetReport
public boolean isSetReport()Returns true if field report is set (has been assigned a value) and false otherwise -
setReportIsSet
public void setReportIsSet(boolean value) -
getFile
-
setFile
-
unsetFile
public void unsetFile() -
isSetFile
public boolean isSetFile()Returns true if field file is set (has been assigned a value) and false otherwise -
setFileIsSet
public void setFileIsSet(boolean value) -
getWebhook
-
setWebhook
-
unsetWebhook
public void unsetWebhook() -
isSetWebhook
public boolean isSetWebhook()Returns true if field webhook is set (has been assigned a value) and false otherwise -
setWebhookIsSet
public void setWebhookIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._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<WalletAPIOperation,WalletAPIOperation._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WalletAPIOperation>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>
-
getFieldMetaData
public Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._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
-