package retrofit2; import okhttp3.ResponseBody; /* loaded from: classes3.dex */ public final class Response { public final okhttp3.Response a; /* renamed from: b reason: collision with root package name */ public final T f3806b; public final ResponseBody c; public Response(okhttp3.Response response, T t, ResponseBody responseBody) { this.a = response; this.f3806b = t; this.c = responseBody; } public static Response b(T t, okhttp3.Response response) { if (response.b()) { return new Response<>(response, t, null); } throw new IllegalArgumentException("rawResponse must be successful response"); } public boolean a() { return this.a.b(); } public String toString() { return this.a.toString(); } }