what-the-bank/sources/o/C0844Pu.java

99 lines
3.0 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Pu, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0844Pu implements Parcelable {
public static final Parcelable.Creator<C0844Pu> CREATOR = new RVV();
public String a;
public String b;
public boolean c;
public String d;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0844Pu(String str, String str2, String str3, boolean z) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.a = str;
this.d = str2;
this.b = str3;
this.c = z;
}
public /* synthetic */ C0844Pu(String str, String str2) {
this(str, str2, null, true);
}
/* renamed from: o.Pu$RVV */
/* loaded from: classes3.dex */
public static final class RVV implements Parcelable.Creator<C0844Pu> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0844Pu createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0844Pu(parcel.readString(), parcel.readString(), parcel.readString(), parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0844Pu[] newArray(int i) {
return new C0844Pu[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.a);
parcel.writeString(this.d);
parcel.writeString(this.b);
parcel.writeInt(this.c ? 1 : 0);
}
public final String toString() {
String str = this.a;
String str2 = this.d;
String str3 = this.b;
boolean z = this.c;
StringBuilder sb = new StringBuilder("FundFilterItemDisplay(id=");
sb.append(str);
sb.append(", description=");
sb.append(str2);
sb.append(", longDescription=");
sb.append(str3);
sb.append(", requiredPeriod=");
sb.append(z);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = this.a.hashCode();
int hashCode2 = this.d.hashCode();
String str = this.b;
int hashCode3 = str == null ? 0 : str.hashCode();
boolean z = this.c;
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 C0844Pu)) {
return false;
}
C0844Pu c0844Pu = (C0844Pu) obj;
return C14957gcv.b((Object) this.a, (Object) c0844Pu.a) && C14957gcv.b((Object) this.d, (Object) c0844Pu.d) && C14957gcv.b((Object) this.b, (Object) c0844Pu.b) && this.c == c0844Pu.c;
}
}