@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","DialogOpenParamsIF"}) @Immutable public final class DialogOpenParams extends Object implements DialogOpenParamsIF
DialogOpenParamsIF.
Use the builder to create immutable instances:
DialogOpenParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
DialogOpenParams.Builder
Builds instances of type
DialogOpenParams. |
| Modifier and Type | Method and Description |
|---|---|
static DialogOpenParams.Builder |
builder()
Creates a builder for
DialogOpenParams. |
static DialogOpenParams |
copyOf(DialogOpenParamsIF instance)
Creates an immutable copy of a
DialogOpenParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
DialogOpenParams that have equal attribute values. |
SlackDialog |
getDialog() |
String |
getTriggerId() |
int |
hashCode()
Computes a hash code from attributes:
triggerId, dialog. |
String |
toString()
Prints the immutable value
DialogOpenParams with attribute values. |
DialogOpenParams |
withDialog(SlackDialog dialog)
Copy the current immutable object by setting a value for the
dialog attribute. |
DialogOpenParams |
withTriggerId(String triggerId)
Copy the current immutable object by setting a value for the
triggerId attribute. |
public String getTriggerId()
getTriggerId in interface DialogOpenParamsIFtriggerId attributepublic SlackDialog getDialog()
getDialog in interface DialogOpenParamsIFdialog attributepublic final DialogOpenParams withTriggerId(String triggerId)
triggerId attribute.
An equals check used to prevent copying of the same value by returning this.triggerId - A new value for triggerIdthis objectpublic final DialogOpenParams withDialog(SlackDialog dialog)
dialog attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.dialog - A new value for dialogthis objectpublic boolean equals(@Nullable Object another)
DialogOpenParams that have equal attribute values.public int hashCode()
triggerId, dialog.public String toString()
DialogOpenParams with attribute values.public static DialogOpenParams copyOf(DialogOpenParamsIF instance)
DialogOpenParamsIF 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 DialogOpenParams.Builder builder()
DialogOpenParams.Copyright © 2019. All rights reserved.