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