@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SlackChannelArchiveEventIF"}) @Immutable public final class SlackChannelArchiveEvent extends Object implements SlackChannelArchiveEventIF
SlackChannelArchiveEventIF.
Use the builder to create immutable instances:
SlackChannelArchiveEvent.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackChannelArchiveEvent.Builder
Builds instances of type
SlackChannelArchiveEvent. |
| Modifier and Type | Method and Description |
|---|---|
static SlackChannelArchiveEvent.Builder |
builder()
Creates a builder for
SlackChannelArchiveEvent. |
static SlackChannelArchiveEvent |
copyOf(SlackChannelArchiveEventIF instance)
Creates an immutable copy of a
SlackChannelArchiveEventIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SlackChannelArchiveEvent that have equal attribute values. |
String |
getChannelId() |
SlackEventType |
getType() |
String |
getUserId() |
int |
hashCode()
Computes a hash code from attributes:
channelId, userId, type. |
String |
toString()
Prints the immutable value
SlackChannelArchiveEvent with attribute values. |
SlackChannelArchiveEvent |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
SlackChannelArchiveEvent |
withType(SlackEventType type)
Copy the current immutable object by setting a value for the
type attribute. |
SlackChannelArchiveEvent |
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 getChannelId()
getChannelId in interface SlackChannelArchiveEventIFchannelId attributepublic String getUserId()
getUserId in interface SlackChannelArchiveEventIFuserId attributepublic SlackEventType getType()
getType in interface SlackEventtype attributepublic final SlackChannelArchiveEvent 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 SlackChannelArchiveEvent 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 SlackChannelArchiveEvent 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)
SlackChannelArchiveEvent that have equal attribute values.public int hashCode()
channelId, userId, type.public String toString()
SlackChannelArchiveEvent with attribute values.public static SlackChannelArchiveEvent copyOf(SlackChannelArchiveEventIF instance)
SlackChannelArchiveEventIF 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 SlackChannelArchiveEvent.Builder builder()
SlackChannelArchiveEvent.Copyright © 2019. All rights reserved.