diff --git a/discovery/src/main/java/com/ibm/watson/discovery/v1/model/StatusDetails.java b/discovery/src/main/java/com/ibm/watson/discovery/v1/model/StatusDetails.java index 99b796c6fb..a1324dac9b 100644 --- a/discovery/src/main/java/com/ibm/watson/discovery/v1/model/StatusDetails.java +++ b/discovery/src/main/java/com/ibm/watson/discovery/v1/model/StatusDetails.java @@ -18,18 +18,18 @@ /** Object that contains details about the status of the authentication process. */ public class StatusDetails extends GenericModel { - protected Boolean authentication; + protected Boolean authenticated; @SerializedName("error_message") protected String errorMessage; /** Builder. */ public static class Builder { - private Boolean authentication; + private Boolean authenticated; private String errorMessage; private Builder(StatusDetails statusDetails) { - this.authentication = statusDetails.authentication; + this.authenticated = statusDetails.authenticated; this.errorMessage = statusDetails.errorMessage; } @@ -46,13 +46,13 @@ public StatusDetails build() { } /** - * Set the authentication. + * Set the authenticated. * - * @param authentication the authentication + * @param authenticated the authenticated * @return the StatusDetails builder */ - public Builder authentication(Boolean authentication) { - this.authentication = authentication; + public Builder authenticated(Boolean authenticated) { + this.authenticated = authenticated; return this; } @@ -69,7 +69,7 @@ public Builder errorMessage(String errorMessage) { } protected StatusDetails(Builder builder) { - authentication = builder.authentication; + authenticated = builder.authenticated; errorMessage = builder.errorMessage; } @@ -83,20 +83,20 @@ public Builder newBuilder() { } /** - * Gets the authentication. + * Gets the authenticated. * *

Indicates whether the credential is accepted by the target data source. * - * @return the authentication + * @return the authenticated */ - public Boolean authentication() { - return authentication; + public Boolean authenticated() { + return authenticated; } /** * Gets the errorMessage. * - *

If `authentication` is `false`, a message describes why the authentication was unsuccessful. + *

If `authenticated` is `false`, a message describes why the authentication was unsuccessful. * * @return the errorMessage */