Class Channel
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannel._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringcreated_atStringdestinationstatic Map<Channel._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameChannelTypetype -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Channel other)ChanneldeepCopy()booleanequals(Channel that)booleanequals(Object that)Channel._FieldsfieldForId(int fieldId)StringgetCreatedAt()StringgetDestination()Map<Channel._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Channel._Fields[]getFields()ObjectgetFieldValue(Channel._Fields field)StringgetName()ChannelTypegetType()inthashCode()booleanisSet(Channel._Fields field)Returns true if field corresponding to fieldID 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 otherwisebooleanisSetDestination()Returns true if field destination is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ChannelsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)ChannelsetDestination(String destination)voidsetDestinationIsSet(boolean value)voidsetFieldValue(Channel._Fields field, Object value)ChannelsetName(String name)voidsetNameIsSet(boolean value)ChannelsetType(ChannelType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetCreatedAt()voidunsetDestination()voidunsetName()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
name
-
created_at
-
type
- See Also:
ChannelType
-
destination
-
metaDataMap
-
-
Constructor Details
-
Channel
public Channel() -
Channel
-
Channel
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Channel,Channel._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Channel,Channel._Fields>
-
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) -
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) -
getType
- See Also:
ChannelType
-
setType
- 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
-
setDestination
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Channel,Channel._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Channel,Channel._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<Channel,Channel._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Channel>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Channel,Channel._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
-