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