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