79 lines
2.2 KiB
Java
79 lines
2.2 KiB
Java
package co.discord.media_engine;
|
|
|
|
import b.d.b.a.a;
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
|
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, ModelAuditLogEntry.CHANGE_KEY_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, ModelAuditLogEntry.CHANGE_KEY_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 R = a.R("RtcRegion(region=");
|
|
R.append(this.region);
|
|
R.append(", ips=");
|
|
return a.H(R, Arrays.toString(this.ips), ")");
|
|
}
|
|
}
|