Skip to content

Commit b733e85

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b14972e6 of spec repo
1 parent c43fe5d commit b733e85

File tree

3 files changed

+6
-44
lines changed

3 files changed

+6
-44
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-09 14:41:42.274122",
8-
"spec_repo_commit": "f0e5e32f"
7+
"regenerated": "2025-05-09 17:18:03.476720",
8+
"spec_repo_commit": "b14972e6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-09 14:41:42.291116",
13-
"spec_repo_commit": "f0e5e32f"
12+
"regenerated": "2025-05-09 17:18:03.491799",
13+
"spec_repo_commit": "b14972e6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14957,10 +14957,6 @@ components:
1495714957
FullCustomFrameworkDataAttributes:
1495814958
description: Full Framework Data Attributes.
1495914959
properties:
14960-
description:
14961-
description: Framework Description
14962-
example: this is a security framework
14963-
type: string
1496414960
handle:
1496514961
description: Framework Handle
1496614962
example: sec2
@@ -14986,8 +14982,6 @@ components:
1498614982
- handle
1498714983
- version
1498814984
- name
14989-
- description
14990-
- icon_url
1499114985
- requirements
1499214986
type: object
1499314987
GCPMetricNamespaceConfig:

lib/datadog_api_client/v2/models/full_custom_framework_data_attributes.rb

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ module DatadogAPIClient::V2
2121
class FullCustomFrameworkDataAttributes
2222
include BaseGenericModel
2323

24-
# Framework Description
25-
attr_reader :description
26-
2724
# Framework Handle
2825
attr_reader :handle
2926

3027
# Framework Icon URL
31-
attr_reader :icon_url
28+
attr_accessor :icon_url
3229

3330
# Framework Name
3431
attr_reader :name
@@ -45,7 +42,6 @@ class FullCustomFrameworkDataAttributes
4542
# @!visibility private
4643
def self.attribute_map
4744
{
48-
:'description' => :'description',
4945
:'handle' => :'handle',
5046
:'icon_url' => :'icon_url',
5147
:'name' => :'name',
@@ -58,7 +54,6 @@ def self.attribute_map
5854
# @!visibility private
5955
def self.openapi_types
6056
{
61-
:'description' => :'String',
6257
:'handle' => :'String',
6358
:'icon_url' => :'String',
6459
:'name' => :'String',
@@ -85,10 +80,6 @@ def initialize(attributes = {})
8580
end
8681
}
8782

88-
if attributes.key?(:'description')
89-
self.description = attributes[:'description']
90-
end
91-
9283
if attributes.key?(:'handle')
9384
self.handle = attributes[:'handle']
9485
end
@@ -116,25 +107,13 @@ def initialize(attributes = {})
116107
# @return true if the model is valid
117108
# @!visibility private
118109
def valid?
119-
return false if @description.nil?
120110
return false if @handle.nil?
121-
return false if @icon_url.nil?
122111
return false if @name.nil?
123112
return false if @requirements.nil?
124113
return false if @version.nil?
125114
true
126115
end
127116

128-
# Custom attribute writer method with validation
129-
# @param description [Object] Object to be assigned
130-
# @!visibility private
131-
def description=(description)
132-
if description.nil?
133-
fail ArgumentError, 'invalid value for "description", description cannot be nil.'
134-
end
135-
@description = description
136-
end
137-
138117
# Custom attribute writer method with validation
139118
# @param handle [Object] Object to be assigned
140119
# @!visibility private
@@ -145,16 +124,6 @@ def handle=(handle)
145124
@handle = handle
146125
end
147126

148-
# Custom attribute writer method with validation
149-
# @param icon_url [Object] Object to be assigned
150-
# @!visibility private
151-
def icon_url=(icon_url)
152-
if icon_url.nil?
153-
fail ArgumentError, 'invalid value for "icon_url", icon_url cannot be nil.'
154-
end
155-
@icon_url = icon_url
156-
end
157-
158127
# Custom attribute writer method with validation
159128
# @param name [Object] Object to be assigned
160129
# @!visibility private
@@ -211,7 +180,6 @@ def to_hash
211180
def ==(o)
212181
return true if self.equal?(o)
213182
self.class == o.class &&
214-
description == o.description &&
215183
handle == o.handle &&
216184
icon_url == o.icon_url &&
217185
name == o.name &&
@@ -224,7 +192,7 @@ def ==(o)
224192
# @return [Integer] Hash code
225193
# @!visibility private
226194
def hash
227-
[description, handle, icon_url, name, requirements, version, additional_properties].hash
195+
[handle, icon_url, name, requirements, version, additional_properties].hash
228196
end
229197
end
230198
end

0 commit comments

Comments
 (0)