62 lines
1.7 KiB
Java
62 lines
1.7 KiB
Java
package com.discord.api.botuikit;
|
|
|
|
import b.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.io.Serializable;
|
|
/* compiled from: ComponentEmoji.kt */
|
|
public final class ComponentEmoji implements Serializable {
|
|
private final Boolean animated;
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final String f2007id;
|
|
private final String name;
|
|
|
|
public final Boolean a() {
|
|
return this.animated;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.f2007id;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.name;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof ComponentEmoji)) {
|
|
return false;
|
|
}
|
|
ComponentEmoji componentEmoji = (ComponentEmoji) obj;
|
|
return m.areEqual(this.f2007id, componentEmoji.f2007id) && m.areEqual(this.name, componentEmoji.name) && m.areEqual(this.animated, componentEmoji.animated);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
String str = this.f2007id;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.name;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
Boolean bool = this.animated;
|
|
if (bool != null) {
|
|
i = bool.hashCode();
|
|
}
|
|
return hashCode2 + i;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public String toString() {
|
|
StringBuilder R = a.R("ComponentEmoji(id=");
|
|
R.append(this.f2007id);
|
|
R.append(", name=");
|
|
R.append(this.name);
|
|
R.append(", animated=");
|
|
return a.C(R, this.animated, ")");
|
|
}
|
|
}
|