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

135 lines
3.7 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 java.util.Objects;
/* loaded from: classes.dex */
public class JZY {
@SerializedName("header")
public String a;
@SerializedName("code")
public String b;
@SerializedName("description")
public String d;
@SerializedName("message")
public String e;
public JZY(String str, String str2, String str3) {
this(null, str, str2, str3);
}
public JZY(String str, String str2) {
this(null, str, str2, null);
}
public JZY(String str) {
this(null, str, null, null);
}
public JZY(String str, String str2, String str3, String str4) {
this.a = str;
this.b = str2;
this.d = str3;
this.e = str4;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
JZY jzy = (JZY) obj;
if (Objects.equals(this.b, jzy.b) && Objects.equals(this.d, jzy.d)) {
return Objects.equals(this.e, jzy.e);
}
return false;
}
public int hashCode() {
String str = this.b;
int hashCode = str != null ? str.hashCode() : 0;
String str2 = this.d;
int hashCode2 = str2 != null ? str2.hashCode() : 0;
String str3 = this.e;
return (((hashCode * 31) + hashCode2) * 31) + (str3 != null ? str3.hashCode() : 0);
}
public final /* synthetic */ void a(Gson gson, JsonReader jsonReader, int i) {
boolean z = jsonReader.peek() != JsonToken.NULL;
if (i == 133) {
if (z) {
this.a = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.a = null;
jsonReader.nextNull();
return;
}
}
if (i == 239) {
if (z) {
this.d = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.d = null;
jsonReader.nextNull();
return;
}
}
if (i == 478) {
if (z) {
this.b = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.b = null;
jsonReader.nextNull();
return;
}
}
if (i != 503) {
jsonReader.skipValue();
} else if (z) {
this.e = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
this.e = null;
jsonReader.nextNull();
}
}
public /* synthetic */ JZY() {
}
public final /* synthetic */ void b(Gson gson, JsonWriter jsonWriter, PYE pye) {
if (this != this.b) {
pye.c(jsonWriter, 439);
String str = this.b;
DTh.b(gson, String.class, str).write(jsonWriter, str);
}
if (this != this.d) {
pye.c(jsonWriter, 533);
String str2 = this.d;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
}
if (this != this.a) {
pye.c(jsonWriter, 277);
String str3 = this.a;
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
}
if (this != this.e) {
pye.c(jsonWriter, 638);
String str4 = this.e;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
}
}
}