@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChatUpdateMessageResponseIF"}) @Immutable public final class ChatUpdateMessageResponse extends Object implements ChatUpdateMessageResponseIF
ChatUpdateMessageResponseIF.
Use the builder to create immutable instances:
ChatUpdateMessageResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatUpdateMessageResponse.Builder
Builds instances of type
ChatUpdateMessageResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ChatUpdateMessageResponse.Builder |
builder()
Creates a builder for
ChatUpdateMessageResponse. |
static ChatUpdateMessageResponse |
copyOf(ChatUpdateMessageResponseIF instance)
Creates an immutable copy of a
ChatUpdateMessageResponseIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChatUpdateMessageResponse that have equal attribute values. |
String |
getChannel() |
Optional<ResponseMetadata> |
getResponseMetadata() |
String |
getText() |
String |
getTs() |
int |
hashCode()
Computes a hash code from attributes:
ts, channel, text, ok, responseMetadata. |
boolean |
isOk() |
String |
toString()
Prints the immutable value
ChatUpdateMessageResponse with attribute values. |
ChatUpdateMessageResponse |
withChannel(String channel)
Copy the current immutable object by setting a value for the
channel attribute. |
ChatUpdateMessageResponse |
withOk(boolean ok)
Copy the current immutable object by setting a value for the
ok attribute. |
ChatUpdateMessageResponse |
withResponseMetadata(Optional<ResponseMetadata> optional)
Copy the current immutable object by setting an optional value for the
responseMetadata attribute. |
ChatUpdateMessageResponse |
withResponseMetadata(ResponseMetadata value)
Copy the current immutable object by setting a present value for the optional
responseMetadata attribute. |
ChatUpdateMessageResponse |
withText(String text)
Copy the current immutable object by setting a value for the
text attribute. |
ChatUpdateMessageResponse |
withTs(String ts)
Copy the current immutable object by setting a value for the
ts attribute. |
public String getTs()
getTs in interface ChatUpdateMessageResponseIFts attributepublic String getChannel()
getChannel in interface ChatUpdateMessageResponseIFchannel attributepublic String getText()
getText in interface ChatUpdateMessageResponseIFtext attributepublic boolean isOk()
isOk in interface SlackResponseok attributepublic Optional<ResponseMetadata> getResponseMetadata()
getResponseMetadata in interface SlackResponseresponseMetadata attributepublic final ChatUpdateMessageResponse withTs(String ts)
ts attribute.
An equals check used to prevent copying of the same value by returning this.ts - A new value for tsthis objectpublic final ChatUpdateMessageResponse withChannel(String channel)
channel attribute.
An equals check used to prevent copying of the same value by returning this.channel - A new value for channelthis objectpublic final ChatUpdateMessageResponse withText(String text)
text attribute.
An equals check used to prevent copying of the same value by returning this.text - A new value for textthis objectpublic final ChatUpdateMessageResponse withOk(boolean ok)
ok attribute.
A value equality check is used to prevent copying of the same value by returning this.ok - A new value for okthis objectpublic final ChatUpdateMessageResponse withResponseMetadata(@Nullable ResponseMetadata value)
responseMetadata attribute.value - The value for responseMetadata, null is accepted as java.util.Optional.empty()this objectpublic final ChatUpdateMessageResponse withResponseMetadata(Optional<ResponseMetadata> optional)
responseMetadata attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for responseMetadatathis objectpublic boolean equals(@Nullable Object another)
ChatUpdateMessageResponse that have equal attribute values.public int hashCode()
ts, channel, text, ok, responseMetadata.public String toString()
ChatUpdateMessageResponse with attribute values.public static ChatUpdateMessageResponse copyOf(ChatUpdateMessageResponseIF instance)
ChatUpdateMessageResponseIF 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 ChatUpdateMessageResponse.Builder builder()
ChatUpdateMessageResponse.Copyright © 2019. All rights reserved.