2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.api.thread;
|
|
|
|
|
|
|
|
import c.d.b.a.a;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import java.util.List;
|
|
|
|
/* compiled from: ThreadMembersUpdate.kt */
|
|
|
|
public final class ThreadMembersUpdate {
|
2021-07-03 23:36:06 +00:00
|
|
|
private final List<AugmentedThreadMember> addedMembers;
|
2021-06-27 20:44:35 +00:00
|
|
|
private final long guildId;
|
|
|
|
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
2021-07-03 23:36:06 +00:00
|
|
|
private final long f1581id;
|
2021-06-27 20:44:35 +00:00
|
|
|
private final int memberCount;
|
|
|
|
private final List<Long> memberIdsPreview;
|
|
|
|
private final List<Long> removedMemberIds;
|
|
|
|
|
2021-07-03 23:36:06 +00:00
|
|
|
public final List<AugmentedThreadMember> a() {
|
2021-06-27 20:44:35 +00:00
|
|
|
return this.addedMembers;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final long b() {
|
|
|
|
return this.guildId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final long c() {
|
2021-07-03 23:36:06 +00:00
|
|
|
return this.f1581id;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final List<Long> d() {
|
|
|
|
return this.removedMemberIds;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(obj instanceof ThreadMembersUpdate)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
ThreadMembersUpdate threadMembersUpdate = (ThreadMembersUpdate) obj;
|
2021-07-03 23:36:06 +00:00
|
|
|
return this.f1581id == threadMembersUpdate.f1581id && this.guildId == threadMembersUpdate.guildId && this.memberCount == threadMembersUpdate.memberCount && m.areEqual(this.removedMemberIds, threadMembersUpdate.removedMemberIds) && m.areEqual(this.memberIdsPreview, threadMembersUpdate.memberIdsPreview) && m.areEqual(this.addedMembers, threadMembersUpdate.addedMembers);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int hashCode() {
|
2021-07-03 23:36:06 +00:00
|
|
|
long j = this.f1581id;
|
2021-06-27 20:44:35 +00:00
|
|
|
long j2 = this.guildId;
|
|
|
|
int i = ((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + this.memberCount) * 31;
|
|
|
|
List<Long> list = this.removedMemberIds;
|
|
|
|
int i2 = 0;
|
|
|
|
int hashCode = (i + (list != null ? list.hashCode() : 0)) * 31;
|
|
|
|
List<Long> list2 = this.memberIdsPreview;
|
|
|
|
int hashCode2 = (hashCode + (list2 != null ? list2.hashCode() : 0)) * 31;
|
2021-07-03 23:36:06 +00:00
|
|
|
List<AugmentedThreadMember> list3 = this.addedMembers;
|
2021-06-27 20:44:35 +00:00
|
|
|
if (list3 != null) {
|
|
|
|
i2 = list3.hashCode();
|
|
|
|
}
|
|
|
|
return hashCode2 + i2;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
|
|
|
StringBuilder L = a.L("ThreadMembersUpdate(id=");
|
2021-07-03 23:36:06 +00:00
|
|
|
L.append(this.f1581id);
|
2021-06-27 20:44:35 +00:00
|
|
|
L.append(", guildId=");
|
|
|
|
L.append(this.guildId);
|
|
|
|
L.append(", memberCount=");
|
|
|
|
L.append(this.memberCount);
|
|
|
|
L.append(", removedMemberIds=");
|
|
|
|
L.append(this.removedMemberIds);
|
|
|
|
L.append(", memberIdsPreview=");
|
|
|
|
L.append(this.memberIdsPreview);
|
|
|
|
L.append(", addedMembers=");
|
|
|
|
return a.E(L, this.addedMembers, ")");
|
|
|
|
}
|
|
|
|
}
|