Skip to content

Commit e07fbcd

Browse files
authored
Merge pull request #50 from RevEngAI/sdk-update-v2.42.0
🤖 Update SDK to version v2.42.0
2 parents 3f64415 + 59f6c04 commit e07fbcd

12 files changed

Lines changed: 85 additions & 12 deletions

File tree

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.37.4
1+
v2.42.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
1616
<dependency>
1717
<groupId>ai.reveng</groupId>
1818
<artifactId>sdk</artifactId>
19-
<version>2.37.4</version>
19+
<version>2.42.0</version>
2020
<scope>compile</scope>
2121
</dependency>
2222
```
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation "ai.reveng:sdk:2.37.4"
34+
implementation "ai.reveng:sdk:2.42.0"
3535
}
3636
```
3737

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'ai.reveng'
22-
version = '2.37.4'
22+
version = '2.42.0'
2323

2424

2525

@@ -171,7 +171,7 @@ mavenPublishing {
171171
publishToMavenCentral(true)
172172
signAllPublications()
173173

174-
coordinates("ai.reveng", "sdk", "2.37.4")
174+
coordinates("ai.reveng", "sdk", "2.42.0")
175175

176176
pom {
177177
name = "sdk"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "ai.reveng",
44
name := "sdk",
5-
version := "2.37.4",
5+
version := "2.42.0",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/FunctionsDetailResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**functionId** | **Long** | Function id | |
1111
|**functionName** | **String** | | |
12+
|**functionNameMangled** | **String** | | |
1213
|**functionVaddr** | **Long** | | |
1314
|**functionSize** | **Integer** | | |
1415
|**analysisId** | **Integer** | | |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>sdk</name>
8-
<version>2.37.4</version>
8+
<version>2.42.0</version>
99
<url>https://github.com/RevEngAI/sdk-java</url>
1010
<description>Java SDK for the RevEng.AI API</description>
1111
<scm>

src/main/java/ai/reveng/invoker/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected void init() {
146146
json = new JSON();
147147

148148
// Set default User-Agent.
149-
setUserAgent("OpenAPI-Generator/2.37.4/java");
149+
setUserAgent("OpenAPI-Generator/2.42.0/java");
150150

151151
authentications = new HashMap<String, Authentication>();
152152
}

src/main/java/ai/reveng/invoker/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
2020
public class Configuration {
21-
public static final String VERSION = "2.37.4";
21+
public static final String VERSION = "2.42.0";
2222

2323
private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
2424
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;

src/main/java/ai/reveng/model/AutoUnstripRequest.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,38 +53,45 @@
5353
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
5454
public class AutoUnstripRequest {
5555
public static final String SERIALIZED_NAME_MIN_SIMILARITY = "min_similarity";
56+
@Deprecated
5657
@SerializedName(SERIALIZED_NAME_MIN_SIMILARITY)
5758
@javax.annotation.Nullable
5859
private BigDecimal minSimilarity = new BigDecimal("90.0");
5960

6061
public static final String SERIALIZED_NAME_APPLY = "apply";
62+
@Deprecated
6163
@SerializedName(SERIALIZED_NAME_APPLY)
6264
@javax.annotation.Nullable
6365
private Boolean apply = false;
6466

6567
public static final String SERIALIZED_NAME_CONFIDENCE_THRESHOLD = "confidence_threshold";
68+
@Deprecated
6669
@SerializedName(SERIALIZED_NAME_CONFIDENCE_THRESHOLD)
6770
@javax.annotation.Nullable
6871
private BigDecimal confidenceThreshold = new BigDecimal("90.0");
6972

7073
public static final String SERIALIZED_NAME_MIN_GROUP_SIZE = "min_group_size";
74+
@Deprecated
7175
@SerializedName(SERIALIZED_NAME_MIN_GROUP_SIZE)
7276
@javax.annotation.Nullable
7377
private Integer minGroupSize = 10;
7478

7579
public static final String SERIALIZED_NAME_STATUS_ONLY = "status_only";
80+
@Deprecated
7681
@SerializedName(SERIALIZED_NAME_STATUS_ONLY)
7782
@javax.annotation.Nullable
7883
private Boolean statusOnly = false;
7984

8085
public static final String SERIALIZED_NAME_NO_CACHE = "no_cache";
86+
@Deprecated
8187
@SerializedName(SERIALIZED_NAME_NO_CACHE)
8288
@javax.annotation.Nullable
8389
private Boolean noCache = false;
8490

8591
public AutoUnstripRequest() {
8692
}
8793

94+
@Deprecated
8895
public AutoUnstripRequest minSimilarity(@javax.annotation.Nullable BigDecimal minSimilarity) {
8996
this.minSimilarity = minSimilarity;
9097
return this;
@@ -95,17 +102,21 @@ public AutoUnstripRequest minSimilarity(@javax.annotation.Nullable BigDecimal mi
95102
* minimum: 0.0
96103
* maximum: 100.0
97104
* @return minSimilarity
105+
* @deprecated
98106
*/
107+
@Deprecated
99108
@javax.annotation.Nullable
100109
public BigDecimal getMinSimilarity() {
101110
return minSimilarity;
102111
}
103112

113+
@Deprecated
104114
public void setMinSimilarity(@javax.annotation.Nullable BigDecimal minSimilarity) {
105115
this.minSimilarity = minSimilarity;
106116
}
107117

108118

119+
@Deprecated
109120
public AutoUnstripRequest apply(@javax.annotation.Nullable Boolean apply) {
110121
this.apply = apply;
111122
return this;
@@ -114,17 +125,21 @@ public AutoUnstripRequest apply(@javax.annotation.Nullable Boolean apply) {
114125
/**
115126
* Whether to apply the matched function names to the target binary, default is False
116127
* @return apply
128+
* @deprecated
117129
*/
130+
@Deprecated
118131
@javax.annotation.Nullable
119132
public Boolean getApply() {
120133
return apply;
121134
}
122135

136+
@Deprecated
123137
public void setApply(@javax.annotation.Nullable Boolean apply) {
124138
this.apply = apply;
125139
}
126140

127141

142+
@Deprecated
128143
public AutoUnstripRequest confidenceThreshold(@javax.annotation.Nullable BigDecimal confidenceThreshold) {
129144
this.confidenceThreshold = confidenceThreshold;
130145
return this;
@@ -135,17 +150,21 @@ public AutoUnstripRequest confidenceThreshold(@javax.annotation.Nullable BigDeci
135150
* minimum: 0.0
136151
* maximum: 100.0
137152
* @return confidenceThreshold
153+
* @deprecated
138154
*/
155+
@Deprecated
139156
@javax.annotation.Nullable
140157
public BigDecimal getConfidenceThreshold() {
141158
return confidenceThreshold;
142159
}
143160

161+
@Deprecated
144162
public void setConfidenceThreshold(@javax.annotation.Nullable BigDecimal confidenceThreshold) {
145163
this.confidenceThreshold = confidenceThreshold;
146164
}
147165

148166

167+
@Deprecated
149168
public AutoUnstripRequest minGroupSize(@javax.annotation.Nullable Integer minGroupSize) {
150169
this.minGroupSize = minGroupSize;
151170
return this;
@@ -156,17 +175,21 @@ public AutoUnstripRequest minGroupSize(@javax.annotation.Nullable Integer minGro
156175
* minimum: 1
157176
* maximum: 20
158177
* @return minGroupSize
178+
* @deprecated
159179
*/
180+
@Deprecated
160181
@javax.annotation.Nullable
161182
public Integer getMinGroupSize() {
162183
return minGroupSize;
163184
}
164185

186+
@Deprecated
165187
public void setMinGroupSize(@javax.annotation.Nullable Integer minGroupSize) {
166188
this.minGroupSize = minGroupSize;
167189
}
168190

169191

192+
@Deprecated
170193
public AutoUnstripRequest statusOnly(@javax.annotation.Nullable Boolean statusOnly) {
171194
this.statusOnly = statusOnly;
172195
return this;
@@ -175,17 +198,21 @@ public AutoUnstripRequest statusOnly(@javax.annotation.Nullable Boolean statusOn
175198
/**
176199
* If set to true, only returns the status of the auto-unstrip operation without the actual results
177200
* @return statusOnly
201+
* @deprecated
178202
*/
203+
@Deprecated
179204
@javax.annotation.Nullable
180205
public Boolean getStatusOnly() {
181206
return statusOnly;
182207
}
183208

209+
@Deprecated
184210
public void setStatusOnly(@javax.annotation.Nullable Boolean statusOnly) {
185211
this.statusOnly = statusOnly;
186212
}
187213

188214

215+
@Deprecated
189216
public AutoUnstripRequest noCache(@javax.annotation.Nullable Boolean noCache) {
190217
this.noCache = noCache;
191218
return this;
@@ -194,12 +221,15 @@ public AutoUnstripRequest noCache(@javax.annotation.Nullable Boolean noCache) {
194221
/**
195222
* If set to true, forces the system to bypass any cached results and perform a fresh computation
196223
* @return noCache
224+
* @deprecated
197225
*/
226+
@Deprecated
198227
@javax.annotation.Nullable
199228
public Boolean getNoCache() {
200229
return noCache;
201230
}
202231

232+
@Deprecated
203233
public void setNoCache(@javax.annotation.Nullable Boolean noCache) {
204234
this.noCache = noCache;
205235
}

src/main/java/ai/reveng/model/AutoUnstripResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
5757
public class AutoUnstripResponse {
5858
public static final String SERIALIZED_NAME_PROGRESS = "progress";
59+
@Deprecated
5960
@SerializedName(SERIALIZED_NAME_PROGRESS)
6061
@javax.annotation.Nullable
6162
private Integer progress = 0;
@@ -88,6 +89,7 @@ public class AutoUnstripResponse {
8889
public AutoUnstripResponse() {
8990
}
9091

92+
@Deprecated
9193
public AutoUnstripResponse progress(@javax.annotation.Nullable Integer progress) {
9294
this.progress = progress;
9395
return this;
@@ -96,12 +98,15 @@ public AutoUnstripResponse progress(@javax.annotation.Nullable Integer progress)
9698
/**
9799
* Progress of the auto-unstrip operation, represented as a percentage
98100
* @return progress
101+
* @deprecated
99102
*/
103+
@Deprecated
100104
@javax.annotation.Nullable
101105
public Integer getProgress() {
102106
return progress;
103107
}
104108

109+
@Deprecated
105110
public void setProgress(@javax.annotation.Nullable Integer progress) {
106111
this.progress = progress;
107112
}

0 commit comments

Comments
 (0)