Package dev.vality.damsel.domain
Class SystemAccount
java.lang.Object
dev.vality.damsel.domain.SystemAccount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SystemAccount>,org.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class SystemAccount
extends Object
implements org.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>, Serializable, Cloneable, Comparable<SystemAccount>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSystemAccount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<SystemAccount._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongsettlementlongsubagent -
Constructor Summary
Constructors Constructor Description SystemAccount()SystemAccount(long settlement)SystemAccount(SystemAccount other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(SystemAccount other)SystemAccountdeepCopy()booleanequals(SystemAccount that)booleanequals(Object that)SystemAccount._FieldsfieldForId(int fieldId)Map<SystemAccount._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()SystemAccount._Fields[]getFields()ObjectgetFieldValue(SystemAccount._Fields field)longgetSettlement()longgetSubagent()inthashCode()booleanisSet(SystemAccount._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSettlement()Returns true if field settlement is set (has been assigned a value) and false otherwisebooleanisSetSubagent()Returns true if field subagent is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(SystemAccount._Fields field, Object value)SystemAccountsetSettlement(long settlement)voidsetSettlementIsSet(boolean value)SystemAccountsetSubagent(long subagent)voidsetSubagentIsSet(boolean value)StringtoString()voidunsetSettlement()voidunsetSubagent()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
settlement
public long settlement -
subagent
public long subagent -
metaDataMap
public static final Map<SystemAccount._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SystemAccount
public SystemAccount() -
SystemAccount
public SystemAccount(long settlement) -
SystemAccount
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>
-
getSettlement
public long getSettlement() -
setSettlement
-
unsetSettlement
public void unsetSettlement() -
isSetSettlement
public boolean isSetSettlement()Returns true if field settlement is set (has been assigned a value) and false otherwise -
setSettlementIsSet
public void setSettlementIsSet(boolean value) -
getSubagent
public long getSubagent() -
setSubagent
-
unsetSubagent
public void unsetSubagent() -
isSetSubagent
public boolean isSetSubagent()Returns true if field subagent is set (has been assigned a value) and false otherwise -
setSubagentIsSet
public void setSubagentIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._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<SystemAccount,SystemAccount._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SystemAccount>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<SystemAccount,SystemAccount._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
-