2022-02-10 02:59:54 +00:00
|
|
|
package com.discord.analytics.generated.events.activity_internal;
|
|
|
|
|
|
|
|
import b.d.b.a.a;
|
|
|
|
import com.discord.analytics.generated.traits.TrackActivityInternalMetadata;
|
|
|
|
import com.discord.analytics.generated.traits.TrackActivityInternalMetadataReceiver;
|
|
|
|
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: TrackActivityInternalClientStatus.kt */
|
|
|
|
public final class TrackActivityInternalClientStatus implements AnalyticsSchema, TrackBaseReceiver, TrackActivityInternalMetadataReceiver {
|
|
|
|
private final Long activityHeight = null;
|
|
|
|
private final Long activityWidth = null;
|
|
|
|
private final transient String analyticsSchemaTypeName = "activity_internal_client_status";
|
2022-02-18 08:09:56 +00:00
|
|
|
private final Float fpsAvg = null;
|
2022-02-10 02:59:54 +00:00
|
|
|
private final Long intervalRateMs = null;
|
|
|
|
private final Long networkAttempts = null;
|
|
|
|
private final Long networkLatencyMs = null;
|
|
|
|
private TrackActivityInternalMetadata trackActivityInternalMetadata;
|
|
|
|
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 TrackActivityInternalClientStatus)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
TrackActivityInternalClientStatus trackActivityInternalClientStatus = (TrackActivityInternalClientStatus) obj;
|
2022-02-18 08:09:56 +00:00
|
|
|
return m.areEqual(this.activityWidth, trackActivityInternalClientStatus.activityWidth) && m.areEqual(this.activityHeight, trackActivityInternalClientStatus.activityHeight) && m.areEqual(this.networkLatencyMs, trackActivityInternalClientStatus.networkLatencyMs) && m.areEqual(this.networkAttempts, trackActivityInternalClientStatus.networkAttempts) && m.areEqual(this.intervalRateMs, trackActivityInternalClientStatus.intervalRateMs) && m.areEqual(this.fpsAvg, trackActivityInternalClientStatus.fpsAvg);
|
2022-02-10 02:59:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int hashCode() {
|
|
|
|
Long l = this.activityWidth;
|
|
|
|
int i = 0;
|
|
|
|
int hashCode = (l != null ? l.hashCode() : 0) * 31;
|
|
|
|
Long l2 = this.activityHeight;
|
|
|
|
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
|
|
|
|
Long l3 = this.networkLatencyMs;
|
|
|
|
int hashCode3 = (hashCode2 + (l3 != null ? l3.hashCode() : 0)) * 31;
|
|
|
|
Long l4 = this.networkAttempts;
|
|
|
|
int hashCode4 = (hashCode3 + (l4 != null ? l4.hashCode() : 0)) * 31;
|
|
|
|
Long l5 = this.intervalRateMs;
|
2022-02-18 08:09:56 +00:00
|
|
|
int hashCode5 = (hashCode4 + (l5 != null ? l5.hashCode() : 0)) * 31;
|
|
|
|
Float f = this.fpsAvg;
|
|
|
|
if (f != null) {
|
|
|
|
i = f.hashCode();
|
2022-02-10 02:59:54 +00:00
|
|
|
}
|
2022-02-18 08:09:56 +00:00
|
|
|
return hashCode5 + i;
|
2022-02-10 02:59:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
|
|
|
StringBuilder R = a.R("TrackActivityInternalClientStatus(activityWidth=");
|
|
|
|
R.append(this.activityWidth);
|
|
|
|
R.append(", activityHeight=");
|
|
|
|
R.append(this.activityHeight);
|
|
|
|
R.append(", networkLatencyMs=");
|
|
|
|
R.append(this.networkLatencyMs);
|
|
|
|
R.append(", networkAttempts=");
|
|
|
|
R.append(this.networkAttempts);
|
|
|
|
R.append(", intervalRateMs=");
|
2022-02-18 08:09:56 +00:00
|
|
|
R.append(this.intervalRateMs);
|
|
|
|
R.append(", fpsAvg=");
|
|
|
|
R.append(this.fpsAvg);
|
|
|
|
R.append(")");
|
|
|
|
return R.toString();
|
2022-02-10 02:59:54 +00:00
|
|
|
}
|
|
|
|
}
|