@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","BlocksLoadOptionsRequestIF"}) @Immutable public final class BlocksLoadOptionsRequest extends Object implements BlocksLoadOptionsRequestIF
BlocksLoadOptionsRequestIF.
Use the builder to create immutable instances:
BlocksLoadOptionsRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
BlocksLoadOptionsRequest.Builder
Builds instances of type
BlocksLoadOptionsRequest. |
| Modifier and Type | Method and Description |
|---|---|
static BlocksLoadOptionsRequest.Builder |
builder()
Creates a builder for
BlocksLoadOptionsRequest. |
static BlocksLoadOptionsRequest |
copyOf(BlocksLoadOptionsRequestIF instance)
Creates an immutable copy of a
BlocksLoadOptionsRequestIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
BlocksLoadOptionsRequest that have equal attribute values. |
String |
getActionId() |
String |
getBlockId() |
Container |
getContainer() |
SlackTeam |
getTeam() |
String |
getToken() |
String |
getType() |
SlackUserLite |
getUser() |
String |
getValue() |
int |
hashCode()
Computes a hash code from attributes:
type, user, team, token, actionId, blockId, value, container. |
String |
toString()
Prints the immutable value
BlocksLoadOptionsRequest with attribute values. |
BlocksLoadOptionsRequest |
withActionId(String actionId)
Copy the current immutable object by setting a value for the
actionId attribute. |
BlocksLoadOptionsRequest |
withBlockId(String blockId)
Copy the current immutable object by setting a value for the
blockId attribute. |
BlocksLoadOptionsRequest |
withContainer(Container container)
Copy the current immutable object by setting a value for the
container attribute. |
BlocksLoadOptionsRequest |
withTeam(SlackTeam team)
Copy the current immutable object by setting a value for the
team attribute. |
BlocksLoadOptionsRequest |
withToken(String token)
Copy the current immutable object by setting a value for the
token attribute. |
BlocksLoadOptionsRequest |
withType(String type)
Copy the current immutable object by setting a value for the
type attribute. |
BlocksLoadOptionsRequest |
withUser(SlackUserLite user)
Copy the current immutable object by setting a value for the
user attribute. |
BlocksLoadOptionsRequest |
withValue(String value)
Copy the current immutable object by setting a value for the
value attribute. |
public String getType()
getType in interface BlocksLoadOptionsRequestIFtype attributepublic SlackUserLite getUser()
getUser in interface BlocksLoadOptionsRequestIFuser attributepublic SlackTeam getTeam()
getTeam in interface BlocksLoadOptionsRequestIFteam attributepublic String getToken()
getToken in interface BlocksLoadOptionsRequestIFtoken attributepublic String getActionId()
getActionId in interface BlocksLoadOptionsRequestIFactionId attributepublic String getBlockId()
getBlockId in interface BlocksLoadOptionsRequestIFblockId attributepublic String getValue()
getValue in interface BlocksLoadOptionsRequestIFvalue attributepublic Container getContainer()
getContainer in interface BlocksLoadOptionsRequestIFcontainer attributepublic final BlocksLoadOptionsRequest withType(String type)
type attribute.
An equals check used to prevent copying of the same value by returning this.type - A new value for typethis objectpublic final BlocksLoadOptionsRequest 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 BlocksLoadOptionsRequest 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 BlocksLoadOptionsRequest 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 BlocksLoadOptionsRequest withActionId(String actionId)
actionId attribute.
An equals check used to prevent copying of the same value by returning this.actionId - A new value for actionIdthis objectpublic final BlocksLoadOptionsRequest withBlockId(String blockId)
blockId attribute.
An equals check used to prevent copying of the same value by returning this.blockId - A new value for blockIdthis objectpublic final BlocksLoadOptionsRequest 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 BlocksLoadOptionsRequest withContainer(Container container)
container attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.container - A new value for containerthis objectpublic boolean equals(@Nullable Object another)
BlocksLoadOptionsRequest that have equal attribute values.public int hashCode()
type, user, team, token, actionId, blockId, value, container.public String toString()
BlocksLoadOptionsRequest with attribute values.public static BlocksLoadOptionsRequest copyOf(BlocksLoadOptionsRequestIF instance)
BlocksLoadOptionsRequestIF 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 BlocksLoadOptionsRequest.Builder builder()
BlocksLoadOptionsRequest.Copyright © 2020. All rights reserved.