package o; import android.os.Parcel; import android.os.Parcelable; /* loaded from: classes3.dex */ public final class OA implements Parcelable { public static final Parcelable.Creator CREATOR = new IeS(); public final boolean a; public final String b; public final EnumC16785rHo c; public final int d; @Override // android.os.Parcelable public final int describeContents() { return 0; } public OA(EnumC16785rHo enumC16785rHo, int i, String str, boolean z) { C14957gcv.e(enumC16785rHo, ""); C14957gcv.e(str, ""); this.c = enumC16785rHo; this.d = i; this.b = str; this.a = z; } /* loaded from: classes3.dex */ public static final class IeS implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ OA createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); return new OA(EnumC16785rHo.valueOf(parcel.readString()), parcel.readInt(), parcel.readString(), parcel.readInt() != 0); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ OA[] newArray(int i) { return new OA[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.c.name()); parcel.writeInt(this.d); parcel.writeString(this.b); parcel.writeInt(this.a ? 1 : 0); } public final String toString() { EnumC16785rHo enumC16785rHo = this.c; int i = this.d; String str = this.b; boolean z = this.a; StringBuilder sb = new StringBuilder("PolicyServiceDisplay(serviceId="); sb.append(enumC16785rHo); sb.append(", iconId="); sb.append(i); sb.append(", title="); sb.append(str); sb.append(", isEnable="); sb.append(z); sb.append(")"); return sb.toString(); } /* JADX WARN: Multi-variable type inference failed */ public final int hashCode() { int hashCode = this.c.hashCode(); int hashCode2 = Integer.hashCode(this.d); int hashCode3 = this.b.hashCode(); boolean z = this.a; int i = z; if (z != 0) { i = 1; } return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + i; } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof OA)) { return false; } OA oa = (OA) obj; return this.c == oa.c && this.d == oa.d && C14957gcv.b((Object) this.b, (Object) oa.b) && this.a == oa.a; } }