diff --git a/README.md b/README.md index 37a122c..2605b88 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ mvn clean package ``` Then manually install the following JARs: - - `target/mx-platform-java-0.21.0.jar` + - `target/mx-platform-java-0.22.0.jar` - `target/lib/*.jar` ### Maven users @@ -35,7 +35,7 @@ Add this dependency to your project's POM: com.mx mx-platform-java - 0.21.0 + 0.22.0 compile ``` diff --git a/docs/SpendingPlanApi.md b/docs/SpendingPlanApi.md index 6aa2b1b..59b52a9 100644 --- a/docs/SpendingPlanApi.md +++ b/docs/SpendingPlanApi.md @@ -119,7 +119,7 @@ public class Example { SpendingPlanApi apiInstance = new SpendingPlanApi(defaultClient); String spendingPlanGuid = "SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262"; // String | The unique ID for the `spending_plan`. String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`. - SpendingPlanIterationItemCreateRequestBody spendingPlanIterationItemCreateRequestBody = new SpendingPlanIterationItemCreateRequestBody(); // SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required parameters (planned_amount) + SpendingPlanIterationItemCreateRequestBody spendingPlanIterationItemCreateRequestBody = new SpendingPlanIterationItemCreateRequestBody(); // SpendingPlanIterationItemCreateRequestBody | Iteration item to be created with required parameter (planned_amount) try { SpendingPlanIterationItemResponse result = apiInstance.createSpendingPlanIterationItem(spendingPlanGuid, userGuid, spendingPlanIterationItemCreateRequestBody); System.out.println(result); @@ -140,7 +140,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **spendingPlanGuid** | **String**| The unique ID for the `spending_plan`. | | | **userGuid** | **String**| The unique id for a `user`. | | -| **spendingPlanIterationItemCreateRequestBody** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be created with required parameters (planned_amount) | | +| **spendingPlanIterationItemCreateRequestBody** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be created with required parameter (planned_amount) | | ### Return type @@ -999,7 +999,7 @@ public class Example { String userGuid = "USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`. String spendingPlanGuid = "SPL-e5f9a5bd-c5b3-4901-bdc0-62119b9db262"; // String | The unique ID for the `spending_plan`. String iterationItemGuid = "SII-a4dc1549-da28-1245-9c9c-53eee4cdfbe3"; // String | The unique ID for the `iteration_item`. - SpendingPlanIterationItemCreateRequestBody spendingPlanIterationItemCreateRequestBody = new SpendingPlanIterationItemCreateRequestBody(); // SpendingPlanIterationItemCreateRequestBody | Iteration item object to be updated with required parameter (iteration_item_guid) + SpendingPlanIterationItemCreateRequestBody spendingPlanIterationItemCreateRequestBody = new SpendingPlanIterationItemCreateRequestBody(); // SpendingPlanIterationItemCreateRequestBody | Iteration item to be updated with required parameter (planned_amount) try { SpendingPlanIterationItemResponse result = apiInstance.updateSpendingPlanIterationItem(userGuid, spendingPlanGuid, iterationItemGuid, spendingPlanIterationItemCreateRequestBody); System.out.println(result); @@ -1021,7 +1021,7 @@ public class Example { | **userGuid** | **String**| The unique id for a `user`. | | | **spendingPlanGuid** | **String**| The unique ID for the `spending_plan`. | | | **iterationItemGuid** | **String**| The unique ID for the `iteration_item`. | | -| **spendingPlanIterationItemCreateRequestBody** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item object to be updated with required parameter (iteration_item_guid) | | +| **spendingPlanIterationItemCreateRequestBody** | [**SpendingPlanIterationItemCreateRequestBody**](SpendingPlanIterationItemCreateRequestBody.md)| Iteration item to be updated with required parameter (planned_amount) | | ### Return type diff --git a/openapi/config.yml b/openapi/config.yml index 2b67d31..6bfcce3 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: 0.21.0 +artifactVersion: 0.22.0 developerEmail: devexperience@mx.com developerName: MX developerOrganization: MX Technologies Inc. diff --git a/pom.xml b/pom.xml index fd74871..18c32b8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ mx-platform-java jar mx-platform-java - 0.21.0 + 0.22.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 81b90d5..86af2b4 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/0.21.0/java"); + setUserAgent("OpenAPI-Generator/0.22.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 bb717f2..0ffad6e 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 = "0.21.0"; + public static final String VERSION = "0.22.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/mx/client/mx_platform_api/SpendingPlanApi.java b/src/main/java/com/mx/client/mx_platform_api/SpendingPlanApi.java index d0b35be..2cc5ac0 100644 --- a/src/main/java/com/mx/client/mx_platform_api/SpendingPlanApi.java +++ b/src/main/java/com/mx/client/mx_platform_api/SpendingPlanApi.java @@ -207,7 +207,7 @@ public okhttp3.Call createSpendingPlanAsync(String userGuid, final ApiCallback createSpendingPlanIteratio * This endpoint creates a new `spending_plan_iteration_item`. * @param spendingPlanGuid The unique ID for the `spending_plan`. (required) * @param userGuid The unique id for a `user`. (required) - * @param spendingPlanIterationItemCreateRequestBody Iteration item to be created with required parameters (planned_amount) (required) + * @param spendingPlanIterationItemCreateRequestBody Iteration item to be created with required parameter (planned_amount) (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1967,7 +1967,7 @@ public okhttp3.Call readSpendingPlanUserAsync(String userGuid, String spendingPl * @param userGuid The unique id for a `user`. (required) * @param spendingPlanGuid The unique ID for the `spending_plan`. (required) * @param iterationItemGuid The unique ID for the `iteration_item`. (required) - * @param spendingPlanIterationItemCreateRequestBody Iteration item object to be updated with required parameter (iteration_item_guid) (required) + * @param spendingPlanIterationItemCreateRequestBody Iteration item to be updated with required parameter (planned_amount) (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2057,7 +2057,7 @@ private okhttp3.Call updateSpendingPlanIterationItemValidateBeforeCall(String us * @param userGuid The unique id for a `user`. (required) * @param spendingPlanGuid The unique ID for the `spending_plan`. (required) * @param iterationItemGuid The unique ID for the `iteration_item`. (required) - * @param spendingPlanIterationItemCreateRequestBody Iteration item object to be updated with required parameter (iteration_item_guid) (required) + * @param spendingPlanIterationItemCreateRequestBody Iteration item to be updated with required parameter (planned_amount) (required) * @return SpendingPlanIterationItemResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2077,7 +2077,7 @@ public SpendingPlanIterationItemResponse updateSpendingPlanIterationItem(String * @param userGuid The unique id for a `user`. (required) * @param spendingPlanGuid The unique ID for the `spending_plan`. (required) * @param iterationItemGuid The unique ID for the `iteration_item`. (required) - * @param spendingPlanIterationItemCreateRequestBody Iteration item object to be updated with required parameter (iteration_item_guid) (required) + * @param spendingPlanIterationItemCreateRequestBody Iteration item to be updated with required parameter (planned_amount) (required) * @return ApiResponse<SpendingPlanIterationItemResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2098,7 +2098,7 @@ public ApiResponse updateSpendingPlanIteratio * @param userGuid The unique id for a `user`. (required) * @param spendingPlanGuid The unique ID for the `spending_plan`. (required) * @param iterationItemGuid The unique ID for the `iteration_item`. (required) - * @param spendingPlanIterationItemCreateRequestBody Iteration item object to be updated with required parameter (iteration_item_guid) (required) + * @param spendingPlanIterationItemCreateRequestBody Iteration item to be updated with required parameter (planned_amount) (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object