package com.google.android.gms.internal.ads;

import org.json.JSONException;
import org.json.JSONObject;

/* JADX INFO: loaded from: classes2.dex */
public final class ls0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f13850a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f13851b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f13852c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f13853d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final String f13854e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f13855f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final boolean f13856g;

    public ls0(String str, String str2, String str3, int i10, String str4, int i11, boolean z10) {
        this.f13850a = str;
        this.f13851b = str2;
        this.f13852c = str3;
        this.f13853d = i10;
        this.f13854e = str4;
        this.f13855f = i11;
        this.f13856g = z10;
    }

    public final JSONObject a() throws JSONException {
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("adapterClassName", this.f13850a);
        jSONObject.put("version", this.f13852c);
        tn tnVar = ao.Ba;
        n7.y yVar = n7.y.f31093e;
        if (((Boolean) yVar.f31096c.b(tnVar)).booleanValue()) {
            jSONObject.put("sdkVersion", this.f13851b);
        }
        jSONObject.put("status", this.f13853d);
        jSONObject.put("description", this.f13854e);
        jSONObject.put("initializationLatencyMillis", this.f13855f);
        if (((Boolean) yVar.f31096c.b(ao.Ca)).booleanValue()) {
            jSONObject.put("supportsInitialization", this.f13856g);
        }
        return jSONObject;
    }
}
