51 lines
1.8 KiB
Java
51 lines
1.8 KiB
Java
package com.discord.analytics.generated.traits;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: TrackAfParty.kt */
|
|
public final class TrackAfParty {
|
|
private final Integer afPeopleCount = null;
|
|
private final Boolean afRecentlyPlayed = null;
|
|
private final Boolean afRichPresence = null;
|
|
private final Boolean afVoiceChat = null;
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof TrackAfParty)) {
|
|
return false;
|
|
}
|
|
TrackAfParty trackAfParty = (TrackAfParty) obj;
|
|
return m.areEqual(this.afVoiceChat, trackAfParty.afVoiceChat) && m.areEqual(this.afPeopleCount, trackAfParty.afPeopleCount) && m.areEqual(this.afRecentlyPlayed, trackAfParty.afRecentlyPlayed) && m.areEqual(this.afRichPresence, trackAfParty.afRichPresence);
|
|
}
|
|
|
|
public int hashCode() {
|
|
Boolean bool = this.afVoiceChat;
|
|
int i = 0;
|
|
int hashCode = (bool != null ? bool.hashCode() : 0) * 31;
|
|
Integer num = this.afPeopleCount;
|
|
int hashCode2 = (hashCode + (num != null ? num.hashCode() : 0)) * 31;
|
|
Boolean bool2 = this.afRecentlyPlayed;
|
|
int hashCode3 = (hashCode2 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
|
|
Boolean bool3 = this.afRichPresence;
|
|
if (bool3 != null) {
|
|
i = bool3.hashCode();
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("TrackAfParty(afVoiceChat=");
|
|
L.append(this.afVoiceChat);
|
|
L.append(", afPeopleCount=");
|
|
L.append(this.afPeopleCount);
|
|
L.append(", afRecentlyPlayed=");
|
|
L.append(this.afRecentlyPlayed);
|
|
L.append(", afRichPresence=");
|
|
L.append(this.afRichPresence);
|
|
L.append(")");
|
|
return L.toString();
|
|
}
|
|
}
|