Skip to content

Commit 0b5cc17

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e391792 of spec repo
1 parent be2058a commit 0b5cc17

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,10 @@ components:
981981
increase_good:
982982
description: Whether to show increase as good.
983983
type: boolean
984+
limit:
985+
description: The number of items to show.
986+
format: int64
987+
type: integer
984988
log_query:
985989
$ref: '#/components/schemas/LogQueryDefinition'
986990
network_query:

src/main/java/com/datadog/api/client/v1/model/ChangeWidgetRequest.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
ChangeWidgetRequest.JSON_PROPERTY_EVENT_QUERY,
2727
ChangeWidgetRequest.JSON_PROPERTY_FORMULAS,
2828
ChangeWidgetRequest.JSON_PROPERTY_INCREASE_GOOD,
29+
ChangeWidgetRequest.JSON_PROPERTY_LIMIT,
2930
ChangeWidgetRequest.JSON_PROPERTY_LOG_QUERY,
3031
ChangeWidgetRequest.JSON_PROPERTY_NETWORK_QUERY,
3132
ChangeWidgetRequest.JSON_PROPERTY_ORDER_BY,
@@ -61,6 +62,9 @@ public class ChangeWidgetRequest {
6162
public static final String JSON_PROPERTY_INCREASE_GOOD = "increase_good";
6263
private Boolean increaseGood;
6364

65+
public static final String JSON_PROPERTY_LIMIT = "limit";
66+
private Long limit;
67+
6468
public static final String JSON_PROPERTY_LOG_QUERY = "log_query";
6569
private LogQueryDefinition logQuery;
6670

@@ -245,6 +249,27 @@ public void setIncreaseGood(Boolean increaseGood) {
245249
this.increaseGood = increaseGood;
246250
}
247251

252+
public ChangeWidgetRequest limit(Long limit) {
253+
this.limit = limit;
254+
return this;
255+
}
256+
257+
/**
258+
* The number of items to show.
259+
*
260+
* @return limit
261+
*/
262+
@jakarta.annotation.Nullable
263+
@JsonProperty(JSON_PROPERTY_LIMIT)
264+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
265+
public Long getLimit() {
266+
return limit;
267+
}
268+
269+
public void setLimit(Long limit) {
270+
this.limit = limit;
271+
}
272+
248273
public ChangeWidgetRequest logQuery(LogQueryDefinition logQuery) {
249274
this.logQuery = logQuery;
250275
this.unparsed |= logQuery.unparsed;
@@ -590,6 +615,7 @@ public boolean equals(Object o) {
590615
&& Objects.equals(this.eventQuery, changeWidgetRequest.eventQuery)
591616
&& Objects.equals(this.formulas, changeWidgetRequest.formulas)
592617
&& Objects.equals(this.increaseGood, changeWidgetRequest.increaseGood)
618+
&& Objects.equals(this.limit, changeWidgetRequest.limit)
593619
&& Objects.equals(this.logQuery, changeWidgetRequest.logQuery)
594620
&& Objects.equals(this.networkQuery, changeWidgetRequest.networkQuery)
595621
&& Objects.equals(this.orderBy, changeWidgetRequest.orderBy)
@@ -614,6 +640,7 @@ public int hashCode() {
614640
eventQuery,
615641
formulas,
616642
increaseGood,
643+
limit,
617644
logQuery,
618645
networkQuery,
619646
orderBy,
@@ -639,6 +666,7 @@ public String toString() {
639666
sb.append(" eventQuery: ").append(toIndentedString(eventQuery)).append("\n");
640667
sb.append(" formulas: ").append(toIndentedString(formulas)).append("\n");
641668
sb.append(" increaseGood: ").append(toIndentedString(increaseGood)).append("\n");
669+
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
642670
sb.append(" logQuery: ").append(toIndentedString(logQuery)).append("\n");
643671
sb.append(" networkQuery: ").append(toIndentedString(networkQuery)).append("\n");
644672
sb.append(" orderBy: ").append(toIndentedString(orderBy)).append("\n");

0 commit comments

Comments
 (0)