Class Notification

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

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

  • Constructor Details

  • Method Details

    • deepCopy

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

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

      public long getId()
    • setId

      public Notification 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 Notification 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)
    • getSubject

      public String getSubject()
    • setSubject

      public Notification setSubject​(String subject)
    • unsetSubject

      public void unsetSubject()
    • isSetSubject

      public boolean isSetSubject()
      Returns true if field subject is set (has been assigned a value) and false otherwise
    • setSubjectIsSet

      public void setSubjectIsSet​(boolean value)
    • getCreatedAt

      public String getCreatedAt()
    • setCreatedAt

      public Notification 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 Notification 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)
    • getPeriod

      public String getPeriod()
    • setPeriod

      public Notification setPeriod​(String period)
    • unsetPeriod

      public void unsetPeriod()
    • isSetPeriod

      public boolean isSetPeriod()
      Returns true if field period is set (has been assigned a value) and false otherwise
    • setPeriodIsSet

      public void setPeriodIsSet​(boolean value)
    • getFrequency

      public String getFrequency()
    • setFrequency

      public Notification setFrequency​(String frequency)
    • unsetFrequency

      public void unsetFrequency()
    • isSetFrequency

      public boolean isSetFrequency()
      Returns true if field frequency is set (has been assigned a value) and false otherwise
    • setFrequencyIsSet

      public void setFrequencyIsSet​(boolean value)
    • getChannel

      public String getChannel()
    • setChannel

      public Notification setChannel​(String channel)
    • unsetChannel

      public void unsetChannel()
    • isSetChannel

      public boolean isSetChannel()
      Returns true if field channel is set (has been assigned a value) and false otherwise
    • setChannelIsSet

      public void setChannelIsSet​(boolean value)
    • getStatus

      public NotificationStatus getStatus()
      See Also:
      NotificationStatus
    • setStatus

      public Notification setStatus​(NotificationStatus status)
      See Also:
      NotificationStatus
    • unsetStatus

      public void unsetStatus()
    • isSetStatus

      public boolean isSetStatus()
      Returns true if field status is set (has been assigned a value) and false otherwise
    • setStatusIsSet

      public void setStatusIsSet​(boolean value)
    • getTemplateId

      public long getTemplateId()
    • setTemplateId

      public Notification setTemplateId​(long template_id)
    • unsetTemplateId

      public void unsetTemplateId()
    • isSetTemplateId

      public boolean isSetTemplateId()
      Returns true if field template_id is set (has been assigned a value) and false otherwise
    • setTemplateIdIsSet

      public void setTemplateIdIsSet​(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals​(Notification that)
    • hashCode

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

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

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

      public Notification._Fields[] getFields()
    • getFieldMetaData

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