package com.discord.widgets.chat.list.entries; import a0.a.a.b; import c.d.b.a.a; import d0.z.d.m; /* compiled from: UploadProgressEntry.kt */ public final class UploadProgressEntry extends ChatListEntry { private final long channelId; private final String key; private final String messageNonce; private final int type = 6; public UploadProgressEntry(String str, long j) { m.checkNotNullParameter(str, "messageNonce"); this.messageNonce = str; this.channelId = j; this.key = getType() + ' ' + str; } public static /* synthetic */ UploadProgressEntry copy$default(UploadProgressEntry uploadProgressEntry, String str, long j, int i, Object obj) { if ((i & 1) != 0) { str = uploadProgressEntry.messageNonce; } if ((i & 2) != 0) { j = uploadProgressEntry.channelId; } return uploadProgressEntry.copy(str, j); } public final String component1() { return this.messageNonce; } public final long component2() { return this.channelId; } public final UploadProgressEntry copy(String str, long j) { m.checkNotNullParameter(str, "messageNonce"); return new UploadProgressEntry(str, j); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof UploadProgressEntry)) { return false; } UploadProgressEntry uploadProgressEntry = (UploadProgressEntry) obj; return m.areEqual(this.messageNonce, uploadProgressEntry.messageNonce) && this.channelId == uploadProgressEntry.channelId; } public final long getChannelId() { return this.channelId; } @Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload, com.discord.utilities.recycler.DiffKeyProvider public String getKey() { return this.key; } public final String getMessageNonce() { return this.messageNonce; } @Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload public int getType() { return this.type; } public int hashCode() { String str = this.messageNonce; return b.a(this.channelId) + ((str != null ? str.hashCode() : 0) * 31); } public String toString() { StringBuilder L = a.L("UploadProgressEntry(messageNonce="); L.append(this.messageNonce); L.append(", channelId="); return a.A(L, this.channelId, ")"); } }