54 lines
1.4 KiB
Java
54 lines
1.4 KiB
Java
package com.discord.api.message.embed;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: EmbedField.kt */
|
|
public final class EmbedField {
|
|
private final Boolean inline;
|
|
private final String name;
|
|
private final String value;
|
|
|
|
public final String a() {
|
|
return this.name;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.value;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof EmbedField)) {
|
|
return false;
|
|
}
|
|
EmbedField embedField = (EmbedField) obj;
|
|
return m.areEqual(this.name, embedField.name) && m.areEqual(this.value, embedField.value) && m.areEqual(this.inline, embedField.inline);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.name;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.value;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
Boolean bool = this.inline;
|
|
if (bool != null) {
|
|
i = bool.hashCode();
|
|
}
|
|
return hashCode2 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("EmbedField(name=");
|
|
L.append(this.name);
|
|
L.append(", value=");
|
|
L.append(this.value);
|
|
L.append(", inline=");
|
|
L.append(this.inline);
|
|
L.append(")");
|
|
return L.toString();
|
|
}
|
|
}
|