Class AdjustmentState
java.lang.Object
dev.vality.fistful.p2p.adjustment.AdjustmentState
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AdjustmentState>,org.apache.thrift.TBase<AdjustmentState,AdjustmentState._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class AdjustmentState
extends Object
implements org.apache.thrift.TBase<AdjustmentState,AdjustmentState._Fields>, Serializable, Cloneable, Comparable<AdjustmentState>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdjustmentState._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<AdjustmentState._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringoperation_timestamplongparty_revisionStatusstatus -
Constructor Summary
Constructors Constructor Description AdjustmentState()AdjustmentState(AdjustmentState other)Performs a deep copy on other.AdjustmentState(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(AdjustmentState other)AdjustmentStatedeepCopy()booleanequals(AdjustmentState that)booleanequals(Object that)AdjustmentState._FieldsfieldForId(int fieldId)ChangesPlangetChangesPlan()StringgetCreatedAt()longgetDomainRevision()StringgetExternalId()Map<AdjustmentState._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AdjustmentState._Fields[]getFields()ObjectgetFieldValue(AdjustmentState._Fields field)StringgetId()StringgetOperationTimestamp()longgetPartyRevision()StatusgetStatus()inthashCode()booleanisSet(AdjustmentState._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)AdjustmentStatesetChangesPlan(ChangesPlan changes_plan)voidsetChangesPlanIsSet(boolean value)AdjustmentStatesetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)AdjustmentStatesetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)AdjustmentStatesetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(AdjustmentState._Fields field, Object value)AdjustmentStatesetId(String id)voidsetIdIsSet(boolean value)AdjustmentStatesetOperationTimestamp(String operation_timestamp)voidsetOperationTimestampIsSet(boolean value)AdjustmentStatesetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)AdjustmentStatesetStatus(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
public static final Map<AdjustmentState._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AdjustmentState
public AdjustmentState() -
AdjustmentState
public AdjustmentState(String id, Status status, ChangesPlan changes_plan, String created_at, long domain_revision, long party_revision, String operation_timestamp) -
AdjustmentState
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._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<AdjustmentState,AdjustmentState._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._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<AdjustmentState,AdjustmentState._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AdjustmentState>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AdjustmentState,AdjustmentState._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
-