package c.a.q.m0; import com.discord.models.domain.ModelAuditLogEntry; 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 f220c; public final int d; public final Integer e; public a(String str, int i, String str2, int i2, Integer num) { m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME); m.checkNotNullParameter(str2, "type"); this.a = str; this.b = i; this.f220c = 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.f220c, aVar.f220c) && 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.f220c; 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 P = c.d.b.a.a.P("Codec(name="); P.append(this.a); P.append(", priority="); P.append(this.b); P.append(", type="); P.append(this.f220c); P.append(", payloadType="); P.append(this.d); P.append(", rtxPayloadType="); return c.d.b.a.a.E(P, this.e, ")"); } }