91 lines
3.0 KiB
Java
91 lines
3.0 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import b.d.b.a.a;
|
|
import com.discord.stores.utilities.Default;
|
|
import com.discord.stores.utilities.RestCallState;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: WidgetHubDomainsViewModel.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class DomainsState {
|
|
private final Long selectedGuildId;
|
|
private final RestCallState<Object> verifyEmailAsync;
|
|
|
|
public DomainsState() {
|
|
this(null, null, 3, null);
|
|
}
|
|
|
|
public DomainsState(Long l, RestCallState<? extends Object> restCallState) {
|
|
m.checkNotNullParameter(restCallState, "verifyEmailAsync");
|
|
this.selectedGuildId = l;
|
|
this.verifyEmailAsync = restCallState;
|
|
}
|
|
|
|
public /* synthetic */ DomainsState(Long l, RestCallState restCallState, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? null : l, (i & 2) != 0 ? Default.INSTANCE : restCallState);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ DomainsState copy$default(DomainsState domainsState, Long l, RestCallState restCallState, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
l = domainsState.selectedGuildId;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
restCallState = domainsState.verifyEmailAsync;
|
|
}
|
|
return domainsState.copy(l, restCallState);
|
|
}
|
|
|
|
public final Long component1() {
|
|
return this.selectedGuildId;
|
|
}
|
|
|
|
public final RestCallState<Object> component2() {
|
|
return this.verifyEmailAsync;
|
|
}
|
|
|
|
public final DomainsState copy(Long l, RestCallState<? extends Object> restCallState) {
|
|
m.checkNotNullParameter(restCallState, "verifyEmailAsync");
|
|
return new DomainsState(l, restCallState);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof DomainsState)) {
|
|
return false;
|
|
}
|
|
DomainsState domainsState = (DomainsState) obj;
|
|
return m.areEqual(this.selectedGuildId, domainsState.selectedGuildId) && m.areEqual(this.verifyEmailAsync, domainsState.verifyEmailAsync);
|
|
}
|
|
|
|
public final Long getSelectedGuildId() {
|
|
return this.selectedGuildId;
|
|
}
|
|
|
|
public final RestCallState<Object> getVerifyEmailAsync() {
|
|
return this.verifyEmailAsync;
|
|
}
|
|
|
|
public int hashCode() {
|
|
Long l = this.selectedGuildId;
|
|
int i = 0;
|
|
int hashCode = (l != null ? l.hashCode() : 0) * 31;
|
|
RestCallState<Object> restCallState = this.verifyEmailAsync;
|
|
if (restCallState != null) {
|
|
i = restCallState.hashCode();
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = a.R("DomainsState(selectedGuildId=");
|
|
R.append(this.selectedGuildId);
|
|
R.append(", verifyEmailAsync=");
|
|
R.append(this.verifyEmailAsync);
|
|
R.append(")");
|
|
return R.toString();
|
|
}
|
|
}
|