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

70 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public final class RZ implements Parcelable {
public static final Parcelable.Creator<RZ> CREATOR = new Sts();
public final String a;
public final String c;
public final RX d;
public final Boolean e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public RZ(String str, RX rx, String str2, Boolean bool) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.c = str;
this.d = rx;
this.a = str2;
this.e = bool;
}
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<RZ> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ RZ createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
Boolean bool = null;
RX createFromParcel = parcel.readInt() == 0 ? null : RX.CREATOR.createFromParcel(parcel);
String readString2 = parcel.readString();
if (parcel.readInt() != 0) {
bool = Boolean.valueOf(parcel.readInt() != 0);
}
return new RZ(readString, createFromParcel, readString2, bool);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ RZ[] newArray(int i) {
return new RZ[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.c);
RX rx = this.d;
if (rx == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
rx.writeToParcel(parcel, i);
}
parcel.writeString(this.a);
Boolean bool = this.e;
if (bool == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(bool.booleanValue() ? 1 : 0);
}
}
}