91 lines
2.6 KiB
Java
91 lines
2.6 KiB
Java
package com.discord.models.botuikit;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: ActionInteractionComponentState.kt */
|
|
public abstract class ActionInteractionComponentState {
|
|
|
|
/* compiled from: ActionInteractionComponentState.kt */
|
|
public static final class Disabled extends ActionInteractionComponentState {
|
|
public static final Disabled INSTANCE = new Disabled();
|
|
|
|
private Disabled() {
|
|
super(null);
|
|
}
|
|
}
|
|
|
|
/* compiled from: ActionInteractionComponentState.kt */
|
|
public static final class Enabled extends ActionInteractionComponentState {
|
|
public static final Enabled INSTANCE = new Enabled();
|
|
|
|
private Enabled() {
|
|
super(null);
|
|
}
|
|
}
|
|
|
|
/* compiled from: ActionInteractionComponentState.kt */
|
|
public static final class Failed extends ActionInteractionComponentState {
|
|
private final String errorMessage;
|
|
|
|
public Failed(String str) {
|
|
super(null);
|
|
this.errorMessage = str;
|
|
}
|
|
|
|
public static /* synthetic */ Failed copy$default(Failed failed, String str, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = failed.errorMessage;
|
|
}
|
|
return failed.copy(str);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.errorMessage;
|
|
}
|
|
|
|
public final Failed copy(String str) {
|
|
return new Failed(str);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof Failed) && m.areEqual(this.errorMessage, ((Failed) obj).errorMessage);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public final String getErrorMessage() {
|
|
return this.errorMessage;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.errorMessage;
|
|
if (str != null) {
|
|
return str.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public String toString() {
|
|
return a.D(a.L("Failed(errorMessage="), this.errorMessage, ")");
|
|
}
|
|
}
|
|
|
|
/* compiled from: ActionInteractionComponentState.kt */
|
|
public static final class Loading extends ActionInteractionComponentState {
|
|
public static final Loading INSTANCE = new Loading();
|
|
|
|
private Loading() {
|
|
super(null);
|
|
}
|
|
}
|
|
|
|
private ActionInteractionComponentState() {
|
|
}
|
|
|
|
public /* synthetic */ ActionInteractionComponentState(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
}
|