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

97 lines
5.1 KiB
Java
Raw Normal View History

2021-08-31 07:21:49 +00:00
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;
2021-09-21 07:33:49 +00:00
import com.discord.analytics.generated.traits.TrackChannel;
import com.discord.analytics.generated.traits.TrackChannelReceiver;
2021-08-31 07:21:49 +00:00
import com.discord.analytics.generated.traits.TrackGuild;
import com.discord.analytics.generated.traits.TrackGuildReceiver;
import com.discord.api.science.AnalyticsSchema;
import com.discord.api.utcdatetime.UtcDateTime;
import d0.z.d.m;
import java.util.List;
/* compiled from: TrackGuildScheduledEventUpdated.kt */
2021-09-21 07:33:49 +00:00
public final class TrackGuildScheduledEventUpdated implements AnalyticsSchema, TrackBaseReceiver, TrackGuildReceiver, TrackChannelReceiver {
2021-08-31 07:21:49 +00:00
private final transient String analyticsSchemaTypeName = "guild_scheduled_event_updated";
private final UtcDateTime endTime = null;
2021-10-05 07:27:27 +00:00
private final Long guildScheduledEventEntityType = null;
2021-10-11 07:48:45 +00:00
private final CharSequence guildScheduledEventExternalLocation = null;
2021-08-31 07:21:49 +00:00
private final Long guildScheduledEventId = null;
2021-10-11 07:48:45 +00:00
private final Long guildScheduledEventInterestedCount = null;
2021-08-31 07:21:49 +00:00
private final Long guildScheduledEventStatus = null;
private final CharSequence name = null;
private final Long privacyLevel = null;
2021-09-14 16:14:33 +00:00
private final List<Long> skuIds = null;
2021-08-31 07:21:49 +00:00
private final UtcDateTime startTime = null;
private TrackBase trackBase;
2021-09-21 07:33:49 +00:00
private TrackChannel trackChannel;
2021-08-31 07:21:49 +00:00
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 TrackGuildScheduledEventUpdated)) {
return false;
}
TrackGuildScheduledEventUpdated trackGuildScheduledEventUpdated = (TrackGuildScheduledEventUpdated) obj;
2021-10-11 07:48:45 +00:00
return m.areEqual(this.guildScheduledEventId, trackGuildScheduledEventUpdated.guildScheduledEventId) && m.areEqual(this.name, trackGuildScheduledEventUpdated.name) && m.areEqual(this.startTime, trackGuildScheduledEventUpdated.startTime) && m.areEqual(this.endTime, trackGuildScheduledEventUpdated.endTime) && m.areEqual(this.skuIds, trackGuildScheduledEventUpdated.skuIds) && m.areEqual(this.guildScheduledEventStatus, trackGuildScheduledEventUpdated.guildScheduledEventStatus) && m.areEqual(this.privacyLevel, trackGuildScheduledEventUpdated.privacyLevel) && m.areEqual(this.guildScheduledEventEntityType, trackGuildScheduledEventUpdated.guildScheduledEventEntityType) && m.areEqual(this.guildScheduledEventExternalLocation, trackGuildScheduledEventUpdated.guildScheduledEventExternalLocation) && m.areEqual(this.guildScheduledEventInterestedCount, trackGuildScheduledEventUpdated.guildScheduledEventInterestedCount);
2021-08-31 07:21:49 +00:00
}
public int hashCode() {
Long l = this.guildScheduledEventId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
CharSequence charSequence = this.name;
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
UtcDateTime utcDateTime = this.startTime;
int hashCode3 = (hashCode2 + (utcDateTime != null ? utcDateTime.hashCode() : 0)) * 31;
UtcDateTime utcDateTime2 = this.endTime;
int hashCode4 = (hashCode3 + (utcDateTime2 != null ? utcDateTime2.hashCode() : 0)) * 31;
2021-09-14 16:14:33 +00:00
List<Long> list = this.skuIds;
2021-08-31 07:21:49 +00:00
int hashCode5 = (hashCode4 + (list != null ? list.hashCode() : 0)) * 31;
Long l2 = this.guildScheduledEventStatus;
int hashCode6 = (hashCode5 + (l2 != null ? l2.hashCode() : 0)) * 31;
Long l3 = this.privacyLevel;
2021-10-05 07:27:27 +00:00
int hashCode7 = (hashCode6 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.guildScheduledEventEntityType;
2021-10-11 07:48:45 +00:00
int hashCode8 = (hashCode7 + (l4 != null ? l4.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.guildScheduledEventExternalLocation;
int hashCode9 = (hashCode8 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
Long l5 = this.guildScheduledEventInterestedCount;
if (l5 != null) {
i = l5.hashCode();
2021-08-31 07:21:49 +00:00
}
2021-10-11 07:48:45 +00:00
return hashCode9 + i;
2021-08-31 07:21:49 +00:00
}
public String toString() {
2021-10-11 07:48:45 +00:00
StringBuilder O = a.O("TrackGuildScheduledEventUpdated(guildScheduledEventId=");
O.append(this.guildScheduledEventId);
O.append(", name=");
O.append(this.name);
O.append(", startTime=");
O.append(this.startTime);
O.append(", endTime=");
O.append(this.endTime);
O.append(", skuIds=");
O.append(this.skuIds);
O.append(", guildScheduledEventStatus=");
O.append(this.guildScheduledEventStatus);
O.append(", privacyLevel=");
O.append(this.privacyLevel);
O.append(", guildScheduledEventEntityType=");
O.append(this.guildScheduledEventEntityType);
O.append(", guildScheduledEventExternalLocation=");
O.append(this.guildScheduledEventExternalLocation);
O.append(", guildScheduledEventInterestedCount=");
return a.E(O, this.guildScheduledEventInterestedCount, ")");
2021-08-31 07:21:49 +00:00
}
}