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