Skip to content

Commit ee73d24

Browse files
authored
Merge pull request #1113 from gjs29/disco-env-available
fix(Discovery v1): environment document count should use 'available'
2 parents 493668f + 0567073 commit ee73d24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
*/
2121
public class EnvironmentDocuments extends GenericModel {
2222

23-
protected Long indexed;
23+
protected Long available;
2424
@SerializedName("maximum_allowed")
2525
protected Long maximumAllowed;
2626

2727
/**
28-
* Gets the indexed.
28+
* Gets the available documents.
2929
*
3030
* Number of documents indexed for the environment.
3131
*
32-
* @return the indexed
32+
* @return the available
3333
*/
34-
public Long getIndexed() {
35-
return indexed;
34+
public Long getAvailable() {
35+
return available;
3636
}
3737

3838
/**

0 commit comments

Comments
 (0)