Skip to content

Commit dc83cbe

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0ad6541e of spec repo
1 parent 708e5bc commit dc83cbe

File tree

4 files changed

+86
-7
lines changed

4 files changed

+86
-7
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-11-15 19:35:12.585262",
8-
"spec_repo_commit": "ad80112e"
7+
"regenerated": "2024-11-19 15:34:58.669187",
8+
"spec_repo_commit": "0ad6541e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-15 19:35:12.605121",
13-
"spec_repo_commit": "ad80112e"
12+
"regenerated": "2024-11-19 15:34:58.688521",
13+
"spec_repo_commit": "0ad6541e"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4654,6 +4654,11 @@ components:
46544654
description: Widget column field.
46554655
example: content
46564656
type: string
4657+
is_clustering_pattern_field_path:
4658+
description: Determines which column is the clustering pattern field column.
4659+
Can only be used with logs_pattern_stream.
4660+
example: true
4661+
type: boolean
46574662
width:
46584663
$ref: '#/components/schemas/ListStreamColumnWidth'
46594664
required:
@@ -4733,6 +4738,12 @@ components:
47334738
ListStreamQuery:
47344739
description: Updated list stream widget.
47354740
properties:
4741+
clustering_pattern_field_path:
4742+
default: message
4743+
description: The field that the logs pattern clustering will be based off
4744+
of. Can only be used with logs_pattern_stream.
4745+
example: message
4746+
type: string
47364747
compute:
47374748
description: Compute configuration for the List Stream Widget. Compute can
47384749
be used only with the logs_transaction_stream (from 1 to 5 items) list

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

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@
1818
import java.util.Objects;
1919

