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

79 lines
3.4 KiB
Java

package com.discord.analytics.generated.events;
import c.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: TrackRemoveReaction.kt */
public final class TrackRemoveReaction implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "remove_reaction";
private final Long channelId = null;
private final Integer channelType = null;
private final Boolean emojiAnimated = null;
private final Long emojiId = null;
private final CharSequence emojiName = null;
private final Long guildId = null;
private final Long messageId = null;
private TrackBase trackBase;
private final Integer uniqueReactionCount = null;
@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 TrackRemoveReaction)) {
return false;
}
TrackRemoveReaction trackRemoveReaction = (TrackRemoveReaction) obj;
return m.areEqual(this.guildId, trackRemoveReaction.guildId) && m.areEqual(this.channelId, trackRemoveReaction.channelId) && m.areEqual(this.channelType, trackRemoveReaction.channelType) && m.areEqual(this.messageId, trackRemoveReaction.messageId) && m.areEqual(this.emojiId, trackRemoveReaction.emojiId) && m.areEqual(this.emojiName, trackRemoveReaction.emojiName) && m.areEqual(this.emojiAnimated, trackRemoveReaction.emojiAnimated) && m.areEqual(this.uniqueReactionCount, trackRemoveReaction.uniqueReactionCount);
}
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;
Integer num = this.channelType;
int hashCode3 = (hashCode2 + (num != null ? num.hashCode() : 0)) * 31;
Long l3 = this.messageId;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.emojiId;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
CharSequence charSequence = this.emojiName;
int hashCode6 = (hashCode5 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Boolean bool = this.emojiAnimated;
int hashCode7 = (hashCode6 + (bool != null ? bool.hashCode() : 0)) * 31;
Integer num2 = this.uniqueReactionCount;
if (num2 != null) {
i = num2.hashCode();
}
return hashCode7 + i;
}
public String toString() {
StringBuilder P = a.P("TrackRemoveReaction(guildId=");
P.append(this.guildId);
P.append(", channelId=");
P.append(this.channelId);
P.append(", channelType=");
P.append(this.channelType);
P.append(", messageId=");
P.append(this.messageId);
P.append(", emojiId=");
P.append(this.emojiId);
P.append(", emojiName=");
P.append(this.emojiName);
P.append(", emojiAnimated=");
P.append(this.emojiAnimated);
P.append(", uniqueReactionCount=");
return a.E(P, this.uniqueReactionCount, ")");
}
}