discord-jadx/app/src/main/java/c/a/r/k0/a.java

61 lines
1.7 KiB
Java

package c.a.r.k0;
import d0.z.d.m;
/* compiled from: Codec.kt */
public final class a {
public final String a;
public final int b;
/* renamed from: c reason: collision with root package name */
public final String f208c;
public final int d;
public final Integer e;
public a(String str, int i, String str2, int i2, Integer num) {
m.checkNotNullParameter(str, "name");
m.checkNotNullParameter(str2, "type");
this.a = str;
this.b = i;
this.f208c = str2;
this.d = i2;
this.e = num;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof a)) {
return false;
}
a aVar = (a) obj;
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f208c, aVar.f208c) && this.d == aVar.d && m.areEqual(this.e, aVar.e);
}
public int hashCode() {
String str = this.a;
int i = 0;
int hashCode = (((str != null ? str.hashCode() : 0) * 31) + this.b) * 31;
String str2 = this.f208c;
int hashCode2 = (((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + this.d) * 31;
Integer num = this.e;
if (num != null) {
i = num.hashCode();
}
return hashCode2 + i;
}
public String toString() {
StringBuilder L = c.d.b.a.a.L("Codec(name=");
L.append(this.a);
L.append(", priority=");
L.append(this.b);
L.append(", type=");
L.append(this.f208c);
L.append(", payloadType=");
L.append(this.d);
L.append(", rtxPayloadType=");
return c.d.b.a.a.B(L, this.e, ")");
}
}