82 lines
2.4 KiB
Java
82 lines
2.4 KiB
Java
package com.discord.api.botuikit;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.io.Serializable;
|
|
/* compiled from: SelectComponent.kt */
|
|
public final class SelectItem implements Serializable {
|
|
|
|
/* renamed from: default reason: not valid java name */
|
|
private final boolean f0default;
|
|
private final String description;
|
|
private final ComponentEmoji emoji;
|
|
private final String label;
|
|
private final String value;
|
|
|
|
public final String a() {
|
|
return this.description;
|
|
}
|
|
|
|
public final ComponentEmoji b() {
|
|
return this.emoji;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.label;
|
|
}
|
|
|
|
public final String d() {
|
|
return this.value;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof SelectItem)) {
|
|
return false;
|
|
}
|
|
SelectItem selectItem = (SelectItem) obj;
|
|
return m.areEqual(this.label, selectItem.label) && m.areEqual(this.value, selectItem.value) && m.areEqual(this.emoji, selectItem.emoji) && m.areEqual(this.description, selectItem.description) && this.f0default == selectItem.f0default;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
String str = this.label;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.value;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
ComponentEmoji componentEmoji = this.emoji;
|
|
int hashCode3 = (hashCode2 + (componentEmoji != null ? componentEmoji.hashCode() : 0)) * 31;
|
|
String str3 = this.description;
|
|
if (str3 != null) {
|
|
i = str3.hashCode();
|
|
}
|
|
int i2 = (hashCode3 + i) * 31;
|
|
boolean z2 = this.f0default;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i3 = z2 ? 1 : 0;
|
|
int i4 = z2 ? 1 : 0;
|
|
int i5 = z2 ? 1 : 0;
|
|
return i2 + i3;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public String toString() {
|
|
StringBuilder L = a.L("SelectItem(label=");
|
|
L.append(this.label);
|
|
L.append(", value=");
|
|
L.append(this.value);
|
|
L.append(", emoji=");
|
|
L.append(this.emoji);
|
|
L.append(", description=");
|
|
L.append(this.description);
|
|
L.append(", default=");
|
|
return a.G(L, this.f0default, ")");
|
|
}
|
|
}
|