@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","FindRepliesParamsIF"}) @Immutable public final class FindRepliesParams extends Object implements FindRepliesParamsIF
FindRepliesParamsIF.
Use the builder to create immutable instances:
FindRepliesParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
FindRepliesParams.Builder
Builds instances of type
FindRepliesParams. |
| Modifier and Type | Method and Description |
|---|---|
static FindRepliesParams.Builder |
builder()
Creates a builder for
FindRepliesParams. |
static FindRepliesParams |
copyOf(FindRepliesParamsIF instance)
Creates an immutable copy of a
FindRepliesParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
FindRepliesParams that have equal attribute values. |
String |
getChannelId() |
ChannelType |
getChannelType() |
String |
getThreadTs() |
int |
hashCode()
Computes a hash code from attributes:
channelId, channelType, threadTs. |
String |
toString()
Prints the immutable value
FindRepliesParams with attribute values. |
FindRepliesParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
FindRepliesParams |
withThreadTs(String threadTs)
Copy the current immutable object by setting a value for the
threadTs attribute. |
public String getChannelId()
getChannelId in interface HasChannelgetChannelId in interface FindRepliesParamsIFchannelId attributepublic ChannelType getChannelType()
getChannelType in interface FindRepliesParamsIFchannelType attributepublic String getThreadTs()
getThreadTs in interface ReplyQueryParamsthreadTs attributepublic final FindRepliesParams 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 final FindRepliesParams withThreadTs(String threadTs)
threadTs attribute.
An equals check used to prevent copying of the same value by returning this.threadTs - A new value for threadTsthis objectpublic boolean equals(@Nullable Object another)
FindRepliesParams that have equal attribute values.public int hashCode()
channelId, channelType, threadTs.public String toString()
FindRepliesParams with attribute values.public static FindRepliesParams copyOf(FindRepliesParamsIF instance)
FindRepliesParamsIF 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 FindRepliesParams.Builder builder()
FindRepliesParams.Copyright © 2019. All rights reserved.