Skip to content

Commit e87ad95

Browse files
author
devexperience
committed
Generated version 1.2.0
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
1 parent 98581df commit e87ad95

File tree

8 files changed

+48
-8
lines changed

8 files changed

+48
-8
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-1.1.0.jar`
27+
- `target/mx-platform-java-1.2.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>1.1.0</version>
38+
<version>1.2.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10+
|**actionableError** | **String** | | [optional] |
1011
|**aggregatedAt** | **String** | | [optional] |
1112
|**backgroundAggregationIsDisabled** | **Boolean** | | [optional] |
1213
|**connectionStatus** | **String** | | [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: 1.1.0
6+
artifactVersion: 1.2.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>1.1.0</version>
8+
<version>1.2.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/1.1.0/java");
148+
setUserAgent("OpenAPI-Generator/1.2.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 = "1.1.0";
18+
public static final String VERSION = "1.2.0";
1919

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

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

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
*/
5555
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
5656
public class MemberResponse {
57+
public static final String SERIALIZED_NAME_ACTIONABLE_ERROR = "actionable_error";
58+
@SerializedName(SERIALIZED_NAME_ACTIONABLE_ERROR)
59+
private String actionableError;
60+
5761
public static final String SERIALIZED_NAME_AGGREGATED_AT = "aggregated_at";
5862
@SerializedName(SERIALIZED_NAME_AGGREGATED_AT)
5963
private String aggregatedAt;
@@ -133,6 +137,27 @@ public class MemberResponse {
133137
public MemberResponse() {
134138
}
135139

140+
public MemberResponse actionableError(String actionableError) {
141+
142+
this.actionableError = actionableError;
143+
return this;
144+
}
145+
146+
/**
147+
* Get actionableError
148+
* @return actionableError
149+
**/
150+
@javax.annotation.Nullable
151+
public String getActionableError() {
152+
return actionableError;
153+
}
154+
155+
156+
public void setActionableError(String actionableError) {
157+
this.actionableError = actionableError;
158+
}
159+
160+
136161
public MemberResponse aggregatedAt(String aggregatedAt) {
137162

138163
this.aggregatedAt = aggregatedAt;
@@ -550,7 +575,8 @@ public boolean equals(Object o) {
550575
return false;
551576
}
552577
MemberResponse memberResponse = (MemberResponse) o;
553-
return Objects.equals(this.aggregatedAt, memberResponse.aggregatedAt) &&
578+
return Objects.equals(this.actionableError, memberResponse.actionableError) &&
579+
Objects.equals(this.aggregatedAt, memberResponse.aggregatedAt) &&
554580
Objects.equals(this.backgroundAggregationIsDisabled, memberResponse.backgroundAggregationIsDisabled) &&
555581
Objects.equals(this.connectionStatus, memberResponse.connectionStatus) &&
556582
Objects.equals(this.guid, memberResponse.guid) &&
@@ -577,7 +603,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
577603

578604
@Override
579605
public int hashCode() {
580-
return Objects.hash(aggregatedAt, backgroundAggregationIsDisabled, connectionStatus, guid, id, institutionCode, isBeingAggregated, isManagedByUser, isManual, isOauth, metadata, mostRecentJobDetailCode, mostRecentJobDetailText, name, oauthWindowUri, successfullyAggregatedAt, useCases, userGuid, userId);
606+
return Objects.hash(actionableError, aggregatedAt, backgroundAggregationIsDisabled, connectionStatus, guid, id, institutionCode, isBeingAggregated, isManagedByUser, isManual, isOauth, metadata, mostRecentJobDetailCode, mostRecentJobDetailText, name, oauthWindowUri, successfullyAggregatedAt, useCases, userGuid, userId);
581607
}
582608

583609
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -591,6 +617,7 @@ private static <T> int hashCodeNullable(JsonNullable<T> a) {
591617
public String toString() {
592618
StringBuilder sb = new StringBuilder();
593619
sb.append("class MemberResponse {\n");
620+
sb.append(" actionableError: ").append(toIndentedString(actionableError)).append("\n");
594621
sb.append(" aggregatedAt: ").append(toIndentedString(aggregatedAt)).append("\n");
595622
sb.append(" backgroundAggregationIsDisabled: ").append(toIndentedString(backgroundAggregationIsDisabled)).append("\n");
596623
sb.append(" connectionStatus: ").append(toIndentedString(connectionStatus)).append("\n");
@@ -632,6 +659,7 @@ private String toIndentedString(Object o) {
632659
static {
633660
// a set of all properties/fields (JSON key names)
634661
openapiFields = new HashSet<String>();
662+
openapiFields.add("actionable_error");
635663
openapiFields.add("aggregated_at");
636664
openapiFields.add("background_aggregation_is_disabled");
637665
openapiFields.add("connection_status");
@@ -677,6 +705,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
677705
}
678706
}
679707
JsonObject jsonObj = jsonElement.getAsJsonObject();
708+
if ((jsonObj.get("actionable_error") != null && !jsonObj.get("actionable_error").isJsonNull()) && !jsonObj.get("actionable_error").isJsonPrimitive()) {
709+
throw new IllegalArgumentException(String.format("Expected the field `actionable_error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("actionable_error").toString()));
710+
}
680711
if ((jsonObj.get("aggregated_at") != null && !jsonObj.get("aggregated_at").isJsonNull()) && !jsonObj.get("aggregated_at").isJsonPrimitive()) {
681712
throw new IllegalArgumentException(String.format("Expected the field `aggregated_at` to be a primitive type in the JSON string but got `%s`", jsonObj.get("aggregated_at").toString()));
682713
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ public void testMemberResponse() {
4040
// TODO: test MemberResponse
4141
}
4242

43+
/**
44+
* Test the property 'actionableError'
45+
*/
46+
@Test
47+
public void actionableErrorTest() {
48+
// TODO: test actionableError
49+
}
50+
4351
/**
4452
* Test the property 'aggregatedAt'
4553
*/

0 commit comments

Comments
 (0)