@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChatGetPermalinkParamsIF"}) @Immutable public final class ChatGetPermalinkParams extends Object implements ChatGetPermalinkParamsIF
ChatGetPermalinkParamsIF.
Use the builder to create immutable instances:
ChatGetPermalinkParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatGetPermalinkParams.Builder
Builds instances of type
ChatGetPermalinkParams. |
| Modifier and Type | Method and Description |
|---|---|
static ChatGetPermalinkParams.Builder |
builder()
Creates a builder for
ChatGetPermalinkParams. |
static ChatGetPermalinkParams |
copyOf(ChatGetPermalinkParamsIF instance)
Creates an immutable copy of a
ChatGetPermalinkParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChatGetPermalinkParams that have equal attribute values. |
String |
getChannelId() |
String |
getMessageTs() |
int |
hashCode()
Computes a hash code from attributes:
channelId, messageTs. |
String |
toString()
Prints the immutable value
ChatGetPermalinkParams with attribute values. |
ChatGetPermalinkParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ChatGetPermalinkParams |
withMessageTs(String messageTs)
Copy the current immutable object by setting a value for the
messageTs attribute. |
public String getChannelId()
getChannelId in interface HasChannelgetChannelId in interface ChatGetPermalinkParamsIFchannelId attributepublic String getMessageTs()
getMessageTs in interface ChatGetPermalinkParamsIFmessageTs attributepublic final ChatGetPermalinkParams withChannelId(String channelId)
channelId attribute.
An equals check used to prevent copying of the same value by returning this.channelId - A new value for channelIdthis objectpublic final ChatGetPermalinkParams withMessageTs(String messageTs)
messageTs attribute.
An equals check used to prevent copying of the same value by returning this.messageTs - A new value for messageTsthis objectpublic boolean equals(@Nullable Object another)
ChatGetPermalinkParams that have equal attribute values.public int hashCode()
channelId, messageTs.public String toString()
ChatGetPermalinkParams with attribute values.public static ChatGetPermalinkParams copyOf(ChatGetPermalinkParamsIF instance)
ChatGetPermalinkParamsIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ChatGetPermalinkParams.Builder builder()
ChatGetPermalinkParams.Copyright © 2019. All rights reserved.