Skip to content

Commit 8790702

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f89617c7 of spec repo
1 parent b2de361 commit 8790702

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
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": "2025-05-16 13:56:33.962104",
8-
"spec_repo_commit": "dac51bc6"
7+
"regenerated": "2025-05-19 15:26:12.447689",
8+
"spec_repo_commit": "f89617c7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-16 13:56:34.055440",
13-
"spec_repo_commit": "dac51bc6"
12+
"regenerated": "2025-05-19 15:26:12.464492",
13+
"spec_repo_commit": "f89617c7"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6729,6 +6729,11 @@ components:
67296729
Monitor:
67306730
description: Object describing a monitor.
67316731
properties:
6732+
classification:
6733+
description: The classification of the monitor.
6734+
example: log
6735+
readOnly: true
6736+
type: string
67326737
created:
67336738
description: Timestamp of the monitor creation.
67346739
format: date-time

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
/** Object describing a monitor. */
2525
@JsonPropertyOrder({
26+
Monitor.JSON_PROPERTY_CLASSIFICATION,
2627
Monitor.JSON_PROPERTY_CREATED,
2728
Monitor.JSON_PROPERTY_CREATOR,
2829
Monitor.JSON_PROPERTY_DELETED,
@@ -45,6 +46,9 @@
4546
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
4647
public class Monitor {
4748
@JsonIgnore public boolean unparsed = false;
49+
public static final String JSON_PROPERTY_CLASSIFICATION = "classification";
50+
private String classification;
51+
4852
public static final String JSON_PROPERTY_CREATED = "created";
4953
private OffsetDateTime created;
5054

@@ -107,6 +111,18 @@ public Monitor(
107111
this.unparsed |= !type.isValid();
108112
}
109113

114+
/**
115+
* The classification of the monitor.
116+
*
117+
* @return classification
118+
*/
119+
@jakarta.annotation.Nullable
120+
@JsonProperty(JSON_PROPERTY_CLASSIFICATION)
121+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
122+
public String getClassification() {
123+
return classification;
124+
}
125+
110126
/**
111127
* Timestamp of the monitor creation.
112128
*
@@ -525,7 +541,8 @@ public boolean equals(Object o) {
525541
return false;
526542
}
527543
Monitor monitor = (Monitor) o;
528-
return Objects.equals(this.created, monitor.created)
544+
return Objects.equals(this.classification, monitor.classification)
545+
&& Objects.equals(this.created, monitor.created)
529546
&& Objects.equals(this.creator, monitor.creator)
530547
&& Objects.equals(this.deleted, monitor.deleted)
531548
&& Objects.equals(this.id, monitor.id)
@@ -548,6 +565,7 @@ public boolean equals(Object o) {
548565
@Override
549566
public int hashCode() {
550567
return Objects.hash(
568+
classification,
551569
created,
552570
creator,
553571
deleted,
@@ -572,6 +590,7 @@ public int hashCode() {
572590
public String toString() {
573591
StringBuilder sb = new StringBuilder();
574592
sb.append("class Monitor {\n");
593+
sb.append(" classification: ").append(toIndentedString(classification)).append("\n");
575594
sb.append(" created: ").append(toIndentedString(created)).append("\n");
576595
sb.append(" creator: ").append(toIndentedString(creator)).append("\n");
577596
sb.append(" deleted: ").append(toIndentedString(deleted)).append("\n");

0 commit comments

Comments
 (0)