discord-jadx/app/src/main/java/com/discord/api/botuikit/ActionRowComponent.java

50 lines
1.4 KiB
Java

package com.discord.api.botuikit;
import c.d.b.a.a;
import d0.z.d.m;
import java.util.List;
/* compiled from: ActionRowComponent.kt */
public final class ActionRowComponent extends LayoutComponent {
private final List<Component> components;
private final ComponentType type;
@Override // com.discord.api.botuikit.LayoutComponent
public List<Component> a() {
return this.components;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ActionRowComponent)) {
return false;
}
ActionRowComponent actionRowComponent = (ActionRowComponent) obj;
return m.areEqual(this.type, actionRowComponent.type) && m.areEqual(this.components, actionRowComponent.components);
}
@Override // com.discord.api.botuikit.Component
public ComponentType getType() {
return this.type;
}
public int hashCode() {
ComponentType componentType = this.type;
int i = 0;
int hashCode = (componentType != null ? componentType.hashCode() : 0) * 31;
List<Component> list = this.components;
if (list != null) {
i = list.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder L = a.L("ActionRowComponent(type=");
L.append(this.type);
L.append(", components=");
return a.E(L, this.components, ")");
}
}