Files
rr3-apk/decompiled/sources/com/ironsource/gl.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

112 lines
3.2 KiB
Java

package com.ironsource;
import com.ironsource.sdk.controller.f;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class gl {
public static final a d = new a(null);
private final String a;
private final String b;
private final JSONObject c;
public static final class a {
private a() {
}
public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final gl a(String jsonStr) throws JSONException {
Intrinsics.checkNotNullParameter(jsonStr, "jsonStr");
JSONObject jSONObject = new JSONObject(jsonStr);
String adId = jSONObject.getString(f.b.c);
String command = jSONObject.getString("command");
JSONObject optJSONObject = jSONObject.optJSONObject("params");
Intrinsics.checkNotNullExpressionValue(adId, "adId");
Intrinsics.checkNotNullExpressionValue(command, "command");
return new gl(adId, command, optJSONObject);
}
}
public gl(String adId, String command, JSONObject jSONObject) {
Intrinsics.checkNotNullParameter(adId, "adId");
Intrinsics.checkNotNullParameter(command, "command");
this.a = adId;
this.b = command;
this.c = jSONObject;
}
public static /* synthetic */ gl a(gl glVar, String str, String str2, JSONObject jSONObject, int i, Object obj) {
if ((i & 1) != 0) {
str = glVar.a;
}
if ((i & 2) != 0) {
str2 = glVar.b;
}
if ((i & 4) != 0) {
jSONObject = glVar.c;
}
return glVar.a(str, str2, jSONObject);
}
public static final gl a(String str) throws JSONException {
return d.a(str);
}
public final gl a(String adId, String command, JSONObject jSONObject) {
Intrinsics.checkNotNullParameter(adId, "adId");
Intrinsics.checkNotNullParameter(command, "command");
return new gl(adId, command, jSONObject);
}
public final String a() {
return this.a;
}
public final String b() {
return this.b;
}
public final JSONObject c() {
return this.c;
}
public final String d() {
return this.a;
}
public final String e() {
return this.b;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof gl)) {
return false;
}
gl glVar = (gl) obj;
return Intrinsics.areEqual(this.a, glVar.a) && Intrinsics.areEqual(this.b, glVar.b) && Intrinsics.areEqual(this.c, glVar.c);
}
public final JSONObject f() {
return this.c;
}
public int hashCode() {
int hashCode = ((this.a.hashCode() * 31) + this.b.hashCode()) * 31;
JSONObject jSONObject = this.c;
return hashCode + (jSONObject == null ? 0 : jSONObject.hashCode());
}
public String toString() {
return "MessageToNative(adId=" + this.a + ", command=" + this.b + ", params=" + this.c + ')';
}
}