Class ChatGetPermalinkParams
java.lang.Object
com.hubspot.slack.client.methods.params.chat.ChatGetPermalinkParams
- All Implemented Interfaces:
HasChannel,ChatGetPermalinkParamsIF
@Generated(from="ChatGetPermalinkParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ChatGetPermalinkParams
extends Object
implements ChatGetPermalinkParamsIF
Immutable implementation of
ChatGetPermalinkParamsIF.
Use the builder to create immutable instances:
ChatGetPermalinkParams.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeChatGetPermalinkParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forChatGetPermalinkParams.static ChatGetPermalinkParamscopyOf(ChatGetPermalinkParamsIF instance) Creates an immutable copy of aChatGetPermalinkParamsIFvalue.booleanThis instance is equal to all instances ofChatGetPermalinkParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:channelId,messageTs.toString()Prints the immutable valueChatGetPermalinkParamswith attribute values.final ChatGetPermalinkParamswithChannelId(String value) Copy the current immutable object by setting a value for thechannelIdattribute.final ChatGetPermalinkParamswithMessageTs(String value) Copy the current immutable object by setting a value for themessageTsattribute.
-
Method Details
-
getChannelId
- Specified by:
getChannelIdin interfaceChatGetPermalinkParamsIF- Specified by:
getChannelIdin interfaceHasChannel- Returns:
- The value of the
channelIdattribute
-
getMessageTs
- Specified by:
getMessageTsin interfaceChatGetPermalinkParamsIF- Returns:
- The value of the
messageTsattribute
-
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
-
withMessageTs
Copy the current immutable object by setting a value for themessageTsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for messageTs- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofChatGetPermalinkParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:channelId,messageTs. -
toString
Prints the immutable valueChatGetPermalinkParamswith attribute values. -
copyOf
Creates an immutable copy of aChatGetPermalinkParamsIFvalue. 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 ChatGetPermalinkParams instance
-
builder
Creates a builder forChatGetPermalinkParams.ChatGetPermalinkParams.builder() .setChannelId(String) // requiredchannelId.setMessageTs(String) // requiredmessageTs.build();- Returns:
- A new ChatGetPermalinkParams builder
-