Class AdjustmentState

java.lang.Object
dev.vality.fistful.w2w_transfer.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
  • Field Details

    • id

      public String id
    • status

      public Status status
    • changes_plan

      public ChangesPlan changes_plan
    • created_at

      public String created_at
    • domain_revision

      public long domain_revision
    • party_revision

      public long party_revision
    • external_id

      public String external_id
    • operation_timestamp

      public String 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

      public AdjustmentState​(AdjustmentState other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public AdjustmentState deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • getId

      public String getId()
    • setId

      public AdjustmentState setId​(String id)
    • 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

      public Status getStatus()
    • setStatus

      public AdjustmentState setStatus​(Status status)
    • 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

      public ChangesPlan getChangesPlan()
    • setChangesPlan

      public AdjustmentState setChangesPlan​(ChangesPlan changes_plan)
    • 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

      public String getCreatedAt()
    • setCreatedAt

      public AdjustmentState setCreatedAt​(String created_at)
    • 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

      public AdjustmentState setDomainRevision​(long domain_revision)
    • 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

      public AdjustmentState setPartyRevision​(long party_revision)
    • 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

      public String getExternalId()
    • setExternalId

      public AdjustmentState setExternalId​(String external_id)
    • 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

      public String getOperationTimestamp()
    • setOperationTimestamp

      public AdjustmentState setOperationTimestamp​(String operation_timestamp)
    • 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

      public void setFieldValue​(AdjustmentState._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • getFieldValue

      public Object getFieldValue​(AdjustmentState._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • isSet

      public boolean isSet​(AdjustmentState._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • equals

      public boolean equals​(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals​(AdjustmentState that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo​(AdjustmentState other)
      Specified by:
      compareTo in interface Comparable<AdjustmentState>
    • fieldForId

      public AdjustmentState._Fields fieldForId​(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • getFields

      public AdjustmentState._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • getFieldMetaData

      public Map<AdjustmentState._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<AdjustmentState,​AdjustmentState._Fields>
    • read

      public void read​(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException