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

77 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes5.dex */
public final class fOK extends fOM {
public final Map<String, Object> c;
public final RVV d = new RVV(this);
public final boolean e;
public fOK(Map<String, Object> map, boolean z) {
this.c = map;
this.e = z;
}
@Override // o.fOP
public final String g() {
return (String) this.c.get("method");
}
@Override // o.fOP
public final <T> T e(String str) {
return (T) this.c.get(str);
}
@Override // o.fOP
public final boolean d(String str) {
return this.c.containsKey(str);
}
public final Map<String, Object> f() {
HashMap hashMap = new HashMap();
HashMap hashMap2 = new HashMap();
hashMap2.put("code", this.d.c);
hashMap2.put("message", this.d.a);
hashMap2.put("data", this.d.d);
hashMap.put("error", hashMap2);
return hashMap;
}
/* loaded from: classes5.dex */
public class RVV implements InterfaceC13016fOR {
public String a;
public Object b;
public String c;
public Object d;
private fOK e;
public RVV(fOK fok) {
this.e = fok;
}
@Override // o.InterfaceC13016fOR
public final void e(Object obj) {
this.b = obj;
}
@Override // o.InterfaceC13016fOR
public final void c(String str, String str2, Object obj) {
this.c = str;
this.a = str2;
this.d = obj;
}
}
@Override // o.fOM, o.fOJ
public final InterfaceC13016fOR e() {
return this.d;
}
@Override // o.fOJ, o.fOP
public final boolean b() {
return this.e;
}
}