discord-jadx/app/src/main/java/com/discord/api/channel/ChannelRecipientNick.java
2021-07-04 01:36:06 +02:00

55 lines
1.4 KiB
Java

package com.discord.api.channel;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: ChannelRecipientNick.kt */
public final class ChannelRecipientNick {
/* renamed from: id reason: collision with root package name */
private final long f1552id;
private final String nick;
public ChannelRecipientNick(long j, String str) {
m.checkNotNullParameter(str, "nick");
this.f1552id = j;
this.nick = str;
}
public final long a() {
return this.f1552id;
}
public final long b() {
return this.f1552id;
}
public final String c() {
return this.nick;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ChannelRecipientNick)) {
return false;
}
ChannelRecipientNick channelRecipientNick = (ChannelRecipientNick) obj;
return this.f1552id == channelRecipientNick.f1552id && m.areEqual(this.nick, channelRecipientNick.nick);
}
public int hashCode() {
long j = this.f1552id;
int i = ((int) (j ^ (j >>> 32))) * 31;
String str = this.nick;
return i + (str != null ? str.hashCode() : 0);
}
public String toString() {
StringBuilder L = a.L("ChannelRecipientNick(id=");
L.append(this.f1552id);
L.append(", nick=");
return a.D(L, this.nick, ")");
}
}