Skip to content

Commit

Permalink
feat(discovery): auto-generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Apr 23, 2020
1 parent 515fb60 commit 9812072
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public String endpoint() {
* <p>The access key ID associated with the cloud object store. Only valid, and required, with a
* **credential_type** of `aws4_hmac`. This value is never returned and is only used when creating
* or modifying **credentials**. For more infomation, see the [cloud object store
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-uhc-hmac-credentials-main).
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
*
* @return the accessKeyId
*/
Expand All @@ -645,7 +645,7 @@ public String accessKeyId() {
* <p>The secret access key associated with the cloud object store. Only valid, and required, with
* a **credential_type** of `aws4_hmac`. This value is never returned and is only used when
* creating or modifying **credentials**. For more infomation, see the [cloud object store
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-uhc-hmac-credentials-main).
* documentation](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-using-hmac-credentials#using-hmac-credentials).
*
* @return the secretAccessKey
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class EnvironmentDocuments extends GenericModel {
protected Long maximumAllowed;

/**
* Gets the available documents.
* Gets the available.
*
* <p>Number of documents indexed for the environment.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class QueryHistogramAggregation extends QueryAggregation {

protected String field;
protected Long interval;
protected String name;
protected List<QueryHistogramAggregationResult> results;

/**
Expand All @@ -46,6 +47,17 @@ public Long getInterval() {
return interval;
}

/**
* Gets the name.
*
* <p>Identifier specified in the query request of this aggregation.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Gets the results.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class QueryTermAggregation extends QueryAggregation {

protected String field;
protected Long count;
protected String name;
protected List<QueryTermAggregationResult> results;

/**
Expand All @@ -43,6 +44,17 @@ public Long getCount() {
return count;
}

/**
* Gets the name.
*
* <p>Identifier specified in the query request of this aggregation.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Gets the results.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class QueryTimesliceAggregation extends QueryAggregation {

protected String field;
protected String interval;
protected String name;
protected List<QueryTimesliceAggregationResult> results;

/**
Expand All @@ -43,6 +44,17 @@ public String getInterval() {
return interval;
}

/**
* Gets the name.
*
* <p>Identifier specified in the query request of this aggregation.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Gets the results.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
public class QueryTopHitsAggregation extends QueryAggregation {

protected Long size;
protected String name;
protected QueryTopHitsAggregationResult hits;

/**
Expand All @@ -29,6 +30,17 @@ public Long getSize() {
return size;
}

/**
* Gets the name.
*
* <p>Identifier specified in the query request of this aggregation.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Gets the hits.
*
Expand Down

0 comments on commit 9812072

Please sign in to comment.