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

99 lines
5.3 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: TrackSubscriptionLazySyncUserPerks.kt */
public final class TrackSubscriptionLazySyncUserPerks implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "subscription_lazy_sync_user_perks";
private final Long currentPeriodEnd = null;
private final Long currentPeriodStart = null;
private final Long newPremiumType = null;
private final Long newPremiumUntil = null;
private final Long originalPremiumType = null;
private final Long originalPremiumUntil = null;
private final Long paymentGateway = null;
private final CharSequence paymentGatewayPlanId = null;
private final Boolean premiumTypeMismatch = null;
private final Boolean premiumUntilMismatch = null;
private final Long subscriptionId = null;
private final Long subscriptionPlanId = null;
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 TrackSubscriptionLazySyncUserPerks)) {
return false;
}
TrackSubscriptionLazySyncUserPerks trackSubscriptionLazySyncUserPerks = (TrackSubscriptionLazySyncUserPerks) obj;
return m.areEqual(this.subscriptionId, trackSubscriptionLazySyncUserPerks.subscriptionId) && m.areEqual(this.subscriptionPlanId, trackSubscriptionLazySyncUserPerks.subscriptionPlanId) && m.areEqual(this.paymentGateway, trackSubscriptionLazySyncUserPerks.paymentGateway) && m.areEqual(this.paymentGatewayPlanId, trackSubscriptionLazySyncUserPerks.paymentGatewayPlanId) && m.areEqual(this.currentPeriodStart, trackSubscriptionLazySyncUserPerks.currentPeriodStart) && m.areEqual(this.currentPeriodEnd, trackSubscriptionLazySyncUserPerks.currentPeriodEnd) && m.areEqual(this.premiumTypeMismatch, trackSubscriptionLazySyncUserPerks.premiumTypeMismatch) && m.areEqual(this.premiumUntilMismatch, trackSubscriptionLazySyncUserPerks.premiumUntilMismatch) && m.areEqual(this.originalPremiumType, trackSubscriptionLazySyncUserPerks.originalPremiumType) && m.areEqual(this.originalPremiumUntil, trackSubscriptionLazySyncUserPerks.originalPremiumUntil) && m.areEqual(this.newPremiumType, trackSubscriptionLazySyncUserPerks.newPremiumType) && m.areEqual(this.newPremiumUntil, trackSubscriptionLazySyncUserPerks.newPremiumUntil);
}
public int hashCode() {
Long l = this.subscriptionId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.subscriptionPlanId;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.paymentGateway;
int hashCode3 = (hashCode2 + (l3 != null ? l3.hashCode() : 0)) * 31;
CharSequence charSequence = this.paymentGatewayPlanId;
int hashCode4 = (hashCode3 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Long l4 = this.currentPeriodStart;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
Long l5 = this.currentPeriodEnd;
int hashCode6 = (hashCode5 + (l5 != null ? l5.hashCode() : 0)) * 31;
Boolean bool = this.premiumTypeMismatch;
int hashCode7 = (hashCode6 + (bool != null ? bool.hashCode() : 0)) * 31;
Boolean bool2 = this.premiumUntilMismatch;
int hashCode8 = (hashCode7 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
Long l6 = this.originalPremiumType;
int hashCode9 = (hashCode8 + (l6 != null ? l6.hashCode() : 0)) * 31;
Long l7 = this.originalPremiumUntil;
int hashCode10 = (hashCode9 + (l7 != null ? l7.hashCode() : 0)) * 31;
Long l8 = this.newPremiumType;
int hashCode11 = (hashCode10 + (l8 != null ? l8.hashCode() : 0)) * 31;
Long l9 = this.newPremiumUntil;
if (l9 != null) {
i = l9.hashCode();
}
return hashCode11 + i;
}
public String toString() {
StringBuilder R = a.R("TrackSubscriptionLazySyncUserPerks(subscriptionId=");
R.append(this.subscriptionId);
R.append(", subscriptionPlanId=");
R.append(this.subscriptionPlanId);
R.append(", paymentGateway=");
R.append(this.paymentGateway);
R.append(", paymentGatewayPlanId=");
R.append(this.paymentGatewayPlanId);
R.append(", currentPeriodStart=");
R.append(this.currentPeriodStart);
R.append(", currentPeriodEnd=");
R.append(this.currentPeriodEnd);
R.append(", premiumTypeMismatch=");
R.append(this.premiumTypeMismatch);
R.append(", premiumUntilMismatch=");
R.append(this.premiumUntilMismatch);
R.append(", originalPremiumType=");
R.append(this.originalPremiumType);
R.append(", originalPremiumUntil=");
R.append(this.originalPremiumUntil);
R.append(", newPremiumType=");
R.append(this.newPremiumType);
R.append(", newPremiumUntil=");
return a.F(R, this.newPremiumUntil, ")");
}
}