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

90 lines
2.5 KiB
Java
Raw Normal View History

2021-08-03 07:33:18 +00:00
package co.discord.media_engine;
2021-11-02 06:38:17 +00:00
import a0.a.a.b;
2021-12-17 21:59:34 +00:00
import b.d.b.a.a;
import com.discord.models.domain.ModelAuditLogEntry;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
2021-08-03 07:33:18 +00:00
/* compiled from: Statistics.kt */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-08-03 07:33:18 +00:00
public final class ReceiverReport {
private final long bitrate;
private final int fractionLost;
/* renamed from: id reason: collision with root package name */
2022-03-28 08:10:50 +00:00
private final String f1992id;
2021-08-03 07:33:18 +00:00
public ReceiverReport(String str, long j, int i) {
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_ID);
2022-03-28 08:10:50 +00:00
this.f1992id = 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) {
2022-03-28 08:10:50 +00:00
str = receiverReport.f1992id;
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() {
2022-03-28 08:10:50 +00:00
return this.f1992id;
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, ModelAuditLogEntry.CHANGE_KEY_ID);
2021-08-03 07:33:18 +00:00
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;
2022-03-28 08:10:50 +00:00
return m.areEqual(this.f1992id, receiverReport.f1992id) && 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() {
2022-03-28 08:10:50 +00:00
return this.f1992id;
2021-08-03 07:33:18 +00:00
}
public int hashCode() {
2022-03-28 08:10:50 +00:00
String str = this.f1992id;
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() {
2022-03-21 18:52:30 +00:00
StringBuilder R = a.R("ReceiverReport(id=");
2022-03-28 08:10:50 +00:00
R.append(this.f1992id);
2022-03-21 18:52:30 +00:00
R.append(", bitrate=");
R.append(this.bitrate);
R.append(", fractionLost=");
return a.A(R, this.fractionLost, ")");
2021-08-03 07:33:18 +00:00
}
}