package com.facebook.bolts; import android.net.Uri; import java.util.Collections; import java.util.List; import kotlin.collections.CollectionsKt__CollectionsKt; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes2.dex */ public final class AppLink { private final Uri sourceUrl; private final List targets; private final Uri webUrl; public final Uri getSourceUrl() { return this.sourceUrl; } public final Uri getWebUrl() { return this.webUrl; } public AppLink(Uri sourceUrl, List list, Uri webUrl) { Intrinsics.checkNotNullParameter(sourceUrl, "sourceUrl"); Intrinsics.checkNotNullParameter(webUrl, "webUrl"); this.sourceUrl = sourceUrl; this.webUrl = webUrl; this.targets = list == null ? CollectionsKt__CollectionsKt.emptyList() : list; } public static final class Target { private final String appName; private final String className; private final String packageName; private final Uri url; public final String getAppName() { return this.appName; } public final String getClassName() { return this.className; } public final String getPackageName() { return this.packageName; } public final Uri getUrl() { return this.url; } public Target(String packageName, String className, Uri url, String appName) { Intrinsics.checkNotNullParameter(packageName, "packageName"); Intrinsics.checkNotNullParameter(className, "className"); Intrinsics.checkNotNullParameter(url, "url"); Intrinsics.checkNotNullParameter(appName, "appName"); this.packageName = packageName; this.className = className; this.url = url; this.appName = appName; } } public final List getTargets() { List unmodifiableList = Collections.unmodifiableList(this.targets); Intrinsics.checkNotNullExpressionValue(unmodifiableList, "unmodifiableList(field)"); return unmodifiableList; } }