Class FindRepliesParams
java.lang.Object
com.hubspot.slack.client.methods.params.channels.FindRepliesParams
- All Implemented Interfaces:
HasChannel,FindRepliesParamsIF,ReplyQueryParams
@Generated(from="FindRepliesParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class FindRepliesParams
extends Object
implements FindRepliesParamsIF
Immutable implementation of
FindRepliesParamsIF.
Use the builder to create immutable instances:
FindRepliesParams.builder().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FindRepliesParams.Builderbuilder()Creates a builder forFindRepliesParams.static FindRepliesParamscopyOf(FindRepliesParamsIF instance) Creates an immutable copy of aFindRepliesParamsIFvalue.booleanThis instance is equal to all instances ofFindRepliesParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:threadTs,channelId,channelType.toString()Prints the immutable valueFindRepliesParamswith attribute values.final FindRepliesParamswithChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.final FindRepliesParamswithThreadTs(String value) Copy the current immutable object by setting a value for thethreadTsattribute.
-
Method Details
-
getThreadTs
- Specified by:
getThreadTsin interfaceReplyQueryParams- Returns:
- The value of the
threadTsattribute
-
getChannelId
- Specified by:
getChannelIdin interfaceFindRepliesParamsIF- Specified by:
getChannelIdin interfaceHasChannel- Returns:
- The value of the
channelIdattribute
-
getChannelType
- Specified by:
getChannelTypein interfaceFindRepliesParamsIF- Returns:
- The computed-at-construction value of the
channelTypeattribute
-
withThreadTs
Copy the current immutable object by setting a value for thethreadTsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for threadTs- Returns:
- A modified copy or the
thisobject
-
withChannelId
Copy the current immutable object by setting a value for thechannelIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for channelId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofFindRepliesParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:threadTs,channelId,channelType. -
toString
Prints the immutable valueFindRepliesParamswith attribute values. -
copyOf
Creates an immutable copy of aFindRepliesParamsIFvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable FindRepliesParams instance
-
builder
Creates a builder forFindRepliesParams.FindRepliesParams.builder() .setThreadTs(String) // requiredthreadTs.setChannelId(String) // requiredchannelId.build();- Returns:
- A new FindRepliesParams builder
-