Class ImmutableInviteUserEmailSet
java.lang.Object
com.iland.core.web.rest.request.user.ImmutableInviteUserEmailSet
- All Implemented Interfaces:
InviteUserEmailSet
@Generated(from="InviteUserEmailSet",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableInviteUserEmailSet
extends Object
implements InviteUserEmailSet
Immutable implementation of
InviteUserEmailSet.
Use the builder to create immutable instances:
ImmutableInviteUserEmailSet.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableInviteUserEmailSet. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableInviteUserEmailSet.static ImmutableInviteUserEmailSetcopyOf(InviteUserEmailSet instance) Creates an immutable copy of aInviteUserEmailSetvalue.booleanThis instance is equal to all instances ofImmutableInviteUserEmailSetthat have equal attribute values.inthashCode()Computes a hash code from attributes:users.toString()Prints the immutable valueInviteUserEmailSetwith attribute values.com.google.common.collect.ImmutableSet<String>users()Copy the current immutable object with elements that replace the content ofusers.Copy the current immutable object with elements that replace the content ofusers.
-
Method Details
-
users
- Specified by:
usersin interfaceInviteUserEmailSet- Returns:
- The value of the
usersattribute
-
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
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 ofImmutableInviteUserEmailSetthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:users. -
toString
Prints the immutable valueInviteUserEmailSetwith attribute values. -
copyOf
Creates an immutable copy of aInviteUserEmailSetvalue. 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 InviteUserEmailSet instance
-
builder
Creates a builder forImmutableInviteUserEmailSet.ImmutableInviteUserEmailSet.builder() .addUsers|addAllUsers(String) //userselements .build();- Returns:
- A new ImmutableInviteUserEmailSet builder
-