discord-jadx/app/src/main/java/co/discord/media_engine/ReceiverReport.java

88 lines
2.4 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package co.discord.media_engine;
2021-07-13 20:23:20 +00:00
import a0.a.a.b;
2021-06-27 20:44:35 +00:00
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: Statistics.kt */
public final class ReceiverReport {
2021-07-13 20:23:20 +00:00
private final long bitrate;
private final int fractionLost;
2021-06-27 20:44:35 +00:00
/* renamed from: id reason: collision with root package name */
2021-07-13 20:23:20 +00:00
private final String f1535id;
2021-06-27 20:44:35 +00:00
2021-07-13 20:23:20 +00:00
public ReceiverReport(String str, long j, int i) {
2021-06-27 20:44:35 +00:00
m.checkNotNullParameter(str, "id");
2021-07-13 20:23:20 +00:00
this.f1535id = str;
this.bitrate = j;
this.fractionLost = i;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
public static /* synthetic */ ReceiverReport copy$default(ReceiverReport receiverReport, String str, long j, int i, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = receiverReport.f1535id;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
if ((i2 & 2) != 0) {
j = receiverReport.bitrate;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
if ((i2 & 4) != 0) {
i = receiverReport.fractionLost;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
return receiverReport.copy(str, j, i);
2021-06-27 20:44:35 +00:00
}
public final String component1() {
2021-07-13 20:23:20 +00:00
return this.f1535id;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
public final long component2() {
2021-06-27 20:44:35 +00:00
return this.bitrate;
}
2021-07-13 20:23:20 +00:00
public final int component3() {
2021-06-27 20:44:35 +00:00
return this.fractionLost;
}
2021-07-13 20:23:20 +00:00
public final ReceiverReport copy(String str, long j, int i) {
2021-06-27 20:44:35 +00:00
m.checkNotNullParameter(str, "id");
2021-07-13 20:23:20 +00:00
return new ReceiverReport(str, j, i);
2021-06-27 20:44:35 +00:00
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ReceiverReport)) {
return false;
}
ReceiverReport receiverReport = (ReceiverReport) obj;
2021-07-13 20:23:20 +00:00
return m.areEqual(this.f1535id, receiverReport.f1535id) && this.bitrate == receiverReport.bitrate && this.fractionLost == receiverReport.fractionLost;
2021-06-27 20:44:35 +00:00
}
2021-07-13 20:23:20 +00:00
public final long getBitrate() {
2021-06-27 20:44:35 +00:00
return this.bitrate;
}
2021-07-13 20:23:20 +00:00
public final int getFractionLost() {
2021-06-27 20:44:35 +00:00
return this.fractionLost;
}
public final String getId() {
2021-07-13 20:23:20 +00:00
return this.f1535id;
2021-06-27 20:44:35 +00:00
}
public int hashCode() {
2021-07-13 20:23:20 +00:00
String str = this.f1535id;
return ((b.a(this.bitrate) + ((str != null ? str.hashCode() : 0) * 31)) * 31) + this.fractionLost;
2021-06-27 20:44:35 +00:00
}
public String toString() {
StringBuilder L = a.L("ReceiverReport(id=");
2021-07-13 20:23:20 +00:00
L.append(this.f1535id);
2021-06-27 20:44:35 +00:00
L.append(", bitrate=");
L.append(this.bitrate);
L.append(", fractionLost=");
2021-07-13 20:23:20 +00:00
return a.y(L, this.fractionLost, ")");
2021-06-27 20:44:35 +00:00
}
}