83 lines
4.1 KiB
Java
83 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.analytics.generated.traits.TrackGuild;
|
|
import com.discord.analytics.generated.traits.TrackGuildReceiver;
|
|
import com.discord.api.science.AnalyticsSchema;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: TrackRoleSubscriptionListingUpdated.kt */
|
|
public final class TrackRoleSubscriptionListingUpdated implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver {
|
|
private final transient String analyticsSchemaTypeName = "role_subscription_listing_updated";
|
|
private final List<Long> channelBenefitIds = null;
|
|
private final List<CharSequence> intangibleBenefitNames = null;
|
|
private final CharSequence name = null;
|
|
private final Long priceTier = null;
|
|
private final Boolean published = null;
|
|
private final Long roleId = null;
|
|
private final Long roleSubscriptionGroupListingId = null;
|
|
private final Long roleSubscriptionListingId = null;
|
|
private TrackBase trackBase;
|
|
private TrackGuild trackGuild;
|
|
|
|
@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 TrackRoleSubscriptionListingUpdated)) {
|
|
return false;
|
|
}
|
|
TrackRoleSubscriptionListingUpdated trackRoleSubscriptionListingUpdated = (TrackRoleSubscriptionListingUpdated) obj;
|
|
return m.areEqual(this.roleSubscriptionListingId, trackRoleSubscriptionListingUpdated.roleSubscriptionListingId) && m.areEqual(this.name, trackRoleSubscriptionListingUpdated.name) && m.areEqual(this.roleSubscriptionGroupListingId, trackRoleSubscriptionListingUpdated.roleSubscriptionGroupListingId) && m.areEqual(this.published, trackRoleSubscriptionListingUpdated.published) && m.areEqual(this.channelBenefitIds, trackRoleSubscriptionListingUpdated.channelBenefitIds) && m.areEqual(this.roleId, trackRoleSubscriptionListingUpdated.roleId) && m.areEqual(this.intangibleBenefitNames, trackRoleSubscriptionListingUpdated.intangibleBenefitNames) && m.areEqual(this.priceTier, trackRoleSubscriptionListingUpdated.priceTier);
|
|
}
|
|
|
|
public int hashCode() {
|
|
Long l = this.roleSubscriptionListingId;
|
|
int i = 0;
|
|
int hashCode = (l != null ? l.hashCode() : 0) * 31;
|
|
CharSequence charSequence = this.name;
|
|
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
|
|
Long l2 = this.roleSubscriptionGroupListingId;
|
|
int hashCode3 = (hashCode2 + (l2 != null ? l2.hashCode() : 0)) * 31;
|
|
Boolean bool = this.published;
|
|
int hashCode4 = (hashCode3 + (bool != null ? bool.hashCode() : 0)) * 31;
|
|
List<Long> list = this.channelBenefitIds;
|
|
int hashCode5 = (hashCode4 + (list != null ? list.hashCode() : 0)) * 31;
|
|
Long l3 = this.roleId;
|
|
int hashCode6 = (hashCode5 + (l3 != null ? l3.hashCode() : 0)) * 31;
|
|
List<CharSequence> list2 = this.intangibleBenefitNames;
|
|
int hashCode7 = (hashCode6 + (list2 != null ? list2.hashCode() : 0)) * 31;
|
|
Long l4 = this.priceTier;
|
|
if (l4 != null) {
|
|
i = l4.hashCode();
|
|
}
|
|
return hashCode7 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("TrackRoleSubscriptionListingUpdated(roleSubscriptionListingId=");
|
|
R.append(this.roleSubscriptionListingId);
|
|
R.append(", name=");
|
|
R.append(this.name);
|
|
R.append(", roleSubscriptionGroupListingId=");
|
|
R.append(this.roleSubscriptionGroupListingId);
|
|
R.append(", published=");
|
|
R.append(this.published);
|
|
R.append(", channelBenefitIds=");
|
|
R.append(this.channelBenefitIds);
|
|
R.append(", roleId=");
|
|
R.append(this.roleId);
|
|
R.append(", intangibleBenefitNames=");
|
|
R.append(this.intangibleBenefitNames);
|
|
R.append(", priceTier=");
|
|
return a.F(R, this.priceTier, ")");
|
|
}
|
|
}
|