@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationInviteParamsIF"}) @Immutable public final class ConversationInviteParams extends Object implements ConversationInviteParamsIF
ConversationInviteParamsIF.
Use the builder to create immutable instances:
ConversationInviteParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationInviteParams.Builder
Builds instances of type
ConversationInviteParams. |
COMMA_JOINER| Modifier and Type | Method and Description |
|---|---|
static ConversationInviteParams.Builder |
builder()
Creates a builder for
ConversationInviteParams. |
static ConversationInviteParams |
copyOf(ConversationInviteParamsIF instance)
Creates an immutable copy of a
ConversationInviteParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationInviteParams that have equal attribute values. |
String |
getChannelId() |
List<String> |
getUsers() |
int |
hashCode()
Computes a hash code from attributes:
channelId, users. |
String |
toString()
Prints the immutable value
ConversationInviteParams with attribute values. |
ConversationInviteParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ConversationInviteParams |
withUsers(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
users. |
ConversationInviteParams |
withUsers(String... elements)
Copy the current immutable object with elements that replace the content of
users. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUsersBecauseSlackApiIsGarbagepublic String getChannelId()
getChannelId in interface HasChannelgetChannelId in interface ConversationInviteParamsIFchannelId attributepublic List<String> getUsers()
getUsers in interface ConversationInviteParamsIFusers attributepublic final ConversationInviteParams 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 ConversationInviteParams withUsers(String... elements)
users.elements - The elements to setthis objectpublic final ConversationInviteParams withUsers(Iterable<String> elements)
users.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of users elements to setthis objectpublic boolean equals(@Nullable Object another)
ConversationInviteParams that have equal attribute values.public int hashCode()
channelId, users.public String toString()
ConversationInviteParams with attribute values.public static ConversationInviteParams copyOf(ConversationInviteParamsIF instance)
ConversationInviteParamsIF 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 ConversationInviteParams.Builder builder()
ConversationInviteParams.Copyright © 2019. All rights reserved.