Class Webhook

java.lang.Object
dev.vality.bouncer.context.v1.Webhook
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Webhook>, org.apache.thrift.TBase<Webhook,Webhook._Fields>, org.apache.thrift.TSerializable

public class Webhook extends Object implements org.apache.thrift.TBase<Webhook,Webhook._Fields>, Serializable, Cloneable, Comparable<Webhook>
See Also:
  • Field Details

  • Constructor Details

    • Webhook

      public Webhook()
    • Webhook

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

    • deepCopy

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

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

      public String getId()
    • setId

      public Webhook 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)
    • getParty

      public Entity getParty()
    • setParty

      public Webhook setParty(Entity party)
    • unsetParty

      public void unsetParty()
    • isSetParty

      public boolean isSetParty()
      Returns true if field party is set (has been assigned a value) and false otherwise
    • setPartyIsSet

      public void setPartyIsSet(boolean value)
    • getFilter

      public WebhookFilter getFilter()
    • setFilter

      public Webhook setFilter(WebhookFilter filter)
    • unsetFilter

      public void unsetFilter()
    • isSetFilter

      public boolean isSetFilter()
      Returns true if field filter is set (has been assigned a value) and false otherwise
    • setFilterIsSet

      public void setFilterIsSet(boolean value)
    • setFieldValue

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

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

      public boolean isSet(Webhook._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<Webhook,Webhook._Fields>
    • equals

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

      public boolean equals(Webhook that)
    • hashCode

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

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

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

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

      public Map<Webhook._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<Webhook,Webhook._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