package d8; import n9.g0; import n9.h0; import n9.x; /* loaded from: classes2.dex */ public final class e { /* renamed from: a, reason: collision with root package name */ private final g0 f9180a; /* renamed from: b, reason: collision with root package name */ private final Object f9181b; /* renamed from: c, reason: collision with root package name */ private final h0 f9182c; private e(g0 g0Var, Object obj, h0 h0Var) { this.f9180a = g0Var; this.f9181b = obj; this.f9182c = h0Var; } public static e c(h0 h0Var, g0 g0Var) { if (g0Var.S()) { throw new IllegalArgumentException("rawResponse should not be successful response"); } return new e(g0Var, null, h0Var); } public static e g(Object obj, g0 g0Var) { if (g0Var.S()) { return new e(g0Var, obj, null); } throw new IllegalArgumentException("rawResponse must be successful response"); } public Object a() { return this.f9181b; } public int b() { return this.f9180a.G(); } public x d() { return this.f9180a.R(); } public boolean e() { return this.f9180a.S(); } public String f() { return this.f9180a.Y(); } public String toString() { return this.f9180a.toString(); } }