discord-jadx/app/src/main/java/com/discord/analytics/generated/events/TrackNotificationSent.java

64 lines
2.5 KiB
Java

package com.discord.analytics.generated.events;
import b.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackNotificationSent.kt */
public final class TrackNotificationSent implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "notification_sent";
private final Boolean hasApnsToken = null;
private final Boolean hasGcmToken = null;
private final CharSequence notifType = null;
private final Long notifUserId = null;
private final Long relType = null;
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackNotificationSent)) {
return false;
}
TrackNotificationSent trackNotificationSent = (TrackNotificationSent) obj;
return m.areEqual(this.notifType, trackNotificationSent.notifType) && m.areEqual(this.notifUserId, trackNotificationSent.notifUserId) && m.areEqual(this.relType, trackNotificationSent.relType) && m.areEqual(this.hasApnsToken, trackNotificationSent.hasApnsToken) && m.areEqual(this.hasGcmToken, trackNotificationSent.hasGcmToken);
}
public int hashCode() {
CharSequence charSequence = this.notifType;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
Long l = this.notifUserId;
int hashCode2 = (hashCode + (l != null ? l.hashCode() : 0)) * 31;
Long l2 = this.relType;
int hashCode3 = (hashCode2 + (l2 != null ? l2.hashCode() : 0)) * 31;
Boolean bool = this.hasApnsToken;
int hashCode4 = (hashCode3 + (bool != null ? bool.hashCode() : 0)) * 31;
Boolean bool2 = this.hasGcmToken;
if (bool2 != null) {
i = bool2.hashCode();
}
return hashCode4 + i;
}
public String toString() {
StringBuilder R = a.R("TrackNotificationSent(notifType=");
R.append(this.notifType);
R.append(", notifUserId=");
R.append(this.notifUserId);
R.append(", relType=");
R.append(this.relType);
R.append(", hasApnsToken=");
R.append(this.hasApnsToken);
R.append(", hasGcmToken=");
return a.C(R, this.hasGcmToken, ")");
}
}