Class NotificationTemplate

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

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

    • id

      public long id
    • name

      public String name
    • type

      public String type
    • skeleton

      public String skeleton
    • query_text

      public String query_text
    • basic_params

      public String basic_params
    • created_at

      public String created_at
    • updated_at

      public String updated_at
    • metaDataMap

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

    • NotificationTemplate

      public NotificationTemplate()
    • NotificationTemplate

      public NotificationTemplate​(String name, String type, String skeleton, String query_text, String basic_params)
    • NotificationTemplate

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

    • deepCopy

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

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

      public long getId()
    • setId

      public NotificationTemplate setId​(long 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)
    • getName

      public String getName()
    • setName

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

      public String getType()
    • setType

      public NotificationTemplate setType​(String type)
    • 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)
    • getSkeleton

      public String getSkeleton()
    • setSkeleton

      public NotificationTemplate setSkeleton​(String skeleton)
    • unsetSkeleton

      public void unsetSkeleton()
    • isSetSkeleton

      public boolean isSetSkeleton()
      Returns true if field skeleton is set (has been assigned a value) and false otherwise
    • setSkeletonIsSet

      public void setSkeletonIsSet​(boolean value)
    • getQueryText

      public String getQueryText()
    • setQueryText

      public NotificationTemplate setQueryText​(String query_text)
    • unsetQueryText

      public void unsetQueryText()
    • isSetQueryText

      public boolean isSetQueryText()
      Returns true if field query_text is set (has been assigned a value) and false otherwise
    • setQueryTextIsSet

      public void setQueryTextIsSet​(boolean value)
    • getBasicParams

      public String getBasicParams()
    • setBasicParams

      public NotificationTemplate setBasicParams​(String basic_params)
    • unsetBasicParams

      public void unsetBasicParams()
    • isSetBasicParams

      public boolean isSetBasicParams()
      Returns true if field basic_params is set (has been assigned a value) and false otherwise
    • setBasicParamsIsSet

      public void setBasicParamsIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public NotificationTemplate 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)
    • getUpdatedAt

      public String getUpdatedAt()
    • setUpdatedAt

      public NotificationTemplate setUpdatedAt​(String updated_at)
    • unsetUpdatedAt

      public void unsetUpdatedAt()
    • isSetUpdatedAt

      public boolean isSetUpdatedAt()
      Returns true if field updated_at is set (has been assigned a value) and false otherwise
    • setUpdatedAtIsSet

      public void setUpdatedAtIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(NotificationTemplate that)
    • hashCode

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

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

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

      public NotificationTemplate._Fields[] getFields()
    • getFieldMetaData

      public Map<NotificationTemplate._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