@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","GroupsKickParamsIF"}) @Immutable public final class GroupsKickParams extends Object implements GroupsKickParamsIF
GroupsKickParamsIF.
Use the builder to create immutable instances:
GroupsKickParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupsKickParams.Builder
Builds instances of type
GroupsKickParams. |
| Modifier and Type | Method and Description |
|---|---|
static GroupsKickParams.Builder |
builder()
Creates a builder for
GroupsKickParams. |
static GroupsKickParams |
copyOf(GroupsKickParamsIF instance)
Creates an immutable copy of a
GroupsKickParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
GroupsKickParams that have equal attribute values. |
String |
getChannelId() |
String |
getUserId() |
int |
hashCode()
Computes a hash code from attributes:
channelId, userId. |
String |
toString()
Prints the immutable value
GroupsKickParams with attribute values. |
GroupsKickParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
GroupsKickParams |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
public String getChannelId()
getChannelId in interface HasChannelgetChannelId in interface GroupsKickParamsIFchannelId attributepublic String getUserId()
getUserId in interface GroupsKickParamsIFuserId attributepublic final GroupsKickParams withChannelId(String channelId)
channelId attribute.
An equals check used to prevent copying of the same value by returning this.channelId - A new value for channelIdthis objectpublic final GroupsKickParams withUserId(String userId)
userId attribute.
An equals check used to prevent copying of the same value by returning this.userId - A new value for userIdthis objectpublic boolean equals(@Nullable Object another)
GroupsKickParams that have equal attribute values.public int hashCode()
channelId, userId.public String toString()
GroupsKickParams with attribute values.public static GroupsKickParams copyOf(GroupsKickParamsIF instance)
GroupsKickParamsIF 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 GroupsKickParams.Builder builder()
GroupsKickParams.Copyright © 2019. All rights reserved.