Skip to content

Commit

Permalink
Regenerate client from commit 4a0f9e08 of spec repo (#2612)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Aug 9, 2024
1 parent 2e4db83 commit fdf2f50
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-09 12:06:43.748610",
"spec_repo_commit": "a21ba287"
"regenerated": "2024-08-09 16:10:45.310669",
"spec_repo_commit": "4a0f9e08"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-09 12:06:43.767554",
"spec_repo_commit": "a21ba287"
"regenerated": "2024-08-09 16:10:45.328777",
"spec_repo_commit": "4a0f9e08"
}
}
}
15 changes: 9 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6396,8 +6396,9 @@ components:
example: staging
type: string
finished_at:
description: Unix timestamp in nanoseconds when the deployment finished.
It should not be older than 1 hour.
description: Unix timestamp when the deployment finished. It must be in
nanoseconds, milliseconds, or seconds, and it should not be older than
1 hour.
example: 1693491984000000000
format: int64
type: integer
Expand All @@ -6411,7 +6412,8 @@ components:
example: shopist
type: string
started_at:
description: Unix timestamp in nanoseconds when the deployment started.
description: Unix timestamp when the deployment started. It must be in nanoseconds,
milliseconds, or seconds.
example: 1693491974000000000
format: int64
type: integer
Expand Down Expand Up @@ -6488,8 +6490,8 @@ components:
example: staging
type: string
finished_at:
description: Unix timestamp in nanoseconds when the incident finished. It
should not be older than 1 hour.
description: Unix timestamp when the incident finished. It must be in nanoseconds,
milliseconds, or seconds, and it should not be older than 1 hour.
example: 1693491984000000000
format: int64
type: integer
Expand All @@ -6516,7 +6518,8 @@ components:
example: High
type: string
started_at:
description: Unix timestamp in nanoseconds when the incident started.
description: Unix timestamp when the incident started. It must be in nanoseconds,
milliseconds, or seconds.
example: 1693491974000000000
format: int64
type: integer
Expand Down
4 changes: 2 additions & 2 deletions api/datadogV2/model_dora_deployment_request_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (
type DORADeploymentRequestAttributes struct {
// Environment name to where the service was deployed.
Env *string `json:"env,omitempty"`
// Unix timestamp in nanoseconds when the deployment finished. It should not be older than 1 hour.
// Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.
FinishedAt int64 `json:"finished_at"`
// Git info for DORA Metrics events.
Git *DORAGitInfo `json:"git,omitempty"`
// Deployment ID.
Id *string `json:"id,omitempty"`
// Service name from a service available in the Service Catalog.
Service string `json:"service"`
// Unix timestamp in nanoseconds when the deployment started.
// Unix timestamp when the deployment started. It must be in nanoseconds, milliseconds, or seconds.
StartedAt int64 `json:"started_at"`
// Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
Version *string `json:"version,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions api/datadogV2/model_dora_incident_request_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
type DORAIncidentRequestAttributes struct {
// Environment name that was impacted by the incident.
Env *string `json:"env,omitempty"`
// Unix timestamp in nanoseconds when the incident finished. It should not be older than 1 hour.
// Unix timestamp when the incident finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.
FinishedAt *int64 `json:"finished_at,omitempty"`
// Git info for DORA Metrics events.
Git *DORAGitInfo `json:"git,omitempty"`
Expand All @@ -26,7 +26,7 @@ type DORAIncidentRequestAttributes struct {
Services []string `json:"services,omitempty"`
// Incident severity.
Severity *string `json:"severity,omitempty"`
// Unix timestamp in nanoseconds when the incident started.
// Unix timestamp when the incident started. It must be in nanoseconds, milliseconds, or seconds.
StartedAt int64 `json:"started_at"`
// Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.
Team *string `json:"team,omitempty"`
Expand Down

0 comments on commit fdf2f50

Please sign in to comment.