discord-jadx/app/src/main/java/com/discord/models/domain/ModelRtcLatencyRegion.java
2021-12-17 22:59:34 +01:00

80 lines
2.5 KiB
Java

package com.discord.models.domain;
import b.d.b.a.a;
import d0.z.d.m;
import java.util.List;
/* compiled from: ModelRtcLatencyRegion.kt */
public final class ModelRtcLatencyRegion {
private final List<String> ips;
private final String region;
public ModelRtcLatencyRegion(String str, List<String> list) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_REGION);
m.checkNotNullParameter(list, "ips");
this.region = str;
this.ips = list;
}
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.models.domain.ModelRtcLatencyRegion */
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ ModelRtcLatencyRegion copy$default(ModelRtcLatencyRegion modelRtcLatencyRegion, String str, List list, int i, Object obj) {
if ((i & 1) != 0) {
str = modelRtcLatencyRegion.region;
}
if ((i & 2) != 0) {
list = modelRtcLatencyRegion.ips;
}
return modelRtcLatencyRegion.copy(str, list);
}
public final String component1() {
return this.region;
}
public final List<String> component2() {
return this.ips;
}
public final ModelRtcLatencyRegion copy(String str, List<String> list) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_REGION);
m.checkNotNullParameter(list, "ips");
return new ModelRtcLatencyRegion(str, list);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ModelRtcLatencyRegion)) {
return false;
}
ModelRtcLatencyRegion modelRtcLatencyRegion = (ModelRtcLatencyRegion) obj;
return m.areEqual(this.region, modelRtcLatencyRegion.region) && m.areEqual(this.ips, modelRtcLatencyRegion.ips);
}
public final List<String> getIps() {
return this.ips;
}
public final String getRegion() {
return this.region;
}
public int hashCode() {
String str = this.region;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
List<String> list = this.ips;
if (list != null) {
i = list.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder R = a.R("ModelRtcLatencyRegion(region=");
R.append(this.region);
R.append(", ips=");
return a.J(R, this.ips, ")");
}
}