Class ViewMultiUsersSelect
java.lang.Object
com.hubspot.slack.client.models.interaction.views.ViewMultiUsersSelect
- All Implemented Interfaces:
ViewInput,ViewMultiUsersSelectIF
@Generated(from="ViewMultiUsersSelectIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ViewMultiUsersSelect
extends Object
implements ViewMultiUsersSelectIF
Immutable implementation of
ViewMultiUsersSelectIF.
Use the builder to create immutable instances:
ViewMultiUsersSelect.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeViewMultiUsersSelect. -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewMultiUsersSelect.Builderbuilder()Creates a builder forViewMultiUsersSelect.static ViewMultiUsersSelectcopyOf(ViewMultiUsersSelectIF instance) Creates an immutable copy of aViewMultiUsersSelectIFvalue.booleanThis instance is equal to all instances ofViewMultiUsersSelectthat have equal attribute values.getType()inthashCode()Computes a hash code from attributes:type,selectedUsers.toString()Prints the immutable valueViewMultiUsersSelectwith attribute values.final ViewMultiUsersSelectwithSelectedUsers(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofselectedUsers.final ViewMultiUsersSelectwithSelectedUsers(String... elements) Copy the current immutable object with elements that replace the content ofselectedUsers.final ViewMultiUsersSelectwithType(ViewInputType value) Copy the current immutable object by setting a value for thetypeattribute.Methods inherited from interface com.hubspot.slack.client.models.interaction.views.ViewMultiUsersSelectIF
getStringValue
-
Method Details
-
getType
-
getSelectedUsers
- Specified by:
getSelectedUsersin interfaceViewMultiUsersSelectIF- Returns:
- The value of the
selectedUsersattribute
-
withType
Copy the current immutable object by setting a value for thetypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy or the
thisobject
-
withSelectedUsers
Copy the current immutable object with elements that replace the content ofselectedUsers.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withSelectedUsers
Copy the current immutable object with elements that replace the content ofselectedUsers. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of selectedUsers elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofViewMultiUsersSelectthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:type,selectedUsers. -
toString
Prints the immutable valueViewMultiUsersSelectwith attribute values. -
copyOf
Creates an immutable copy of aViewMultiUsersSelectIFvalue. 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 ViewMultiUsersSelect instance
-
builder
Creates a builder forViewMultiUsersSelect.ViewMultiUsersSelect.builder() .setType(com.hubspot.slack.client.models.interaction.views.ViewInputType) // requiredtype.addSelectedUsers|addAllSelectedUsers(String) //selectedUserselements .build();- Returns:
- A new ViewMultiUsersSelect builder
-