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

164 lines
9.1 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: TrackLeaveVoiceChannel.kt */
public final class TrackLeaveVoiceChannel implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "leave_voice_channel";
private final Long channelBitrate = null;
private final Long channelId = null;
private final Long channelType = null;
private final Long duration = null;
private final Long gameId = null;
private final CharSequence gameName = null;
private final CharSequence gamePlatform = null;
private final Long guildId = null;
private final Long guildScheduledEventId = null;
private final Long maxListenerCount = null;
private final Long maxSpeakerCount = null;
private final Long maxVoiceStateCount = null;
private final CharSequence mediaSessionId = null;
private final CharSequence nonce = null;
private final CharSequence rtcConnectionId = null;
private final Long stageInstanceId = null;
private final Long totalListenerCount = null;
private final Long totalSpeakerCount = null;
private final Long totalVoiceStateCount = null;
private TrackBase trackBase;
private final Boolean videoEnabled = null;
private final Long videoStreamCount = null;
private final Long viewModeFocusDurationMs = null;
private final Long viewModeGridDurationMs = null;
private final Long viewModeToggleCount = null;
private final Long voiceStateCount = 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 TrackLeaveVoiceChannel)) {
return false;
}
TrackLeaveVoiceChannel trackLeaveVoiceChannel = (TrackLeaveVoiceChannel) obj;
return m.areEqual(this.channelId, trackLeaveVoiceChannel.channelId) && m.areEqual(this.channelType, trackLeaveVoiceChannel.channelType) && m.areEqual(this.channelBitrate, trackLeaveVoiceChannel.channelBitrate) && m.areEqual(this.guildId, trackLeaveVoiceChannel.guildId) && m.areEqual(this.nonce, trackLeaveVoiceChannel.nonce) && m.areEqual(this.rtcConnectionId, trackLeaveVoiceChannel.rtcConnectionId) && m.areEqual(this.mediaSessionId, trackLeaveVoiceChannel.mediaSessionId) && m.areEqual(this.duration, trackLeaveVoiceChannel.duration) && m.areEqual(this.voiceStateCount, trackLeaveVoiceChannel.voiceStateCount) && m.areEqual(this.videoStreamCount, trackLeaveVoiceChannel.videoStreamCount) && m.areEqual(this.videoEnabled, trackLeaveVoiceChannel.videoEnabled) && m.areEqual(this.gameName, trackLeaveVoiceChannel.gameName) && m.areEqual(this.gamePlatform, trackLeaveVoiceChannel.gamePlatform) && m.areEqual(this.gameId, trackLeaveVoiceChannel.gameId) && m.areEqual(this.maxVoiceStateCount, trackLeaveVoiceChannel.maxVoiceStateCount) && m.areEqual(this.totalVoiceStateCount, trackLeaveVoiceChannel.totalVoiceStateCount) && m.areEqual(this.maxSpeakerCount, trackLeaveVoiceChannel.maxSpeakerCount) && m.areEqual(this.totalSpeakerCount, trackLeaveVoiceChannel.totalSpeakerCount) && m.areEqual(this.maxListenerCount, trackLeaveVoiceChannel.maxListenerCount) && m.areEqual(this.totalListenerCount, trackLeaveVoiceChannel.totalListenerCount) && m.areEqual(this.stageInstanceId, trackLeaveVoiceChannel.stageInstanceId) && m.areEqual(this.guildScheduledEventId, trackLeaveVoiceChannel.guildScheduledEventId) && m.areEqual(this.viewModeGridDurationMs, trackLeaveVoiceChannel.viewModeGridDurationMs) && m.areEqual(this.viewModeFocusDurationMs, trackLeaveVoiceChannel.viewModeFocusDurationMs) && m.areEqual(this.viewModeToggleCount, trackLeaveVoiceChannel.viewModeToggleCount);
}
public int hashCode() {
Long l = this.channelId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.channelType;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.channelBitrate;
int hashCode3 = (hashCode2 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.guildId;
int hashCode4 = (hashCode3 + (l4 != null ? l4.hashCode() : 0)) * 31;
CharSequence charSequence = this.nonce;
int hashCode5 = (hashCode4 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.rtcConnectionId;
int hashCode6 = (hashCode5 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.mediaSessionId;
int hashCode7 = (hashCode6 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
Long l5 = this.duration;
int hashCode8 = (hashCode7 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.voiceStateCount;
int hashCode9 = (hashCode8 + (l6 != null ? l6.hashCode() : 0)) * 31;
Long l7 = this.videoStreamCount;
int hashCode10 = (hashCode9 + (l7 != null ? l7.hashCode() : 0)) * 31;
Boolean bool = this.videoEnabled;
int hashCode11 = (hashCode10 + (bool != null ? bool.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.gameName;
int hashCode12 = (hashCode11 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
CharSequence charSequence5 = this.gamePlatform;
int hashCode13 = (hashCode12 + (charSequence5 != null ? charSequence5.hashCode() : 0)) * 31;
Long l8 = this.gameId;
int hashCode14 = (hashCode13 + (l8 != null ? l8.hashCode() : 0)) * 31;
Long l9 = this.maxVoiceStateCount;
int hashCode15 = (hashCode14 + (l9 != null ? l9.hashCode() : 0)) * 31;
Long l10 = this.totalVoiceStateCount;
int hashCode16 = (hashCode15 + (l10 != null ? l10.hashCode() : 0)) * 31;
Long l11 = this.maxSpeakerCount;
int hashCode17 = (hashCode16 + (l11 != null ? l11.hashCode() : 0)) * 31;
Long l12 = this.totalSpeakerCount;
int hashCode18 = (hashCode17 + (l12 != null ? l12.hashCode() : 0)) * 31;
Long l13 = this.maxListenerCount;
int hashCode19 = (hashCode18 + (l13 != null ? l13.hashCode() : 0)) * 31;
Long l14 = this.totalListenerCount;
int hashCode20 = (hashCode19 + (l14 != null ? l14.hashCode() : 0)) * 31;
Long l15 = this.stageInstanceId;
int hashCode21 = (hashCode20 + (l15 != null ? l15.hashCode() : 0)) * 31;
Long l16 = this.guildScheduledEventId;
int hashCode22 = (hashCode21 + (l16 != null ? l16.hashCode() : 0)) * 31;
Long l17 = this.viewModeGridDurationMs;
int hashCode23 = (hashCode22 + (l17 != null ? l17.hashCode() : 0)) * 31;
Long l18 = this.viewModeFocusDurationMs;
int hashCode24 = (hashCode23 + (l18 != null ? l18.hashCode() : 0)) * 31;
Long l19 = this.viewModeToggleCount;
if (l19 != null) {
i = l19.hashCode();
}
return hashCode24 + i;
}
public String toString() {
StringBuilder R = a.R("TrackLeaveVoiceChannel(channelId=");
R.append(this.channelId);
R.append(", channelType=");
R.append(this.channelType);
R.append(", channelBitrate=");
R.append(this.channelBitrate);
R.append(", guildId=");
R.append(this.guildId);
R.append(", nonce=");
R.append(this.nonce);
R.append(", rtcConnectionId=");
R.append(this.rtcConnectionId);
R.append(", mediaSessionId=");
R.append(this.mediaSessionId);
R.append(", duration=");
R.append(this.duration);
R.append(", voiceStateCount=");
R.append(this.voiceStateCount);
R.append(", videoStreamCount=");
R.append(this.videoStreamCount);
R.append(", videoEnabled=");
R.append(this.videoEnabled);
R.append(", gameName=");
R.append(this.gameName);
R.append(", gamePlatform=");
R.append(this.gamePlatform);
R.append(", gameId=");
R.append(this.gameId);
R.append(", maxVoiceStateCount=");
R.append(this.maxVoiceStateCount);
R.append(", totalVoiceStateCount=");
R.append(this.totalVoiceStateCount);
R.append(", maxSpeakerCount=");
R.append(this.maxSpeakerCount);
R.append(", totalSpeakerCount=");
R.append(this.totalSpeakerCount);
R.append(", maxListenerCount=");
R.append(this.maxListenerCount);
R.append(", totalListenerCount=");
R.append(this.totalListenerCount);
R.append(", stageInstanceId=");
R.append(this.stageInstanceId);
R.append(", guildScheduledEventId=");
R.append(this.guildScheduledEventId);
R.append(", viewModeGridDurationMs=");
R.append(this.viewModeGridDurationMs);
R.append(", viewModeFocusDurationMs=");
R.append(this.viewModeFocusDurationMs);
R.append(", viewModeToggleCount=");
return a.F(R, this.viewModeToggleCount, ")");
}
}