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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotification._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description StringchannelStringcreated_atStringfrequencylongidstatic Map<Notification._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameStringperiodNotificationStatusstatusStringsubjectlongtemplate_idStringupdated_at -
Constructor Summary
Constructors Constructor Description Notification()Notification(Notification other)Performs a deep copy on other.Notification(String name, String subject, String period, String frequency, String channel, NotificationStatus status, long template_id) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Notification other)NotificationdeepCopy()booleanequals(Notification that)booleanequals(Object that)Notification._FieldsfieldForId(int fieldId)StringgetChannel()StringgetCreatedAt()Map<Notification._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Notification._Fields[]getFields()ObjectgetFieldValue(Notification._Fields field)StringgetFrequency()longgetId()StringgetName()StringgetPeriod()NotificationStatusgetStatus()StringgetSubject()longgetTemplateId()StringgetUpdatedAt()inthashCode()booleanisSet(Notification._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetChannel()Returns true if field channel is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetFrequency()Returns true if field frequency is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetPeriod()Returns true if field period is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisebooleanisSetSubject()Returns true if field subject is set (has been assigned a value) and false otherwisebooleanisSetTemplateId()Returns true if field template_id is set (has been assigned a value) and false otherwisebooleanisSetUpdatedAt()Returns true if field updated_at is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)NotificationsetChannel(String channel)voidsetChannelIsSet(boolean value)NotificationsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(Notification._Fields field, Object value)NotificationsetFrequency(String frequency)voidsetFrequencyIsSet(boolean value)NotificationsetId(long id)voidsetIdIsSet(boolean value)NotificationsetName(String name)voidsetNameIsSet(boolean value)NotificationsetPeriod(String period)voidsetPeriodIsSet(boolean value)NotificationsetStatus(NotificationStatus status)voidsetStatusIsSet(boolean value)NotificationsetSubject(String subject)voidsetSubjectIsSet(boolean value)NotificationsetTemplateId(long template_id)voidsetTemplateIdIsSet(boolean value)NotificationsetUpdatedAt(String updated_at)voidsetUpdatedAtIsSet(boolean value)StringtoString()voidunsetChannel()voidunsetCreatedAt()voidunsetFrequency()voidunsetId()voidunsetName()voidunsetPeriod()voidunsetStatus()voidunsetSubject()voidunsetTemplateId()voidunsetUpdatedAt()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
public long id -
name
-
subject
-
created_at
-
updated_at
-
period
-
frequency
-
channel
-
status
- See Also:
NotificationStatus
-
template_id
public long template_id -
metaDataMap
public static final Map<Notification._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Notification
public Notification() -
Notification
-
Notification
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
getId
public long getId() -
setId
-
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
-
setName
-
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
-
setSubject
-
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
-
setCreatedAt
-
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
-
setUpdatedAt
-
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
-
setPeriod
-
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
-
setFrequency
-
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
-
setChannel
-
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
- See Also:
NotificationStatus
-
setStatus
- 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
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Notification>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Notification,Notification._Fields>
-
getFields
-
getFieldMetaData
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-