Skip to content

Commit d00b408

Browse files
author
devexperience
committed
Generated version 0.23.0
This commit was automatically created by a GitHub Action to generate version 0.23.0 of this library.
1 parent 746e897 commit d00b408

File tree

8 files changed

+47
-7
lines changed

8 files changed

+47
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mvn clean package
2424
```
2525

2626
Then manually install the following JARs:
27-
- `target/mx-platform-java-0.22.0.jar`
27+
- `target/mx-platform-java-0.23.0.jar`
2828
- `target/lib/*.jar`
2929

3030
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.mx</groupId>
3737
<artifactId>mx-platform-java</artifactId>
38-
<version>0.22.0</version>
38+
<version>0.23.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/WidgetRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
|**includeIdentity** | **Boolean** | | [optional] |
1818
|**includeTransactions** | **Boolean** | | [optional] |
1919
|**isMobileWebview** | **Boolean** | | [optional] |
20+
|**microwidgetInstanceId** | **String** | | [optional] |
2021
|**mode** | **String** | | [optional] |
2122
|**oauthReferralSource** | **String** | | [optional] |
2223
|**uiMessageVersion** | **Integer** | | [optional] |

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
33
artifactDescription: A Java library for the MX Platform API
44
artifactId: mx-platform-java
55
artifactUrl: https://github.com/mxenabled/mx-platform-java
6-
artifactVersion: 0.22.0
6+
artifactVersion: 0.23.0
77
developerEmail: devexperience@mx.com
88
developerName: MX
99
developerOrganization: MX Technologies Inc.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>mx-platform-java</artifactId>
66
<packaging>jar</packaging>
77
<name>mx-platform-java</name>
8-
<version>0.22.0</version>
8+
<version>0.23.0</version>
99
<url>https://github.com/mxenabled/mx-platform-java</url>
1010
<description>A Java library for the MX Platform API</description>
1111
<scm>

src/main/java/com/mx/client/ApiClient.java

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

147147
// Set default User-Agent.
148-
setUserAgent("OpenAPI-Generator/0.22.0/java");
148+
setUserAgent("OpenAPI-Generator/0.23.0/java");
149149

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

src/main/java/com/mx/client/Configuration.java

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

1616
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
1717
public class Configuration {
18-
public static final String VERSION = "0.22.0";
18+
public static final String VERSION = "0.23.0";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

src/main/java/com/mx/client/model/WidgetRequest.java

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ public class WidgetRequest {
9191
@SerializedName(SERIALIZED_NAME_IS_MOBILE_WEBVIEW)
9292
private Boolean isMobileWebview;
9393

94+
public static final String SERIALIZED_NAME_MICROWIDGET_INSTANCE_ID = "microwidget_instance_id";
95+
@SerializedName(SERIALIZED_NAME_MICROWIDGET_INSTANCE_ID)
96+
private String microwidgetInstanceId;
97+
9498
public static final String SERIALIZED_NAME_MODE = "mode";
9599
@SerializedName(SERIALIZED_NAME_MODE)
96100
private String mode;
@@ -328,6 +332,27 @@ public void setIsMobileWebview(Boolean isMobileWebview) {
328332
}
329333

330334

335+
public WidgetRequest microwidgetInstanceId(String microwidgetInstanceId) {
336+
337+
this.microwidgetInstanceId = microwidgetInstanceId;
338+
return this;
339+
}
340+
341+
/**
342+
* Get microwidgetInstanceId
343+
* @return microwidgetInstanceId
344+
**/
345+
@javax.annotation.Nullable
346+
public String getMicrowidgetInstanceId() {
347+
return microwidgetInstanceId;
348+
}
349+
350+
351+
public void setMicrowidgetInstanceId(String microwidgetInstanceId) {
352+
this.microwidgetInstanceId = microwidgetInstanceId;
353+
}
354+
355+
331356
public WidgetRequest mode(String mode) {
332357

333358
this.mode = mode;
@@ -474,6 +499,7 @@ public boolean equals(Object o) {
474499
Objects.equals(this.includeIdentity, widgetRequest.includeIdentity) &&
475500
Objects.equals(this.includeTransactions, widgetRequest.includeTransactions) &&
476501
Objects.equals(this.isMobileWebview, widgetRequest.isMobileWebview) &&
502+
Objects.equals(this.microwidgetInstanceId, widgetRequest.microwidgetInstanceId) &&
477503
Objects.equals(this.mode, widgetRequest.mode) &&
478504
Objects.equals(this.oauthReferralSource, widgetRequest.oauthReferralSource) &&
479505
Objects.equals(this.uiMessageVersion, widgetRequest.uiMessageVersion) &&
@@ -484,7 +510,7 @@ public boolean equals(Object o) {
484510

485511
@Override
486512
public int hashCode() {
487-
return Objects.hash(clientRedirectUrl, colorScheme, currentInstitutionCode, currentInstitutionGuid, currentMemberGuid, disableBackgroundAgg, disableInstitutionSearch, includeIdentity, includeTransactions, isMobileWebview, mode, oauthReferralSource, uiMessageVersion, uiMessageWebviewUrlScheme, updateCredentials, widgetType);
513+
return Objects.hash(clientRedirectUrl, colorScheme, currentInstitutionCode, currentInstitutionGuid, currentMemberGuid, disableBackgroundAgg, disableInstitutionSearch, includeIdentity, includeTransactions, isMobileWebview, microwidgetInstanceId, mode, oauthReferralSource, uiMessageVersion, uiMessageWebviewUrlScheme, updateCredentials, widgetType);
488514
}
489515

490516
@Override
@@ -501,6 +527,7 @@ public String toString() {
501527
sb.append(" includeIdentity: ").append(toIndentedString(includeIdentity)).append("\n");
502528
sb.append(" includeTransactions: ").append(toIndentedString(includeTransactions)).append("\n");
503529
sb.append(" isMobileWebview: ").append(toIndentedString(isMobileWebview)).append("\n");
530+
sb.append(" microwidgetInstanceId: ").append(toIndentedString(microwidgetInstanceId)).append("\n");
504531
sb.append(" mode: ").append(toIndentedString(mode)).append("\n");
505532
sb.append(" oauthReferralSource: ").append(toIndentedString(oauthReferralSource)).append("\n");
506533
sb.append(" uiMessageVersion: ").append(toIndentedString(uiMessageVersion)).append("\n");
@@ -539,6 +566,7 @@ private String toIndentedString(Object o) {
539566
openapiFields.add("include_identity");
540567
openapiFields.add("include_transactions");
541568
openapiFields.add("is_mobile_webview");
569+
openapiFields.add("microwidget_instance_id");
542570
openapiFields.add("mode");
543571
openapiFields.add("oauth_referral_source");
544572
openapiFields.add("ui_message_version");
@@ -594,6 +622,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
594622
if ((jsonObj.get("current_member_guid") != null && !jsonObj.get("current_member_guid").isJsonNull()) && !jsonObj.get("current_member_guid").isJsonPrimitive()) {
595623
throw new IllegalArgumentException(String.format("Expected the field `current_member_guid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("current_member_guid").toString()));
596624
}
625+
if ((jsonObj.get("microwidget_instance_id") != null && !jsonObj.get("microwidget_instance_id").isJsonNull()) && !jsonObj.get("microwidget_instance_id").isJsonPrimitive()) {
626+
throw new IllegalArgumentException(String.format("Expected the field `microwidget_instance_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("microwidget_instance_id").toString()));
627+
}
597628
if ((jsonObj.get("mode") != null && !jsonObj.get("mode").isJsonNull()) && !jsonObj.get("mode").isJsonPrimitive()) {
598629
throw new IllegalArgumentException(String.format("Expected the field `mode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mode").toString()));
599630
}

src/test/java/com/mx/client/model/WidgetRequestTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ public void isMobileWebviewTest() {
117117
// TODO: test isMobileWebview
118118
}
119119

120+
/**
121+
* Test the property 'microwidgetInstanceId'
122+
*/
123+
@Test
124+
public void microwidgetInstanceIdTest() {
125+
// TODO: test microwidgetInstanceId
126+
}
127+
120128
/**
121129
* Test the property 'mode'
122130
*/

0 commit comments

Comments
 (0)