com.siftscience.GetDecisionsResponse Maven / Gradle / Ivy
package com.siftscience;
import com.siftscience.model.GetDecisionsResponseBody;
import okhttp3.Response;
import java.io.IOException;
import static com.siftscience.FieldSet.gson;
public class GetDecisionsResponse extends SiftResponse {
public GetDecisionsResponse(Response okResponse, FieldSet requestBody) throws IOException {
super(okResponse, requestBody);
}
@Override
void populateBodyFromJson(String jsonBody) {
body = gson.fromJson(jsonBody, GetDecisionsResponseBody.class);
}
}