what-the-bank/sources/com/huawei/hms/update/ui/UpdateBean.java

85 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.update.ui;
import java.io.Serializable;
import java.util.ArrayList;
/* loaded from: classes2.dex */
public class UpdateBean implements Serializable {
private boolean a;
private boolean b;
private String c;
private int d;
private String e;
private String f;
private ArrayList g;
private boolean h = true;
private static <T> T a(T t) {
return t;
}
public String getClientAppId() {
return (String) a(this.e);
}
public String getClientAppName() {
return (String) a(this.f);
}
public String getClientPackageName() {
return (String) a(this.c);
}
public int getClientVersionCode() {
return ((Integer) a(Integer.valueOf(this.d))).intValue();
}
public ArrayList getTypeList() {
return (ArrayList) a(this.g);
}
public boolean isHmsOrApkUpgrade() {
return ((Boolean) a(Boolean.valueOf(this.a))).booleanValue();
}
public boolean isNeedConfirm() {
return ((Boolean) a(Boolean.valueOf(this.h))).booleanValue();
}
public void setTypeList(ArrayList arrayList) {
this.g = arrayList;
}
public void setResolutionInstallHMS(boolean z) {
this.b = z;
}
public void setNeedConfirm(boolean z) {
this.h = z;
}
public void setHmsOrApkUpgrade(boolean z) {
this.a = z;
}
public void setClientVersionCode(int i) {
this.d = i;
}
public void setClientPackageName(String str) {
this.c = str;
}
public void setClientAppName(String str) {
this.f = str;
}
public void setClientAppId(String str) {
this.e = str;
}
public boolean getResolutionInstallHMS() {
return this.b;
}
}