Package dev.vality.damsel.domain
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.19.0)",
date="2024-08-02")
public class Wallet
extends Object
implements org.apache.thrift.TBase<Wallet,Wallet._Fields>, Serializable, Cloneable, Comparable<Wallet>
- 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 TypeFieldDescriptionstatic final Map<Wallet._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Map<Wallet._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Wallet._Fields field) getId()getName()inthashCode()booleanisSet(Wallet._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field account is set (has been assigned a value) and false otherwisebooleanReturns true if field blocking is set (has been assigned a value) and false otherwisebooleanReturns true if field contract is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at 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 name is set (has been assigned a value) and false otherwisebooleanReturns true if field suspension is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAccount(WalletAccount account) voidsetAccountIsSet(boolean value) setBlocking(Blocking blocking) voidsetBlockingIsSet(boolean value) setContract(String contract) voidsetContractIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) voidsetFieldValue(Wallet._Fields field, Object value) voidsetIdIsSet(boolean value) voidsetNameIsSet(boolean value) setSuspension(Suspension suspension) voidsetSuspensionIsSet(boolean value) toString()voidvoidvoidvoidvoidunsetId()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
name
-
created_at
-
blocking
-
suspension
-
contract
-
account
-
metaDataMap
-
-
Constructor Details
-
Wallet
public Wallet() -
Wallet
public Wallet(String id, String created_at, Blocking blocking, Suspension suspension, String contract) -
Wallet
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Wallet,Wallet._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Wallet,Wallet._Fields>
-
getId
-
setId
-
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
-
setName
-
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
-
setCreatedAt
-
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
-
setBlocking
-
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
-
setSuspension
-
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
-
setContract
-
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
-
setAccount
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Wallet,Wallet._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Wallet,Wallet._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<Wallet,Wallet._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Wallet>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Wallet,Wallet._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Wallet,Wallet._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Wallet,Wallet._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
-