78 lines
2 KiB
Java
78 lines
2 KiB
Java
package co.discord.media_engine;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.Arrays;
|
|
/* compiled from: RtcRegion.kt */
|
|
public final class RtcRegion {
|
|
private final String[] ips;
|
|
private final String region;
|
|
|
|
public RtcRegion(String str, String[] strArr) {
|
|
m.checkNotNullParameter(str, "region");
|
|
m.checkNotNullParameter(strArr, "ips");
|
|
this.region = str;
|
|
this.ips = strArr;
|
|
}
|
|
|
|
public static /* synthetic */ RtcRegion copy$default(RtcRegion rtcRegion, String str, String[] strArr, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = rtcRegion.region;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
strArr = rtcRegion.ips;
|
|
}
|
|
return rtcRegion.copy(str, strArr);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.region;
|
|
}
|
|
|
|
public final String[] component2() {
|
|
return this.ips;
|
|
}
|
|
|
|
public final RtcRegion copy(String str, String[] strArr) {
|
|
m.checkNotNullParameter(str, "region");
|
|
m.checkNotNullParameter(strArr, "ips");
|
|
return new RtcRegion(str, strArr);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof RtcRegion)) {
|
|
return false;
|
|
}
|
|
RtcRegion rtcRegion = (RtcRegion) obj;
|
|
return m.areEqual(this.region, rtcRegion.region) && m.areEqual(this.ips, rtcRegion.ips);
|
|
}
|
|
|
|
public final 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;
|
|
String[] strArr = this.ips;
|
|
if (strArr != null) {
|
|
i = Arrays.hashCode(strArr);
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("RtcRegion(region=");
|
|
L.append(this.region);
|
|
L.append(", ips=");
|
|
return a.D(L, Arrays.toString(this.ips), ")");
|
|
}
|
|
}
|