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.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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWallet._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description WalletAccountaccountBlockingblockingStringcontractStringcreated_atStringidstatic Map<Wallet._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameSuspensionsuspension -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Wallet other)WalletdeepCopy()booleanequals(Wallet that)booleanequals(Object that)Wallet._FieldsfieldForId(int fieldId)WalletAccountgetAccount()BlockinggetBlocking()StringgetContract()StringgetCreatedAt()Map<Wallet._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Wallet._Fields[]getFields()ObjectgetFieldValue(Wallet._Fields field)StringgetId()StringgetName()SuspensiongetSuspension()inthashCode()booleanisSet(Wallet._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAccount()Returns true if field account is set (has been assigned a value) and false otherwisebooleanisSetBlocking()Returns true if field blocking is set (has been assigned a value) and false otherwisebooleanisSetContract()Returns true if field contract is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns 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 otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetSuspension()Returns true if field suspension is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)WalletsetAccount(WalletAccount account)voidsetAccountIsSet(boolean value)WalletsetBlocking(Blocking blocking)voidsetBlockingIsSet(boolean value)WalletsetContract(String contract)voidsetContractIsSet(boolean value)WalletsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(Wallet._Fields field, Object value)WalletsetId(String id)voidsetIdIsSet(boolean value)WalletsetName(String name)voidsetNameIsSet(boolean value)WalletsetSuspension(Suspension suspension)voidsetSuspensionIsSet(boolean value)StringtoString()voidunsetAccount()voidunsetBlocking()voidunsetContract()voidunsetCreatedAt()voidunsetId()voidunsetName()voidunsetSuspension()voidvalidate()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
-