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