Skip to content

Commit

Permalink
fix(Discovery v1): environment document count should use 'available'
Browse files Browse the repository at this point in the history
This was previously using 'indexed' which is not what the service returns.
  • Loading branch information
gjs29 committed Mar 6, 2020
1 parent 493668f commit 0567073
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 0567073

Please sign in to comment.