108 lines
3.9 KiB
Java
108 lines
3.9 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import a0.a.a.b;
|
||
|
import c.d.b.a.a;
|
||
|
import d0.t.n;
|
||
|
import d0.z.d.m;
|
||
|
import java.util.List;
|
||
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||
|
/* compiled from: StoreRtcRegion.kt */
|
||
|
public final class RtcLatencyTestResult {
|
||
|
private final List<String> geoRankedRegions;
|
||
|
private final long lastTestTimestampMs;
|
||
|
private final List<String> latencyRankedRegions;
|
||
|
|
||
|
public RtcLatencyTestResult() {
|
||
|
this(null, null, 0, 7, null);
|
||
|
}
|
||
|
|
||
|
public RtcLatencyTestResult(List<String> list, List<String> list2, long j) {
|
||
|
m.checkNotNullParameter(list, "latencyRankedRegions");
|
||
|
m.checkNotNullParameter(list2, "geoRankedRegions");
|
||
|
this.latencyRankedRegions = list;
|
||
|
this.geoRankedRegions = list2;
|
||
|
this.lastTestTimestampMs = j;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
||
|
public /* synthetic */ RtcLatencyTestResult(List list, List list2, long j, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
||
|
this((i & 1) != 0 ? n.emptyList() : list, (i & 2) != 0 ? n.emptyList() : list2, (i & 4) != 0 ? 0 : j);
|
||
|
}
|
||
|
|
||
|
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.stores.RtcLatencyTestResult */
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public static /* synthetic */ RtcLatencyTestResult copy$default(RtcLatencyTestResult rtcLatencyTestResult, List list, List list2, long j, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
list = rtcLatencyTestResult.latencyRankedRegions;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
list2 = rtcLatencyTestResult.geoRankedRegions;
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
j = rtcLatencyTestResult.lastTestTimestampMs;
|
||
|
}
|
||
|
return rtcLatencyTestResult.copy(list, list2, j);
|
||
|
}
|
||
|
|
||
|
public final List<String> component1() {
|
||
|
return this.latencyRankedRegions;
|
||
|
}
|
||
|
|
||
|
public final List<String> component2() {
|
||
|
return this.geoRankedRegions;
|
||
|
}
|
||
|
|
||
|
public final long component3() {
|
||
|
return this.lastTestTimestampMs;
|
||
|
}
|
||
|
|
||
|
public final RtcLatencyTestResult copy(List<String> list, List<String> list2, long j) {
|
||
|
m.checkNotNullParameter(list, "latencyRankedRegions");
|
||
|
m.checkNotNullParameter(list2, "geoRankedRegions");
|
||
|
return new RtcLatencyTestResult(list, list2, j);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof RtcLatencyTestResult)) {
|
||
|
return false;
|
||
|
}
|
||
|
RtcLatencyTestResult rtcLatencyTestResult = (RtcLatencyTestResult) obj;
|
||
|
return m.areEqual(this.latencyRankedRegions, rtcLatencyTestResult.latencyRankedRegions) && m.areEqual(this.geoRankedRegions, rtcLatencyTestResult.geoRankedRegions) && this.lastTestTimestampMs == rtcLatencyTestResult.lastTestTimestampMs;
|
||
|
}
|
||
|
|
||
|
public final List<String> getGeoRankedRegions() {
|
||
|
return this.geoRankedRegions;
|
||
|
}
|
||
|
|
||
|
public final long getLastTestTimestampMs() {
|
||
|
return this.lastTestTimestampMs;
|
||
|
}
|
||
|
|
||
|
public final List<String> getLatencyRankedRegions() {
|
||
|
return this.latencyRankedRegions;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
List<String> list = this.latencyRankedRegions;
|
||
|
int i = 0;
|
||
|
int hashCode = (list != null ? list.hashCode() : 0) * 31;
|
||
|
List<String> list2 = this.geoRankedRegions;
|
||
|
if (list2 != null) {
|
||
|
i = list2.hashCode();
|
||
|
}
|
||
|
return b.a(this.lastTestTimestampMs) + ((hashCode + i) * 31);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder K = a.K("RtcLatencyTestResult(latencyRankedRegions=");
|
||
|
K.append(this.latencyRankedRegions);
|
||
|
K.append(", geoRankedRegions=");
|
||
|
K.append(this.geoRankedRegions);
|
||
|
K.append(", lastTestTimestampMs=");
|
||
|
return a.y(K, this.lastTestTimestampMs, ")");
|
||
|
}
|
||
|
}
|