Skip to content

Commit 7af5cbd

Browse files
Merge pull request #45 from mxenabled/openapi-generator-0.8.1
Generated version 0.8.1
2 parents cf5efde + ae9aec7 commit 7af5cbd

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

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.8.0.jar`
27+
- `target/mx-platform-java-0.8.1.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.8.0</version>
38+
<version>0.8.1</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/MxPlatformApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ Name | Type | Description | Notes
810810
811811
Create user
812812

813-
Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
813+
Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
814814

815815
### Example
816816
```java
@@ -6544,7 +6544,7 @@ Name | Type | Description | Notes
65446544
65456545
Update user
65466546

6547-
Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
6547+
Use this endpoint to update the attributes of the specified user.
65486548

65496549
### Example
65506550
```java

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.8.0
6+
artifactVersion: 0.8.1
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.8.0</version>
8+
<version>0.8.1</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
@@ -133,7 +133,7 @@ private void init() {
133133
json = new JSON();
134134

135135
// Set default User-Agent.
136-
setUserAgent("OpenAPI-Generator/0.8.0/java");
136+
setUserAgent("OpenAPI-Generator/0.8.1/java");
137137

138138
authentications = new HashMap<String, Authentication>();
139139
}

src/main/java/com/mx/client/mx_platform_api/MxPlatformApi.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ private okhttp3.Call createUserValidateBeforeCall(UserCreateRequestBody userCrea
16101610

16111611
/**
16121612
* Create user
1613-
* Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
1613+
* Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
16141614
* @param userCreateRequestBody User object to be created. (None of these parameters are required, but the user object cannot be empty) (required)
16151615
* @return UserResponseBody
16161616
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1627,7 +1627,7 @@ public UserResponseBody createUser(UserCreateRequestBody userCreateRequestBody)
16271627

16281628
/**
16291629
* Create user
1630-
* Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
1630+
* Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
16311631
* @param userCreateRequestBody User object to be created. (None of these parameters are required, but the user object cannot be empty) (required)
16321632
* @return ApiResponse&lt;UserResponseBody&gt;
16331633
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1645,7 +1645,7 @@ public ApiResponse<UserResponseBody> createUserWithHttpInfo(UserCreateRequestBod
16451645

16461646
/**
16471647
* Create user (asynchronously)
1648-
* Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
1648+
* Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
16491649
* @param userCreateRequestBody User object to be created. (None of these parameters are required, but the user object cannot be empty) (required)
16501650
* @param _callback The callback to be executed when the API call finishes
16511651
* @return The request call
@@ -13165,7 +13165,7 @@ private okhttp3.Call updateUserValidateBeforeCall(String userGuid, UserUpdateReq
1316513165

1316613166
/**
1316713167
* Update user
13168-
* Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
13168+
* Use this endpoint to update the attributes of the specified user.
1316913169
* @param userGuid The unique id for a &#x60;user&#x60;. (required)
1317013170
* @param userUpdateRequestBody User object to be updated (None of these parameters are required, but the user object cannot be empty.) (required)
1317113171
* @return UserResponseBody
@@ -13183,7 +13183,7 @@ public UserResponseBody updateUser(String userGuid, UserUpdateRequestBody userUp
1318313183

1318413184
/**
1318513185
* Update user
13186-
* Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
13186+
* Use this endpoint to update the attributes of the specified user.
1318713187
* @param userGuid The unique id for a &#x60;user&#x60;. (required)
1318813188
* @param userUpdateRequestBody User object to be updated (None of these parameters are required, but the user object cannot be empty.) (required)
1318913189
* @return ApiResponse&lt;UserResponseBody&gt;
@@ -13202,7 +13202,7 @@ public ApiResponse<UserResponseBody> updateUserWithHttpInfo(String userGuid, Use
1320213202

1320313203
/**
1320413204
* Update user (asynchronously)
13205-
* Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
13205+
* Use this endpoint to update the attributes of the specified user.
1320613206
* @param userGuid The unique id for a &#x60;user&#x60;. (required)
1320713207
* @param userUpdateRequestBody User object to be updated (None of these parameters are required, but the user object cannot be empty.) (required)
1320813208
* @param _callback The callback to be executed when the API call finishes

src/test/java/com/mx/client/mx_platform_api/MxPlatformApiTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public void createTransactionRuleTest() throws ApiException {
260260
/**
261261
* Create user
262262
*
263-
* Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
263+
* Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
264264
*
265265
* @throws ApiException
266266
* if the Api call fails
@@ -1613,7 +1613,7 @@ public void updateTransactionRuleTest() throws ApiException {
16131613
/**
16141614
* Update user
16151615
*
1616-
* Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
1616+
* Use this endpoint to update the attributes of the specified user.
16171617
*
16181618
* @throws ApiException
16191619
* if the Api call fails

0 commit comments

Comments
 (0)