173 lines
8.0 KiB
Java
173 lines
8.0 KiB
Java
package com.discord.widgets.guilds.join;
|
|
|
|
import c.d.b.a.a;
|
|
import c0.z.d.m;
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
|
import com.discord.models.domain.ModelInvite;
|
|
import com.discord.utilities.error.Error;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: WidgetGuildJoinCaptchaBottomSheet.kt */
|
|
public final class InviteArgs extends CaptchaArgs {
|
|
private final ModelInvite invite;
|
|
private final Class<?> javaClass;
|
|
private final String location;
|
|
private final Function2<ModelInvite, Continuation<? super Unit>, Object> onInviteFlowFinished;
|
|
private final Function2<Error, Continuation<? super Unit>, Object> onInvitePostError;
|
|
private final Function2<ModelInvite, Continuation<? super Unit>, Object> onInvitePostSuccess;
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r5v0, resolved type: kotlin.jvm.functions.Function2<? super com.discord.utilities.error.Error, ? super kotlin.coroutines.Continuation<? super kotlin.Unit>, ? extends java.lang.Object> */
|
|
/* JADX DEBUG: Multi-variable search result rejected for r6v0, resolved type: kotlin.jvm.functions.Function2<? super com.discord.models.domain.ModelInvite, ? super kotlin.coroutines.Continuation<? super kotlin.Unit>, ? extends java.lang.Object> */
|
|
/* JADX DEBUG: Multi-variable search result rejected for r7v0, resolved type: kotlin.jvm.functions.Function2<? super com.discord.models.domain.ModelInvite, ? super kotlin.coroutines.Continuation<? super kotlin.Unit>, ? extends java.lang.Object> */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public InviteArgs(ModelInvite modelInvite, Class<?> cls, String str, Function2<? super Error, ? super Continuation<? super Unit>, ? extends Object> function2, Function2<? super ModelInvite, ? super Continuation<? super Unit>, ? extends Object> function22, Function2<? super ModelInvite, ? super Continuation<? super Unit>, ? extends Object> function23) {
|
|
super(null);
|
|
m.checkNotNullParameter(modelInvite, "invite");
|
|
m.checkNotNullParameter(cls, "javaClass");
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_LOCATION);
|
|
m.checkNotNullParameter(function2, "onInvitePostError");
|
|
m.checkNotNullParameter(function22, "onInvitePostSuccess");
|
|
m.checkNotNullParameter(function23, "onInviteFlowFinished");
|
|
this.invite = modelInvite;
|
|
this.javaClass = cls;
|
|
this.location = str;
|
|
this.onInvitePostError = function2;
|
|
this.onInvitePostSuccess = function22;
|
|
this.onInviteFlowFinished = function23;
|
|
}
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: com.discord.widgets.guilds.join.InviteArgs */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ InviteArgs copy$default(InviteArgs inviteArgs, ModelInvite modelInvite, Class cls, String str, Function2 function2, Function2 function22, Function2 function23, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
modelInvite = inviteArgs.invite;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
cls = inviteArgs.javaClass;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str = inviteArgs.location;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
function2 = inviteArgs.onInvitePostError;
|
|
}
|
|
if ((i & 16) != 0) {
|
|
function22 = inviteArgs.onInvitePostSuccess;
|
|
}
|
|
if ((i & 32) != 0) {
|
|
function23 = inviteArgs.onInviteFlowFinished;
|
|
}
|
|
return inviteArgs.copy(modelInvite, cls, str, function2, function22, function23);
|
|
}
|
|
|
|
public final ModelInvite component1() {
|
|
return this.invite;
|
|
}
|
|
|
|
public final Class<?> component2() {
|
|
return this.javaClass;
|
|
}
|
|
|
|
public final String component3() {
|
|
return this.location;
|
|
}
|
|
|
|
public final Function2<Error, Continuation<? super Unit>, Object> component4() {
|
|
return this.onInvitePostError;
|
|
}
|
|
|
|
public final Function2<ModelInvite, Continuation<? super Unit>, Object> component5() {
|
|
return this.onInvitePostSuccess;
|
|
}
|
|
|
|
public final Function2<ModelInvite, Continuation<? super Unit>, Object> component6() {
|
|
return this.onInviteFlowFinished;
|
|
}
|
|
|
|
public final InviteArgs copy(ModelInvite modelInvite, Class<?> cls, String str, Function2<? super Error, ? super Continuation<? super Unit>, ? extends Object> function2, Function2<? super ModelInvite, ? super Continuation<? super Unit>, ? extends Object> function22, Function2<? super ModelInvite, ? super Continuation<? super Unit>, ? extends Object> function23) {
|
|
m.checkNotNullParameter(modelInvite, "invite");
|
|
m.checkNotNullParameter(cls, "javaClass");
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_LOCATION);
|
|
m.checkNotNullParameter(function2, "onInvitePostError");
|
|
m.checkNotNullParameter(function22, "onInvitePostSuccess");
|
|
m.checkNotNullParameter(function23, "onInviteFlowFinished");
|
|
return new InviteArgs(modelInvite, cls, str, function2, function22, function23);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof InviteArgs)) {
|
|
return false;
|
|
}
|
|
InviteArgs inviteArgs = (InviteArgs) obj;
|
|
return m.areEqual(this.invite, inviteArgs.invite) && m.areEqual(this.javaClass, inviteArgs.javaClass) && m.areEqual(this.location, inviteArgs.location) && m.areEqual(this.onInvitePostError, inviteArgs.onInvitePostError) && m.areEqual(this.onInvitePostSuccess, inviteArgs.onInvitePostSuccess) && m.areEqual(this.onInviteFlowFinished, inviteArgs.onInviteFlowFinished);
|
|
}
|
|
|
|
public final ModelInvite getInvite() {
|
|
return this.invite;
|
|
}
|
|
|
|
public final Class<?> getJavaClass() {
|
|
return this.javaClass;
|
|
}
|
|
|
|
public final String getLocation() {
|
|
return this.location;
|
|
}
|
|
|
|
public final Function2<ModelInvite, Continuation<? super Unit>, Object> getOnInviteFlowFinished() {
|
|
return this.onInviteFlowFinished;
|
|
}
|
|
|
|
public final Function2<Error, Continuation<? super Unit>, Object> getOnInvitePostError() {
|
|
return this.onInvitePostError;
|
|
}
|
|
|
|
public final Function2<ModelInvite, Continuation<? super Unit>, Object> getOnInvitePostSuccess() {
|
|
return this.onInvitePostSuccess;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
ModelInvite modelInvite = this.invite;
|
|
int i = 0;
|
|
int hashCode = (modelInvite != null ? modelInvite.hashCode() : 0) * 31;
|
|
Class<?> cls = this.javaClass;
|
|
int hashCode2 = (hashCode + (cls != null ? cls.hashCode() : 0)) * 31;
|
|
String str = this.location;
|
|
int hashCode3 = (hashCode2 + (str != null ? str.hashCode() : 0)) * 31;
|
|
Function2<Error, Continuation<? super Unit>, Object> function2 = this.onInvitePostError;
|
|
int hashCode4 = (hashCode3 + (function2 != null ? function2.hashCode() : 0)) * 31;
|
|
Function2<ModelInvite, Continuation<? super Unit>, Object> function22 = this.onInvitePostSuccess;
|
|
int hashCode5 = (hashCode4 + (function22 != null ? function22.hashCode() : 0)) * 31;
|
|
Function2<ModelInvite, Continuation<? super Unit>, Object> function23 = this.onInviteFlowFinished;
|
|
if (function23 != null) {
|
|
i = function23.hashCode();
|
|
}
|
|
return hashCode5 + i;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public String toString() {
|
|
StringBuilder O = a.O("InviteArgs(invite=");
|
|
O.append(this.invite);
|
|
O.append(", javaClass=");
|
|
O.append(this.javaClass);
|
|
O.append(", location=");
|
|
O.append(this.location);
|
|
O.append(", onInvitePostError=");
|
|
O.append(this.onInvitePostError);
|
|
O.append(", onInvitePostSuccess=");
|
|
O.append(this.onInvitePostSuccess);
|
|
O.append(", onInviteFlowFinished=");
|
|
O.append(this.onInviteFlowFinished);
|
|
O.append(")");
|
|
return O.toString();
|
|
}
|
|
}
|