@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SlackChannelRenameEventIF"}) @Immutable public final class SlackChannelRenameEvent extends Object implements SlackChannelRenameEventIF
SlackChannelRenameEventIF.
Use the builder to create immutable instances:
SlackChannelRenameEvent.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackChannelRenameEvent.Builder
Builds instances of type
SlackChannelRenameEvent. |
| Modifier and Type | Method and Description |
|---|---|
static SlackChannelRenameEvent.Builder |
builder()
Creates a builder for
SlackChannelRenameEvent. |
static SlackChannelRenameEvent |
copyOf(SlackChannelRenameEventIF instance)
Creates an immutable copy of a
SlackChannelRenameEventIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SlackChannelRenameEvent that have equal attribute values. |
SlackChannel |
getChannel() |
SlackEventType |
getType() |
int |
hashCode()
Computes a hash code from attributes:
channel, type. |
String |
toString()
Prints the immutable value
SlackChannelRenameEvent with attribute values. |
SlackChannelRenameEvent |
withChannel(SlackChannel channel)
Copy the current immutable object by setting a value for the
channel attribute. |
SlackChannelRenameEvent |
withType(SlackEventType type)
Copy the current immutable object by setting a value for the
type attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTstoDetailedEventpublic SlackChannel getChannel()
getChannel in interface SlackChannelRenameEventIFchannel attributepublic SlackEventType getType()
getType in interface SlackEventtype attributepublic final SlackChannelRenameEvent withChannel(SlackChannel channel)
channel attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.channel - A new value for channelthis objectpublic final SlackChannelRenameEvent 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)
SlackChannelRenameEvent that have equal attribute values.public int hashCode()
channel, type.public String toString()
SlackChannelRenameEvent with attribute values.public static SlackChannelRenameEvent copyOf(SlackChannelRenameEventIF instance)
SlackChannelRenameEventIF 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 SlackChannelRenameEvent.Builder builder()
SlackChannelRenameEvent.Copyright © 2019. All rights reserved.