From 0567073cc4e0ed3c83cd095ba9e0bc2c43e8925a Mon Sep 17 00:00:00 2001 From: "Gregory J. Seaman" Date: Fri, 6 Mar 2020 14:51:21 -0500 Subject: [PATCH] fix(Discovery v1): environment document count should use 'available' This was previously using 'indexed' which is not what the service returns. --- .../discovery/v1/model/EnvironmentDocuments.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/discovery/src/main/java/com/ibm/watson/discovery/v1/model/EnvironmentDocuments.java b/discovery/src/main/java/com/ibm/watson/discovery/v1/model/EnvironmentDocuments.java index e0619cf64c8..5acb38773a7 100644 --- a/discovery/src/main/java/com/ibm/watson/discovery/v1/model/EnvironmentDocuments.java +++ b/discovery/src/main/java/com/ibm/watson/discovery/v1/model/EnvironmentDocuments.java @@ -20,19 +20,19 @@ */ public class EnvironmentDocuments extends GenericModel { - protected Long indexed; + protected Long available; @SerializedName("maximum_allowed") protected Long maximumAllowed; /** - * Gets the indexed. + * Gets the available documents. * * Number of documents indexed for the environment. * - * @return the indexed + * @return the available */ - public Long getIndexed() { - return indexed; + public Long getAvailable() { + return available; } /**