Class Adjustment
java.lang.Object
dev.vality.fistful.deposit.adjustment.Adjustment
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Adjustment>,org.apache.thrift.TBase<Adjustment,Adjustment._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class Adjustment
extends Object
implements org.apache.thrift.TBase<Adjustment,Adjustment._Fields>, Serializable, Cloneable, Comparable<Adjustment>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdjustment._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ChangesPlanchanges_planStringcreated_atlongdomain_revisionStringexternal_idStringidstatic Map<Adjustment._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringoperation_timestamplongparty_revisionStatusstatus -
Constructor Summary
Constructors Constructor Description Adjustment()Adjustment(Adjustment other)Performs a deep copy on other.Adjustment(String id, Status status, ChangesPlan changes_plan, String created_at, long domain_revision, long party_revision, String operation_timestamp) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Adjustment other)AdjustmentdeepCopy()booleanequals(Adjustment that)booleanequals(Object that)Adjustment._FieldsfieldForId(int fieldId)ChangesPlangetChangesPlan()StringgetCreatedAt()longgetDomainRevision()StringgetExternalId()Map<Adjustment._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Adjustment._Fields[]getFields()ObjectgetFieldValue(Adjustment._Fields field)StringgetId()StringgetOperationTimestamp()longgetPartyRevision()StatusgetStatus()inthashCode()booleanisSet(Adjustment._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetChangesPlan()Returns true if field changes_plan 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 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 otherwisebooleanisSetOperationTimestamp()Returns true if field operation_timestamp 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 otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AdjustmentsetChangesPlan(ChangesPlan changes_plan)voidsetChangesPlanIsSet(boolean value)AdjustmentsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)AdjustmentsetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)AdjustmentsetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(Adjustment._Fields field, Object value)AdjustmentsetId(String id)voidsetIdIsSet(boolean value)AdjustmentsetOperationTimestamp(String operation_timestamp)voidsetOperationTimestampIsSet(boolean value)AdjustmentsetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)AdjustmentsetStatus(Status status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetChangesPlan()voidunsetCreatedAt()voidunsetDomainRevision()voidunsetExternalId()voidunsetId()voidunsetOperationTimestamp()voidunsetPartyRevision()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
status
-
changes_plan
-
created_at
-
domain_revision
public long domain_revision -
party_revision
public long party_revision -
external_id
-
operation_timestamp
-
metaDataMap
-
-
Constructor Details
-
Adjustment
public Adjustment() -
Adjustment
public Adjustment(String id, Status status, ChangesPlan changes_plan, String created_at, long domain_revision, long party_revision, String operation_timestamp) -
Adjustment
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._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) -
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) -
getChangesPlan
-
setChangesPlan
-
unsetChangesPlan
public void unsetChangesPlan() -
isSetChangesPlan
public boolean isSetChangesPlan()Returns true if field changes_plan is set (has been assigned a value) and false otherwise -
setChangesPlanIsSet
public void setChangesPlanIsSet(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) -
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) -
getOperationTimestamp
-
setOperationTimestamp
-
unsetOperationTimestamp
public void unsetOperationTimestamp() -
isSetOperationTimestamp
public boolean isSetOperationTimestamp()Returns true if field operation_timestamp is set (has been assigned a value) and false otherwise -
setOperationTimestampIsSet
public void setOperationTimestampIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._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<Adjustment,Adjustment._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Adjustment>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Adjustment,Adjustment._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
-