54 lines
2.1 KiB
Java
54 lines
2.1 KiB
Java
package com.discord.analytics.generated.traits;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: TrackInvite.kt */
|
|
public final class TrackInvite {
|
|
private final Integer inviteChannelId = null;
|
|
private final Integer inviteChannelType = null;
|
|
private final CharSequence inviteCode = null;
|
|
private final Integer inviteGuildId = null;
|
|
private final Integer inviteInviterId = null;
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof TrackInvite)) {
|
|
return false;
|
|
}
|
|
TrackInvite trackInvite = (TrackInvite) obj;
|
|
return m.areEqual(this.inviteCode, trackInvite.inviteCode) && m.areEqual(this.inviteGuildId, trackInvite.inviteGuildId) && m.areEqual(this.inviteChannelId, trackInvite.inviteChannelId) && m.areEqual(this.inviteChannelType, trackInvite.inviteChannelType) && m.areEqual(this.inviteInviterId, trackInvite.inviteInviterId);
|
|
}
|
|
|
|
public int hashCode() {
|
|
CharSequence charSequence = this.inviteCode;
|
|
int i = 0;
|
|
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
|
|
Integer num = this.inviteGuildId;
|
|
int hashCode2 = (hashCode + (num != null ? num.hashCode() : 0)) * 31;
|
|
Integer num2 = this.inviteChannelId;
|
|
int hashCode3 = (hashCode2 + (num2 != null ? num2.hashCode() : 0)) * 31;
|
|
Integer num3 = this.inviteChannelType;
|
|
int hashCode4 = (hashCode3 + (num3 != null ? num3.hashCode() : 0)) * 31;
|
|
Integer num4 = this.inviteInviterId;
|
|
if (num4 != null) {
|
|
i = num4.hashCode();
|
|
}
|
|
return hashCode4 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("TrackInvite(inviteCode=");
|
|
L.append(this.inviteCode);
|
|
L.append(", inviteGuildId=");
|
|
L.append(this.inviteGuildId);
|
|
L.append(", inviteChannelId=");
|
|
L.append(this.inviteChannelId);
|
|
L.append(", inviteChannelType=");
|
|
L.append(this.inviteChannelType);
|
|
L.append(", inviteInviterId=");
|
|
return a.A(L, this.inviteInviterId, ")");
|
|
}
|
|
}
|