Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "f2ae7eb",
"generated": "2025-07-17 19:54:48.737"
"spec_repo_commit": "20279f4",
"generated": "2025-07-18 10:24:19.812"
}
11 changes: 9 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13911,14 +13911,21 @@ components:
type: string
type: object
EntityV3APIVersion:
description: The schema version of entity type. The field is known as schema-version
in the previous version.
description: The version of the schema data that was used to populate this entity's
data. This could be via the API, Terraform, or YAML file in a repository.
The field is known as schema-version in the previous version.
enum:
- v3
- v2.2
- v2.1
- v2
example: v3
type: string
x-enum-varnames:
- V3
- V2_2
- V2_1
- V2
EntityV3DatadogCodeLocationItem:
additionalProperties: false
description: Code location item.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_entity_v3_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// EntityV3API Schema for API entities.
type EntityV3API struct {
// The schema version of entity type. The field is known as schema-version in the previous version.
// The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
ApiVersion EntityV3APIVersion `json:"apiVersion"`
// Datadog product integrations for the API entity.
Datadog *EntityV3APIDatadog `json:"datadog,omitempty"`
Expand Down
10 changes: 8 additions & 2 deletions api/datadogV2/model_entity_v3_api_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// EntityV3APIVersion The schema version of entity type. The field is known as schema-version in the previous version.
// EntityV3APIVersion The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
type EntityV3APIVersion string

// List of EntityV3APIVersion.
const (
ENTITYV3APIVERSION_V3 EntityV3APIVersion = "v3"
ENTITYV3APIVERSION_V3 EntityV3APIVersion = "v3"
ENTITYV3APIVERSION_V2_2 EntityV3APIVersion = "v2.2"
ENTITYV3APIVERSION_V2_1 EntityV3APIVersion = "v2.1"
ENTITYV3APIVERSION_V2 EntityV3APIVersion = "v2"
)

var allowedEntityV3APIVersionEnumValues = []EntityV3APIVersion{
ENTITYV3APIVERSION_V3,
ENTITYV3APIVERSION_V2_2,
ENTITYV3APIVERSION_V2_1,
ENTITYV3APIVERSION_V2,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_entity_v3_datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// EntityV3Datastore Schema for datastore entities.
type EntityV3Datastore struct {
// The schema version of entity type. The field is known as schema-version in the previous version.
// The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
ApiVersion EntityV3APIVersion `json:"apiVersion"`
// Datadog product integrations for the datastore entity.
Datadog *EntityV3DatastoreDatadog `json:"datadog,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_entity_v3_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// EntityV3Queue Schema for queue entities.
type EntityV3Queue struct {
// The schema version of entity type. The field is known as schema-version in the previous version.
// The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
ApiVersion EntityV3APIVersion `json:"apiVersion"`
// Datadog product integrations for the datastore entity.
Datadog *EntityV3QueueDatadog `json:"datadog,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_entity_v3_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// EntityV3Service Schema for service entities.
type EntityV3Service struct {
// The schema version of entity type. The field is known as schema-version in the previous version.
// The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
ApiVersion EntityV3APIVersion `json:"apiVersion"`
// Datadog product integrations for the service entity.
Datadog *EntityV3ServiceDatadog `json:"datadog,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_entity_v3_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// EntityV3System Schema for system entities.
type EntityV3System struct {
// The schema version of entity type. The field is known as schema-version in the previous version.
// The version of the schema data that was used to populate this entity's data. This could be via the API, Terraform, or YAML file in a repository. The field is known as schema-version in the previous version.
ApiVersion EntityV3APIVersion `json:"apiVersion"`
// Datadog product integrations for the service entity.
Datadog *EntityV3SystemDatadog `json:"datadog,omitempty"`
Expand Down
Loading