@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChannelsFilterIF"}) @Immutable public final class ChannelsFilter extends Object implements ChannelsFilterIF
ChannelsFilterIF.
Use the builder to create immutable instances:
ChannelsFilter.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelsFilter.Builder
Builds instances of type
ChannelsFilter. |
| Modifier and Type | Method and Description |
|---|---|
static ChannelsFilter.Builder |
builder()
Creates a builder for
ChannelsFilter. |
static ChannelsFilter |
copyOf(ChannelsFilterIF instance)
Creates an immutable copy of a
ChannelsFilterIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChannelsFilter 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
ChannelsFilter with attribute values. |
ChannelsFilter |
withShouldExcludeArchived(Boolean value)
Copy the current immutable object by setting a present value for the optional
shouldExcludeArchived attribute. |
ChannelsFilter |
withShouldExcludeArchived(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
shouldExcludeArchived attribute. |
ChannelsFilter |
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 ChannelsFilter withShouldExcludeArchived(@Nullable Boolean value)
shouldExcludeArchived attribute.value - The value for shouldExcludeArchived, null is accepted as java.util.Optional.empty()this objectpublic final ChannelsFilter 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 ChannelsFilter 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)
ChannelsFilter that have equal attribute values.public int hashCode()
shouldExcludeArchived, shouldExcludeMembers.public String toString()
ChannelsFilter with attribute values.public static ChannelsFilter copyOf(ChannelsFilterIF instance)
ChannelsFilterIF 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 ChannelsFilter.Builder builder()
ChannelsFilter.Copyright © 2019. All rights reserved.