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-12-02")
public class WalletAPIOperation
extends Object
implements org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>, Serializable, Cloneable, Comparable<WalletAPIOperation>
See Also:
Serialized Form
  • Field Details

    • id

      public String id
      Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"
    • party

      public String party
    • identity

      public String identity
    • wallet

      public String wallet
    • withdrawal

      public String withdrawal
    • deposit

      public String deposit
    • w2w_transfer

      public String w2w_transfer
    • source

      public String source
    • destination

      public String destination
    • report

      public String report
    • file

      public String file
    • webhook

      public String webhook
    • metaDataMap

      public static final Map<WalletAPIOperation._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • WalletAPIOperation

      public WalletAPIOperation()
    • WalletAPIOperation

      public WalletAPIOperation​(WalletAPIOperation other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public WalletAPIOperation deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • getId

      public String getId()
      Например: - "ListDestinations" - "GetIdentity" - "CreateWebhook"
    • setId

      public WalletAPIOperation setId​(String id)
      Например: - "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

      public String getParty()
    • setParty

      public WalletAPIOperation setParty​(String party)
    • 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

      public String getIdentity()
    • setIdentity

      public WalletAPIOperation setIdentity​(String identity)
    • 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

      public String getWallet()
    • setWallet

      public WalletAPIOperation setWallet​(String wallet)
    • 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

      public String getWithdrawal()
    • setWithdrawal

      public WalletAPIOperation setWithdrawal​(String withdrawal)
    • 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

      public String getDeposit()
    • setDeposit

      public WalletAPIOperation setDeposit​(String deposit)
    • 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

      public String getW2wTransfer()
    • setW2wTransfer

      public WalletAPIOperation setW2wTransfer​(String w2w_transfer)
    • 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

      public String getSource()
    • setSource

      public WalletAPIOperation setSource​(String source)
    • 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

      public String getDestination()
    • setDestination

      public WalletAPIOperation setDestination​(String destination)
    • 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

      public String getReport()
    • setReport

      public WalletAPIOperation setReport​(String report)
    • 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

      public String getFile()
    • setFile

      public WalletAPIOperation setFile​(String file)
    • 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

      public String getWebhook()
    • setWebhook

      public WalletAPIOperation setWebhook​(String webhook)
    • 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

      public void setFieldValue​(WalletAPIOperation._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • getFieldValue

      public Object getFieldValue​(WalletAPIOperation._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • isSet

      public boolean isSet​(WalletAPIOperation._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(WalletAPIOperation that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(WalletAPIOperation other)
      Specified by:
      compareTo in interface Comparable<WalletAPIOperation>
    • fieldForId

      public WalletAPIOperation._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • getFields

      public WalletAPIOperation._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • getFieldMetaData

      public Map<WalletAPIOperation._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<WalletAPIOperation,​WalletAPIOperation._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException