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

75 lines
2.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import com.huawei.hms.support.feature.result.CommonConstant;
/* renamed from: o.pOe, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C16562pOe {
@SerializedName("error")
public yzb error;
@SerializedName(CommonConstant.KEY_STATUS)
public yzb status;
public C16562pOe() {
}
public C16562pOe(yzb yzbVar) {
this.status = yzbVar;
}
public C16562pOe(yzb yzbVar, yzb yzbVar2) {
this.status = yzbVar;
this.error = yzbVar2;
}
public final /* synthetic */ void a(Gson gson, JsonReader jsonReader, int i) {
boolean z = jsonReader.peek() != JsonToken.NULL;
if (i == 22) {
if (z) {
this.error = (yzb) gson.getAdapter(yzb.class).read2(jsonReader);
return;
} else {
this.error = null;
jsonReader.nextNull();
return;
}
}
if (i != 515) {
jsonReader.skipValue();
} else if (z) {
this.status = (yzb) gson.getAdapter(yzb.class).read2(jsonReader);
} else {
this.status = null;
jsonReader.nextNull();
}
}
public final /* synthetic */ void d(Gson gson, JsonWriter jsonWriter, PYE pye) {
if (this != this.error) {
pye.c(jsonWriter, 45);
yzb yzbVar = this.error;
DTh.b(gson, yzb.class, yzbVar).write(jsonWriter, yzbVar);
}
if (this != this.status) {
pye.c(jsonWriter, 433);
yzb yzbVar2 = this.status;
DTh.b(gson, yzb.class, yzbVar2).write(jsonWriter, yzbVar2);
}
}
public yzb getStatus() {
return this.status;
}
public yzb getError() {
return this.error;
}
}