Skip to content

Commit 919549a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b673a489 of spec repo
1 parent a9bce5f commit 919549a

8 files changed

+38
-100
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-05-13 09:46:58.211828",
8-
"spec_repo_commit": "767fe63b"
7+
"regenerated": "2025-05-13 17:47:39.254549",
8+
"spec_repo_commit": "b673a489"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-13 09:46:58.227734",
13-
"spec_repo_commit": "767fe63b"
12+
"regenerated": "2025-05-13 17:47:39.270401",
13+
"spec_repo_commit": "b673a489"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10937,8 +10937,6 @@ components:
1093710937
- handle
1093810938
- version
1093910939
- name
10940-
- description
10941-
- icon_url
1094210940
type: object
1094310941
DORADeploymentRequest:
1094410942
description: Request to create a DORA deployment event.
@@ -15262,10 +15260,6 @@ components:
1526215260
FullCustomFrameworkDataAttributes:
1526315261
description: Full Framework Data Attributes.
1526415262
properties:
15265-
description:
15266-
description: Framework Description
15267-
example: this is a security framework
15268-
type: string
1526915263
handle:
1527015264
description: Framework Handle
1527115265
example: sec2
@@ -15291,8 +15285,6 @@ components:
1529115285
- handle
1529215286
- version
1529315287
- name
15294-
- description
15295-
- icon_url
1529615288
- requirements
1529715289
type: object
1529815290
GCPMetricNamespaceConfig:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-24T02:49:32.262Z
1+
2025-04-24T03:17:07.960Z

cassettes/features/v2/on-call/Delete-on-call-escalation-policy-returns-No-Content-response.yml

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-27T22:14:16.448Z
1+
2025-05-13T17:29:58.139Z

cassettes/features/v2/security_monitoring/Get-a-custom-framework-returns-OK-response.yml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/datadog_api_client/v2/models/custom_framework_without_requirements.rb

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class CustomFrameworkWithoutRequirements
2222
include BaseGenericModel
2323

2424
# Framework Description
25-
attr_reader :description
25+
attr_accessor :description
2626

2727
# Framework Handle
2828
attr_reader :handle
2929

3030
# Framework Icon URL
31-
attr_reader :icon_url
31+
attr_accessor :icon_url
3232

3333
# Framework Name
3434
attr_reader :name
@@ -105,24 +105,12 @@ def initialize(attributes = {})
105105
# @return true if the model is valid
106106
# @!visibility private
107107
def valid?
108-
return false if @description.nil?
109108
return false if @handle.nil?
110-
return false if @icon_url.nil?
111109
return false if @name.nil?
112110
return false if @version.nil?
113111
true
114112
end
115113

116-
# Custom attribute writer method with validation
117-
# @param description [Object] Object to be assigned
118-
# @!visibility private
119-
def description=(description)
120-
if description.nil?
121-
fail ArgumentError, 'invalid value for "description", description cannot be nil.'
122-
end
123-
@description = description
124-
end
125-
126114
# Custom attribute writer method with validation
127115
# @param handle [Object] Object to be assigned
128116
# @!visibility private
@@ -133,16 +121,6 @@ def handle=(handle)
133121
@handle = handle
134122
end
135123

136-
# Custom attribute writer method with validation
137-
# @param icon_url [Object] Object to be assigned
138-
# @!visibility private
139-
def icon_url=(icon_url)
140-
if icon_url.nil?
141-
fail ArgumentError, 'invalid value for "icon_url", icon_url cannot be nil.'
142-
end
143-
@icon_url = icon_url
144-
end
145-
146124
# Custom attribute writer method with validation
147125
# @param name [Object] Object to be assigned
148126
# @!visibility private

0 commit comments

Comments
 (0)