111 lines
3.5 KiB
Java
111 lines
3.5 KiB
Java
package co.discord.media_engine.internal;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.Arrays;
|
|
/* compiled from: NativeStatistics.kt */
|
|
public final class NativeStats {
|
|
private final Inbound[] inbound;
|
|
private final Outbound outbound;
|
|
private final Screenshare screenshare;
|
|
private final Transport transport;
|
|
|
|
public NativeStats(Transport transport, Outbound outbound, Screenshare screenshare, Inbound[] inboundArr) {
|
|
this.transport = transport;
|
|
this.outbound = outbound;
|
|
this.screenshare = screenshare;
|
|
this.inbound = inboundArr;
|
|
}
|
|
|
|
public static /* synthetic */ NativeStats copy$default(NativeStats nativeStats, Transport transport, Outbound outbound, Screenshare screenshare, Inbound[] inboundArr, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
transport = nativeStats.transport;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
outbound = nativeStats.outbound;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
screenshare = nativeStats.screenshare;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
inboundArr = nativeStats.inbound;
|
|
}
|
|
return nativeStats.copy(transport, outbound, screenshare, inboundArr);
|
|
}
|
|
|
|
public final Transport component1() {
|
|
return this.transport;
|
|
}
|
|
|
|
public final Outbound component2() {
|
|
return this.outbound;
|
|
}
|
|
|
|
public final Screenshare component3() {
|
|
return this.screenshare;
|
|
}
|
|
|
|
public final Inbound[] component4() {
|
|
return this.inbound;
|
|
}
|
|
|
|
public final NativeStats copy(Transport transport, Outbound outbound, Screenshare screenshare, Inbound[] inboundArr) {
|
|
return new NativeStats(transport, outbound, screenshare, inboundArr);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof NativeStats)) {
|
|
return false;
|
|
}
|
|
NativeStats nativeStats = (NativeStats) obj;
|
|
return m.areEqual(this.transport, nativeStats.transport) && m.areEqual(this.outbound, nativeStats.outbound) && m.areEqual(this.screenshare, nativeStats.screenshare) && m.areEqual(this.inbound, nativeStats.inbound);
|
|
}
|
|
|
|
public final Inbound[] getInbound() {
|
|
return this.inbound;
|
|
}
|
|
|
|
public final Outbound getOutbound() {
|
|
return this.outbound;
|
|
}
|
|
|
|
public final Screenshare getScreenshare() {
|
|
return this.screenshare;
|
|
}
|
|
|
|
public final Transport getTransport() {
|
|
return this.transport;
|
|
}
|
|
|
|
public int hashCode() {
|
|
Transport transport = this.transport;
|
|
int i = 0;
|
|
int hashCode = (transport != null ? transport.hashCode() : 0) * 31;
|
|
Outbound outbound = this.outbound;
|
|
int hashCode2 = (hashCode + (outbound != null ? outbound.hashCode() : 0)) * 31;
|
|
Screenshare screenshare = this.screenshare;
|
|
int hashCode3 = (hashCode2 + (screenshare != null ? screenshare.hashCode() : 0)) * 31;
|
|
Inbound[] inboundArr = this.inbound;
|
|
if (inboundArr != null) {
|
|
i = Arrays.hashCode(inboundArr);
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("NativeStats(transport=");
|
|
K.append(this.transport);
|
|
K.append(", outbound=");
|
|
K.append(this.outbound);
|
|
K.append(", screenshare=");
|
|
K.append(this.screenshare);
|
|
K.append(", inbound=");
|
|
K.append(Arrays.toString(this.inbound));
|
|
K.append(")");
|
|
return K.toString();
|
|
}
|
|
}
|