61 lines
1.7 KiB
Java
61 lines
1.7 KiB
Java
package com.discord.api.message.embed;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: EmbedAuthor.kt */
|
|
public final class EmbedAuthor {
|
|
private final String iconUrl;
|
|
private final String name;
|
|
private final String proxyIconUrl;
|
|
private final String url;
|
|
|
|
public final String a() {
|
|
return this.name;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.proxyIconUrl;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.url;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof EmbedAuthor)) {
|
|
return false;
|
|
}
|
|
EmbedAuthor embedAuthor = (EmbedAuthor) obj;
|
|
return m.areEqual(this.name, embedAuthor.name) && m.areEqual(this.url, embedAuthor.url) && m.areEqual(this.iconUrl, embedAuthor.iconUrl) && m.areEqual(this.proxyIconUrl, embedAuthor.proxyIconUrl);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.name;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.url;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
String str3 = this.iconUrl;
|
|
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
|
String str4 = this.proxyIconUrl;
|
|
if (str4 != null) {
|
|
i = str4.hashCode();
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("EmbedAuthor(name=");
|
|
L.append(this.name);
|
|
L.append(", url=");
|
|
L.append(this.url);
|
|
L.append(", iconUrl=");
|
|
L.append(this.iconUrl);
|
|
L.append(", proxyIconUrl=");
|
|
return a.D(L, this.proxyIconUrl, ")");
|
|
}
|
|
}
|