Class ImmutableUserCreationSetResponse
java.lang.Object
com.iland.core.web.rest.response.user.ImmutableUserCreationSetResponse
- All Implemented Interfaces:
UserCreationSetResponse
@Generated(from="UserCreationSetResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableUserCreationSetResponse
extends Object
implements UserCreationSetResponse
Immutable implementation of
UserCreationSetResponse.
Use the builder to create immutable instances:
ImmutableUserCreationSetResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableUserCreationSetResponse. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableUserCreationSetResponse.copyOf(UserCreationSetResponse instance) Creates an immutable copy of aUserCreationSetResponsevalue.booleanThis instance is equal to all instances ofImmutableUserCreationSetResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:users.toString()Prints the immutable valueUserCreationSetResponsewith attribute values.com.google.common.collect.ImmutableSet<UserCreationResponse>users()Set of users creation responses.withUsers(UserCreationResponse... elements) Copy the current immutable object with elements that replace the content ofusers.withUsers(Iterable<? extends UserCreationResponse> elements) Copy the current immutable object with elements that replace the content ofusers.
-
Method Details
-
users
Set of users creation responses.- Specified by:
usersin interfaceUserCreationSetResponse- Returns:
SetofUserCreationResponseuser creation response
-
withUsers
Copy the current immutable object with elements that replace the content ofusers.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withUsers
public final ImmutableUserCreationSetResponse withUsers(Iterable<? extends UserCreationResponse> elements) Copy the current immutable object with elements that replace the content ofusers. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of users elements to set- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableUserCreationSetResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:users. -
toString
Prints the immutable valueUserCreationSetResponsewith attribute values. -
copyOf
Creates an immutable copy of aUserCreationSetResponsevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable UserCreationSetResponse instance
-
builder
Creates a builder forImmutableUserCreationSetResponse.ImmutableUserCreationSetResponse.builder() .addUsers|addAllUsers(com.iland.core.web.rest.response.user.UserCreationResponse) //userselements .build();- Returns:
- A new ImmutableUserCreationSetResponse builder
-