Class AdjustmentParams
java.lang.Object
dev.vality.fistful.p2p.adjustment.AdjustmentParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AdjustmentParams>,org.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class AdjustmentParams
extends Object
implements org.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>, Serializable, Cloneable, Comparable<AdjustmentParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdjustmentParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ChangeRequestchangeStringexternal_idStringidГлобально уникальный идентификатор корректировкиstatic Map<AdjustmentParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description AdjustmentParams()AdjustmentParams(AdjustmentParams other)Performs a deep copy on other.AdjustmentParams(String id, ChangeRequest change) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AdjustmentParams other)AdjustmentParamsdeepCopy()booleanequals(AdjustmentParams that)booleanequals(Object that)AdjustmentParams._FieldsfieldForId(int fieldId)ChangeRequestgetChange()StringgetExternalId()Map<AdjustmentParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AdjustmentParams._Fields[]getFields()ObjectgetFieldValue(AdjustmentParams._Fields field)StringgetId()Глобально уникальный идентификатор корректировкиinthashCode()booleanisSet(AdjustmentParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetChange()Returns true if field change 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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AdjustmentParamssetChange(ChangeRequest change)voidsetChangeIsSet(boolean value)AdjustmentParamssetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)voidsetFieldValue(AdjustmentParams._Fields field, Object value)AdjustmentParamssetId(String id)Глобально уникальный идентификатор корректировкиvoidsetIdIsSet(boolean value)StringtoString()voidunsetChange()voidunsetExternalId()voidunsetId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
Глобально уникальный идентификатор корректировки -
change
-
external_id
-
metaDataMap
public static final Map<AdjustmentParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
AdjustmentParams
public AdjustmentParams() -
AdjustmentParams
-
AdjustmentParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._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) -
getChange
-
setChange
-
unsetChange
public void unsetChange() -
isSetChange
public boolean isSetChange()Returns true if field change is set (has been assigned a value) and false otherwise -
setChangeIsSet
public void setChangeIsSet(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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._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<AdjustmentParams,AdjustmentParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AdjustmentParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AdjustmentParams,AdjustmentParams._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
-