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

88 lines
2.4 KiB
Java

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 */
private final String f1535id;
public ReceiverReport(String str, long j, int i) {
m.checkNotNullParameter(str, "id");
this.f1535id = str;
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) {
str = receiverReport.f1535id;
}
if ((i2 & 2) != 0) {
j = receiverReport.bitrate;
}
if ((i2 & 4) != 0) {
i = receiverReport.fractionLost;
}
return receiverReport.copy(str, j, i);
}
public final String component1() {
return this.f1535id;
}
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;
return m.areEqual(this.f1535id, receiverReport.f1535id) && this.bitrate == receiverReport.bitrate && this.fractionLost == receiverReport.fractionLost;
}
public final long getBitrate() {
return this.bitrate;
}
public final int getFractionLost() {
return this.fractionLost;
}
public final String getId() {
return this.f1535id;
}
public int hashCode() {
String str = this.f1535id;
return ((b.a(this.bitrate) + ((str != null ? str.hashCode() : 0) * 31)) * 31) + this.fractionLost;
}
public String toString() {
StringBuilder L = a.L("ReceiverReport(id=");
L.append(this.f1535id);
L.append(", bitrate=");
L.append(this.bitrate);
L.append(", fractionLost=");
return a.y(L, this.fractionLost, ")");
}
}