Skip to content

Commit 413114e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0d76884c of spec repo (#2482)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent daceb7d commit 413114e

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-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": "2024-09-24 18:16:26.118313",
8-
"spec_repo_commit": "2eb52c63"
7+
"regenerated": "2024-09-25 14:32:10.357608",
8+
"spec_repo_commit": "0d76884c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-24 18:16:26.132504",
13-
"spec_repo_commit": "2eb52c63"
12+
"regenerated": "2024-09-25 14:32:10.372055",
13+
"spec_repo_commit": "0d76884c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6559,6 +6559,12 @@ components:
65596559
example: 1693491974000000000
65606560
format: int64
65616561
type: integer
6562+
team:
6563+
description: Name of the team owning the deployed service. If not provided,
6564+
this is automatically populated with the team associated with the service
6565+
in the Service Catalog.
6566+
example: backend
6567+
type: string
65626568
version:
65636569
description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
65646570
example: v1.12.07

src/main/java/com/datadog/api/client/v2/model/DORADeploymentRequestAttributes.java

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
DORADeploymentRequestAttributes.JSON_PROPERTY_ID,
2626
DORADeploymentRequestAttributes.JSON_PROPERTY_SERVICE,
2727
DORADeploymentRequestAttributes.JSON_PROPERTY_STARTED_AT,
28+
DORADeploymentRequestAttributes.JSON_PROPERTY_TEAM,
2829
DORADeploymentRequestAttributes.JSON_PROPERTY_VERSION
2930
})
3031
@jakarta.annotation.Generated(
@@ -49,6 +50,9 @@ public class DORADeploymentRequestAttributes {
4950
public static final String JSON_PROPERTY_STARTED_AT = "started_at";
5051
private Long startedAt;
5152

53+
public static final String JSON_PROPERTY_TEAM = "team";
54+
private String team;
55+
5256
public static final String JSON_PROPERTY_VERSION = "version";
5357
private String version;
5458

@@ -190,6 +194,28 @@ public void setStartedAt(Long startedAt) {
190194
this.startedAt = startedAt;
191195
}
192196

197+
public DORADeploymentRequestAttributes team(String team) {
198+
this.team = team;
199+
return this;
200+
}
201+
202+
/**
203+
* Name of the team owning the deployed service. If not provided, this is automatically populated
204+
* with the team associated with the service in the Service Catalog.
205+
*
206+
* @return team
207+
*/
208+
@jakarta.annotation.Nullable
209+
@JsonProperty(JSON_PROPERTY_TEAM)
210+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
211+
public String getTeam() {
212+
return team;
213+
}
214+
215+
public void setTeam(String team) {
216+
this.team = team;
217+
}
218+
193219
public DORADeploymentRequestAttributes version(String version) {
194220
this.version = version;
195221
return this;
@@ -276,6 +302,7 @@ public boolean equals(Object o) {
276302
&& Objects.equals(this.id, doraDeploymentRequestAttributes.id)
277303
&& Objects.equals(this.service, doraDeploymentRequestAttributes.service)
278304
&& Objects.equals(this.startedAt, doraDeploymentRequestAttributes.startedAt)
305+
&& Objects.equals(this.team, doraDeploymentRequestAttributes.team)
279306
&& Objects.equals(this.version, doraDeploymentRequestAttributes.version)
280307
&& Objects.equals(
281308
this.additionalProperties, doraDeploymentRequestAttributes.additionalProperties);
@@ -284,7 +311,7 @@ public boolean equals(Object o) {
284311
@Override
285312
public int hashCode() {
286313
return Objects.hash(
287-
env, finishedAt, git, id, service, startedAt, version, additionalProperties);
314+
env, finishedAt, git, id, service, startedAt, team, version, additionalProperties);
288315
}
289316

290317
@Override
@@ -297,6 +324,7 @@ public String toString() {
297324
sb.append(" id: ").append(toIndentedString(id)).append("\n");
298325
sb.append(" service: ").append(toIndentedString(service)).append("\n");
299326
sb.append(" startedAt: ").append(toIndentedString(startedAt)).append("\n");
327+
sb.append(" team: ").append(toIndentedString(team)).append("\n");
300328
sb.append(" version: ").append(toIndentedString(version)).append("\n");
301329
sb.append(" additionalProperties: ")
302330
.append(toIndentedString(additionalProperties))

0 commit comments

Comments
 (0)