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

165 lines
5.7 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.List;
/* renamed from: o.Yc, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1212Yc implements Parcelable {
public static final Parcelable.Creator<C1212Yc> CREATOR = new Sts();
public EnumC17575xuS a;
public C1210Yb b;
public List<C1210Yb> c;
public List<C1210Yb> d;
public String e;
private int f;
public boolean g;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1212Yc(int i, boolean z, EnumC17575xuS enumC17575xuS, String str, C1210Yb c1210Yb, List<C1210Yb> list, List<C1210Yb> list2) {
C14957gcv.e(enumC17575xuS, "");
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
this.f = i;
this.g = z;
this.a = enumC17575xuS;
this.e = str;
this.b = c1210Yb;
this.c = list;
this.d = list2;
}
private /* synthetic */ C1212Yc(byte b) {
this(0, false, EnumC17575xuS.FAIL, null, null, C14851gaI.c, C14851gaI.c);
}
/* renamed from: o.Yc$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C1212Yc> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1212Yc createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
boolean z = parcel.readInt() != 0;
EnumC17575xuS valueOf = EnumC17575xuS.valueOf(parcel.readString());
String readString = parcel.readString();
C1210Yb createFromParcel = parcel.readInt() == 0 ? null : C1210Yb.CREATOR.createFromParcel(parcel);
int readInt2 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt2);
for (int i = 0; i != readInt2; i++) {
arrayList.add(parcel.readInt() == 0 ? null : C1210Yb.CREATOR.createFromParcel(parcel));
}
ArrayList arrayList2 = arrayList;
int readInt3 = parcel.readInt();
ArrayList arrayList3 = new ArrayList(readInt3);
for (int i2 = 0; i2 != readInt3; i2++) {
arrayList3.add(parcel.readInt() == 0 ? null : C1210Yb.CREATOR.createFromParcel(parcel));
}
return new C1212Yc(readInt, z, valueOf, readString, createFromParcel, arrayList2, arrayList3);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1212Yc[] newArray(int i) {
return new C1212Yc[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.f);
parcel.writeInt(this.g ? 1 : 0);
parcel.writeString(this.a.name());
parcel.writeString(this.e);
C1210Yb c1210Yb = this.b;
if (c1210Yb == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c1210Yb.writeToParcel(parcel, i);
}
List<C1210Yb> list = this.c;
parcel.writeInt(list.size());
for (C1210Yb c1210Yb2 : list) {
if (c1210Yb2 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c1210Yb2.writeToParcel(parcel, i);
}
}
List<C1210Yb> list2 = this.d;
parcel.writeInt(list2.size());
for (C1210Yb c1210Yb3 : list2) {
if (c1210Yb3 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c1210Yb3.writeToParcel(parcel, i);
}
}
}
public final String toString() {
int i = this.f;
boolean z = this.g;
EnumC17575xuS enumC17575xuS = this.a;
String str = this.e;
C1210Yb c1210Yb = this.b;
List<C1210Yb> list = this.c;
List<C1210Yb> list2 = this.d;
StringBuilder sb = new StringBuilder("CardlessATMInfoDisplay(tcLatestVersion=");
sb.append(i);
sb.append(", tcAcceptRequired=");
sb.append(z);
sb.append(", limitStatus=");
sb.append(enumC17575xuS);
sb.append(", emptyListLabel=");
sb.append(str);
sb.append(", casa=");
sb.append(c1210Yb);
sb.append(", creditcard=");
sb.append(list);
sb.append(", speedycash=");
sb.append(list2);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = Integer.hashCode(this.f);
boolean z = this.g;
int i = z;
if (z != 0) {
i = 1;
}
int hashCode2 = this.a.hashCode();
String str = this.e;
int hashCode3 = str == null ? 0 : str.hashCode();
C1210Yb c1210Yb = this.b;
return (((((((((((hashCode * 31) + i) * 31) + hashCode2) * 31) + hashCode3) * 31) + (c1210Yb != null ? c1210Yb.hashCode() : 0)) * 31) + this.c.hashCode()) * 31) + this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C1212Yc)) {
return false;
}
C1212Yc c1212Yc = (C1212Yc) obj;
return this.f == c1212Yc.f && this.g == c1212Yc.g && this.a == c1212Yc.a && C14957gcv.b((Object) this.e, (Object) c1212Yc.e) && C14957gcv.b(this.b, c1212Yc.b) && C14957gcv.b(this.c, c1212Yc.c) && C14957gcv.b(this.d, c1212Yc.d);
}
public C1212Yc() {
this((byte) 0);
}
}