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

import androidx.annotation.Nullable;
import org.json.JSONObject;

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

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

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

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

    public ty(String str, boolean z10, boolean z11) {
        this.f17021a = z10;
        this.f17022b = str;
        this.f17023c = z11;
    }

    @Nullable
    public static ty zza(JSONObject jSONObject) {
        return new ty(jSONObject.optString("prefetch_url", ""), jSONObject.optBoolean("enable_prewarming", false), jSONObject.optBoolean("skip_offline_notification_flow", false));
    }
}
