forked from Juby210/discord-jadx
88 lines
2.9 KiB
Java
88 lines
2.9 KiB
Java
package com.discord.api.directory;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.api.guild.preview.GuildPreview;
|
|
import com.discord.api.utcdatetime.UtcDateTime;
|
|
import d0.z.d.m;
|
|
/* compiled from: DirectoryEntryGuild.kt */
|
|
public final class DirectoryEntryGuild {
|
|
private final long authorId;
|
|
private final UtcDateTime createdAt;
|
|
private final String description;
|
|
private final long directoryChannelId;
|
|
private final long entityId;
|
|
private final GuildPreview guild;
|
|
private final int primaryCategoryId;
|
|
|
|
public final UtcDateTime a() {
|
|
return this.createdAt;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.description;
|
|
}
|
|
|
|
public final long c() {
|
|
return this.directoryChannelId;
|
|
}
|
|
|
|
public final long d() {
|
|
return this.entityId;
|
|
}
|
|
|
|
public final GuildPreview e() {
|
|
return this.guild;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof DirectoryEntryGuild)) {
|
|
return false;
|
|
}
|
|
DirectoryEntryGuild directoryEntryGuild = (DirectoryEntryGuild) obj;
|
|
return this.directoryChannelId == directoryEntryGuild.directoryChannelId && this.entityId == directoryEntryGuild.entityId && this.authorId == directoryEntryGuild.authorId && m.areEqual(this.description, directoryEntryGuild.description) && this.primaryCategoryId == directoryEntryGuild.primaryCategoryId && m.areEqual(this.guild, directoryEntryGuild.guild) && m.areEqual(this.createdAt, directoryEntryGuild.createdAt);
|
|
}
|
|
|
|
public final int f() {
|
|
return this.primaryCategoryId;
|
|
}
|
|
|
|
public int hashCode() {
|
|
long j = this.directoryChannelId;
|
|
long j2 = this.entityId;
|
|
long j3 = this.authorId;
|
|
int i = ((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31;
|
|
String str = this.description;
|
|
int i2 = 0;
|
|
int hashCode = (((i + (str != null ? str.hashCode() : 0)) * 31) + this.primaryCategoryId) * 31;
|
|
GuildPreview guildPreview = this.guild;
|
|
int hashCode2 = (hashCode + (guildPreview != null ? guildPreview.hashCode() : 0)) * 31;
|
|
UtcDateTime utcDateTime = this.createdAt;
|
|
if (utcDateTime != null) {
|
|
i2 = utcDateTime.hashCode();
|
|
}
|
|
return hashCode2 + i2;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("DirectoryEntryGuild(directoryChannelId=");
|
|
R.append(this.directoryChannelId);
|
|
R.append(", entityId=");
|
|
R.append(this.entityId);
|
|
R.append(", authorId=");
|
|
R.append(this.authorId);
|
|
R.append(", description=");
|
|
R.append(this.description);
|
|
R.append(", primaryCategoryId=");
|
|
R.append(this.primaryCategoryId);
|
|
R.append(", guild=");
|
|
R.append(this.guild);
|
|
R.append(", createdAt=");
|
|
R.append(this.createdAt);
|
|
R.append(")");
|
|
return R.toString();
|
|
}
|
|
}
|