diff --git a/.sdk-version b/.sdk-version
index 25af363..f2bc310 100644
--- a/.sdk-version
+++ b/.sdk-version
@@ -1 +1 @@
-v2.28.0
+v2.32.0
diff --git a/README.md b/README.md
index 3828633..18ee44b 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
ai.reveng
sdk
- 2.28.0
+ 2.32.0
compile
```
@@ -31,7 +31,7 @@ repositories {
}
dependencies {
- implementation "ai.reveng:sdk:2.28.0"
+ implementation "ai.reveng:sdk:2.32.0"
}
```
diff --git a/build.gradle b/build.gradle
index fa3875d..f1e6a50 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'
group = 'ai.reveng'
-version = '2.28.0'
+version = '2.32.0'
@@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()
- coordinates("ai.reveng", "sdk", "2.28.0")
+ coordinates("ai.reveng", "sdk", "2.32.0")
pom {
name = "sdk"
diff --git a/build.sbt b/build.sbt
index d1b49c1..9199662 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "ai.reveng",
name := "sdk",
- version := "2.28.0",
+ version := "2.32.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
diff --git a/docs/FunctionMappingFull.md b/docs/FunctionMappingFull.md
index 0f9a0c7..fecc4ab 100644
--- a/docs/FunctionMappingFull.md
+++ b/docs/FunctionMappingFull.md
@@ -10,14 +10,16 @@
|**inverseStringMap** | [**Map<String, InverseStringMapItem>**](InverseStringMapItem.md) | | |
|**inverseFunctionMap** | [**Map<String, InverseFunctionMapItem>**](InverseFunctionMapItem.md) | | |
|**unmatchedFunctions** | [**Map<String, InverseValue>**](InverseValue.md) | | |
-|**unmatchedExternalVars** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedCustomTypes** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedStrings** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedVars** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedGoToLabels** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedCustomFunctionPointers** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**unmatchedVariadicLists** | [**Map<String, InverseValue>**](InverseValue.md) | | |
+|**unmatchedEnums** | [**Map<String, InverseValue>**](InverseValue.md) | | |
+|**unmatchedGlobalVars** | [**Map<String, InverseValue>**](InverseValue.md) | | |
|**fields** | **Map<String, Map<String, InverseValue>>** | | |
+|**unmatchedExternalVars** | [**Map<String, InverseValue>**](InverseValue.md) | No longer provided. | [optional] |
diff --git a/pom.xml b/pom.xml
index c1713bd..4da6db5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
sdk
jar
sdk
- 2.28.0
+ 2.32.0
https://github.com/RevEngAI/sdk-java
Java SDK for the RevEng.AI API
diff --git a/src/main/java/ai/reveng/invoker/ApiClient.java b/src/main/java/ai/reveng/invoker/ApiClient.java
index ae5e80e..47e2410 100644
--- a/src/main/java/ai/reveng/invoker/ApiClient.java
+++ b/src/main/java/ai/reveng/invoker/ApiClient.java
@@ -146,7 +146,7 @@ protected void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/2.28.0/java");
+ setUserAgent("OpenAPI-Generator/2.32.0/java");
authentications = new HashMap();
}
diff --git a/src/main/java/ai/reveng/invoker/Configuration.java b/src/main/java/ai/reveng/invoker/Configuration.java
index 8d19713..76b90cd 100644
--- a/src/main/java/ai/reveng/invoker/Configuration.java
+++ b/src/main/java/ai/reveng/invoker/Configuration.java
@@ -18,7 +18,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
- public static final String VERSION = "2.28.0";
+ public static final String VERSION = "2.32.0";
private static final AtomicReference defaultApiClient = new AtomicReference<>();
private static volatile Supplier apiClientFactory = ApiClient::new;
diff --git a/src/main/java/ai/reveng/model/FunctionMappingFull.java b/src/main/java/ai/reveng/model/FunctionMappingFull.java
index 61e06c8..9d7d6cd 100644
--- a/src/main/java/ai/reveng/model/FunctionMappingFull.java
+++ b/src/main/java/ai/reveng/model/FunctionMappingFull.java
@@ -71,11 +71,6 @@ public class FunctionMappingFull {
@javax.annotation.Nonnull
private Map unmatchedFunctions = new HashMap<>();
- public static final String SERIALIZED_NAME_UNMATCHED_EXTERNAL_VARS = "unmatched_external_vars";
- @SerializedName(SERIALIZED_NAME_UNMATCHED_EXTERNAL_VARS)
- @javax.annotation.Nonnull
- private Map unmatchedExternalVars = new HashMap<>();
-
public static final String SERIALIZED_NAME_UNMATCHED_CUSTOM_TYPES = "unmatched_custom_types";
@SerializedName(SERIALIZED_NAME_UNMATCHED_CUSTOM_TYPES)
@javax.annotation.Nonnull
@@ -106,11 +101,27 @@ public class FunctionMappingFull {
@javax.annotation.Nonnull
private Map unmatchedVariadicLists = new HashMap<>();
+ public static final String SERIALIZED_NAME_UNMATCHED_ENUMS = "unmatched_enums";
+ @SerializedName(SERIALIZED_NAME_UNMATCHED_ENUMS)
+ @javax.annotation.Nonnull
+ private Map unmatchedEnums = new HashMap<>();
+
+ public static final String SERIALIZED_NAME_UNMATCHED_GLOBAL_VARS = "unmatched_global_vars";
+ @SerializedName(SERIALIZED_NAME_UNMATCHED_GLOBAL_VARS)
+ @javax.annotation.Nonnull
+ private Map unmatchedGlobalVars = new HashMap<>();
+
public static final String SERIALIZED_NAME_FIELDS = "fields";
@SerializedName(SERIALIZED_NAME_FIELDS)
@javax.annotation.Nonnull
private Map> fields = new HashMap<>();
+ public static final String SERIALIZED_NAME_UNMATCHED_EXTERNAL_VARS = "unmatched_external_vars";
+ @Deprecated
+ @SerializedName(SERIALIZED_NAME_UNMATCHED_EXTERNAL_VARS)
+ @javax.annotation.Nullable
+ private Map unmatchedExternalVars = new HashMap<>();
+
public FunctionMappingFull() {
}
@@ -195,33 +206,6 @@ public void setUnmatchedFunctions(@javax.annotation.Nonnull Map unmatchedExternalVars) {
- this.unmatchedExternalVars = unmatchedExternalVars;
- return this;
- }
-
- public FunctionMappingFull putUnmatchedExternalVarsItem(String key, InverseValue unmatchedExternalVarsItem) {
- if (this.unmatchedExternalVars == null) {
- this.unmatchedExternalVars = new HashMap<>();
- }
- this.unmatchedExternalVars.put(key, unmatchedExternalVarsItem);
- return this;
- }
-
- /**
- * Get unmatchedExternalVars
- * @return unmatchedExternalVars
- */
- @javax.annotation.Nonnull
- public Map getUnmatchedExternalVars() {
- return unmatchedExternalVars;
- }
-
- public void setUnmatchedExternalVars(@javax.annotation.Nonnull Map unmatchedExternalVars) {
- this.unmatchedExternalVars = unmatchedExternalVars;
- }
-
-
public FunctionMappingFull unmatchedCustomTypes(@javax.annotation.Nonnull Map unmatchedCustomTypes) {
this.unmatchedCustomTypes = unmatchedCustomTypes;
return this;
@@ -384,6 +368,60 @@ public void setUnmatchedVariadicLists(@javax.annotation.Nonnull Map unmatchedEnums) {
+ this.unmatchedEnums = unmatchedEnums;
+ return this;
+ }
+
+ public FunctionMappingFull putUnmatchedEnumsItem(String key, InverseValue unmatchedEnumsItem) {
+ if (this.unmatchedEnums == null) {
+ this.unmatchedEnums = new HashMap<>();
+ }
+ this.unmatchedEnums.put(key, unmatchedEnumsItem);
+ return this;
+ }
+
+ /**
+ * Get unmatchedEnums
+ * @return unmatchedEnums
+ */
+ @javax.annotation.Nonnull
+ public Map getUnmatchedEnums() {
+ return unmatchedEnums;
+ }
+
+ public void setUnmatchedEnums(@javax.annotation.Nonnull Map unmatchedEnums) {
+ this.unmatchedEnums = unmatchedEnums;
+ }
+
+
+ public FunctionMappingFull unmatchedGlobalVars(@javax.annotation.Nonnull Map unmatchedGlobalVars) {
+ this.unmatchedGlobalVars = unmatchedGlobalVars;
+ return this;
+ }
+
+ public FunctionMappingFull putUnmatchedGlobalVarsItem(String key, InverseValue unmatchedGlobalVarsItem) {
+ if (this.unmatchedGlobalVars == null) {
+ this.unmatchedGlobalVars = new HashMap<>();
+ }
+ this.unmatchedGlobalVars.put(key, unmatchedGlobalVarsItem);
+ return this;
+ }
+
+ /**
+ * Get unmatchedGlobalVars
+ * @return unmatchedGlobalVars
+ */
+ @javax.annotation.Nonnull
+ public Map getUnmatchedGlobalVars() {
+ return unmatchedGlobalVars;
+ }
+
+ public void setUnmatchedGlobalVars(@javax.annotation.Nonnull Map unmatchedGlobalVars) {
+ this.unmatchedGlobalVars = unmatchedGlobalVars;
+ }
+
+
public FunctionMappingFull fields(@javax.annotation.Nonnull Map> fields) {
this.fields = fields;
return this;
@@ -410,6 +448,37 @@ public void setFields(@javax.annotation.Nonnull Map unmatchedExternalVars) {
+ this.unmatchedExternalVars = unmatchedExternalVars;
+ return this;
+ }
+
+ public FunctionMappingFull putUnmatchedExternalVarsItem(String key, InverseValue unmatchedExternalVarsItem) {
+ if (this.unmatchedExternalVars == null) {
+ this.unmatchedExternalVars = new HashMap<>();
+ }
+ this.unmatchedExternalVars.put(key, unmatchedExternalVarsItem);
+ return this;
+ }
+
+ /**
+ * No longer provided.
+ * @return unmatchedExternalVars
+ * @deprecated
+ */
+ @Deprecated
+ @javax.annotation.Nullable
+ public Map getUnmatchedExternalVars() {
+ return unmatchedExternalVars;
+ }
+
+ @Deprecated
+ public void setUnmatchedExternalVars(@javax.annotation.Nullable Map unmatchedExternalVars) {
+ this.unmatchedExternalVars = unmatchedExternalVars;
+ }
+
/**
* A container for additional, undeclared properties.
* This is a holder for any undeclared properties as specified with
@@ -468,20 +537,22 @@ public boolean equals(Object o) {
return Objects.equals(this.inverseStringMap, functionMappingFull.inverseStringMap) &&
Objects.equals(this.inverseFunctionMap, functionMappingFull.inverseFunctionMap) &&
Objects.equals(this.unmatchedFunctions, functionMappingFull.unmatchedFunctions) &&
- Objects.equals(this.unmatchedExternalVars, functionMappingFull.unmatchedExternalVars) &&
Objects.equals(this.unmatchedCustomTypes, functionMappingFull.unmatchedCustomTypes) &&
Objects.equals(this.unmatchedStrings, functionMappingFull.unmatchedStrings) &&
Objects.equals(this.unmatchedVars, functionMappingFull.unmatchedVars) &&
Objects.equals(this.unmatchedGoToLabels, functionMappingFull.unmatchedGoToLabels) &&
Objects.equals(this.unmatchedCustomFunctionPointers, functionMappingFull.unmatchedCustomFunctionPointers) &&
Objects.equals(this.unmatchedVariadicLists, functionMappingFull.unmatchedVariadicLists) &&
- Objects.equals(this.fields, functionMappingFull.fields)&&
+ Objects.equals(this.unmatchedEnums, functionMappingFull.unmatchedEnums) &&
+ Objects.equals(this.unmatchedGlobalVars, functionMappingFull.unmatchedGlobalVars) &&
+ Objects.equals(this.fields, functionMappingFull.fields) &&
+ Objects.equals(this.unmatchedExternalVars, functionMappingFull.unmatchedExternalVars)&&
Objects.equals(this.additionalProperties, functionMappingFull.additionalProperties);
}
@Override
public int hashCode() {
- return Objects.hash(inverseStringMap, inverseFunctionMap, unmatchedFunctions, unmatchedExternalVars, unmatchedCustomTypes, unmatchedStrings, unmatchedVars, unmatchedGoToLabels, unmatchedCustomFunctionPointers, unmatchedVariadicLists, fields, additionalProperties);
+ return Objects.hash(inverseStringMap, inverseFunctionMap, unmatchedFunctions, unmatchedCustomTypes, unmatchedStrings, unmatchedVars, unmatchedGoToLabels, unmatchedCustomFunctionPointers, unmatchedVariadicLists, unmatchedEnums, unmatchedGlobalVars, fields, unmatchedExternalVars, additionalProperties);
}
@Override
@@ -491,14 +562,16 @@ public String toString() {
sb.append(" inverseStringMap: ").append(toIndentedString(inverseStringMap)).append("\n");
sb.append(" inverseFunctionMap: ").append(toIndentedString(inverseFunctionMap)).append("\n");
sb.append(" unmatchedFunctions: ").append(toIndentedString(unmatchedFunctions)).append("\n");
- sb.append(" unmatchedExternalVars: ").append(toIndentedString(unmatchedExternalVars)).append("\n");
sb.append(" unmatchedCustomTypes: ").append(toIndentedString(unmatchedCustomTypes)).append("\n");
sb.append(" unmatchedStrings: ").append(toIndentedString(unmatchedStrings)).append("\n");
sb.append(" unmatchedVars: ").append(toIndentedString(unmatchedVars)).append("\n");
sb.append(" unmatchedGoToLabels: ").append(toIndentedString(unmatchedGoToLabels)).append("\n");
sb.append(" unmatchedCustomFunctionPointers: ").append(toIndentedString(unmatchedCustomFunctionPointers)).append("\n");
sb.append(" unmatchedVariadicLists: ").append(toIndentedString(unmatchedVariadicLists)).append("\n");
+ sb.append(" unmatchedEnums: ").append(toIndentedString(unmatchedEnums)).append("\n");
+ sb.append(" unmatchedGlobalVars: ").append(toIndentedString(unmatchedGlobalVars)).append("\n");
sb.append(" fields: ").append(toIndentedString(fields)).append("\n");
+ sb.append(" unmatchedExternalVars: ").append(toIndentedString(unmatchedExternalVars)).append("\n");
sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n");
sb.append("}");
return sb.toString();
@@ -521,10 +594,10 @@ private String toIndentedString(Object o) {
static {
// a set of all properties/fields (JSON key names)
- openapiFields = new HashSet(Arrays.asList("inverse_string_map", "inverse_function_map", "unmatched_functions", "unmatched_external_vars", "unmatched_custom_types", "unmatched_strings", "unmatched_vars", "unmatched_go_to_labels", "unmatched_custom_function_pointers", "unmatched_variadic_lists", "fields"));
+ openapiFields = new HashSet(Arrays.asList("inverse_string_map", "inverse_function_map", "unmatched_functions", "unmatched_custom_types", "unmatched_strings", "unmatched_vars", "unmatched_go_to_labels", "unmatched_custom_function_pointers", "unmatched_variadic_lists", "unmatched_enums", "unmatched_global_vars", "fields", "unmatched_external_vars"));
// a set of required properties/fields (JSON key names)
- openapiRequiredFields = new HashSet(Arrays.asList("inverse_string_map", "inverse_function_map", "unmatched_functions", "unmatched_external_vars", "unmatched_custom_types", "unmatched_strings", "unmatched_vars", "unmatched_go_to_labels", "unmatched_custom_function_pointers", "unmatched_variadic_lists", "fields"));
+ openapiRequiredFields = new HashSet(Arrays.asList("inverse_string_map", "inverse_function_map", "unmatched_functions", "unmatched_custom_types", "unmatched_strings", "unmatched_vars", "unmatched_go_to_labels", "unmatched_custom_function_pointers", "unmatched_variadic_lists", "unmatched_enums", "unmatched_global_vars", "fields"));
}
/**
diff --git a/src/test/java/ai/reveng/model/FunctionMappingFullTest.java b/src/test/java/ai/reveng/model/FunctionMappingFullTest.java
index f7a6c9c..9d747f2 100644
--- a/src/test/java/ai/reveng/model/FunctionMappingFullTest.java
+++ b/src/test/java/ai/reveng/model/FunctionMappingFullTest.java
@@ -65,14 +65,6 @@ public void unmatchedFunctionsTest() {
// TODO: test unmatchedFunctions
}
- /**
- * Test the property 'unmatchedExternalVars'
- */
- @Test
- public void unmatchedExternalVarsTest() {
- // TODO: test unmatchedExternalVars
- }
-
/**
* Test the property 'unmatchedCustomTypes'
*/
@@ -121,6 +113,22 @@ public void unmatchedVariadicListsTest() {
// TODO: test unmatchedVariadicLists
}
+ /**
+ * Test the property 'unmatchedEnums'
+ */
+ @Test
+ public void unmatchedEnumsTest() {
+ // TODO: test unmatchedEnums
+ }
+
+ /**
+ * Test the property 'unmatchedGlobalVars'
+ */
+ @Test
+ public void unmatchedGlobalVarsTest() {
+ // TODO: test unmatchedGlobalVars
+ }
+
/**
* Test the property 'fields'
*/
@@ -129,4 +137,12 @@ public void fieldsTest() {
// TODO: test fields
}
+ /**
+ * Test the property 'unmatchedExternalVars'
+ */
+ @Test
+ public void unmatchedExternalVarsTest() {
+ // TODO: test unmatchedExternalVars
+ }
+
}