@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationSetPurposeParamsIF"}) @Immutable public final class ConversationSetPurposeParams extends Object implements ConversationSetPurposeParamsIF
ConversationSetPurposeParamsIF.
Use the builder to create immutable instances:
ConversationSetPurposeParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationSetPurposeParams.Builder
Builds instances of type
ConversationSetPurposeParams. |
| Modifier and Type | Method and Description |
|---|---|
static ConversationSetPurposeParams.Builder |
builder()
Creates a builder for
ConversationSetPurposeParams. |
static ConversationSetPurposeParams |
copyOf(ConversationSetPurposeParamsIF instance)
Creates an immutable copy of a
ConversationSetPurposeParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationSetPurposeParams that have equal attribute values. |
String |
getChannelId() |
String |
getPurpose() |
int |
hashCode()
Computes a hash code from attributes:
purpose, channelId. |
String |
toString()
Prints the immutable value
ConversationSetPurposeParams with attribute values. |
ConversationSetPurposeParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ConversationSetPurposeParams |
withPurpose(String purpose)
Copy the current immutable object by setting a value for the
purpose attribute. |
public String getPurpose()
getPurpose in interface ConversationSetPurposeParamsIFpurpose attributepublic String getChannelId()
getChannelId in interface ConversationSetPurposeParamsIFchannelId attributepublic final ConversationSetPurposeParams withPurpose(String purpose)
purpose attribute.
An equals check used to prevent copying of the same value by returning this.purpose - A new value for purposethis objectpublic final ConversationSetPurposeParams withChannelId(String channelId)
channelId attribute.
An equals check used to prevent copying of the same value by returning this.channelId - A new value for channelIdthis objectpublic boolean equals(@Nullable Object another)
ConversationSetPurposeParams that have equal attribute values.public int hashCode()
purpose, channelId.public String toString()
ConversationSetPurposeParams with attribute values.public static ConversationSetPurposeParams copyOf(ConversationSetPurposeParamsIF instance)
ConversationSetPurposeParamsIF 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 ConversationSetPurposeParams.Builder builder()
ConversationSetPurposeParams.Copyright © 2020. All rights reserved.