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