@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SlackMemberLeftChannelEventIF"}) @Immutable public final class SlackMemberLeftChannelEvent extends Object implements SlackMemberLeftChannelEventIF
SlackMemberLeftChannelEventIF.
Use the builder to create immutable instances:
SlackMemberLeftChannelEvent.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackMemberLeftChannelEvent.Builder
Builds instances of type
SlackMemberLeftChannelEvent. |
| Modifier and Type | Method and Description |
|---|---|
static SlackMemberLeftChannelEvent.Builder |
builder()
Creates a builder for
SlackMemberLeftChannelEvent. |
static SlackMemberLeftChannelEvent |
copyOf(SlackMemberLeftChannelEventIF instance)
Creates an immutable copy of a
SlackMemberLeftChannelEventIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SlackMemberLeftChannelEvent that have equal attribute values. |
String |
getChannelId() |
ChannelType |
getChannelType() |
String |
getTeam() |
SlackEventType |
getType() |
String |
getUserId() |
int |
hashCode()
Computes a hash code from attributes:
userId, channelId, channelType, team, type. |
String |
toString()
Prints the immutable value
SlackMemberLeftChannelEvent with attribute values. |
SlackMemberLeftChannelEvent |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
SlackMemberLeftChannelEvent |
withChannelType(ChannelType channelType)
Copy the current immutable object by setting a value for the
channelType attribute. |
SlackMemberLeftChannelEvent |
withTeam(String team)
Copy the current immutable object by setting a value for the
team attribute. |
SlackMemberLeftChannelEvent |
withType(SlackEventType type)
Copy the current immutable object by setting a value for the
type attribute. |
SlackMemberLeftChannelEvent |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTstoDetailedEventpublic String getUserId()
getUserId in interface SlackMemberLeftChannelEventIFuserId attributepublic String getChannelId()
getChannelId in interface SlackMemberLeftChannelEventIFchannelId attributepublic ChannelType getChannelType()
getChannelType in interface SlackMemberLeftChannelEventIFchannelType attributepublic String getTeam()
getTeam in interface SlackMemberLeftChannelEventIFteam attributepublic SlackEventType getType()
getType in interface SlackEventtype attributepublic final SlackMemberLeftChannelEvent withUserId(String userId)
userId attribute.
An equals check used to prevent copying of the same value by returning this.userId - A new value for userIdthis objectpublic final SlackMemberLeftChannelEvent 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 SlackMemberLeftChannelEvent withChannelType(ChannelType channelType)
channelType attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.channelType - A new value for channelTypethis objectpublic final SlackMemberLeftChannelEvent withTeam(String team)
team attribute.
An equals check used to prevent copying of the same value by returning this.team - A new value for teamthis objectpublic final SlackMemberLeftChannelEvent withType(SlackEventType type)
type attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.type - A new value for typethis objectpublic boolean equals(@Nullable Object another)
SlackMemberLeftChannelEvent that have equal attribute values.public int hashCode()
userId, channelId, channelType, team, type.public String toString()
SlackMemberLeftChannelEvent with attribute values.public static SlackMemberLeftChannelEvent copyOf(SlackMemberLeftChannelEventIF instance)
SlackMemberLeftChannelEventIF 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 SlackMemberLeftChannelEvent.Builder builder()
SlackMemberLeftChannelEvent.Copyright © 2020. All rights reserved.