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