82 lines
3.8 KiB
Java
82 lines
3.8 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.analytics.generated.traits.TrackLocationMetadata;
|
|
import com.discord.analytics.generated.traits.TrackLocationMetadataReceiver;
|
|
import com.discord.analytics.generated.traits.TrackSourceMetadata;
|
|
import com.discord.analytics.generated.traits.TrackSourceMetadataReceiver;
|
|
import com.discord.api.science.AnalyticsSchema;
|
|
import d0.z.d.m;
|
|
/* compiled from: TrackPremiumUpsellViewed.kt */
|
|
public final class TrackPremiumUpsellViewed implements AnalyticsSchema, TrackBaseReceiver, TrackLocationMetadataReceiver, TrackSourceMetadataReceiver {
|
|
private final transient String analyticsSchemaTypeName = "premium_upsell_viewed";
|
|
private final Float duration = null;
|
|
private final Boolean hasPremiumStreamFps = null;
|
|
private final Boolean hasPremiumStreamResolution = null;
|
|
private final Boolean hasSearchQuery = null;
|
|
private final Boolean isAnimated = null;
|
|
private final Boolean isExternal = null;
|
|
private TrackBase trackBase;
|
|
private TrackLocationMetadata trackLocationMetadata;
|
|
private TrackSourceMetadata trackSourceMetadata;
|
|
private final CharSequence type = 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 TrackPremiumUpsellViewed)) {
|
|
return false;
|
|
}
|
|
TrackPremiumUpsellViewed trackPremiumUpsellViewed = (TrackPremiumUpsellViewed) obj;
|
|
return m.areEqual(this.type, trackPremiumUpsellViewed.type) && m.areEqual(this.isAnimated, trackPremiumUpsellViewed.isAnimated) && m.areEqual(this.isExternal, trackPremiumUpsellViewed.isExternal) && m.areEqual(this.hasSearchQuery, trackPremiumUpsellViewed.hasSearchQuery) && m.areEqual(this.hasPremiumStreamFps, trackPremiumUpsellViewed.hasPremiumStreamFps) && m.areEqual(this.hasPremiumStreamResolution, trackPremiumUpsellViewed.hasPremiumStreamResolution) && m.areEqual(this.duration, trackPremiumUpsellViewed.duration);
|
|
}
|
|
|
|
public int hashCode() {
|
|
CharSequence charSequence = this.type;
|
|
int i = 0;
|
|
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
|
|
Boolean bool = this.isAnimated;
|
|
int hashCode2 = (hashCode + (bool != null ? bool.hashCode() : 0)) * 31;
|
|
Boolean bool2 = this.isExternal;
|
|
int hashCode3 = (hashCode2 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
|
|
Boolean bool3 = this.hasSearchQuery;
|
|
int hashCode4 = (hashCode3 + (bool3 != null ? bool3.hashCode() : 0)) * 31;
|
|
Boolean bool4 = this.hasPremiumStreamFps;
|
|
int hashCode5 = (hashCode4 + (bool4 != null ? bool4.hashCode() : 0)) * 31;
|
|
Boolean bool5 = this.hasPremiumStreamResolution;
|
|
int hashCode6 = (hashCode5 + (bool5 != null ? bool5.hashCode() : 0)) * 31;
|
|
Float f = this.duration;
|
|
if (f != null) {
|
|
i = f.hashCode();
|
|
}
|
|
return hashCode6 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder P = a.P("TrackPremiumUpsellViewed(type=");
|
|
P.append(this.type);
|
|
P.append(", isAnimated=");
|
|
P.append(this.isAnimated);
|
|
P.append(", isExternal=");
|
|
P.append(this.isExternal);
|
|
P.append(", hasSearchQuery=");
|
|
P.append(this.hasSearchQuery);
|
|
P.append(", hasPremiumStreamFps=");
|
|
P.append(this.hasPremiumStreamFps);
|
|
P.append(", hasPremiumStreamResolution=");
|
|
P.append(this.hasPremiumStreamResolution);
|
|
P.append(", duration=");
|
|
P.append(this.duration);
|
|
P.append(")");
|
|
return P.toString();
|
|
}
|
|
}
|