Package dev.vality.payout.manager
Class Event
java.lang.Object
dev.vality.payout.manager.Event
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Event>,org.apache.thrift.TBase<Event,Event._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-03-25")
public class Event
extends Object
implements org.apache.thrift.TBase<Event,Event._Fields>, Serializable, Cloneable, Comparable<Event>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringcreated_atstatic Map<Event._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPayoutpayoutPayoutChangepayout_changeStringpayout_idintsequence_id -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Event other)EventdeepCopy()booleanequals(Event that)booleanequals(Object that)Event._FieldsfieldForId(int fieldId)StringgetCreatedAt()Map<Event._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Event._Fields[]getFields()ObjectgetFieldValue(Event._Fields field)PayoutgetPayout()PayoutChangegetPayoutChange()StringgetPayoutId()intgetSequenceId()inthashCode()booleanisSet(Event._Fields field)Returns true if field corresponding to fieldID 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 otherwisebooleanisSetPayout()Returns true if field payout is set (has been assigned a value) and false otherwisebooleanisSetPayoutChange()Returns true if field payout_change is set (has been assigned a value) and false otherwisebooleanisSetPayoutId()Returns true if field payout_id is set (has been assigned a value) and false otherwisebooleanisSetSequenceId()Returns true if field sequence_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)EventsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(Event._Fields field, Object value)EventsetPayout(Payout payout)EventsetPayoutChange(PayoutChange payout_change)voidsetPayoutChangeIsSet(boolean value)EventsetPayoutId(String payout_id)voidsetPayoutIdIsSet(boolean value)voidsetPayoutIsSet(boolean value)EventsetSequenceId(int sequence_id)voidsetSequenceIdIsSet(boolean value)StringtoString()voidunsetCreatedAt()voidunsetPayout()voidunsetPayoutChange()voidunsetPayoutId()voidunsetSequenceId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payout_id
-
sequence_id
public int sequence_id -
created_at
-
payout_change
-
payout
-
metaDataMap
-
-
Constructor Details
-
Event
public Event() -
Event
public Event(String payout_id, int sequence_id, String created_at, PayoutChange payout_change, Payout payout) -
Event
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Event,Event._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Event,Event._Fields>
-
getPayoutId
-
setPayoutId
-
unsetPayoutId
public void unsetPayoutId() -
isSetPayoutId
public boolean isSetPayoutId()Returns true if field payout_id is set (has been assigned a value) and false otherwise -
setPayoutIdIsSet
public void setPayoutIdIsSet(boolean value) -
getSequenceId
public int getSequenceId() -
setSequenceId
-
unsetSequenceId
public void unsetSequenceId() -
isSetSequenceId
public boolean isSetSequenceId()Returns true if field sequence_id is set (has been assigned a value) and false otherwise -
setSequenceIdIsSet
public void setSequenceIdIsSet(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) -
getPayoutChange
-
setPayoutChange
-
unsetPayoutChange
public void unsetPayoutChange() -
isSetPayoutChange
public boolean isSetPayoutChange()Returns true if field payout_change is set (has been assigned a value) and false otherwise -
setPayoutChangeIsSet
public void setPayoutChangeIsSet(boolean value) -
getPayout
-
setPayout
-
unsetPayout
public void unsetPayout() -
isSetPayout
public boolean isSetPayout()Returns true if field payout is set (has been assigned a value) and false otherwise -
setPayoutIsSet
public void setPayoutIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Event,Event._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Event,Event._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<Event,Event._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Event>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Event,Event._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Event,Event._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Event,Event._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
-