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