@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChannelsKickParamsIF"}) @Immutable public final class ChannelsKickParams extends Object implements ChannelsKickParamsIF
ChannelsKickParamsIF.
Use the builder to create immutable instances:
ChannelsKickParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelsKickParams.Builder
Builds instances of type
ChannelsKickParams. |
| Modifier and Type | Method and Description |
|---|---|
static ChannelsKickParams.Builder |
builder()
Creates a builder for
ChannelsKickParams. |
static ChannelsKickParams |
copyOf(ChannelsKickParamsIF instance)
Creates an immutable copy of a
ChannelsKickParamsIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChannelsKickParams 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
ChannelsKickParams with attribute values. |
ChannelsKickParams |
withChannelId(String channelId)
Copy the current immutable object by setting a value for the
channelId attribute. |
ChannelsKickParams |
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 ChannelsKickParamsIFchannelId attributepublic String getUserId()
getUserId in interface ChannelsKickParamsIFuserId attributepublic final ChannelsKickParams 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 ChannelsKickParams 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)
ChannelsKickParams that have equal attribute values.public int hashCode()
channelId, userId.public String toString()
ChannelsKickParams with attribute values.public static ChannelsKickParams copyOf(ChannelsKickParamsIF instance)
ChannelsKickParamsIF 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 ChannelsKickParams.Builder builder()
ChannelsKickParams.Copyright © 2019. All rights reserved.