package com.discord.widgets.chat.input.models; import c.d.b.a.a; import com.discord.models.commands.Application; import com.discord.models.commands.ApplicationCommand; import com.discord.widgets.chat.input.WidgetChatInputDiscoveryCommandsModel; import d0.t.n; import d0.z.d.m; import java.util.List; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: AutocompleteApplicationCommands.kt */ public final class AutocompleteApplicationCommands { private final List applications; private final WidgetChatInputDiscoveryCommandsModel discoveryCommands; private final List queryCommands; public AutocompleteApplicationCommands() { this(null, null, null, 7, null); } /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.util.List */ /* JADX WARN: Multi-variable type inference failed */ public AutocompleteApplicationCommands(List list, List list2, WidgetChatInputDiscoveryCommandsModel widgetChatInputDiscoveryCommandsModel) { m.checkNotNullParameter(list, "applications"); m.checkNotNullParameter(list2, "queryCommands"); this.applications = list; this.queryCommands = list2; this.discoveryCommands = widgetChatInputDiscoveryCommandsModel; } /* JADX INFO: this call moved to the top of the method (can break code semantics) */ public /* synthetic */ AutocompleteApplicationCommands(List list, List list2, WidgetChatInputDiscoveryCommandsModel widgetChatInputDiscoveryCommandsModel, int i, DefaultConstructorMarker defaultConstructorMarker) { this((i & 1) != 0 ? n.emptyList() : list, (i & 2) != 0 ? n.emptyList() : list2, (i & 4) != 0 ? null : widgetChatInputDiscoveryCommandsModel); } /* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.widgets.chat.input.models.AutocompleteApplicationCommands */ /* JADX WARN: Multi-variable type inference failed */ public static /* synthetic */ AutocompleteApplicationCommands copy$default(AutocompleteApplicationCommands autocompleteApplicationCommands, List list, List list2, WidgetChatInputDiscoveryCommandsModel widgetChatInputDiscoveryCommandsModel, int i, Object obj) { if ((i & 1) != 0) { list = autocompleteApplicationCommands.applications; } if ((i & 2) != 0) { list2 = autocompleteApplicationCommands.queryCommands; } if ((i & 4) != 0) { widgetChatInputDiscoveryCommandsModel = autocompleteApplicationCommands.discoveryCommands; } return autocompleteApplicationCommands.copy(list, list2, widgetChatInputDiscoveryCommandsModel); } public final List component1() { return this.applications; } public final List component2() { return this.queryCommands; } public final WidgetChatInputDiscoveryCommandsModel component3() { return this.discoveryCommands; } public final AutocompleteApplicationCommands copy(List list, List list2, WidgetChatInputDiscoveryCommandsModel widgetChatInputDiscoveryCommandsModel) { m.checkNotNullParameter(list, "applications"); m.checkNotNullParameter(list2, "queryCommands"); return new AutocompleteApplicationCommands(list, list2, widgetChatInputDiscoveryCommandsModel); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof AutocompleteApplicationCommands)) { return false; } AutocompleteApplicationCommands autocompleteApplicationCommands = (AutocompleteApplicationCommands) obj; return m.areEqual(this.applications, autocompleteApplicationCommands.applications) && m.areEqual(this.queryCommands, autocompleteApplicationCommands.queryCommands) && m.areEqual(this.discoveryCommands, autocompleteApplicationCommands.discoveryCommands); } public final List getApplications() { return this.applications; } public final WidgetChatInputDiscoveryCommandsModel getDiscoveryCommands() { return this.discoveryCommands; } public final List getQueryCommands() { return this.queryCommands; } public int hashCode() { List list = this.applications; int i = 0; int hashCode = (list != null ? list.hashCode() : 0) * 31; List list2 = this.queryCommands; int hashCode2 = (hashCode + (list2 != null ? list2.hashCode() : 0)) * 31; WidgetChatInputDiscoveryCommandsModel widgetChatInputDiscoveryCommandsModel = this.discoveryCommands; if (widgetChatInputDiscoveryCommandsModel != null) { i = widgetChatInputDiscoveryCommandsModel.hashCode(); } return hashCode2 + i; } public String toString() { StringBuilder K = a.K("AutocompleteApplicationCommands(applications="); K.append(this.applications); K.append(", queryCommands="); K.append(this.queryCommands); K.append(", discoveryCommands="); K.append(this.discoveryCommands); K.append(")"); return K.toString(); } }