discord-jadx/app/src/main/java/com/discord/api/channel/ChannelRecipientNick.java

56 lines
1.5 KiB
Java

package com.discord.api.channel;
import b.d.b.a.a;
import com.discord.models.domain.ModelAuditLogEntry;
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 f2009id;
private final String nick;
public ChannelRecipientNick(long j, String str) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NICK);
this.f2009id = j;
this.nick = str;
}
public final long a() {
return this.f2009id;
}
public final long b() {
return this.f2009id;
}
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.f2009id == channelRecipientNick.f2009id && m.areEqual(this.nick, channelRecipientNick.nick);
}
public int hashCode() {
long j = this.f2009id;
int i = ((int) (j ^ (j >>> 32))) * 31;
String str = this.nick;
return i + (str != null ? str.hashCode() : 0);
}
public String toString() {
StringBuilder R = a.R("ChannelRecipientNick(id=");
R.append(this.f2009id);
R.append(", nick=");
return a.H(R, this.nick, ")");
}
}