@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","InteractiveLoadOptionsRequestIF"}) @Immutable public final class InteractiveLoadOptionsRequest extends Object implements InteractiveLoadOptionsRequestIF
InteractiveLoadOptionsRequestIF.
Use the builder to create immutable instances:
InteractiveLoadOptionsRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
InteractiveLoadOptionsRequest.Builder
Builds instances of type
InteractiveLoadOptionsRequest. |
| Modifier and Type | Method and Description |
|---|---|
static InteractiveLoadOptionsRequest.Builder |
builder()
Creates a builder for
InteractiveLoadOptionsRequest. |
static InteractiveLoadOptionsRequest |
copyOf(InteractiveLoadOptionsRequestIF instance)
Creates an immutable copy of a
InteractiveLoadOptionsRequestIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
InteractiveLoadOptionsRequest that have equal attribute values. |
String |
getActionTs() |
Optional<String> |
getAttachmentId() |
String |
getCallbackId() |
SlackChannel |
getChannel() |
Optional<String> |
getMessageTs() |
String |
getName() |
SlackTeam |
getTeam() |
String |
getToken() |
InteractiveLoadOptionsRequestType |
getType() |
SlackUserLite |
getUser() |
String |
getValue() |
int |
hashCode()
Computes a hash code from attributes:
name, value, callbackId, team, channel, user, type, actionTs, messageTs, attachmentId, token. |
String |
toString()
Prints the immutable value
InteractiveLoadOptionsRequest with attribute values. |
InteractiveLoadOptionsRequest |
withActionTs(String actionTs)
Copy the current immutable object by setting a value for the
actionTs attribute. |
InteractiveLoadOptionsRequest |
withAttachmentId(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
attachmentId attribute. |
InteractiveLoadOptionsRequest |
withAttachmentId(String value)
Copy the current immutable object by setting a present value for the optional
attachmentId attribute. |
InteractiveLoadOptionsRequest |
withCallbackId(String callbackId)
Copy the current immutable object by setting a value for the
callbackId attribute. |
InteractiveLoadOptionsRequest |
withChannel(SlackChannel channel)
Copy the current immutable object by setting a value for the
channel attribute. |
InteractiveLoadOptionsRequest |
withMessageTs(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
messageTs attribute. |
InteractiveLoadOptionsRequest |
withMessageTs(String value)
Copy the current immutable object by setting a present value for the optional
messageTs attribute. |
InteractiveLoadOptionsRequest |
withName(String name)
Copy the current immutable object by setting a value for the
name attribute. |
InteractiveLoadOptionsRequest |
withTeam(SlackTeam team)
Copy the current immutable object by setting a value for the
team attribute. |
InteractiveLoadOptionsRequest |
withToken(String token)
Copy the current immutable object by setting a value for the
token attribute. |
InteractiveLoadOptionsRequest |
withType(InteractiveLoadOptionsRequestType type)
Copy the current immutable object by setting a value for the
type attribute. |
InteractiveLoadOptionsRequest |
withUser(SlackUserLite user)
Copy the current immutable object by setting a value for the
user attribute. |
InteractiveLoadOptionsRequest |
withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
public String getName()
getName in interface InteractiveLoadOptionsRequestIFname attributepublic String getValue()
getValue in interface InteractiveLoadOptionsRequestIFvalue attributepublic String getCallbackId()
getCallbackId in interface InteractiveLoadOptionsRequestIFcallbackId attributepublic SlackTeam getTeam()
getTeam in interface InteractiveLoadOptionsRequestIFteam attributepublic SlackChannel getChannel()
getChannel in interface InteractiveLoadOptionsRequestIFchannel attributepublic SlackUserLite getUser()
getUser in interface InteractiveLoadOptionsRequestIFuser attributepublic InteractiveLoadOptionsRequestType getType()
getType in interface InteractiveLoadOptionsRequestIFtype attributepublic String getActionTs()
getActionTs in interface InteractiveLoadOptionsRequestIFactionTs attributepublic Optional<String> getMessageTs()
getMessageTs in interface InteractiveLoadOptionsRequestIFmessageTs attributepublic Optional<String> getAttachmentId()
getAttachmentId in interface InteractiveLoadOptionsRequestIFattachmentId attributepublic String getToken()
getToken in interface InteractiveLoadOptionsRequestIFtoken attributepublic final InteractiveLoadOptionsRequest withName(String name)
name attribute.
An equals check used to prevent copying of the same value by returning this.name - A new value for namethis objectpublic final InteractiveLoadOptionsRequest withValue(String value)
value attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for valuethis objectpublic final InteractiveLoadOptionsRequest 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 InteractiveLoadOptionsRequest 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 InteractiveLoadOptionsRequest 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 InteractiveLoadOptionsRequest 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 InteractiveLoadOptionsRequest withType(InteractiveLoadOptionsRequestType 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 InteractiveLoadOptionsRequest 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 InteractiveLoadOptionsRequest withMessageTs(@Nullable String value)
messageTs attribute.value - The value for messageTs, null is accepted as java.util.Optional.empty()this objectpublic final InteractiveLoadOptionsRequest withMessageTs(Optional<String> optional)
messageTs attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for messageTsthis objectpublic final InteractiveLoadOptionsRequest withAttachmentId(@Nullable String value)
attachmentId attribute.value - The value for attachmentId, null is accepted as java.util.Optional.empty()this objectpublic final InteractiveLoadOptionsRequest withAttachmentId(Optional<String> optional)
attachmentId attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for attachmentIdthis objectpublic final InteractiveLoadOptionsRequest 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 boolean equals(@Nullable Object another)
InteractiveLoadOptionsRequest that have equal attribute values.public int hashCode()
name, value, callbackId, team, channel, user, type, actionTs, messageTs, attachmentId, token.public String toString()
InteractiveLoadOptionsRequest with attribute values.public static InteractiveLoadOptionsRequest copyOf(InteractiveLoadOptionsRequestIF instance)
InteractiveLoadOptionsRequestIF 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 InteractiveLoadOptionsRequest.Builder builder()
InteractiveLoadOptionsRequest.Copyright © 2019. All rights reserved.