- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
77 lines
2.5 KiB
Java
77 lines
2.5 KiB
Java
package com.unity3d.mediation;
|
|
|
|
import com.unity3d.mediation.LevelPlay;
|
|
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 LevelPlayInitRequest {
|
|
private final String a;
|
|
private final String b;
|
|
private final List<LevelPlay.AdFormat> c;
|
|
|
|
@SourceDebugExtension({"SMAP\nLevelPlayInitRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 LevelPlayInitRequest.kt\ncom/unity3d/mediation/LevelPlayInitRequest$Builder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,24:1\n1#2:25\n*E\n"})
|
|
public static final class Builder {
|
|
private final String a;
|
|
private String b;
|
|
private List<? extends LevelPlay.AdFormat> c;
|
|
|
|
public Builder(String appKey) {
|
|
Intrinsics.checkNotNullParameter(appKey, "appKey");
|
|
this.a = appKey;
|
|
}
|
|
|
|
public final LevelPlayInitRequest build() {
|
|
String str = this.a;
|
|
String str2 = this.b;
|
|
List<? extends LevelPlay.AdFormat> list = this.c;
|
|
if (list == null) {
|
|
list = CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
return new LevelPlayInitRequest(str, str2, list, null);
|
|
}
|
|
|
|
public final String getAppKey() {
|
|
return this.a;
|
|
}
|
|
|
|
public final Builder withLegacyAdFormats(List<? extends LevelPlay.AdFormat> legacyAdFormats) {
|
|
Intrinsics.checkNotNullParameter(legacyAdFormats, "legacyAdFormats");
|
|
this.c = legacyAdFormats;
|
|
return this;
|
|
}
|
|
|
|
public final Builder withUserId(String userId) {
|
|
Intrinsics.checkNotNullParameter(userId, "userId");
|
|
this.b = userId;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
private LevelPlayInitRequest(String str, String str2, List<? extends LevelPlay.AdFormat> list) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = list;
|
|
}
|
|
|
|
public /* synthetic */ LevelPlayInitRequest(String str, String str2, List list, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(str, str2, list);
|
|
}
|
|
|
|
public final String getAppKey() {
|
|
return this.a;
|
|
}
|
|
|
|
public final List<LevelPlay.AdFormat> getLegacyAdFormats() {
|
|
return this.c;
|
|
}
|
|
|
|
public final String getUserId() {
|
|
return this.b;
|
|
}
|
|
}
|