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

79 lines
2.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/* loaded from: classes3.dex */
public final class hsn {
@SerializedName("sequence")
private final int a;
@SerializedName("consentType")
private final String b;
@SerializedName("consentVersion")
private final String c;
@SerializedName("scopes")
private final List<XGz> d;
@SerializedName("consentSubType")
private final String e;
public hsn(int i, String str, String str2, String str3, List<XGz> list) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.a = i;
this.b = str;
this.e = str2;
this.c = str3;
this.d = list;
}
public /* synthetic */ hsn(String str, String str2) {
this(1, str, str2, null, null);
}
public final String toString() {
int i = this.a;
String str = this.b;
String str2 = this.e;
String str3 = this.c;
List<XGz> list = this.d;
StringBuilder sb = new StringBuilder("ConsentRequest(sequence=");
sb.append(i);
sb.append(", consentType=");
sb.append(str);
sb.append(", consentSubType=");
sb.append(str2);
sb.append(", consentVersion=");
sb.append(str3);
sb.append(", listScopes=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = Integer.hashCode(this.a);
int hashCode2 = this.b.hashCode();
int hashCode3 = this.e.hashCode();
String str = this.c;
int hashCode4 = str == null ? 0 : str.hashCode();
List<XGz> list = this.d;
return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (list != null ? list.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof hsn)) {
return false;
}
hsn hsnVar = (hsn) obj;
return this.a == hsnVar.a && C14957gcv.b((Object) this.b, (Object) hsnVar.b) && C14957gcv.b((Object) this.e, (Object) hsnVar.e) && C14957gcv.b((Object) this.c, (Object) hsnVar.c) && C14957gcv.b(this.d, hsnVar.d);
}
}