Skip to content

Commit 77561cd

Browse files
Merge pull request #46 from mxenabled/openapi-generator-0.8.2
Generated version 0.8.2
2 parents 7af5cbd + dcb55b4 commit 77561cd

File tree

7 files changed

+45
-7
lines changed

7 files changed

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

docs/CredentialResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**fieldType** | **String** | | [optional]
1313
**guid** | **String** | | [optional]
1414
**label** | **String** | | [optional]
15+
**type** | **String** | | [optional]
1516

1617

1718

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.1
6+
artifactVersion: 0.8.2
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.1</version>
8+
<version>0.8.2</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.1/java");
136+
setUserAgent("OpenAPI-Generator/0.8.2/java");
137137

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

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

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ public class CredentialResponse {
5050
@SerializedName(SERIALIZED_NAME_LABEL)
5151
private String label;
5252

53+
public static final String SERIALIZED_NAME_TYPE = "type";
54+
@SerializedName(SERIALIZED_NAME_TYPE)
55+
private String type;
56+
5357
public CredentialResponse() {
5458
}
5559

@@ -168,6 +172,29 @@ public void setLabel(String label) {
168172
}
169173

170174

175+
public CredentialResponse type(String type) {
176+
177+
this.type = type;
178+
return this;
179+
}
180+
181+
/**
182+
* Get type
183+
* @return type
184+
**/
185+
@javax.annotation.Nullable
186+
@ApiModelProperty(example = "TEXT", value = "")
187+
188+
public String getType() {
189+
return type;
190+
}
191+
192+
193+
public void setType(String type) {
194+
this.type = type;
195+
}
196+
197+
171198
@Override
172199
public boolean equals(Object o) {
173200
if (this == o) {
@@ -181,7 +208,8 @@ public boolean equals(Object o) {
181208
Objects.equals(this.fieldName, credentialResponse.fieldName) &&
182209
Objects.equals(this.fieldType, credentialResponse.fieldType) &&
183210
Objects.equals(this.guid, credentialResponse.guid) &&
184-
Objects.equals(this.label, credentialResponse.label);
211+
Objects.equals(this.label, credentialResponse.label) &&
212+
Objects.equals(this.type, credentialResponse.type);
185213
}
186214

187215
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
@@ -190,7 +218,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)
190218

191219
@Override
192220
public int hashCode() {
193-
return Objects.hash(displayOrder, fieldName, fieldType, guid, label);
221+
return Objects.hash(displayOrder, fieldName, fieldType, guid, label, type);
194222
}
195223

196224
private static <T> int hashCodeNullable(JsonNullable<T> a) {
@@ -209,6 +237,7 @@ public String toString() {
209237
sb.append(" fieldType: ").append(toIndentedString(fieldType)).append("\n");
210238
sb.append(" guid: ").append(toIndentedString(guid)).append("\n");
211239
sb.append(" label: ").append(toIndentedString(label)).append("\n");
240+
sb.append(" type: ").append(toIndentedString(type)).append("\n");
212241
sb.append("}");
213242
return sb.toString();
214243
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,12 @@ public void labelTest() {
8181
// TODO: test label
8282
}
8383

84+
/**
85+
* Test the property 'type'
86+
*/
87+
@Test
88+
public void typeTest() {
89+
// TODO: test type
90+
}
91+
8492
}

0 commit comments

Comments
 (0)