58 lines
1.7 KiB
Java
58 lines
1.7 KiB
Java
package com.discord.widgets.chat.list.entries;
|
|
|
|
import c.d.b.a.a;
|
|
/* compiled from: SearchResultCountEntry.kt */
|
|
public final class SearchResultCountEntry extends ChatListEntry {
|
|
private final String key = String.valueOf(getType());
|
|
private final int totalResults;
|
|
private final int type = 11;
|
|
|
|
public SearchResultCountEntry(int i) {
|
|
this.totalResults = i;
|
|
}
|
|
|
|
public static /* synthetic */ SearchResultCountEntry copy$default(SearchResultCountEntry searchResultCountEntry, int i, int i2, Object obj) {
|
|
if ((i2 & 1) != 0) {
|
|
i = searchResultCountEntry.totalResults;
|
|
}
|
|
return searchResultCountEntry.copy(i);
|
|
}
|
|
|
|
public final int component1() {
|
|
return this.totalResults;
|
|
}
|
|
|
|
public final SearchResultCountEntry copy(int i) {
|
|
return new SearchResultCountEntry(i);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof SearchResultCountEntry) && this.totalResults == ((SearchResultCountEntry) obj).totalResults;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload, com.discord.utilities.recycler.DiffKeyProvider
|
|
public String getKey() {
|
|
return this.key;
|
|
}
|
|
|
|
public final int getTotalResults() {
|
|
return this.totalResults;
|
|
}
|
|
|
|
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload
|
|
public int getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.totalResults;
|
|
}
|
|
|
|
public String toString() {
|
|
return a.z(a.L("SearchResultCountEntry(totalResults="), this.totalResults, ")");
|
|
}
|
|
}
|