87 lines
3.1 KiB
Java
87 lines
3.1 KiB
Java
package com.discord.widgets.channels.list.items;
|
|
|
|
import a0.a.a.b;
|
|
import c.d.b.a.a;
|
|
import com.discord.api.guildscheduledevent.GuildScheduledEvent;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: ChannelListItemGuildScheduledEvents.kt */
|
|
public final class ChannelListItemGuildScheduledEvents implements ChannelListItem {
|
|
private final List<GuildScheduledEvent> data;
|
|
private final long guildId;
|
|
private final String key = String.valueOf(getType());
|
|
private final int type = 19;
|
|
|
|
public ChannelListItemGuildScheduledEvents(List<GuildScheduledEvent> list, long j) {
|
|
m.checkNotNullParameter(list, "data");
|
|
this.data = list;
|
|
this.guildId = j;
|
|
}
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.widgets.channels.list.items.ChannelListItemGuildScheduledEvents */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ ChannelListItemGuildScheduledEvents copy$default(ChannelListItemGuildScheduledEvents channelListItemGuildScheduledEvents, List list, long j, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
list = channelListItemGuildScheduledEvents.data;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
j = channelListItemGuildScheduledEvents.guildId;
|
|
}
|
|
return channelListItemGuildScheduledEvents.copy(list, j);
|
|
}
|
|
|
|
public final List<GuildScheduledEvent> component1() {
|
|
return this.data;
|
|
}
|
|
|
|
public final long component2() {
|
|
return this.guildId;
|
|
}
|
|
|
|
public final ChannelListItemGuildScheduledEvents copy(List<GuildScheduledEvent> list, long j) {
|
|
m.checkNotNullParameter(list, "data");
|
|
return new ChannelListItemGuildScheduledEvents(list, j);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ChannelListItemGuildScheduledEvents)) {
|
|
return false;
|
|
}
|
|
ChannelListItemGuildScheduledEvents channelListItemGuildScheduledEvents = (ChannelListItemGuildScheduledEvents) obj;
|
|
return m.areEqual(this.data, channelListItemGuildScheduledEvents.data) && this.guildId == channelListItemGuildScheduledEvents.guildId;
|
|
}
|
|
|
|
public final List<GuildScheduledEvent> getData() {
|
|
return this.data;
|
|
}
|
|
|
|
public final long getGuildId() {
|
|
return this.guildId;
|
|
}
|
|
|
|
@Override // com.discord.widgets.channels.list.items.ChannelListItem, com.discord.utilities.mg_recycler.MGRecyclerDataPayload, com.discord.utilities.recycler.DiffKeyProvider
|
|
public String getKey() {
|
|
return this.key;
|
|
}
|
|
|
|
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload
|
|
public int getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public int hashCode() {
|
|
List<GuildScheduledEvent> list = this.data;
|
|
return b.a(this.guildId) + ((list != null ? list.hashCode() : 0) * 31);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder P = a.P("ChannelListItemGuildScheduledEvents(data=");
|
|
P.append(this.data);
|
|
P.append(", guildId=");
|
|
return a.A(P, this.guildId, ")");
|
|
}
|
|
}
|