46 lines
1.6 KiB
Java
46 lines
1.6 KiB
Java
|
package com.discord.api.directory;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: DirectoryEntry.kt */
|
||
|
public final class DirectoryEntry {
|
||
|
private final long authorId;
|
||
|
private final String description;
|
||
|
private final long directoryChannelId;
|
||
|
private final long entityId;
|
||
|
private final int type;
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof DirectoryEntry)) {
|
||
|
return false;
|
||
|
}
|
||
|
DirectoryEntry directoryEntry = (DirectoryEntry) obj;
|
||
|
return this.directoryChannelId == directoryEntry.directoryChannelId && this.entityId == directoryEntry.entityId && this.type == directoryEntry.type && this.authorId == directoryEntry.authorId && m.areEqual(this.description, directoryEntry.description);
|
||
|
}
|
||
|
|
||
|
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) + this.type) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31;
|
||
|
String str = this.description;
|
||
|
return i + (str != null ? str.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("DirectoryEntry(directoryChannelId=");
|
||
|
L.append(this.directoryChannelId);
|
||
|
L.append(", entityId=");
|
||
|
L.append(this.entityId);
|
||
|
L.append(", type=");
|
||
|
L.append(this.type);
|
||
|
L.append(", authorId=");
|
||
|
L.append(this.authorId);
|
||
|
L.append(", description=");
|
||
|
return a.D(L, this.description, ")");
|
||
|
}
|
||
|
}
|