Class EventType

java.lang.Object
org.apache.thrift.TUnion<EventType,​EventType._Fields>
dev.vality.fistful.webhooker.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, org.apache.thrift.TBase<EventType,​EventType._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-06-27")
public class EventType
extends org.apache.thrift.TUnion<EventType,​EventType._Fields>
See Also:
Serialized Form
  • Field Details

    • metaDataMap

      public static final Map<EventType._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

  • Method Details

    • deepCopy

      public EventType deepCopy()
    • withdrawal

      public static EventType withdrawal​(WithdrawalEventType value)
    • destination

      public static EventType destination​(DestinationEventType value)
    • checkType

      protected void checkType​(EventType._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue​(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue​(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc​(EventType._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
    • enumForId

      protected EventType._Fields enumForId​(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<EventType,​EventType._Fields>
    • getFields

      public EventType._Fields[] getFields()
    • getFieldMetaData

      public Map<EventType._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public EventType._Fields fieldForId​(int fieldId)
    • getWithdrawal

      public WithdrawalEventType getWithdrawal()
    • setWithdrawal

      public void setWithdrawal​(WithdrawalEventType value)
    • getDestination

      public DestinationEventType getDestination()
    • setDestination

      public void setDestination​(DestinationEventType value)
    • isSetWithdrawal

      public boolean isSetWithdrawal()
    • isSetDestination

      public boolean isSetDestination()
    • equals

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

      public boolean equals​(EventType other)
    • compareTo

      public int compareTo​(EventType other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object