Skip to content

Commit

Permalink
Generated version 1.2.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
  • Loading branch information
devexperience committed Jan 31, 2025
1 parent 98581df commit e87ad95
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mvn clean package
```

Then manually install the following JARs:
- `target/mx-platform-java-1.1.0.jar`
- `target/mx-platform-java-1.2.0.jar`
- `target/lib/*.jar`

### Maven users
Expand All @@ -35,7 +35,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.mx</groupId>
<artifactId>mx-platform-java</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
<scope>compile</scope>
</dependency>
```
Expand Down
1 change: 1 addition & 0 deletions docs/MemberResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**actionableError** | **String** | | [optional] |
|**aggregatedAt** | **String** | | [optional] |
|**backgroundAggregationIsDisabled** | **Boolean** | | [optional] |
|**connectionStatus** | **String** | | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.0
artifactVersion: 1.2.0
developerEmail: [email protected]
developerName: MX
developerOrganization: MX Technologies Inc.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>mx-platform-java</artifactId>
<packaging>jar</packaging>
<name>mx-platform-java</name>
<version>1.1.0</version>
<version>1.2.0</version>
<url>https://github.com/mxenabled/mx-platform-java</url>
<description>A Java library for the MX Platform API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mx/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.1.0/java");
setUserAgent("OpenAPI-Generator/1.2.0/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mx/client/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "1.1.0";
public static final String VERSION = "1.2.0";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
35 changes: 33 additions & 2 deletions src/main/java/com/mx/client/model/MemberResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class MemberResponse {
public static final String SERIALIZED_NAME_ACTIONABLE_ERROR = "actionable_error";
@SerializedName(SERIALIZED_NAME_ACTIONABLE_ERROR)
private String actionableError;

public static final String SERIALIZED_NAME_AGGREGATED_AT = "aggregated_at";
@SerializedName(SERIALIZED_NAME_AGGREGATED_AT)
private String aggregatedAt;
Expand Down Expand Up @@ -133,6 +137,27 @@ public class MemberResponse {
public MemberResponse() {
}

public MemberResponse actionableError(String actionableError) {

this.actionableError = actionableError;
return this;
}

/**
* Get actionableError
* @return actionableError
**/
@javax.annotation.Nullable
public String getActionableError() {
return actionableError;
}


public void setActionableError(String actionableError) {
this.actionableError = actionableError;
}


public MemberResponse aggregatedAt(String aggregatedAt) {

this.aggregatedAt = aggregatedAt;
Expand Down Expand Up @@ -550,7 +575,8 @@ public boolean equals(Object o) {
return false;
}
MemberResponse memberResponse = (MemberResponse) o;
return Objects.equals(this.aggregatedAt, memberResponse.aggregatedAt) &&
return Objects.equals(this.actionableError, memberResponse.actionableError) &&
Objects.equals(this.aggregatedAt, memberResponse.aggregatedAt) &&
Objects.equals(this.backgroundAggregationIsDisabled, memberResponse.backgroundAggregationIsDisabled) &&
Objects.equals(this.connectionStatus, memberResponse.connectionStatus) &&
Objects.equals(this.guid, memberResponse.guid) &&
Expand All @@ -577,7 +603,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)

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

private static <T> int hashCodeNullable(JsonNullable<T> a) {
Expand All @@ -591,6 +617,7 @@ private static <T> int hashCodeNullable(JsonNullable<T> a) {
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MemberResponse {\n");
sb.append(" actionableError: ").append(toIndentedString(actionableError)).append("\n");
sb.append(" aggregatedAt: ").append(toIndentedString(aggregatedAt)).append("\n");
sb.append(" backgroundAggregationIsDisabled: ").append(toIndentedString(backgroundAggregationIsDisabled)).append("\n");
sb.append(" connectionStatus: ").append(toIndentedString(connectionStatus)).append("\n");
Expand Down Expand Up @@ -632,6 +659,7 @@ private String toIndentedString(Object o) {
static {
// a set of all properties/fields (JSON key names)
openapiFields = new HashSet<String>();
openapiFields.add("actionable_error");
openapiFields.add("aggregated_at");
openapiFields.add("background_aggregation_is_disabled");
openapiFields.add("connection_status");
Expand Down Expand Up @@ -677,6 +705,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
if ((jsonObj.get("actionable_error") != null && !jsonObj.get("actionable_error").isJsonNull()) && !jsonObj.get("actionable_error").isJsonPrimitive()) {
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()));
}
if ((jsonObj.get("aggregated_at") != null && !jsonObj.get("aggregated_at").isJsonNull()) && !jsonObj.get("aggregated_at").isJsonPrimitive()) {
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()));
}
Expand Down
8 changes: 8 additions & 0 deletions src/test/java/com/mx/client/model/MemberResponseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ public void testMemberResponse() {
// TODO: test MemberResponse
}

/**
* Test the property 'actionableError'
*/
@Test
public void actionableErrorTest() {
// TODO: test actionableError
}

/**
* Test the property 'aggregatedAt'
*/
Expand Down

0 comments on commit e87ad95

Please sign in to comment.