Class ConversationsRepliesParams
java.lang.Object
com.hubspot.slack.client.methods.params.conversations.ConversationsRepliesParams
- All Implemented Interfaces:
ConversationsRepliesParamsIF
@Generated(from="ConversationsRepliesParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ConversationsRepliesParams
extends Object
implements ConversationsRepliesParamsIF
Immutable implementation of
ConversationsRepliesParamsIF.
Use the builder to create immutable instances:
ConversationsRepliesParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeConversationsRepliesParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forConversationsRepliesParams.static ConversationsRepliesParamscopyOf(ConversationsRepliesParamsIF instance) Creates an immutable copy of aConversationsRepliesParamsIFvalue.booleanThis instance is equal to all instances ofConversationsRepliesParamsthat have equal attribute values.getTs()inthashCode()Computes a hash code from attributes:channel,ts.toString()Prints the immutable valueConversationsRepliesParamswith attribute values.withChannel(String value) Copy the current immutable object by setting a value for thechannelattribute.Copy the current immutable object by setting a value for thetsattribute.
-
Method Details
-
getChannel
- Specified by:
getChannelin interfaceConversationsRepliesParamsIF- Returns:
- The value of the
channelattribute
-
getTs
- Specified by:
getTsin interfaceConversationsRepliesParamsIF- Returns:
- The value of the
tsattribute
-
withChannel
Copy the current immutable object by setting a value for thechannelattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for channel- Returns:
- A modified copy or the
thisobject
-
withTs
Copy the current immutable object by setting a value for thetsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ts- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofConversationsRepliesParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channel,ts. -
toString
Prints the immutable valueConversationsRepliesParamswith attribute values. -
copyOf
Creates an immutable copy of aConversationsRepliesParamsIFvalue. 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 ConversationsRepliesParams instance
-
builder
Creates a builder forConversationsRepliesParams.ConversationsRepliesParams.builder() .setChannel(String) // requiredchannel.setTs(String) // requiredts.build();- Returns:
- A new ConversationsRepliesParams builder
-