Class ConversationsJoinParams
java.lang.Object
com.hubspot.slack.client.methods.params.conversations.ConversationsJoinParams
- All Implemented Interfaces:
ConversationsJoinParamsIF
@Generated(from="ConversationsJoinParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ConversationsJoinParams
extends Object
implements ConversationsJoinParamsIF
Immutable implementation of
ConversationsJoinParamsIF.
Use the builder to create immutable instances:
ConversationsJoinParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeConversationsJoinParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forConversationsJoinParams.static ConversationsJoinParamscopyOf(ConversationsJoinParamsIF instance) Creates an immutable copy of aConversationsJoinParamsIFvalue.booleanThis instance is equal to all instances ofConversationsJoinParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:channelId.toString()Prints the immutable valueConversationsJoinParamswith attribute values.final ConversationsJoinParamswithChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.
-
Method Details
-
getChannelId
- Specified by:
getChannelIdin interfaceConversationsJoinParamsIF- Returns:
- The value of the
channelIdattribute
-
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 ofConversationsJoinParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId. -
toString
Prints the immutable valueConversationsJoinParamswith attribute values. -
copyOf
Creates an immutable copy of aConversationsJoinParamsIFvalue. 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 ConversationsJoinParams instance
-
builder
Creates a builder forConversationsJoinParams.ConversationsJoinParams.builder() .setChannelId(String) // requiredchannelId.build();- Returns:
- A new ConversationsJoinParams builder
-