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
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": "2025-03-20 15:01:21.019349",
"spec_repo_commit": "0f5c928e"
"regenerated": "2025-03-24 14:58:39.758624",
"spec_repo_commit": "764de5f0"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-20 15:01:21.035270",
"spec_repo_commit": "0f5c928e"
"regenerated": "2025-03-24 14:58:39.774537",
"spec_repo_commit": "764de5f0"
}
}
}
50 changes: 40 additions & 10 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11936,9 +11936,15 @@ components:
description: Incident ID.
type: string
type:
description: Incident description.
type: string
$ref: '#/components/schemas/EntityResponseIncludedIncidentType'
type: object
EntityResponseIncludedIncidentType:
description: Incident description.
enum:
- incident
type: string
x-enum-varnames:
- INCIDENT
EntityResponseIncludedOncall:
description: Included oncall.
properties:
Expand All @@ -11948,9 +11954,15 @@ components:
description: Oncall ID.
type: string
type:
description: Oncall type.
type: string
$ref: '#/components/schemas/EntityResponseIncludedOncallType'
type: object
EntityResponseIncludedOncallType:
description: Oncall type.
enum:
- oncall
type: string
x-enum-varnames:
- ONCALL
EntityResponseIncludedRawSchema:
description: Included raw schema.
properties:
Expand All @@ -11960,8 +11972,7 @@ components:
description: Raw schema ID.
type: string
type:
description: Raw schema type.
type: string
$ref: '#/components/schemas/EntityResponseIncludedRawSchemaType'
type: object
EntityResponseIncludedRawSchemaAttributes:
description: Included raw schema attributes.
Expand All @@ -11970,6 +11981,13 @@ components:
description: Schema from user input in base64 encoding.
type: string
type: object
EntityResponseIncludedRawSchemaType:
description: Raw schema type.
enum:
- rawSchema
type: string
x-enum-varnames:
- RAW_SCHEMA
EntityResponseIncludedRelatedEntity:
description: Included related entity.
properties:
Expand All @@ -11981,8 +11999,7 @@ components:
meta:
$ref: '#/components/schemas/EntityResponseIncludedRelatedEntityMeta'
type:
description: Related entity.
type: string
$ref: '#/components/schemas/EntityResponseIncludedRelatedEntityType'
type: object
EntityResponseIncludedRelatedEntityAttributes:
description: Related entity attributes.
Expand Down Expand Up @@ -12018,6 +12035,13 @@ components:
description: Entity relation source.
type: string
type: object
EntityResponseIncludedRelatedEntityType:
description: Related entity.
enum:
- relatedEntity
type: string
x-enum-varnames:
- RELATED_ENTITY
EntityResponseIncludedRelatedIncidentAttributes:
description: Incident attributes.
properties:
Expand Down Expand Up @@ -12075,15 +12099,21 @@ components:
description: Entity ID.
type: string
type:
description: Schema type.
type: string
$ref: '#/components/schemas/EntityResponseIncludedSchemaType'
type: object
EntityResponseIncludedSchemaAttributes:
description: Included schema.
properties:
schema:
$ref: '#/components/schemas/EntityV3'
type: object
EntityResponseIncludedSchemaType:
description: Schema type.
enum:
- schema
type: string
x-enum-varnames:
- SCHEMA
EntityResponseMeta:
description: Entity metadata.
properties:
Expand Down
5 changes: 5 additions & 0 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1606,17 +1606,22 @@ def overrides
"v2.entity_meta" => "EntityMeta",
"v2.entity_relationships" => "EntityRelationships",
"v2.entity_response_included_incident" => "EntityResponseIncludedIncident",
"v2.entity_response_included_incident_type" => "EntityResponseIncludedIncidentType",
"v2.entity_response_included_oncall" => "EntityResponseIncludedOncall",
"v2.entity_response_included_oncall_type" => "EntityResponseIncludedOncallType",
"v2.entity_response_included_raw_schema" => "EntityResponseIncludedRawSchema",
"v2.entity_response_included_raw_schema_attributes" => "EntityResponseIncludedRawSchemaAttributes",
"v2.entity_response_included_raw_schema_type" => "EntityResponseIncludedRawSchemaType",
"v2.entity_response_included_related_entity" => "EntityResponseIncludedRelatedEntity",
"v2.entity_response_included_related_entity_attributes" => "EntityResponseIncludedRelatedEntityAttributes",
"v2.entity_response_included_related_entity_meta" => "EntityResponseIncludedRelatedEntityMeta",
"v2.entity_response_included_related_entity_type" => "EntityResponseIncludedRelatedEntityType",
"v2.entity_response_included_related_incident_attributes" => "EntityResponseIncludedRelatedIncidentAttributes",
"v2.entity_response_included_related_oncall_attributes" => "EntityResponseIncludedRelatedOncallAttributes",
"v2.entity_response_included_related_oncall_escalation_item" => "EntityResponseIncludedRelatedOncallEscalationItem",
"v2.entity_response_included_schema" => "EntityResponseIncludedSchema",
"v2.entity_response_included_schema_attributes" => "EntityResponseIncludedSchemaAttributes",
"v2.entity_response_included_schema_type" => "EntityResponseIncludedSchemaType",
"v2.entity_response_meta" => "EntityResponseMeta",
"v2.entity_to_incidents" => "EntityToIncidents",
"v2.entity_to_oncalls" => "EntityToOncalls",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def self.openapi_types
{
:'attributes' => :'EntityResponseIncludedRelatedIncidentAttributes',
:'id' => :'String',
:'type' => :'String'
:'type' => :'EntityResponseIncludedIncidentType'
}
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Incident description.
class EntityResponseIncludedIncidentType
include BaseEnumModel

INCIDENT = "incident".freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def self.openapi_types
{
:'attributes' => :'EntityResponseIncludedRelatedOncallAttributes',
:'id' => :'String',
:'type' => :'String'
:'type' => :'EntityResponseIncludedOncallType'
}
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Oncall type.
class EntityResponseIncludedOncallType
include BaseEnumModel

ONCALL = "oncall".freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def self.openapi_types
{
:'attributes' => :'EntityResponseIncludedRawSchemaAttributes',
:'id' => :'String',
:'type' => :'String'
:'type' => :'EntityResponseIncludedRawSchemaType'
}
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Raw schema type.
class EntityResponseIncludedRawSchemaType
include BaseEnumModel

RAW_SCHEMA = "rawSchema".freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def self.openapi_types
:'attributes' => :'EntityResponseIncludedRelatedEntityAttributes',
:'id' => :'String',
:'meta' => :'EntityResponseIncludedRelatedEntityMeta',
:'type' => :'String'
:'type' => :'EntityResponseIncludedRelatedEntityType'
}
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Related entity.
class EntityResponseIncludedRelatedEntityType
include BaseEnumModel

RELATED_ENTITY = "relatedEntity".freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def self.openapi_types
{
:'attributes' => :'EntityResponseIncludedSchemaAttributes',
:'id' => :'String',
:'type' => :'String'
:'type' => :'EntityResponseIncludedSchemaType'
}
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: [email protected]
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Schema type.
class EntityResponseIncludedSchemaType
include BaseEnumModel

SCHEMA = "schema".freeze
end
end
Loading