Skip to content

Commit fdf2f50

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Regenerate client from commit 4a0f9e08 of spec repo (#2612)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 2e4db83 commit fdf2f50

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.apigentools-info

+4-4
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-08-09 12:06:43.748610",
8-
"spec_repo_commit": "a21ba287"
7+
"regenerated": "2024-08-09 16:10:45.310669",
8+
"spec_repo_commit": "4a0f9e08"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-09 12:06:43.767554",
13-
"spec_repo_commit": "a21ba287"
12+
"regenerated": "2024-08-09 16:10:45.328777",
13+
"spec_repo_commit": "4a0f9e08"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+9-6
Original file line numberDiff line numberDiff line change
@@ -6396,8 +6396,9 @@ components:
63966396
example: staging
63976397
type: string
63986398
finished_at:
6399-
description: Unix timestamp in nanoseconds when the deployment finished.
6400-
It should not be older than 1 hour.
6399+
description: Unix timestamp when the deployment finished. It must be in
6400+
nanoseconds, milliseconds, or seconds, and it should not be older than
6401+
1 hour.
64016402
example: 1693491984000000000
64026403
format: int64
64036404
type: integer
@@ -6411,7 +6412,8 @@ components:
64116412
example: shopist
64126413
type: string
64136414
started_at:
6414-
description: Unix timestamp in nanoseconds when the deployment started.
6415+
description: Unix timestamp when the deployment started. It must be in nanoseconds,
6416+
milliseconds, or seconds.
64156417
example: 1693491974000000000
64166418
format: int64
64176419
type: integer
@@ -6488,8 +6490,8 @@ components:
64886490
example: staging
64896491
type: string
64906492
finished_at:
6491-
description: Unix timestamp in nanoseconds when the incident finished. It
6492-
should not be older than 1 hour.
6493+
description: Unix timestamp when the incident finished. It must be in nanoseconds,
6494+
milliseconds, or seconds, and it should not be older than 1 hour.
64936495
example: 1693491984000000000
64946496
format: int64
64956497
type: integer
@@ -6516,7 +6518,8 @@ components:
65166518
example: High
65176519
type: string
65186520
started_at:
6519-
description: Unix timestamp in nanoseconds when the incident started.
6521+
description: Unix timestamp when the incident started. It must be in nanoseconds,
6522+
milliseconds, or seconds.
65206523
example: 1693491974000000000
65216524
format: int64
65226525
type: integer

api/datadogV2/model_dora_deployment_request_attributes.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ import (
1414
type DORADeploymentRequestAttributes struct {
1515
// Environment name to where the service was deployed.
1616
Env *string `json:"env,omitempty"`
17-
// Unix timestamp in nanoseconds when the deployment finished. It should not be older than 1 hour.
17+
// Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.
1818
FinishedAt int64 `json:"finished_at"`
1919
// Git info for DORA Metrics events.
2020
Git *DORAGitInfo `json:"git,omitempty"`
2121
// Deployment ID.
2222
Id *string `json:"id,omitempty"`
2323
// Service name from a service available in the Service Catalog.
2424
Service string `json:"service"`
25-
// Unix timestamp in nanoseconds when the deployment started.
25+
// Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.
2626
StartedAt int64 `json:"started_at"`
2727
// Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
2828
Version *string `json:"version,omitempty"`

api/datadogV2/model_dora_incident_request_attributes.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
type DORAIncidentRequestAttributes struct {
1515
// Environment name that was impacted by the incident.
1616
Env *string `json:"env,omitempty"`
17-
// Unix timestamp in nanoseconds when the incident finished. It should not be older than 1 hour.
17+
// Unix timestamp when the incident finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.
1818
FinishedAt *int64 `json:"finished_at,omitempty"`
1919
// Git info for DORA Metrics events.
2020
Git *DORAGitInfo `json:"git,omitempty"`
@@ -26,7 +26,7 @@ type DORAIncidentRequestAttributes struct {
2626
Services []string `json:"services,omitempty"`
2727
// Incident severity.
2828
Severity *string `json:"severity,omitempty"`
29-
// Unix timestamp in nanoseconds when the incident started.
29+
// Unix timestamp when the incident started. It must be in nanoseconds, milliseconds, or seconds.
3030
StartedAt int64 `json:"started_at"`
3131
// Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.
3232
Team *string `json:"team,omitempty"`

0 commit comments

Comments
 (0)