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