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

84 lines
4.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: TrackMediaSessionJoined.kt */
public final class TrackMediaSessionJoined implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "media_session_joined";
private final Long channelId = null;
private final Long channelType = null;
private final CharSequence context = null;
private final Long guildId = null;
private final CharSequence mediaSessionId = null;
private final CharSequence parentMediaSessionId = null;
private final CharSequence rtcConnectionId = null;
private final CharSequence rtcWorkerBackendVersion = null;
private TrackBase trackBase;
private final CharSequence voiceBackendVersion = 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 TrackMediaSessionJoined)) {
return false;
}
TrackMediaSessionJoined trackMediaSessionJoined = (TrackMediaSessionJoined) obj;
return m.areEqual(this.channelId, trackMediaSessionJoined.channelId) && m.areEqual(this.guildId, trackMediaSessionJoined.guildId) && m.areEqual(this.rtcConnectionId, trackMediaSessionJoined.rtcConnectionId) && m.areEqual(this.context, trackMediaSessionJoined.context) && m.areEqual(this.mediaSessionId, trackMediaSessionJoined.mediaSessionId) && m.areEqual(this.parentMediaSessionId, trackMediaSessionJoined.parentMediaSessionId) && m.areEqual(this.channelType, trackMediaSessionJoined.channelType) && m.areEqual(this.voiceBackendVersion, trackMediaSessionJoined.voiceBackendVersion) && m.areEqual(this.rtcWorkerBackendVersion, trackMediaSessionJoined.rtcWorkerBackendVersion);
}
public int hashCode() {
Long l = this.channelId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.guildId;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
CharSequence charSequence = this.rtcConnectionId;
int hashCode3 = (hashCode2 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.context;
int hashCode4 = (hashCode3 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.mediaSessionId;
int hashCode5 = (hashCode4 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.parentMediaSessionId;
int hashCode6 = (hashCode5 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
Long l3 = this.channelType;
int hashCode7 = (hashCode6 + (l3 != null ? l3.hashCode() : 0)) * 31;
CharSequence charSequence5 = this.voiceBackendVersion;
int hashCode8 = (hashCode7 + (charSequence5 != null ? charSequence5.hashCode() : 0)) * 31;
CharSequence charSequence6 = this.rtcWorkerBackendVersion;
if (charSequence6 != null) {
i = charSequence6.hashCode();
}
return hashCode8 + i;
}
public String toString() {
StringBuilder R = a.R("TrackMediaSessionJoined(channelId=");
R.append(this.channelId);
R.append(", guildId=");
R.append(this.guildId);
R.append(", rtcConnectionId=");
R.append(this.rtcConnectionId);
R.append(", context=");
R.append(this.context);
R.append(", mediaSessionId=");
R.append(this.mediaSessionId);
R.append(", parentMediaSessionId=");
R.append(this.parentMediaSessionId);
R.append(", channelType=");
R.append(this.channelType);
R.append(", voiceBackendVersion=");
R.append(this.voiceBackendVersion);
R.append(", rtcWorkerBackendVersion=");
return a.D(R, this.rtcWorkerBackendVersion, ")");
}
}