discord-jadx/app/src/main/java/com/discord/widgets/chat/list/entries/EmptyPinsEntry.java
2021-06-27 22:44:35 +02:00

65 lines
1.7 KiB
Java

package com.discord.widgets.chat.list.entries;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: EmptyPinsEntry.kt */
public final class EmptyPinsEntry extends ChatListEntry {
private final String key = String.valueOf(getType());
private final String text;
private final int type = 16;
public EmptyPinsEntry(String str) {
m.checkNotNullParameter(str, "text");
this.text = str;
}
public static /* synthetic */ EmptyPinsEntry copy$default(EmptyPinsEntry emptyPinsEntry, String str, int i, Object obj) {
if ((i & 1) != 0) {
str = emptyPinsEntry.text;
}
return emptyPinsEntry.copy(str);
}
public final String component1() {
return this.text;
}
public final EmptyPinsEntry copy(String str) {
m.checkNotNullParameter(str, "text");
return new EmptyPinsEntry(str);
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof EmptyPinsEntry) && m.areEqual(this.text, ((EmptyPinsEntry) obj).text);
}
return true;
}
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload, com.discord.utilities.recycler.DiffKeyProvider
public String getKey() {
return this.key;
}
public final String getText() {
return this.text;
}
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload
public int getType() {
return this.type;
}
public int hashCode() {
String str = this.text;
if (str != null) {
return str.hashCode();
}
return 0;
}
public String toString() {
return a.D(a.L("EmptyPinsEntry(text="), this.text, ")");
}
}