@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationSetTopicParamsIF"}) @Immutable public final class ConversationSetTopicParams extends Object implements ConversationSetTopicParamsIF
ConversationSetTopicParamsIF.
Use the builder to create immutable instances:
ConversationSetTopicParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationSetTopicParams.Builder
Builds instances of type
ConversationSetTopicParams. |
| Modifier and Type | Method and Description |
|---|---|
static ConversationSetTopicParams.Builder |
builder()
Creates a builder for
ConversationSetTopicParams. |
static ConversationSetTopicParams |
copyOf(ConversationSetTopicParamsIF instance)
Creates an immutable copy of a
ConversationSetTopicParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationSetTopicParams that have equal attribute values. |
String |
getChannelId() |
String |
getTopic() |
int |
hashCode()
Computes a hash code from attributes:
topic, channelId. |
String |
toString()
Prints the immutable value
ConversationSetTopicParams with attribute values. |
ConversationSetTopicParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ConversationSetTopicParams |
withTopic(String topic)
Copy the current immutable object by setting a value for the
topic attribute. |
public String getTopic()
getTopic in interface ConversationSetTopicParamsIFtopic attributepublic String getChannelId()
getChannelId in interface ConversationSetTopicParamsIFchannelId attributepublic final ConversationSetTopicParams withTopic(String topic)
topic attribute.
An equals check used to prevent copying of the same value by returning this.topic - A new value for topicthis objectpublic final ConversationSetTopicParams withChannelId(String channelId)
channelId attribute.
An equals check used to prevent copying of the same value by returning this.channelId - A new value for channelIdthis objectpublic boolean equals(@Nullable Object another)
ConversationSetTopicParams that have equal attribute values.public int hashCode()
topic, channelId.public String toString()
ConversationSetTopicParams with attribute values.public static ConversationSetTopicParams copyOf(ConversationSetTopicParamsIF instance)
ConversationSetTopicParamsIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ConversationSetTopicParams.Builder builder()
ConversationSetTopicParams.Copyright © 2020. All rights reserved.