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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationTemplate._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringbasic_paramsStringcreated_atlongidstatic Map<NotificationTemplate._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameStringquery_textStringskeletonStringtypeStringupdated_at -
Constructor Summary
Constructors Constructor Description NotificationTemplate()NotificationTemplate(NotificationTemplate other)Performs a deep copy on other.NotificationTemplate(String name, String type, String skeleton, String query_text, String basic_params) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(NotificationTemplate other)NotificationTemplatedeepCopy()booleanequals(NotificationTemplate that)booleanequals(Object that)NotificationTemplate._FieldsfieldForId(int fieldId)StringgetBasicParams()StringgetCreatedAt()Map<NotificationTemplate._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()NotificationTemplate._Fields[]getFields()ObjectgetFieldValue(NotificationTemplate._Fields field)longgetId()StringgetName()StringgetQueryText()StringgetSkeleton()StringgetType()StringgetUpdatedAt()inthashCode()booleanisSet(NotificationTemplate._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBasicParams()Returns true if field basic_params 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 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 otherwisebooleanisSetQueryText()Returns true if field query_text is set (has been assigned a value) and false otherwisebooleanisSetSkeleton()Returns true if field skeleton is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type 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)NotificationTemplatesetBasicParams(String basic_params)voidsetBasicParamsIsSet(boolean value)NotificationTemplatesetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(NotificationTemplate._Fields field, Object value)NotificationTemplatesetId(long id)voidsetIdIsSet(boolean value)NotificationTemplatesetName(String name)voidsetNameIsSet(boolean value)NotificationTemplatesetQueryText(String query_text)voidsetQueryTextIsSet(boolean value)NotificationTemplatesetSkeleton(String skeleton)voidsetSkeletonIsSet(boolean value)NotificationTemplatesetType(String type)voidsetTypeIsSet(boolean value)NotificationTemplatesetUpdatedAt(String updated_at)voidsetUpdatedAtIsSet(boolean value)StringtoString()voidunsetBasicParams()voidunsetCreatedAt()voidunsetId()voidunsetName()voidunsetQueryText()voidunsetSkeleton()voidunsetType()voidunsetUpdatedAt()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
public long id -
name
-
type
-
skeleton
-
query_text
-
basic_params
-
created_at
-
updated_at
-
metaDataMap
public static final Map<NotificationTemplate._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
NotificationTemplate
public NotificationTemplate() -
NotificationTemplate
-
NotificationTemplate
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NotificationTemplate,NotificationTemplate._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<NotificationTemplate,NotificationTemplate._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) -
getType
-
setType
-
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
-
setSkeleton
-
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
-
setQueryText
-
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
-
setBasicParams
-
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
-
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NotificationTemplate,NotificationTemplate._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NotificationTemplate,NotificationTemplate._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<NotificationTemplate,NotificationTemplate._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<NotificationTemplate>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NotificationTemplate,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:
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
-