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.analytics.generated.traits.TrackChannel; import com.discord.analytics.generated.traits.TrackChannelReceiver; import com.discord.api.science.AnalyticsSchema; import d0.z.d.m; /* compiled from: TrackChannelUpdated.kt */ public final class TrackChannelUpdated implements AnalyticsSchema, TrackBaseReceiver, TrackChannelReceiver { private final transient String analyticsSchemaTypeName = "channel_updated"; private final Long bitrate = null; private final Long defaultAutoArchiveDurationMinutes = null; private final Long guildId = null; private final CharSequence guildName = null; private final Boolean newArchived = null; private final Long newAutoArchiveDurationMinutes = null; private final CharSequence newBannerHash = null; private final Long newFlags = null; private final Boolean newInvitable = null; private final Boolean newLocked = null; private final CharSequence newName = null; private final Boolean newNsfw = null; private final Boolean oldArchived = null; private final Long oldAutoArchiveDurationMinutes = null; private final CharSequence oldBannerHash = null; private final Long oldBitrate = null; private final Long oldDefaultAutoArchiveDurationMinutes = null; private final Long oldFlags = null; private final Boolean oldInvitable = null; private final Boolean oldLocked = null; private final CharSequence oldName = null; private final Boolean oldNsfw = null; private final CharSequence oldRtcRegion = null; private final Long oldVideoQualityMode = null; private final CharSequence rtcRegion = null; private TrackBase trackBase; private TrackChannel trackChannel; private final Long videoQualityMode = 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 TrackChannelUpdated)) { return false; } TrackChannelUpdated trackChannelUpdated = (TrackChannelUpdated) obj; return m.areEqual(this.guildId, trackChannelUpdated.guildId) && m.areEqual(this.guildName, trackChannelUpdated.guildName) && m.areEqual(this.oldName, trackChannelUpdated.oldName) && m.areEqual(this.newName, trackChannelUpdated.newName) && m.areEqual(this.oldNsfw, trackChannelUpdated.oldNsfw) && m.areEqual(this.newNsfw, trackChannelUpdated.newNsfw) && m.areEqual(this.bitrate, trackChannelUpdated.bitrate) && m.areEqual(this.oldBitrate, trackChannelUpdated.oldBitrate) && m.areEqual(this.rtcRegion, trackChannelUpdated.rtcRegion) && m.areEqual(this.oldRtcRegion, trackChannelUpdated.oldRtcRegion) && m.areEqual(this.videoQualityMode, trackChannelUpdated.videoQualityMode) && m.areEqual(this.oldVideoQualityMode, trackChannelUpdated.oldVideoQualityMode) && m.areEqual(this.defaultAutoArchiveDurationMinutes, trackChannelUpdated.defaultAutoArchiveDurationMinutes) && m.areEqual(this.oldDefaultAutoArchiveDurationMinutes, trackChannelUpdated.oldDefaultAutoArchiveDurationMinutes) && m.areEqual(this.oldArchived, trackChannelUpdated.oldArchived) && m.areEqual(this.newArchived, trackChannelUpdated.newArchived) && m.areEqual(this.oldLocked, trackChannelUpdated.oldLocked) && m.areEqual(this.newLocked, trackChannelUpdated.newLocked) && m.areEqual(this.oldInvitable, trackChannelUpdated.oldInvitable) && m.areEqual(this.newInvitable, trackChannelUpdated.newInvitable) && m.areEqual(this.oldAutoArchiveDurationMinutes, trackChannelUpdated.oldAutoArchiveDurationMinutes) && m.areEqual(this.newAutoArchiveDurationMinutes, trackChannelUpdated.newAutoArchiveDurationMinutes) && m.areEqual(this.oldBannerHash, trackChannelUpdated.oldBannerHash) && m.areEqual(this.newBannerHash, trackChannelUpdated.newBannerHash) && m.areEqual(this.oldFlags, trackChannelUpdated.oldFlags) && m.areEqual(this.newFlags, trackChannelUpdated.newFlags); } public int hashCode() { Long l = this.guildId; int i = 0; int hashCode = (l != null ? l.hashCode() : 0) * 31; CharSequence charSequence = this.guildName; int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31; CharSequence charSequence2 = this.oldName; int hashCode3 = (hashCode2 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31; CharSequence charSequence3 = this.newName; int hashCode4 = (hashCode3 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31; Boolean bool = this.oldNsfw; int hashCode5 = (hashCode4 + (bool != null ? bool.hashCode() : 0)) * 31; Boolean bool2 = this.newNsfw; int hashCode6 = (hashCode5 + (bool2 != null ? bool2.hashCode() : 0)) * 31; Long l2 = this.bitrate; int hashCode7 = (hashCode6 + (l2 != null ? l2.hashCode() : 0)) * 31; Long l3 = this.oldBitrate; int hashCode8 = (hashCode7 + (l3 != null ? l3.hashCode() : 0)) * 31; CharSequence charSequence4 = this.rtcRegion; int hashCode9 = (hashCode8 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31; CharSequence charSequence5 = this.oldRtcRegion; int hashCode10 = (hashCode9 + (charSequence5 != null ? charSequence5.hashCode() : 0)) * 31; Long l4 = this.videoQualityMode; int hashCode11 = (hashCode10 + (l4 != null ? l4.hashCode() : 0)) * 31; Long l5 = this.oldVideoQualityMode; int hashCode12 = (hashCode11 + (l5 != null ? l5.hashCode() : 0)) * 31; Long l6 = this.defaultAutoArchiveDurationMinutes; int hashCode13 = (hashCode12 + (l6 != null ? l6.hashCode() : 0)) * 31; Long l7 = this.oldDefaultAutoArchiveDurationMinutes; int hashCode14 = (hashCode13 + (l7 != null ? l7.hashCode() : 0)) * 31; Boolean bool3 = this.oldArchived; int hashCode15 = (hashCode14 + (bool3 != null ? bool3.hashCode() : 0)) * 31; Boolean bool4 = this.newArchived; int hashCode16 = (hashCode15 + (bool4 != null ? bool4.hashCode() : 0)) * 31; Boolean bool5 = this.oldLocked; int hashCode17 = (hashCode16 + (bool5 != null ? bool5.hashCode() : 0)) * 31; Boolean bool6 = this.newLocked; int hashCode18 = (hashCode17 + (bool6 != null ? bool6.hashCode() : 0)) * 31; Boolean bool7 = this.oldInvitable; int hashCode19 = (hashCode18 + (bool7 != null ? bool7.hashCode() : 0)) * 31; Boolean bool8 = this.newInvitable; int hashCode20 = (hashCode19 + (bool8 != null ? bool8.hashCode() : 0)) * 31; Long l8 = this.oldAutoArchiveDurationMinutes; int hashCode21 = (hashCode20 + (l8 != null ? l8.hashCode() : 0)) * 31; Long l9 = this.newAutoArchiveDurationMinutes; int hashCode22 = (hashCode21 + (l9 != null ? l9.hashCode() : 0)) * 31; CharSequence charSequence6 = this.oldBannerHash; int hashCode23 = (hashCode22 + (charSequence6 != null ? charSequence6.hashCode() : 0)) * 31; CharSequence charSequence7 = this.newBannerHash; int hashCode24 = (hashCode23 + (charSequence7 != null ? charSequence7.hashCode() : 0)) * 31; Long l10 = this.oldFlags; int hashCode25 = (hashCode24 + (l10 != null ? l10.hashCode() : 0)) * 31; Long l11 = this.newFlags; if (l11 != null) { i = l11.hashCode(); } return hashCode25 + i; } public String toString() { StringBuilder R = a.R("TrackChannelUpdated(guildId="); R.append(this.guildId); R.append(", guildName="); R.append(this.guildName); R.append(", oldName="); R.append(this.oldName); R.append(", newName="); R.append(this.newName); R.append(", oldNsfw="); R.append(this.oldNsfw); R.append(", newNsfw="); R.append(this.newNsfw); R.append(", bitrate="); R.append(this.bitrate); R.append(", oldBitrate="); R.append(this.oldBitrate); R.append(", rtcRegion="); R.append(this.rtcRegion); R.append(", oldRtcRegion="); R.append(this.oldRtcRegion); R.append(", videoQualityMode="); R.append(this.videoQualityMode); R.append(", oldVideoQualityMode="); R.append(this.oldVideoQualityMode); R.append(", defaultAutoArchiveDurationMinutes="); R.append(this.defaultAutoArchiveDurationMinutes); R.append(", oldDefaultAutoArchiveDurationMinutes="); R.append(this.oldDefaultAutoArchiveDurationMinutes); R.append(", oldArchived="); R.append(this.oldArchived); R.append(", newArchived="); R.append(this.newArchived); R.append(", oldLocked="); R.append(this.oldLocked); R.append(", newLocked="); R.append(this.newLocked); R.append(", oldInvitable="); R.append(this.oldInvitable); R.append(", newInvitable="); R.append(this.newInvitable); R.append(", oldAutoArchiveDurationMinutes="); R.append(this.oldAutoArchiveDurationMinutes); R.append(", newAutoArchiveDurationMinutes="); R.append(this.newAutoArchiveDurationMinutes); R.append(", oldBannerHash="); R.append(this.oldBannerHash); R.append(", newBannerHash="); R.append(this.newBannerHash); R.append(", oldFlags="); R.append(this.oldFlags); R.append(", newFlags="); return a.F(R, this.newFlags, ")"); } }