diff --git a/README.md b/README.md
index dea8998..7052614 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ mvn clean package
```
Then manually install the following JARs:
- - `target/mx-platform-java-1.0.0.jar`
+ - `target/mx-platform-java-1.1.0.jar`
- `target/lib/*.jar`
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
com.mx
mx-platform-java
- 1.0.0
+ 1.1.0
compile
```
diff --git a/docs/MemberResponse.md b/docs/MemberResponse.md
index 73af611..6f59447 100644
--- a/docs/MemberResponse.md
+++ b/docs/MemberResponse.md
@@ -23,6 +23,7 @@
|**name** | **String** | | [optional] |
|**oauthWindowUri** | **String** | | [optional] |
|**successfullyAggregatedAt** | **String** | | [optional] |
+|**useCases** | **List<String>** | | [optional] |
|**userGuid** | **String** | | [optional] |
|**userId** | **String** | | [optional] |
diff --git a/openapi/config.yml b/openapi/config.yml
index 91bf619..d939785 100644
--- a/openapi/config.yml
+++ b/openapi/config.yml
@@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
artifactDescription: A Java library for the MX Platform API
artifactId: mx-platform-java
artifactUrl: https://github.com/mxenabled/mx-platform-java
-artifactVersion: 1.0.0
+artifactVersion: 1.1.0
developerEmail: devexperience@mx.com
developerName: MX
developerOrganization: MX Technologies Inc.
diff --git a/pom.xml b/pom.xml
index 646bddf..faa6da4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
mx-platform-java
jar
mx-platform-java
- 1.0.0
+ 1.1.0
https://github.com/mxenabled/mx-platform-java
A Java library for the MX Platform API
diff --git a/src/main/java/com/mx/client/ApiClient.java b/src/main/java/com/mx/client/ApiClient.java
index 10319e1..5ded481 100644
--- a/src/main/java/com/mx/client/ApiClient.java
+++ b/src/main/java/com/mx/client/ApiClient.java
@@ -145,7 +145,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/1.0.0/java");
+ setUserAgent("OpenAPI-Generator/1.1.0/java");
authentications = new HashMap();
}
diff --git a/src/main/java/com/mx/client/Configuration.java b/src/main/java/com/mx/client/Configuration.java
index 38f22c9..d79fd5d 100644
--- a/src/main/java/com/mx/client/Configuration.java
+++ b/src/main/java/com/mx/client/Configuration.java
@@ -15,7 +15,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
- public static final String VERSION = "1.0.0";
+ public static final String VERSION = "1.1.0";
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/src/main/java/com/mx/client/model/MemberResponse.java b/src/main/java/com/mx/client/model/MemberResponse.java
index d865e4f..382de69 100644
--- a/src/main/java/com/mx/client/model/MemberResponse.java
+++ b/src/main/java/com/mx/client/model/MemberResponse.java
@@ -20,7 +20,9 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
+import java.util.ArrayList;
import java.util.Arrays;
+import java.util.List;
import org.openapitools.jackson.nullable.JsonNullable;
import com.google.gson.Gson;
@@ -116,6 +118,10 @@ public class MemberResponse {
@SerializedName(SERIALIZED_NAME_SUCCESSFULLY_AGGREGATED_AT)
private String successfullyAggregatedAt;
+ public static final String SERIALIZED_NAME_USE_CASES = "use_cases";
+ @SerializedName(SERIALIZED_NAME_USE_CASES)
+ private List useCases;
+
public static final String SERIALIZED_NAME_USER_GUID = "user_guid";
@SerializedName(SERIALIZED_NAME_USER_GUID)
private String userGuid;
@@ -463,6 +469,35 @@ public void setSuccessfullyAggregatedAt(String successfullyAggregatedAt) {
}
+ public MemberResponse useCases(List useCases) {
+
+ this.useCases = useCases;
+ return this;
+ }
+
+ public MemberResponse addUseCasesItem(String useCasesItem) {
+ if (this.useCases == null) {
+ this.useCases = new ArrayList<>();
+ }
+ this.useCases.add(useCasesItem);
+ return this;
+ }
+
+ /**
+ * Get useCases
+ * @return useCases
+ **/
+ @javax.annotation.Nullable
+ public List getUseCases() {
+ return useCases;
+ }
+
+
+ public void setUseCases(List useCases) {
+ this.useCases = useCases;
+ }
+
+
public MemberResponse userGuid(String userGuid) {
this.userGuid = userGuid;
@@ -531,6 +566,7 @@ public boolean equals(Object o) {
Objects.equals(this.name, memberResponse.name) &&
Objects.equals(this.oauthWindowUri, memberResponse.oauthWindowUri) &&
Objects.equals(this.successfullyAggregatedAt, memberResponse.successfullyAggregatedAt) &&
+ Objects.equals(this.useCases, memberResponse.useCases) &&
Objects.equals(this.userGuid, memberResponse.userGuid) &&
Objects.equals(this.userId, memberResponse.userId);
}
@@ -541,7 +577,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b)
@Override
public int hashCode() {
- return Objects.hash(aggregatedAt, backgroundAggregationIsDisabled, connectionStatus, guid, id, institutionCode, isBeingAggregated, isManagedByUser, isManual, isOauth, metadata, mostRecentJobDetailCode, mostRecentJobDetailText, name, oauthWindowUri, successfullyAggregatedAt, userGuid, userId);
+ return Objects.hash(aggregatedAt, backgroundAggregationIsDisabled, connectionStatus, guid, id, institutionCode, isBeingAggregated, isManagedByUser, isManual, isOauth, metadata, mostRecentJobDetailCode, mostRecentJobDetailText, name, oauthWindowUri, successfullyAggregatedAt, useCases, userGuid, userId);
}
private static int hashCodeNullable(JsonNullable a) {
@@ -571,6 +607,7 @@ public String toString() {
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" oauthWindowUri: ").append(toIndentedString(oauthWindowUri)).append("\n");
sb.append(" successfullyAggregatedAt: ").append(toIndentedString(successfullyAggregatedAt)).append("\n");
+ sb.append(" useCases: ").append(toIndentedString(useCases)).append("\n");
sb.append(" userGuid: ").append(toIndentedString(userGuid)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append("}");
@@ -611,6 +648,7 @@ private String toIndentedString(Object o) {
openapiFields.add("name");
openapiFields.add("oauth_window_uri");
openapiFields.add("successfully_aggregated_at");
+ openapiFields.add("use_cases");
openapiFields.add("user_guid");
openapiFields.add("user_id");
@@ -672,6 +710,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if ((jsonObj.get("successfully_aggregated_at") != null && !jsonObj.get("successfully_aggregated_at").isJsonNull()) && !jsonObj.get("successfully_aggregated_at").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `successfully_aggregated_at` to be a primitive type in the JSON string but got `%s`", jsonObj.get("successfully_aggregated_at").toString()));
}
+ // ensure the optional json data is an array if present
+ if (jsonObj.get("use_cases") != null && !jsonObj.get("use_cases").isJsonNull() && !jsonObj.get("use_cases").isJsonArray()) {
+ throw new IllegalArgumentException(String.format("Expected the field `use_cases` to be an array in the JSON string but got `%s`", jsonObj.get("use_cases").toString()));
+ }
if ((jsonObj.get("user_guid") != null && !jsonObj.get("user_guid").isJsonNull()) && !jsonObj.get("user_guid").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `user_guid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user_guid").toString()));
}
diff --git a/src/test/java/com/mx/client/model/MemberResponseTest.java b/src/test/java/com/mx/client/model/MemberResponseTest.java
index 26d0faa..a34522f 100644
--- a/src/test/java/com/mx/client/model/MemberResponseTest.java
+++ b/src/test/java/com/mx/client/model/MemberResponseTest.java
@@ -19,7 +19,9 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
+import java.util.ArrayList;
import java.util.Arrays;
+import java.util.List;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
@@ -166,6 +168,14 @@ public void successfullyAggregatedAtTest() {
// TODO: test successfullyAggregatedAt
}
+ /**
+ * Test the property 'useCases'
+ */
+ @Test
+ public void useCasesTest() {
+ // TODO: test useCases
+ }
+
/**
* Test the property 'userGuid'
*/