Class Wallet

java.lang.Object
dev.vality.damsel.domain.Wallet
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Wallet>, org.apache.thrift.TBase<Wallet,​Wallet._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class Wallet
extends Object
implements org.apache.thrift.TBase<Wallet,​Wallet._Fields>, Serializable, Cloneable, Comparable<Wallet>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Wallet

      public Wallet()
    • Wallet

      public Wallet​(String id, String created_at, Blocking blocking, Suspension suspension, String contract)
    • Wallet

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

    • deepCopy

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

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

      public String getId()
    • setId

      public Wallet setId​(String id)
    • 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)
    • getName

      public String getName()
    • setName

      public Wallet setName​(String name)
    • unsetName

      public void unsetName()
    • isSetName

      public boolean isSetName()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • setNameIsSet

      public void setNameIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public Wallet setCreatedAt​(String created_at)
    • unsetCreatedAt

      public void unsetCreatedAt()
    • isSetCreatedAt

      public boolean isSetCreatedAt()
      Returns true if field created_at is set (has been assigned a value) and false otherwise
    • setCreatedAtIsSet

      public void setCreatedAtIsSet​(boolean value)
    • getBlocking

      public Blocking getBlocking()
    • setBlocking

      public Wallet setBlocking​(Blocking blocking)
    • unsetBlocking

      public void unsetBlocking()
    • isSetBlocking

      public boolean isSetBlocking()
      Returns true if field blocking is set (has been assigned a value) and false otherwise
    • setBlockingIsSet

      public void setBlockingIsSet​(boolean value)
    • getSuspension

      public Suspension getSuspension()
    • setSuspension

      public Wallet setSuspension​(Suspension suspension)
    • unsetSuspension

      public void unsetSuspension()
    • isSetSuspension

      public boolean isSetSuspension()
      Returns true if field suspension is set (has been assigned a value) and false otherwise
    • setSuspensionIsSet

      public void setSuspensionIsSet​(boolean value)
    • getContract

      public String getContract()
    • setContract

      public Wallet setContract​(String contract)
    • unsetContract

      public void unsetContract()
    • isSetContract

      public boolean isSetContract()
      Returns true if field contract is set (has been assigned a value) and false otherwise
    • setContractIsSet

      public void setContractIsSet​(boolean value)
    • getAccount

      public WalletAccount getAccount()
    • setAccount

      public Wallet setAccount​(WalletAccount account)
    • unsetAccount

      public void unsetAccount()
    • isSetAccount

      public boolean isSetAccount()
      Returns true if field account is set (has been assigned a value) and false otherwise
    • setAccountIsSet

      public void setAccountIsSet​(boolean value)
    • setFieldValue

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

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

      public boolean isSet​(Wallet._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<Wallet,​Wallet._Fields>
    • equals

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

      public boolean equals​(Wallet that)
    • hashCode

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

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

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

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

      public Map<Wallet._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<Wallet,​Wallet._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