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

56 lines
1.5 KiB
Java
Raw Normal View History

2021-08-03 07:33:18 +00:00
package com.discord.api.channel;
2021-12-17 21:59:34 +00:00
import b.d.b.a.a;
import com.discord.models.domain.ModelAuditLogEntry;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
2021-08-03 07:33:18 +00:00
/* compiled from: ChannelRecipientNick.kt */
public final class ChannelRecipientNick {
/* renamed from: id reason: collision with root package name */
2021-12-20 07:27:17 +00:00
private final long f2009id;
2021-08-03 07:33:18 +00:00
private final String nick;
public ChannelRecipientNick(long j, String str) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NICK);
2021-12-20 07:27:17 +00:00
this.f2009id = j;
2021-08-03 07:33:18 +00:00
this.nick = str;
}
public final long a() {
2021-12-20 07:27:17 +00:00
return this.f2009id;
2021-08-03 07:33:18 +00:00
}
public final long b() {
2021-12-20 07:27:17 +00:00
return this.f2009id;
2021-08-03 07:33:18 +00:00
}
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;
2021-12-20 07:27:17 +00:00
return this.f2009id == channelRecipientNick.f2009id && m.areEqual(this.nick, channelRecipientNick.nick);
2021-08-03 07:33:18 +00:00
}
public int hashCode() {
2021-12-20 07:27:17 +00:00
long j = this.f2009id;
2021-08-03 07:33:18 +00:00
int i = ((int) (j ^ (j >>> 32))) * 31;
String str = this.nick;
return i + (str != null ? str.hashCode() : 0);
}
public String toString() {
2021-11-05 06:48:17 +00:00
StringBuilder R = a.R("ChannelRecipientNick(id=");
2021-12-20 07:27:17 +00:00
R.append(this.f2009id);
2021-11-05 06:48:17 +00:00
R.append(", nick=");
return a.H(R, this.nick, ")");
2021-08-03 07:33:18 +00:00
}
}