@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","UsergroupPreferencesIF"}) @Immutable public final class UsergroupPreferences extends Object implements UsergroupPreferencesIF
UsergroupPreferencesIF.
Use the builder to create immutable instances:
UsergroupPreferences.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
UsergroupPreferences.Builder
Builds instances of type
UsergroupPreferences. |
| Modifier and Type | Method and Description |
|---|---|
static UsergroupPreferences.Builder |
builder()
Creates a builder for
UsergroupPreferences. |
static UsergroupPreferences |
copyOf(UsergroupPreferencesIF instance)
Creates an immutable copy of a
UsergroupPreferencesIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
UsergroupPreferences that have equal attribute values. |
List<String> |
getChannelIdsUsersAutojoin() |
List<String> |
getGroupsUsersAutojoin() |
int |
hashCode()
Computes a hash code from attributes:
channelIdsUsersAutojoin, groupsUsersAutojoin. |
String |
toString()
Prints the immutable value
UsergroupPreferences with attribute values. |
UsergroupPreferences |
withChannelIdsUsersAutojoin(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
channelIdsUsersAutojoin. |
UsergroupPreferences |
withChannelIdsUsersAutojoin(String... elements)
Copy the current immutable object with elements that replace the content of
channelIdsUsersAutojoin. |
UsergroupPreferences |
withGroupsUsersAutojoin(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
groupsUsersAutojoin. |
UsergroupPreferences |
withGroupsUsersAutojoin(String... elements)
Copy the current immutable object with elements that replace the content of
groupsUsersAutojoin. |
public List<String> getChannelIdsUsersAutojoin()
getChannelIdsUsersAutojoin in interface UsergroupPreferencesIFchannelIdsUsersAutojoin attributepublic List<String> getGroupsUsersAutojoin()
getGroupsUsersAutojoin in interface UsergroupPreferencesIFgroupsUsersAutojoin attributepublic final UsergroupPreferences withChannelIdsUsersAutojoin(String... elements)
channelIdsUsersAutojoin.elements - The elements to setthis objectpublic final UsergroupPreferences withChannelIdsUsersAutojoin(Iterable<String> elements)
channelIdsUsersAutojoin.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of channelIdsUsersAutojoin elements to setthis objectpublic final UsergroupPreferences withGroupsUsersAutojoin(String... elements)
groupsUsersAutojoin.elements - The elements to setthis objectpublic final UsergroupPreferences withGroupsUsersAutojoin(Iterable<String> elements)
groupsUsersAutojoin.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of groupsUsersAutojoin elements to setthis objectpublic boolean equals(@Nullable Object another)
UsergroupPreferences that have equal attribute values.public int hashCode()
channelIdsUsersAutojoin, groupsUsersAutojoin.public String toString()
UsergroupPreferences with attribute values.public static UsergroupPreferences copyOf(UsergroupPreferencesIF instance)
UsergroupPreferencesIF 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 UsergroupPreferences.Builder builder()
UsergroupPreferences.Copyright © 2019. All rights reserved.