package o; import android.os.Parcel; import android.os.Parcelable; /* loaded from: classes3.dex */ public final class ER implements Parcelable { public static final Parcelable.Creator CREATOR = new Sts(); public final String a; public final ET b; public final String c; public final String d; public final String e; public final ET g; public final String i; @Override // android.os.Parcelable public final int describeContents() { return 0; } public ER(String str, String str2, String str3, String str4, ET et, ET et2, String str5) { C14957gcv.e(str2, ""); this.i = str; this.a = str2; this.c = str3; this.d = str4; this.b = et; this.g = et2; this.e = str5; } /* loaded from: classes3.dex */ public static final class Sts implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ ER createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); return new ER(parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readInt() == 0 ? null : ET.CREATOR.createFromParcel(parcel), parcel.readInt() != 0 ? ET.CREATOR.createFromParcel(parcel) : null, parcel.readString()); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ ER[] newArray(int i) { return new ER[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.i); parcel.writeString(this.a); parcel.writeString(this.c); parcel.writeString(this.d); ET et = this.b; if (et == null) { parcel.writeInt(0); } else { parcel.writeInt(1); et.writeToParcel(parcel, i); } ET et2 = this.g; if (et2 == null) { parcel.writeInt(0); } else { parcel.writeInt(1); et2.writeToParcel(parcel, i); } parcel.writeString(this.e); } public final String toString() { String str = this.i; String str2 = this.a; String str3 = this.c; String str4 = this.d; ET et = this.b; ET et2 = this.g; String str5 = this.e; StringBuilder sb = new StringBuilder("CommonErrorDisplay(title="); sb.append(str); sb.append(", iconUrl="); sb.append(str2); sb.append(", header="); sb.append(str3); sb.append(", description="); sb.append(str4); sb.append(", primaryAction="); sb.append(et); sb.append(", secondaryAction="); sb.append(et2); sb.append(", errorEndpoint="); sb.append(str5); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.i; int hashCode = str == null ? 0 : str.hashCode(); int hashCode2 = this.a.hashCode(); String str2 = this.c; int hashCode3 = str2 == null ? 0 : str2.hashCode(); String str3 = this.d; int hashCode4 = str3 == null ? 0 : str3.hashCode(); ET et = this.b; int hashCode5 = et == null ? 0 : et.hashCode(); ET et2 = this.g; int hashCode6 = et2 == null ? 0 : et2.hashCode(); String str4 = this.e; return (((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + (str4 != null ? str4.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof ER)) { return false; } ER er = (ER) obj; return C14957gcv.b((Object) this.i, (Object) er.i) && C14957gcv.b((Object) this.a, (Object) er.a) && C14957gcv.b((Object) this.c, (Object) er.c) && C14957gcv.b((Object) this.d, (Object) er.d) && C14957gcv.b(this.b, er.b) && C14957gcv.b(this.g, er.g) && C14957gcv.b((Object) this.e, (Object) er.e); } }