@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableUserCreationSetResponse extends Object implements UserCreationSetResponse
UserCreationSetResponse
.
Use the builder to create immutable instances:
ImmutableUserCreationSetResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableUserCreationSetResponse.Builder
Builds instances of type
ImmutableUserCreationSetResponse . |
Modifier and Type | Method and Description |
---|---|
static ImmutableUserCreationSetResponse.Builder |
builder()
Creates a builder for
ImmutableUserCreationSetResponse . |
static ImmutableUserCreationSetResponse |
copyOf(UserCreationSetResponse instance)
Creates an immutable copy of a
UserCreationSetResponse value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableUserCreationSetResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
users . |
String |
toString()
Prints the immutable value
UserCreationSetResponse with attribute values. |
com.google.common.collect.ImmutableSet<UserCreationResponse> |
users()
Set of users creation responses.
|
ImmutableUserCreationSetResponse |
withUsers(Iterable<? extends UserCreationResponse> elements)
Copy the current immutable object with elements that replace the content of
users . |
ImmutableUserCreationSetResponse |
withUsers(UserCreationResponse... elements)
Copy the current immutable object with elements that replace the content of
users . |
public com.google.common.collect.ImmutableSet<UserCreationResponse> users()
users
in interface UserCreationSetResponse
Set
of UserCreationResponse
user creation responsepublic final ImmutableUserCreationSetResponse withUsers(UserCreationResponse... elements)
users
.elements
- The elements to setthis
objectpublic final ImmutableUserCreationSetResponse withUsers(Iterable<? extends UserCreationResponse> elements)
users
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of users elements to setthis
objectpublic boolean equals(@Nullable Object another)
ImmutableUserCreationSetResponse
that have equal attribute values.public int hashCode()
users
.public String toString()
UserCreationSetResponse
with attribute values.public static ImmutableUserCreationSetResponse copyOf(UserCreationSetResponse instance)
UserCreationSetResponse
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 ImmutableUserCreationSetResponse.Builder builder()
ImmutableUserCreationSetResponse
.
ImmutableUserCreationSetResponse.builder()
.addUsers|addAllUsers(com.iland.core.web.rest.response.user.UserCreationResponse) // users
elements
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.