@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ViewClosedIF"}) @Immutable public final class ViewClosed extends Object implements ViewClosedIF
ViewClosedIF.
Use the builder to create immutable instances:
ViewClosed.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewClosed.Builder
Builds instances of type
ViewClosed. |
| Modifier and Type | Method and Description |
|---|---|
static ViewClosed.Builder |
builder()
Creates a builder for
ViewClosed. |
static ViewClosed |
copyOf(ViewClosedIF instance)
Creates an immutable copy of a
ViewClosedIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ViewClosed that have equal attribute values. |
String |
getActionTs() |
String |
getCallbackId() |
SlackChannel |
getChannel() |
boolean |
getIsCleared() |
SlackTeam |
getTeam() |
String |
getToken() |
InteractiveCallbackType |
getType() |
SlackUserLite |
getUser() |
ViewPayloadBase |
getView() |
int |
hashCode()
Computes a hash code from attributes:
view, isCleared, type, callbackId, actionTs, token, team, user, channel. |
String |
toString()
Prints the immutable value
ViewClosed with attribute values. |
ViewClosed |
withActionTs(String actionTs)
Copy the current immutable object by setting a value for the
actionTs attribute. |
ViewClosed |
withCallbackId(String callbackId)
Copy the current immutable object by setting a value for the
callbackId attribute. |
ViewClosed |
withChannel(SlackChannel channel)
Copy the current immutable object by setting a value for the
channel attribute. |
ViewClosed |
withIsCleared(boolean isCleared)
Copy the current immutable object by setting a value for the
isCleared attribute. |
ViewClosed |
withTeam(SlackTeam team)
Copy the current immutable object by setting a value for the
team attribute. |
ViewClosed |
withToken(String token)
Copy the current immutable object by setting a value for the
token attribute. |
ViewClosed |
withType(InteractiveCallbackType type)
Copy the current immutable object by setting a value for the
type attribute. |
ViewClosed |
withUser(SlackUserLite user)
Copy the current immutable object by setting a value for the
user attribute. |
ViewClosed |
withView(ViewPayloadBase view)
Copy the current immutable object by setting a value for the
view attribute. |
public ViewPayloadBase getView()
getView in interface ViewClosedIFview attributepublic boolean getIsCleared()
getIsCleared in interface ViewClosedIFisCleared attributepublic InteractiveCallbackType getType()
getType in interface SlackInteractiveCallbacktype attributepublic String getCallbackId()
getCallbackId in interface SlackInteractiveCallbackcallbackId attributepublic String getActionTs()
getActionTs in interface SlackInteractiveCallbackactionTs attributepublic String getToken()
getToken in interface SlackInteractiveCallbacktoken attributepublic SlackTeam getTeam()
getTeam in interface SlackInteractiveCallbackteam attributepublic SlackUserLite getUser()
getUser in interface SlackInteractiveCallbackuser attributepublic SlackChannel getChannel()
getChannel in interface SlackInteractiveCallbackchannel attributepublic final ViewClosed withView(ViewPayloadBase view)
view attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.view - A new value for viewthis objectpublic final ViewClosed withIsCleared(boolean isCleared)
isCleared attribute.
A value equality check is used to prevent copying of the same value by returning this.isCleared - A new value for isClearedthis objectpublic final ViewClosed withType(InteractiveCallbackType 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 final ViewClosed withCallbackId(String callbackId)
callbackId attribute.
An equals check used to prevent copying of the same value by returning this.callbackId - A new value for callbackIdthis objectpublic final ViewClosed withActionTs(String actionTs)
actionTs attribute.
An equals check used to prevent copying of the same value by returning this.actionTs - A new value for actionTsthis objectpublic final ViewClosed withToken(String token)
token attribute.
An equals check used to prevent copying of the same value by returning this.token - A new value for tokenthis objectpublic final ViewClosed withTeam(SlackTeam team)
team attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.team - A new value for teamthis objectpublic final ViewClosed withUser(SlackUserLite user)
user attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.user - A new value for userthis objectpublic final ViewClosed 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 boolean equals(@Nullable Object another)
ViewClosed that have equal attribute values.public int hashCode()
view, isCleared, type, callbackId, actionTs, token, team, user, channel.public String toString()
ViewClosed with attribute values.public static ViewClosed copyOf(ViewClosedIF instance)
ViewClosedIF 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 ViewClosed.Builder builder()
ViewClosed.Copyright © 2020. All rights reserved.