discord-jadx/app/src/main/java/com/discord/api/voice/server/VoiceServer.java
2021-06-27 22:44:35 +02:00

64 lines
1.8 KiB
Java

package com.discord.api.voice.server;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: VoiceServer.kt */
public final class VoiceServer {
private final Long channelId;
private final String endpoint;
private final Long guildId;
private final String token;
public final Long a() {
return this.channelId;
}
public final String b() {
return this.endpoint;
}
public final Long c() {
return this.guildId;
}
public final String d() {
return this.token;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof VoiceServer)) {
return false;
}
VoiceServer voiceServer = (VoiceServer) obj;
return m.areEqual(this.guildId, voiceServer.guildId) && m.areEqual(this.channelId, voiceServer.channelId) && m.areEqual(this.endpoint, voiceServer.endpoint) && m.areEqual(this.token, voiceServer.token);
}
public int hashCode() {
Long l = this.guildId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.channelId;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
String str = this.endpoint;
int hashCode3 = (hashCode2 + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.token;
if (str2 != null) {
i = str2.hashCode();
}
return hashCode3 + i;
}
public String toString() {
StringBuilder L = a.L("VoiceServer(guildId=");
L.append(this.guildId);
L.append(", channelId=");
L.append(this.channelId);
L.append(", endpoint=");
L.append(this.endpoint);
L.append(", token=");
return a.D(L, this.token, ")");
}
}