@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationsInfoParamsIF"}) @Immutable public final class ConversationsInfoParams extends Object implements ConversationsInfoParamsIF
ConversationsInfoParamsIF.
Use the builder to create immutable instances:
ConversationsInfoParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationsInfoParams.Builder
Builds instances of type
ConversationsInfoParams. |
| Modifier and Type | Method and Description |
|---|---|
static ConversationsInfoParams.Builder |
builder()
Creates a builder for
ConversationsInfoParams. |
static ConversationsInfoParams |
copyOf(ConversationsInfoParamsIF instance)
Creates an immutable copy of a
ConversationsInfoParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationsInfoParams that have equal attribute values. |
String |
getConversationId() |
Optional<Boolean> |
getIncludeLocale() |
int |
hashCode()
Computes a hash code from attributes:
conversationId, includeLocale. |
String |
toString()
Prints the immutable value
ConversationsInfoParams with attribute values. |
ConversationsInfoParams |
withConversationId(String conversationId)
Copy the current immutable object by setting a value for the
conversationId attribute. |
ConversationsInfoParams |
withIncludeLocale(Boolean value)
Copy the current immutable object by setting a present value for the optional
includeLocale attribute. |
ConversationsInfoParams |
withIncludeLocale(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
includeLocale attribute. |
public String getConversationId()
getConversationId in interface ConversationsInfoParamsIFconversationId attributepublic Optional<Boolean> getIncludeLocale()
getIncludeLocale in interface ConversationsInfoParamsIFincludeLocale attributepublic final ConversationsInfoParams withConversationId(String conversationId)
conversationId attribute.
An equals check used to prevent copying of the same value by returning this.conversationId - A new value for conversationIdthis objectpublic final ConversationsInfoParams withIncludeLocale(@Nullable Boolean value)
includeLocale attribute.value - The value for includeLocale, null is accepted as java.util.Optional.empty()this objectpublic final ConversationsInfoParams withIncludeLocale(Optional<Boolean> optional)
includeLocale attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for includeLocalethis objectpublic boolean equals(@Nullable Object another)
ConversationsInfoParams that have equal attribute values.public int hashCode()
conversationId, includeLocale.public String toString()
ConversationsInfoParams with attribute values.public static ConversationsInfoParams copyOf(ConversationsInfoParamsIF instance)
ConversationsInfoParamsIF 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 ConversationsInfoParams.Builder builder()
ConversationsInfoParams.Copyright © 2019. All rights reserved.