@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","UsersInfoParamsIF"}) @Immutable public final class UsersInfoParams extends Object implements UsersInfoParamsIF
UsersInfoParamsIF.
Use the builder to create immutable instances:
UsersInfoParams.builder().
Use the static factory method to create immutable instances:
UsersInfoParams.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
UsersInfoParams.Builder
Builds instances of type
UsersInfoParams. |
| Modifier and Type | Method and Description |
|---|---|
static UsersInfoParams.Builder |
builder()
Creates a builder for
UsersInfoParams. |
static UsersInfoParams |
copyOf(UsersInfoParamsIF instance)
Creates an immutable copy of a
UsersInfoParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
UsersInfoParams that have equal attribute values. |
boolean |
getIncludeLocale() |
String |
getUserId() |
int |
hashCode()
Computes a hash code from attributes:
userId, includeLocale. |
static UsersInfoParams |
of(String userId)
Construct a new immutable
UsersInfoParams instance. |
String |
toString()
Prints the immutable value
UsersInfoParams with attribute values. |
UsersInfoParams |
withIncludeLocale(boolean includeLocale)
Copy the current immutable object by setting a value for the
includeLocale attribute. |
UsersInfoParams |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
public String getUserId()
getUserId in interface HasUsergetUserId in interface UsersInfoParamsIFuserId attributepublic boolean getIncludeLocale()
getIncludeLocale in interface UsersInfoParamsIFincludeLocale attributepublic final UsersInfoParams withUserId(String userId)
userId attribute.
An equals check used to prevent copying of the same value by returning this.userId - A new value for userIdthis objectpublic final UsersInfoParams withIncludeLocale(boolean includeLocale)
includeLocale attribute.
A value equality check is used to prevent copying of the same value by returning this.includeLocale - A new value for includeLocalethis objectpublic boolean equals(@Nullable Object another)
UsersInfoParams that have equal attribute values.public int hashCode()
userId, includeLocale.public String toString()
UsersInfoParams with attribute values.public static UsersInfoParams of(String userId)
UsersInfoParams instance.userId - The value for the userId attributepublic static UsersInfoParams copyOf(UsersInfoParamsIF instance)
UsersInfoParamsIF 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 UsersInfoParams.Builder builder()
UsersInfoParams.Copyright © 2019. All rights reserved.