Skip to content

Commit 05d639f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 764de5f0 of spec repo (#2298)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 911403c commit 05d639f

13 files changed

+184
-19
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": "2025-03-20 15:01:21.019349",
8-
"spec_repo_commit": "0f5c928e"
7+
"regenerated": "2025-03-24 14:58:39.758624",
8+
"spec_repo_commit": "764de5f0"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-20 15:01:21.035270",
13-
"spec_repo_commit": "0f5c928e"
12+
"regenerated": "2025-03-24 14:58:39.774537",
13+
"spec_repo_commit": "764de5f0"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11936,9 +11936,15 @@ components:
1193611936
description: Incident ID.
1193711937
type: string
1193811938
type:
11939-
description: Incident description.
11940-
type: string
11939+
$ref: '#/components/schemas/EntityResponseIncludedIncidentType'
1194111940
type: object
11941+
EntityResponseIncludedIncidentType:
11942+
description: Incident description.
11943+
enum:
11944+
- incident
11945+
type: string
11946+
x-enum-varnames:
11947+
- INCIDENT
1194211948
EntityResponseIncludedOncall:
1194311949
description: Included oncall.
1194411950
properties:
@@ -11948,9 +11954,15 @@ components:
1194811954
description: Oncall ID.
1194911955
type: string
1195011956
type:
11951-
description: Oncall type.
11952-
type: string
11957+
$ref: '#/components/schemas/EntityResponseIncludedOncallType'
1195311958
type: object
11959+
EntityResponseIncludedOncallType:
11960+
description: Oncall type.
11961+
enum:
11962+
- oncall
11963+
type: string
11964+
x-enum-varnames:
11965+
- ONCALL
1195411966
EntityResponseIncludedRawSchema:
1195511967
description: Included raw schema.
1195611968
properties:
@@ -11960,8 +11972,7 @@ components:
1196011972
description: Raw schema ID.
1196111973
type: string
1196211974
type:
11963-
description: Raw schema type.
11964-
type: string
11975+
$ref: '#/components/schemas/EntityResponseIncludedRawSchemaType'
1196511976
type: object
1196611977
EntityResponseIncludedRawSchemaAttributes:
1196711978
description: Included raw schema attributes.
@@ -11970,6 +11981,13 @@ components:
1197011981
description: Schema from user input in base64 encoding.
1197111982
type: string
1197211983
type: object
11984+
EntityResponseIncludedRawSchemaType:
11985+
description: Raw schema type.
11986+
enum:
11987+
- rawSchema
11988+
type: string
11989+
x-enum-varnames:
11990+
- RAW_SCHEMA
1197311991
EntityResponseIncludedRelatedEntity:
1197411992
description: Included related entity.
1197511993
properties:
@@ -11981,8 +11999,7 @@ components:
1198111999
meta:
1198212000
$ref: '#/components/schemas/EntityResponseIncludedRelatedEntityMeta'
1198312001
type:
11984-
description: Related entity.
11985-
type: string
12002+
$ref: '#/components/schemas/EntityResponseIncludedRelatedEntityType'
1198612003
type: object
1198712004
EntityResponseIncludedRelatedEntityAttributes:
1198812005
description: Related entity attributes.
@@ -12018,6 +12035,13 @@ components:
1201812035
description: Entity relation source.
1201912036
type: string
1202012037
type: object
12038+
EntityResponseIncludedRelatedEntityType:
12039+
description: Related entity.
12040+
enum:
12041+
- relatedEntity
12042+
type: string
12043+
x-enum-varnames:
12044+
- RELATED_ENTITY
1202112045
EntityResponseIncludedRelatedIncidentAttributes:
1202212046
description: Incident attributes.
1202312047
properties:
@@ -12075,15 +12099,21 @@ components:
1207512099
description: Entity ID.
1207612100
type: string
1207712101
type:
12078-
description: Schema type.
12079-
type: string
12102+
$ref: '#/components/schemas/EntityResponseIncludedSchemaType'
1208012103
type: object
1208112104
EntityResponseIncludedSchemaAttributes:
1208212105
description: Included schema.
1208312106
properties:
1208412107
schema:
1208512108
$ref: '#/components/schemas/EntityV3'
1208612109
type: object
12110+
EntityResponseIncludedSchemaType:
12111+
description: Schema type.
12112+
enum:
12113+
- schema
12114+
type: string
12115+
x-enum-varnames:
12116+
- SCHEMA
1208712117
EntityResponseMeta:
1208812118
description: Entity metadata.
1208912119
properties:

lib/datadog_api_client/inflector.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,17 +1606,22 @@ def overrides
16061606
"v2.entity_meta" => "EntityMeta",
16071607
"v2.entity_relationships" => "EntityRelationships",
16081608
"v2.entity_response_included_incident" => "EntityResponseIncludedIncident",
1609+
"v2.entity_response_included_incident_type" => "EntityResponseIncludedIncidentType",
16091610
"v2.entity_response_included_oncall" => "EntityResponseIncludedOncall",
1611+
"v2.entity_response_included_oncall_type" => "EntityResponseIncludedOncallType",
16101612
"v2.entity_response_included_raw_schema" => "EntityResponseIncludedRawSchema",
16111613
"v2.entity_response_included_raw_schema_attributes" => "EntityResponseIncludedRawSchemaAttributes",
1614+
"v2.entity_response_included_raw_schema_type" => "EntityResponseIncludedRawSchemaType",
16121615
"v2.entity_response_included_related_entity" => "EntityResponseIncludedRelatedEntity",
16131616
"v2.entity_response_included_related_entity_attributes" => "EntityResponseIncludedRelatedEntityAttributes",
16141617
"v2.entity_response_included_related_entity_meta" => "EntityResponseIncludedRelatedEntityMeta",
1618+
"v2.entity_response_included_related_entity_type" => "EntityResponseIncludedRelatedEntityType",
16151619
"v2.entity_response_included_related_incident_attributes" => "EntityResponseIncludedRelatedIncidentAttributes",
16161620
"v2.entity_response_included_related_oncall_attributes" => "EntityResponseIncludedRelatedOncallAttributes",
16171621
"v2.entity_response_included_related_oncall_escalation_item" => "EntityResponseIncludedRelatedOncallEscalationItem",
16181622
"v2.entity_response_included_schema" => "EntityResponseIncludedSchema",
16191623
"v2.entity_response_included_schema_attributes" => "EntityResponseIncludedSchemaAttributes",
1624+
"v2.entity_response_included_schema_type" => "EntityResponseIncludedSchemaType",
16201625
"v2.entity_response_meta" => "EntityResponseMeta",
16211626
"v2.entity_to_incidents" => "EntityToIncidents",
16221627
"v2.entity_to_oncalls" => "EntityToOncalls",

lib/datadog_api_client/v2/models/entity_response_included_incident.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def self.openapi_types
4848
{
4949
:'attributes' => :'EntityResponseIncludedRelatedIncidentAttributes',
5050
:'id' => :'String',
51-
:'type' => :'String'
51+
:'type' => :'EntityResponseIncludedIncidentType'
5252
}
5353
end
5454

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# Incident description.
21+
class EntityResponseIncludedIncidentType
22+
include BaseEnumModel
23+
24+
INCIDENT = "incident".freeze
25+
end
26+
end

lib/datadog_api_client/v2/models/entity_response_included_oncall.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def self.openapi_types
4848
{
4949
:'attributes' => :'EntityResponseIncludedRelatedOncallAttributes',
5050
:'id' => :'String',
51-
:'type' => :'String'
51+
:'type' => :'EntityResponseIncludedOncallType'
5252
}
5353
end
5454

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# Oncall type.
21+
class EntityResponseIncludedOncallType
22+
include BaseEnumModel
23+
24+
ONCALL = "oncall".freeze
25+
end
26+
end

lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def self.openapi_types
4848
{
4949
:'attributes' => :'EntityResponseIncludedRawSchemaAttributes',
5050
:'id' => :'String',
51-
:'type' => :'String'
51+
:'type' => :'EntityResponseIncludedRawSchemaType'
5252
}
5353
end
5454

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
=begin
2+
#Datadog API V2 Collection
3+
4+
#Collection of all Datadog Public endpoints.
5+
6+
The version of the OpenAPI document: 1.0
7+
8+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9+
10+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11+
This product includes software developed at Datadog (https://www.datadoghq.com/).
12+
Copyright 2020-Present Datadog, Inc.
13+
14+
=end
15+
16+
require 'date'
17+
require 'time'
18+
19+
module DatadogAPIClient::V2
20+
# Raw schema type.
21+
class EntityResponseIncludedRawSchemaType
22+
include BaseEnumModel
23+
24+
RAW_SCHEMA = "rawSchema".freeze
25+
end
26+
end

lib/datadog_api_client/v2/models/entity_response_included_related_entity.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def self.openapi_types
5353
:'attributes' => :'EntityResponseIncludedRelatedEntityAttributes',
5454
:'id' => :'String',
5555
:'meta' => :'EntityResponseIncludedRelatedEntityMeta',
56-
:'type' => :'String'
56+
:'type' => :'EntityResponseIncludedRelatedEntityType'
5757
}
5858
end
5959

0 commit comments

Comments
 (0)