Package dev.vality.fistful.fistful_stat
Class StatDepositRevert
java.lang.Object
dev.vality.fistful.fistful_stat.StatDepositRevert
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatDepositRevert>,org.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class StatDepositRevert
extends Object
implements org.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>, Serializable, Cloneable, Comparable<StatDepositRevert>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatDepositRevert._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashbodyStringcreated_atStringdeposit_idlongdomain_revisionStringexternal_idStringidstatic Map<StatDepositRevert._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongparty_revisionStringreasonStringsource_idDepositRevertStatusstatusStringwallet_id -
Constructor Summary
Constructors Constructor Description StatDepositRevert()StatDepositRevert(StatDepositRevert other)Performs a deep copy on other.StatDepositRevert(String id, String wallet_id, String source_id, DepositRevertStatus status, Cash body, String created_at, long domain_revision, long party_revision, String deposit_id) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(StatDepositRevert other)StatDepositRevertdeepCopy()booleanequals(StatDepositRevert that)booleanequals(Object that)StatDepositRevert._FieldsfieldForId(int fieldId)CashgetBody()StringgetCreatedAt()StringgetDepositId()longgetDomainRevision()StringgetExternalId()Map<StatDepositRevert._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()StatDepositRevert._Fields[]getFields()ObjectgetFieldValue(StatDepositRevert._Fields field)StringgetId()longgetPartyRevision()StringgetReason()StringgetSourceId()DepositRevertStatusgetStatus()StringgetWalletId()inthashCode()booleanisSet(StatDepositRevert._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBody()Returns true if field body 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 otherwisebooleanisSetDepositId()Returns true if field deposit_id is set (has been assigned a value) and false otherwisebooleanisSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanisSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwisebooleanisSetReason()Returns true if field reason is set (has been assigned a value) and false otherwisebooleanisSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)StatDepositRevertsetBody(Cash body)voidsetBodyIsSet(boolean value)StatDepositRevertsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)StatDepositRevertsetDepositId(String deposit_id)voidsetDepositIdIsSet(boolean value)StatDepositRevertsetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)StatDepositRevertsetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(StatDepositRevert._Fields field, Object value)StatDepositRevertsetId(String id)voidsetIdIsSet(boolean value)StatDepositRevertsetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)StatDepositRevertsetReason(String reason)voidsetReasonIsSet(boolean value)StatDepositRevertsetSourceId(String source_id)voidsetSourceIdIsSet(boolean value)StatDepositRevertsetStatus(DepositRevertStatus status)voidsetStatusIsSet(boolean value)StatDepositRevertsetWalletId(String wallet_id)voidsetWalletIdIsSet(boolean value)StringtoString()voidunsetBody()voidunsetCreatedAt()voidunsetDepositId()voidunsetDomainRevision()voidunsetExternalId()voidunsetId()voidunsetPartyRevision()voidunsetReason()voidunsetSourceId()voidunsetStatus()voidunsetWalletId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
wallet_id
-
source_id
-
status
-
body
-
created_at
-
domain_revision
public long domain_revision -
party_revision
public long party_revision -
reason
-
external_id
-
deposit_id
-
metaDataMap
public static final Map<StatDepositRevert._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
StatDepositRevert
public StatDepositRevert() -
StatDepositRevert
-
StatDepositRevert
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._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) -
getWalletId
-
setWalletId
-
unsetWalletId
public void unsetWalletId() -
isSetWalletId
public boolean isSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwise -
setWalletIdIsSet
public void setWalletIdIsSet(boolean value) -
getSourceId
-
setSourceId
-
unsetSourceId
public void unsetSourceId() -
isSetSourceId
public boolean isSetSourceId()Returns true if field source_id is set (has been assigned a value) and false otherwise -
setSourceIdIsSet
public void setSourceIdIsSet(boolean value) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getBody
-
setBody
-
unsetBody
public void unsetBody() -
isSetBody
public boolean isSetBody()Returns true if field body is set (has been assigned a value) and false otherwise -
setBodyIsSet
public void setBodyIsSet(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) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getPartyRevision
public long getPartyRevision() -
setPartyRevision
-
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(boolean value) -
getReason
-
setReason
-
unsetReason
public void unsetReason() -
isSetReason
public boolean isSetReason()Returns true if field reason is set (has been assigned a value) and false otherwise -
setReasonIsSet
public void setReasonIsSet(boolean value) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
getDepositId
-
setDepositId
-
unsetDepositId
public void unsetDepositId() -
isSetDepositId
public boolean isSetDepositId()Returns true if field deposit_id is set (has been assigned a value) and false otherwise -
setDepositIdIsSet
public void setDepositIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._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<StatDepositRevert,StatDepositRevert._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatDepositRevert>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatDepositRevert,StatDepositRevert._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
-