|
3 | 3 | import com.fasterxml.jackson.databind.ObjectMapper; |
4 | 4 | import com.fasterxml.jackson.databind.json.JsonMapper; |
5 | 5 | import com.mindee.MindeeException; |
6 | | -import com.mindee.MindeeSettingsV2; |
7 | 6 | import com.mindee.input.LocalInputSource; |
8 | 7 | import com.mindee.input.URLInputSource; |
| 8 | +import com.mindee.v2.MindeeSettings; |
9 | 9 | import com.mindee.v2.clientOptions.BaseParameters; |
10 | 10 | import com.mindee.v2.parsing.CommonResponse; |
11 | 11 | import com.mindee.v2.parsing.ErrorResponse; |
@@ -38,19 +38,19 @@ public final class MindeeHttpApiV2 extends MindeeApiV2 { |
38 | 38 | /** |
39 | 39 | * The MindeeSetting needed to make the api call. |
40 | 40 | */ |
41 | | - private final MindeeSettingsV2 mindeeSettings; |
| 41 | + private final MindeeSettings mindeeSettings; |
42 | 42 | /** |
43 | 43 | * The HttpClientBuilder used to create HttpClient objects used to make api calls over http. |
44 | 44 | * Defaults to HttpClientBuilder.create().useSystemProperties() |
45 | 45 | */ |
46 | 46 | private final HttpClientBuilder httpClientBuilder; |
47 | 47 |
|
48 | | - public MindeeHttpApiV2(MindeeSettingsV2 mindeeSettings) { |
| 48 | + public MindeeHttpApiV2(MindeeSettings mindeeSettings) { |
49 | 49 | this(mindeeSettings, null); |
50 | 50 | } |
51 | 51 |
|
52 | 52 | @Builder |
53 | | - private MindeeHttpApiV2(MindeeSettingsV2 mindeeSettings, HttpClientBuilder httpClientBuilder) { |
| 53 | + private MindeeHttpApiV2(MindeeSettings mindeeSettings, HttpClientBuilder httpClientBuilder) { |
54 | 54 | this.mindeeSettings = mindeeSettings; |
55 | 55 |
|
56 | 56 | if (httpClientBuilder != null) { |
|
0 commit comments