2020
/** Widget column. */
21-
@JsonPropertyOrder({ListStreamColumn.JSON_PROPERTY_FIELD, ListStreamColumn.JSON_PROPERTY_WIDTH})
21+
@JsonPropertyOrder({
22+
ListStreamColumn.JSON_PROPERTY_FIELD,
23+
ListStreamColumn.JSON_PROPERTY_IS_CLUSTERING_PATTERN_FIELD_PATH,
24+
ListStreamColumn.JSON_PROPERTY_WIDTH
25+
})
2226
@jakarta.annotation.Generated(
2327
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
2428
public class ListStreamColumn {
2529
@JsonIgnore public boolean unparsed = false;
2630
public static final String JSON_PROPERTY_FIELD = "field";
2731
private String field;
2832

33+
public static final String JSON_PROPERTY_IS_CLUSTERING_PATTERN_FIELD_PATH =
34+
"is_clustering_pattern_field_path";
35+
private Boolean isClusteringPatternFieldPath;
36+
2937
public static final String JSON_PROPERTY_WIDTH = "width";
3038
private ListStreamColumnWidth width;
3139

@@ -60,6 +68,28 @@ public void setField(String field) {
6068
this.field = field;
6169
}
6270

71+
public ListStreamColumn isClusteringPatternFieldPath(Boolean isClusteringPatternFieldPath) {
72+
this.isClusteringPatternFieldPath = isClusteringPatternFieldPath;
73+
return this;
74+
}
75+
76+
/**
77+
* Determines which column is the clustering pattern field column. Can only be used with
78+
* logs_pattern_stream.
79+
*
80+
* @return isClusteringPatternFieldPath
81+
*/
82+
@jakarta.annotation.Nullable
83+
@JsonProperty(JSON_PROPERTY_IS_CLUSTERING_PATTERN_FIELD_PATH)
84+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
85+
public Boolean getIsClusteringPatternFieldPath() {
86+
return isClusteringPatternFieldPath;
87+
}
88+
89+
public void setIsClusteringPatternFieldPath(Boolean isClusteringPatternFieldPath) {
90+
this.isClusteringPatternFieldPath = isClusteringPatternFieldPath;
91+
}
92+
6393
public ListStreamColumn width(ListStreamColumnWidth width) {
6494
this.width = width;
6595
this.unparsed |= !width.isValid();
@@ -141,20 +171,25 @@ public boolean equals(Object o) {
141171
}
142172
ListStreamColumn listStreamColumn = (ListStreamColumn) o;
143173
return Objects.equals(this.field, listStreamColumn.field)
174+
&& Objects.equals(
175+
this.isClusteringPatternFieldPath, listStreamColumn.isClusteringPatternFieldPath)
144176
&& Objects.equals(this.width, listStreamColumn.width)
145177
&& Objects.equals(this.additionalProperties, listStreamColumn.additionalProperties);
146178
}
147179

148180
@Override
149181
public int hashCode() {
150-
return Objects.hash(field, width, additionalProperties);
182+
return Objects.hash(field, isClusteringPatternFieldPath, width, additionalProperties);
151183
}
152184

153185
@Override
154186
public String toString() {
155187
StringBuilder sb = new StringBuilder();
156188
sb.append("class ListStreamColumn {\n");
157189
sb.append(" field: ").append(toIndentedString(field)).append("\n");
190+
sb.append(" isClusteringPatternFieldPath: ")
191+
.append(toIndentedString(isClusteringPatternFieldPath))
192+
.append("\n");
158193
sb.append(" width: ").append(toIndentedString(width)).append("\n");
159194
sb.append(" additionalProperties: ")
160195
.append(toIndentedString(additionalProperties))

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

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/** Updated list stream widget. */
2323
@JsonPropertyOrder({
24+
ListStreamQuery.JSON_PROPERTY_CLUSTERING_PATTERN_FIELD_PATH,
2425
ListStreamQuery.JSON_PROPERTY_COMPUTE,
2526
ListStreamQuery.JSON_PROPERTY_DATA_SOURCE,
2627
ListStreamQuery.JSON_PROPERTY_EVENT_SIZE,
@@ -34,6 +35,10 @@
3435
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3536
public class ListStreamQuery {
3637
@JsonIgnore public boolean unparsed = false;
38+
public static final String JSON_PROPERTY_CLUSTERING_PATTERN_FIELD_PATH =
39+
"clustering_pattern_field_path";
40+
private String clusteringPatternFieldPath = "message";
41+
3742
public static final String JSON_PROPERTY_COMPUTE = "compute";
3843
private List<ListStreamComputeItems> compute = null;
3944

@@ -69,6 +74,28 @@ public ListStreamQuery(
6974
this.queryString = queryString;
7075
}
7176

77+
public ListStreamQuery clusteringPatternFieldPath(String clusteringPatternFieldPath) {
78+
this.clusteringPatternFieldPath = clusteringPatternFieldPath;
79+
return this;
80+
}
81+
82+
/**
83+
* The field that the logs pattern clustering will be based off of. Can only be used with
84+
* logs_pattern_stream.
85+
*
86+
* @return clusteringPatternFieldPath
87+
*/
88+
@jakarta.annotation.Nullable
89+
@JsonProperty(JSON_PROPERTY_CLUSTERING_PATTERN_FIELD_PATH)
90+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
91+
public String getClusteringPatternFieldPath() {
92+
return clusteringPatternFieldPath;
93+
}
94+
95+
public void setClusteringPatternFieldPath(String clusteringPatternFieldPath) {
96+
this.clusteringPatternFieldPath = clusteringPatternFieldPath;
97+
}
98+
7299
public ListStreamQuery compute(List<ListStreamComputeItems> compute) {
73100
this.compute = compute;
74101
for (ListStreamComputeItems item : compute) {
@@ -335,7 +362,9 @@ public boolean equals(Object o) {
335362
return false;
336363
}
337364
ListStreamQuery listStreamQuery = (ListStreamQuery) o;
338-
return Objects.equals(this.compute, listStreamQuery.compute)
365+
return Objects.equals(
366+
this.clusteringPatternFieldPath, listStreamQuery.clusteringPatternFieldPath)
367+
&& Objects.equals(this.compute, listStreamQuery.compute)
339368
&& Objects.equals(this.dataSource, listStreamQuery.dataSource)
340369
&& Objects.equals(this.eventSize, listStreamQuery.eventSize)
341370
&& Objects.equals(this.groupBy, listStreamQuery.groupBy)
@@ -349,6 +378,7 @@ public boolean equals(Object o) {
349378
@Override
350379
public int hashCode() {
351380
return Objects.hash(
381+
clusteringPatternFieldPath,
352382
compute,
353383
dataSource,
354384
eventSize,
@@ -364,6 +394,9 @@ public int hashCode() {
364394
public String toString() {
365395
StringBuilder sb = new StringBuilder();
366396
sb.append("class ListStreamQuery {\n");
397+
sb.append(" clusteringPatternFieldPath: ")
398+
.append(toIndentedString(clusteringPatternFieldPath))
399+
.append("\n");
367400
sb.append(" compute: ").append(toIndentedString(compute)).append("\n");
368401
sb.append(" dataSource: ").append(toIndentedString(dataSource)).append("\n");
369402
sb.append(" eventSize: ").append(toIndentedString(eventSize)).append("\n");

0 commit comments

Comments
 (0)