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