@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationMemberParamsIF"}) @Immutable public final class ConversationMemberParams extends Object implements ConversationMemberParamsIF
ConversationMemberParamsIF.
Use the builder to create immutable instances:
ConversationMemberParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationMemberParams.Builder
Builds instances of type
ConversationMemberParams. |
| Modifier and Type | Method and Description |
|---|---|
static ConversationMemberParams.Builder |
builder()
Creates a builder for
ConversationMemberParams. |
static ConversationMemberParams |
copyOf(ConversationMemberParamsIF instance)
Creates an immutable copy of a
ConversationMemberParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationMemberParams that have equal attribute values. |
String |
getChannelId() |
Optional<String> |
getCursor() |
Optional<Integer> |
getLimit() |
int |
hashCode()
Computes a hash code from attributes:
cursor, limit, channelId. |
String |
toString()
Prints the immutable value
ConversationMemberParams with attribute values. |
ConversationMemberParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ConversationMemberParams |
withCursor(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
cursor attribute. |
ConversationMemberParams |
withCursor(String value)
Copy the current immutable object by setting a present value for the optional
cursor attribute. |
ConversationMemberParams |
withLimit(Integer value)
Copy the current immutable object by setting a present value for the optional
limit attribute. |
ConversationMemberParams |
withLimit(Optional<Integer> optional)
Copy the current immutable object by setting an optional value for the
limit attribute. |
public Optional<String> getCursor()
getCursor in interface ConversationMemberParamsIFcursor attributepublic Optional<Integer> getLimit()
getLimit in interface ConversationMemberParamsIFlimit attributepublic String getChannelId()
getChannelId in interface ConversationMemberParamsIFchannelId attributepublic final ConversationMemberParams withCursor(@Nullable String value)
cursor attribute.value - The value for cursor, null is accepted as java.util.Optional.empty()this objectpublic final ConversationMemberParams withCursor(Optional<String> optional)
cursor attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for cursorthis objectpublic final ConversationMemberParams withLimit(@Nullable Integer value)
limit attribute.value - The value for limit, null is accepted as java.util.Optional.empty()this objectpublic final ConversationMemberParams withLimit(Optional<Integer> optional)
limit attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for limitthis objectpublic final ConversationMemberParams 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)
ConversationMemberParams that have equal attribute values.public int hashCode()
cursor, limit, channelId.public String toString()
ConversationMemberParams with attribute values.public static ConversationMemberParams copyOf(ConversationMemberParamsIF instance)
ConversationMemberParamsIF 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 ConversationMemberParams.Builder builder()
ConversationMemberParams.Copyright © 2019. All rights reserved.