Package com.casper.sdk.model.entity
Class MessageTopic
- java.lang.Object
-
- com.casper.sdk.model.entity.MessageTopic
-
- Direct Known Subclasses:
Message
public class MessageTopic extends java.lang.ObjectCollection of named message topics.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageTopic.MessageTopicBuilder
-
Constructor Summary
Constructors Constructor Description MessageTopic()MessageTopic(java.lang.String topicName, java.lang.String topicNameHash)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageTopic.MessageTopicBuilderbuilder()java.lang.StringgetTopicName()The name of the topic on which the message was emitted on.java.lang.StringgetTopicNameHash()The hash of the name of the topic.voidsetTopicName(java.lang.String topicName)The name of the topic on which the message was emitted on.voidsetTopicNameHash(java.lang.String topicNameHash)The hash of the name of the topic.
-
-
-
Method Detail
-
builder
public static MessageTopic.MessageTopicBuilder builder()
-
getTopicName
public java.lang.String getTopicName()
The name of the topic on which the message was emitted on.
-
getTopicNameHash
public java.lang.String getTopicNameHash()
The hash of the name of the topic.
-
setTopicName
public void setTopicName(java.lang.String topicName)
The name of the topic on which the message was emitted on.
-
setTopicNameHash
public void setTopicNameHash(java.lang.String topicNameHash)
The hash of the name of the topic.
-
-