Class NewWalletParams

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class NewWalletParams extends Object implements org.apache.thrift.TBase<NewWalletParams,NewWalletParams._Fields>, Serializable, Cloneable, Comparable<NewWalletParams>
See Also:
  • Field Details

  • Constructor Details

    • NewWalletParams

      public NewWalletParams()
    • NewWalletParams

      public NewWalletParams(String identity_id, String name, CurrencyRef currency)
    • NewWalletParams

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

    • deepCopy

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

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

      public String getIdentityId()
    • setIdentityId

      public NewWalletParams setIdentityId(String identity_id)
    • 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)
    • getName

      public String getName()
    • setName

      public NewWalletParams 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)
    • getCurrency

      public CurrencyRef getCurrency()
    • setCurrency

      public NewWalletParams setCurrency(CurrencyRef currency)
    • unsetCurrency

      public void unsetCurrency()
    • isSetCurrency

      public boolean isSetCurrency()
      Returns true if field currency is set (has been assigned a value) and false otherwise
    • setCurrencyIsSet

      public void setCurrencyIsSet(boolean value)
    • getMetadataSize

      public int getMetadataSize()
    • putToMetadata

      public void putToMetadata(String key, Value val)
    • getMetadata

      public Map<String,Value> getMetadata()
    • setMetadata

      public NewWalletParams setMetadata(Map<String,Value> metadata)
    • unsetMetadata

      public void unsetMetadata()
    • isSetMetadata

      public boolean isSetMetadata()
      Returns true if field metadata is set (has been assigned a value) and false otherwise
    • setMetadataIsSet

      public void setMetadataIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(NewWalletParams that)
    • hashCode

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

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

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

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

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