- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
207 lines
6.5 KiB
Java
207 lines
6.5 KiB
Java
package com.vungle.ads.internal.model;
|
|
|
|
import com.vungle.ads.internal.Constants;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlinx.serialization.KSerializer;
|
|
import kotlinx.serialization.SerialName;
|
|
import kotlinx.serialization.Serializable;
|
|
import kotlinx.serialization.Transient;
|
|
import kotlinx.serialization.descriptors.SerialDescriptor;
|
|
import kotlinx.serialization.encoding.CompositeEncoder;
|
|
import kotlinx.serialization.internal.PluginExceptionsKt;
|
|
import kotlinx.serialization.internal.SerializationConstructorMarker;
|
|
import kotlinx.serialization.internal.StringSerializer;
|
|
|
|
@Serializable
|
|
/* loaded from: classes4.dex */
|
|
public final class Placement {
|
|
public static final Companion Companion = new Companion(null);
|
|
private final boolean headerBidding;
|
|
private final String referenceId;
|
|
private final String type;
|
|
private Long wakeupTime;
|
|
|
|
public static /* synthetic */ Placement copy$default(Placement placement, String str, boolean z, String str2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = placement.referenceId;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z = placement.headerBidding;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str2 = placement.type;
|
|
}
|
|
return placement.copy(str, z, str2);
|
|
}
|
|
|
|
@SerialName("is_hb")
|
|
public static /* synthetic */ void getHeaderBidding$annotations() {
|
|
}
|
|
|
|
@SerialName("placement_ref_id")
|
|
public static /* synthetic */ void getReferenceId$annotations() {
|
|
}
|
|
|
|
@SerialName("type")
|
|
public static /* synthetic */ void getType$annotations() {
|
|
}
|
|
|
|
@Transient
|
|
public static /* synthetic */ void getWakeupTime$annotations() {
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.referenceId;
|
|
}
|
|
|
|
public final boolean component2() {
|
|
return this.headerBidding;
|
|
}
|
|
|
|
public final String component3() {
|
|
return this.type;
|
|
}
|
|
|
|
public final Placement copy(String referenceId, boolean z, String str) {
|
|
Intrinsics.checkNotNullParameter(referenceId, "referenceId");
|
|
return new Placement(referenceId, z, str);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof Placement)) {
|
|
return false;
|
|
}
|
|
Placement placement = (Placement) obj;
|
|
return Intrinsics.areEqual(this.referenceId, placement.referenceId) && this.headerBidding == placement.headerBidding && Intrinsics.areEqual(this.type, placement.type);
|
|
}
|
|
|
|
public final boolean getHeaderBidding() {
|
|
return this.headerBidding;
|
|
}
|
|
|
|
public final String getReferenceId() {
|
|
return this.referenceId;
|
|
}
|
|
|
|
public final String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public final Long getWakeupTime() {
|
|
return this.wakeupTime;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public int hashCode() {
|
|
int hashCode = this.referenceId.hashCode() * 31;
|
|
boolean z = this.headerBidding;
|
|
int i = z;
|
|
if (z != 0) {
|
|
i = 1;
|
|
}
|
|
int i2 = (hashCode + i) * 31;
|
|
String str = this.type;
|
|
return i2 + (str == null ? 0 : str.hashCode());
|
|
}
|
|
|
|
public final void setWakeupTime(Long l) {
|
|
this.wakeupTime = l;
|
|
}
|
|
|
|
public String toString() {
|
|
return "Placement(referenceId=" + this.referenceId + ", headerBidding=" + this.headerBidding + ", type=" + this.type + ')';
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final KSerializer<Placement> serializer() {
|
|
return Placement$$serializer.INSTANCE;
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ Placement(int i, @SerialName("placement_ref_id") String str, @SerialName("is_hb") boolean z, @SerialName("type") String str2, SerializationConstructorMarker serializationConstructorMarker) {
|
|
if (1 != (i & 1)) {
|
|
PluginExceptionsKt.throwMissingFieldException(i, 1, Placement$$serializer.INSTANCE.getDescriptor());
|
|
}
|
|
this.referenceId = str;
|
|
if ((i & 2) == 0) {
|
|
this.headerBidding = false;
|
|
} else {
|
|
this.headerBidding = z;
|
|
}
|
|
if ((i & 4) == 0) {
|
|
this.type = null;
|
|
} else {
|
|
this.type = str2;
|
|
}
|
|
this.wakeupTime = null;
|
|
}
|
|
|
|
public Placement(String referenceId, boolean z, String str) {
|
|
Intrinsics.checkNotNullParameter(referenceId, "referenceId");
|
|
this.referenceId = referenceId;
|
|
this.headerBidding = z;
|
|
this.type = str;
|
|
}
|
|
|
|
public static final void write$Self(Placement self, CompositeEncoder output, SerialDescriptor serialDesc) {
|
|
Intrinsics.checkNotNullParameter(self, "self");
|
|
Intrinsics.checkNotNullParameter(output, "output");
|
|
Intrinsics.checkNotNullParameter(serialDesc, "serialDesc");
|
|
output.encodeStringElement(serialDesc, 0, self.referenceId);
|
|
if (output.shouldEncodeElementDefault(serialDesc, 1) || self.headerBidding) {
|
|
output.encodeBooleanElement(serialDesc, 1, self.headerBidding);
|
|
}
|
|
if (!output.shouldEncodeElementDefault(serialDesc, 2) && self.type == null) {
|
|
return;
|
|
}
|
|
output.encodeNullableSerializableElement(serialDesc, 2, StringSerializer.INSTANCE, self.type);
|
|
}
|
|
|
|
public /* synthetic */ Placement(String str, boolean z, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(str, (i & 2) != 0 ? false : z, (i & 4) != 0 ? null : str2);
|
|
}
|
|
|
|
public final boolean isNative() {
|
|
return Intrinsics.areEqual(this.type, "native");
|
|
}
|
|
|
|
public final boolean isInline() {
|
|
return Intrinsics.areEqual(this.type, "in_line");
|
|
}
|
|
|
|
public final boolean isBanner() {
|
|
return Intrinsics.areEqual(this.type, "banner");
|
|
}
|
|
|
|
public final boolean isMREC() {
|
|
return Intrinsics.areEqual(this.type, "mrec");
|
|
}
|
|
|
|
public final boolean isInterstitial() {
|
|
return Intrinsics.areEqual(this.type, "interstitial");
|
|
}
|
|
|
|
public final boolean isAppOpen() {
|
|
return Intrinsics.areEqual(this.type, Constants.PLACEMENT_TYPE_APP_OPEN);
|
|
}
|
|
|
|
public final boolean isRewardedVideo() {
|
|
return Intrinsics.areEqual(this.type, "rewarded");
|
|
}
|
|
|
|
public final void snooze(long j) {
|
|
this.wakeupTime = Long.valueOf(System.currentTimeMillis() + (j * 1000));
|
|
}
|
|
}
|