- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80 lines
2.6 KiB
Java
80 lines
2.6 KiB
Java
package com.unity3d.ironsourceads;
|
|
|
|
import com.unity3d.ironsourceads.IronSourceAds;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class InitRequest {
|
|
private final String a;
|
|
private final List<IronSourceAds.AdFormat> b;
|
|
private final LogLevel c;
|
|
|
|
@SourceDebugExtension({"SMAP\nInitRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 InitRequest.kt\ncom/unity3d/ironsourceads/InitRequest$Builder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,56:1\n1#2:57\n*E\n"})
|
|
public static final class Builder {
|
|
private final String a;
|
|
private List<? extends IronSourceAds.AdFormat> b;
|
|
private LogLevel c;
|
|
|
|
public Builder(String appKey) {
|
|
Intrinsics.checkNotNullParameter(appKey, "appKey");
|
|
this.a = appKey;
|
|
}
|
|
|
|
public final InitRequest build() {
|
|
String str = this.a;
|
|
List<? extends IronSourceAds.AdFormat> list = this.b;
|
|
if (list == null) {
|
|
list = CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
LogLevel logLevel = this.c;
|
|
if (logLevel == null) {
|
|
logLevel = LogLevel.NONE;
|
|
}
|
|
return new InitRequest(str, list, logLevel, null);
|
|
}
|
|
|
|
public final String getAppKey() {
|
|
return this.a;
|
|
}
|
|
|
|
public final Builder withLegacyAdFormats(List<? extends IronSourceAds.AdFormat> legacyAdFormats) {
|
|
Intrinsics.checkNotNullParameter(legacyAdFormats, "legacyAdFormats");
|
|
this.b = legacyAdFormats;
|
|
return this;
|
|
}
|
|
|
|
public final Builder withLogLevel(LogLevel logLevel) {
|
|
Intrinsics.checkNotNullParameter(logLevel, "logLevel");
|
|
this.c = logLevel;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
private InitRequest(String str, List<? extends IronSourceAds.AdFormat> list, LogLevel logLevel) {
|
|
this.a = str;
|
|
this.b = list;
|
|
this.c = logLevel;
|
|
}
|
|
|
|
public /* synthetic */ InitRequest(String str, List list, LogLevel logLevel, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(str, list, logLevel);
|
|
}
|
|
|
|
public final String getAppKey() {
|
|
return this.a;
|
|
}
|
|
|
|
public final List<IronSourceAds.AdFormat> getLegacyAdFormats() {
|
|
return this.b;
|
|
}
|
|
|
|
public final LogLevel getLogLevel() {
|
|
return this.c;
|
|
}
|
|
}
|