Skip to content

Commit 6af5a62

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0d76884c of spec repo (#2012)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 814866d commit 6af5a62

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-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:25.337140",
8-
"spec_repo_commit": "2eb52c63"
7+
"regenerated": "2024-09-25 14:32:07.496814",
8+
"spec_repo_commit": "0d76884c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-24 18:16:25.361129",
13-
"spec_repo_commit": "2eb52c63"
12+
"regenerated": "2024-09-25 14:32:07.511223",
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

lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class DORADeploymentRequestAttributes
3939
# Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.
4040
attr_reader :started_at
4141

42+
# Name of the team owning the deployed service. If not provided, this is automatically populated with the team associated with the service in the Service Catalog.
43+
attr_accessor :team
44+
4245
# Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
4346
attr_accessor :version
4447

@@ -54,6 +57,7 @@ def self.attribute_map
5457
:'id' => :'id',
5558
:'service' => :'service',
5659
:'started_at' => :'started_at',
60+
:'team' => :'team',
5761
:'version' => :'version'
5862
}
5963
end
@@ -68,6 +72,7 @@ def self.openapi_types
6872
:'id' => :'String',
6973
:'service' => :'String',
7074
:'started_at' => :'Integer',
75+
:'team' => :'String',
7176
:'version' => :'String'
7277
}
7378
end
@@ -114,6 +119,10 @@ def initialize(attributes = {})
114119
self.started_at = attributes[:'started_at']
115120
end
116121

122+
if attributes.key?(:'team')
123+
self.team = attributes[:'team']
124+
end
125+
117126
if attributes.key?(:'version')
118127
self.version = attributes[:'version']
119128
end
@@ -191,6 +200,7 @@ def ==(o)
191200
id == o.id &&
192201
service == o.service &&
193202
started_at == o.started_at &&
203+
team == o.team &&
194204
version == o.version
195205
additional_properties == o.additional_properties
196206
end
@@ -199,7 +209,7 @@ def ==(o)
199209
# @return [Integer] Hash code
200210
# @!visibility private
201211
def hash
202-
[env, finished_at, git, id, service, started_at, version].hash
212+
[env, finished_at, git, id, service, started_at, team, version].hash
203213
end
204214
end
205215
end

0 commit comments

Comments
 (0)