package o; import android.os.Parcel; import android.os.Parcelable; /* loaded from: classes3.dex */ public final class NH implements Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); private final String a; public final Boolean b; public final String c; public final String d; public final String e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public NH(String str, String str2, Boolean bool, String str3, String str4) { this.e = str; this.d = str2; this.b = bool; this.a = str3; this.c = str4; } /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ NH createFromParcel(Parcel parcel) { Boolean valueOf; C14957gcv.e(parcel, ""); String readString = parcel.readString(); String readString2 = parcel.readString(); if (parcel.readInt() == 0) { valueOf = null; } else { valueOf = Boolean.valueOf(parcel.readInt() != 0); } return new NH(readString, readString2, valueOf, parcel.readString(), parcel.readString()); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ NH[] newArray(int i) { return new NH[i]; } } /* JADX WARN: Multi-variable type inference failed */ @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { int i2; C14957gcv.e(parcel, ""); parcel.writeString(this.e); parcel.writeString(this.d); Boolean bool = this.b; if (bool == null) { i2 = 0; } else { parcel.writeInt(1); i2 = bool.booleanValue(); } parcel.writeInt(i2); parcel.writeString(this.a); parcel.writeString(this.c); } public final String toString() { String str = this.e; String str2 = this.d; Boolean bool = this.b; String str3 = this.a; String str4 = this.c; StringBuilder sb = new StringBuilder("HmlOutcomeResubmissionDisplay(date="); sb.append(str); sb.append(", state="); sb.append(str2); sb.append(", isRequireConsent="); sb.append(bool); sb.append(", documentType="); sb.append(str3); sb.append(", subConsentType="); sb.append(str4); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.e; int hashCode = str == null ? 0 : str.hashCode(); String str2 = this.d; int hashCode2 = str2 == null ? 0 : str2.hashCode(); Boolean bool = this.b; int hashCode3 = bool == null ? 0 : bool.hashCode(); String str3 = this.a; int hashCode4 = str3 == null ? 0 : str3.hashCode(); String str4 = this.c; return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (str4 != null ? str4.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof NH)) { return false; } NH nh = (NH) obj; return C14957gcv.b((Object) this.e, (Object) nh.e) && C14957gcv.b((Object) this.d, (Object) nh.d) && C14957gcv.b(this.b, nh.b) && C14957gcv.b((Object) this.a, (Object) nh.a) && C14957gcv.b((Object) this.c, (Object) nh.c); } }