java.lang.Object
dev.vality.damsel.fraudbusters_notificator.Channel
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Channel>, org.apache.thrift.TBase<Channel,​Channel._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-11-14")
public class Channel
extends Object
implements org.apache.thrift.TBase<Channel,​Channel._Fields>, Serializable, Cloneable, Comparable<Channel>
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Channel

      public Channel()
    • Channel

      public Channel​(String name, ChannelType type, String destination)
    • Channel

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

    • deepCopy

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

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

      public String getName()
    • setName

      public Channel setName​(String name)
    • unsetName

      public void unsetName()
    • isSetName

      public boolean isSetName()
      Returns true if field name is set (has been assigned a value) and false otherwise
    • setNameIsSet

      public void setNameIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public Channel 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)
    • getType

      public ChannelType getType()
      See Also:
      ChannelType
    • setType

      public Channel setType​(ChannelType type)
      See Also:
      ChannelType
    • unsetType

      public void unsetType()
    • isSetType

      public boolean isSetType()
      Returns true if field type is set (has been assigned a value) and false otherwise
    • setTypeIsSet

      public void setTypeIsSet​(boolean value)
    • getDestination

      public String getDestination()
    • setDestination

      public Channel setDestination​(String destination)
    • unsetDestination

      public void unsetDestination()
    • isSetDestination

      public boolean isSetDestination()
      Returns true if field destination is set (has been assigned a value) and false otherwise
    • setDestinationIsSet

      public void setDestinationIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(Channel that)
    • hashCode

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

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

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

      public Channel._Fields[] getFields()
    • getFieldMetaData

      public Map<Channel._Fields,​org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • 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