Skip to content

Commit e7b3cae

Browse files
committed
fix(discovery-v1): change authentication to authenticated property in StatusDetails
1 parent 653c64c commit e7b3cae

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

discovery/src/main/java/com/ibm/watson/discovery/v1/model/StatusDetails.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818
/** Object that contains details about the status of the authentication process. */
1919
public class StatusDetails extends GenericModel {
2020

21-
protected Boolean authentication;
21+
protected Boolean authenticated;
2222

2323
@SerializedName("error_message")
2424
protected String errorMessage;
2525

2626
/** Builder. */
2727
public static class Builder {
28-
private Boolean authentication;
28+
private Boolean authenticated;
2929
private String errorMessage;
3030

3131
private Builder(StatusDetails statusDetails) {
32-
this.authentication = statusDetails.authentication;
32+
this.authenticated = statusDetails.authenticated;
3333
this.errorMessage = statusDetails.errorMessage;
3434
}
3535

@@ -46,13 +46,13 @@ public StatusDetails build() {
4646
}
4747

4848
/**
49-
* Set the authentication.
49+
* Set the authenticated.
5050
*
51-
* @param authentication the authentication
51+
* @param authenticated the authenticated
5252
* @return the StatusDetails builder
5353
*/
54-
public Builder authentication(Boolean authentication) {
55-
this.authentication = authentication;
54+
public Builder authenticated(Boolean authenticated) {
55+
this.authenticated = authenticated;
5656
return this;
5757
}
5858

@@ -69,7 +69,7 @@ public Builder errorMessage(String errorMessage) {
6969
}
7070

7171
protected StatusDetails(Builder builder) {
72-
authentication = builder.authentication;
72+
authenticated = builder.authenticated;
7373
errorMessage = builder.errorMessage;
7474
}
7575

@@ -83,20 +83,20 @@ public Builder newBuilder() {
8383
}
8484

8585
/**
86-
* Gets the authentication.
86+
* Gets the authenticated.
8787
*
8888
* <p>Indicates whether the credential is accepted by the target data source.
8989
*
90-
* @return the authentication
90+
* @return the authenticated
9191
*/
92-
public Boolean authentication() {
93-
return authentication;
92+
public Boolean authenticated() {
93+
return authenticated;
9494
}
9595

9696
/**
9797
* Gets the errorMessage.
9898
*
99-
* <p>If `authentication` is `false`, a message describes why the authentication was unsuccessful.
99+
* <p>If `authenticated` is `false`, a message describes why the authentication was unsuccessful.
100100
*
101101
* @return the errorMessage
102102
*/

0 commit comments

Comments
 (0)