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
public class WalletAPIOperation
extends Object
implements org.apache.thrift.TBase<WalletAPIOperation,WalletAPIOperation._Fields>, Serializable, Cloneable, Comparable<WalletAPIOperation>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionНапример: - "ListDestinations" - "GetIdentity" - "CreateWebhook"static final Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(WalletAPIOperation other) deepCopy()booleanequals(WalletAPIOperation that) booleanfieldForId(int fieldId) Map<WalletAPIOperation._Fields,org.apache.thrift.meta_data.FieldMetaData> getFile()getId()Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"getParty()inthashCode()booleanisSet(WalletAPIOperation._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field deposit is set (has been assigned a value) and false otherwisebooleanReturns true if field destination is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field identity is set (has been assigned a value) and false otherwisebooleanReturns true if field party is set (has been assigned a value) and false otherwisebooleanReturns true if field report is set (has been assigned a value) and false otherwisebooleanReturns true if field source is set (has been assigned a value) and false otherwisebooleanReturns true if field w2w_transfer is set (has been assigned a value) and false otherwisebooleanReturns true if field wallet is set (has been assigned a value) and false otherwisebooleanReturns true if field webhook is set (has been assigned a value) and false otherwisebooleanReturns true if field withdrawal is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setDeposit(String deposit) voidsetDepositIsSet(boolean value) setDestination(String destination) voidsetDestinationIsSet(boolean value) voidsetFieldValue(WalletAPIOperation._Fields field, Object value) voidsetFileIsSet(boolean value) Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"setIdentity(String identity) voidsetIdentityIsSet(boolean value) voidsetIdIsSet(boolean value) voidsetPartyIsSet(boolean value) voidsetReportIsSet(boolean value) voidsetSourceIsSet(boolean value) setW2wTransfer(String w2w_transfer) voidsetW2wTransferIsSet(boolean value) voidsetWalletIsSet(boolean value) setWebhook(String webhook) voidsetWebhookIsSet(boolean value) setWithdrawal(String withdrawal) voidsetWithdrawalIsSet(boolean value) toString()voidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()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
- 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
-