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