52 lines
1.5 KiB
Java
52 lines
1.5 KiB
Java
|
package com.discord.api.thread;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
import java.util.List;
|
||
|
/* compiled from: ThreadMemberListUpdate.kt */
|
||
|
public final class ThreadMemberListUpdate {
|
||
|
private final long guildId;
|
||
|
private final List<ThreadListMember> members;
|
||
|
private final long threadId;
|
||
|
|
||
|
public final long a() {
|
||
|
return this.guildId;
|
||
|
}
|
||
|
|
||
|
public final List<ThreadListMember> b() {
|
||
|
return this.members;
|
||
|
}
|
||
|
|
||
|
public final long c() {
|
||
|
return this.threadId;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof ThreadMemberListUpdate)) {
|
||
|
return false;
|
||
|
}
|
||
|
ThreadMemberListUpdate threadMemberListUpdate = (ThreadMemberListUpdate) obj;
|
||
|
return this.guildId == threadMemberListUpdate.guildId && this.threadId == threadMemberListUpdate.threadId && m.areEqual(this.members, threadMemberListUpdate.members);
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
long j = this.guildId;
|
||
|
long j2 = this.threadId;
|
||
|
int i = ((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31;
|
||
|
List<ThreadListMember> list = this.members;
|
||
|
return i + (list != null ? list.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("ThreadMemberListUpdate(guildId=");
|
||
|
L.append(this.guildId);
|
||
|
L.append(", threadId=");
|
||
|
L.append(this.threadId);
|
||
|
L.append(", members=");
|
||
|
return a.E(L, this.members, ")");
|
||
|
}
|
||
|
}
|