Skip to content

Commit 3ea7b6a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8e702177 of spec repo
1 parent 5ab5990 commit 3ea7b6a

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
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-17 21:06:24.773354",
8-
"spec_repo_commit": "2dfddc18"
7+
"regenerated": "2025-03-18 18:27:51.860354",
8+
"spec_repo_commit": "8e702177"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-17 21:06:24.789125",
13-
"spec_repo_commit": "2dfddc18"
12+
"regenerated": "2025-03-18 18:27:51.875983",
13+
"spec_repo_commit": "8e702177"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11968,7 +11968,10 @@ components:
1196811968
properties:
1196911969
rawSchema:
1197011970
description: Schema from user input in base64 encoding.
11971+
example: ''
1197111972
type: string
11973+
required:
11974+
- rawSchema
1197211975
type: object
1197311976
EntityResponseIncludedRelatedEntity:
1197411977
description: Included related entity.

lib/datadog_api_client/v2/models/entity_response_included_raw_schema_attributes.rb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class EntityResponseIncludedRawSchemaAttributes
2222
include BaseGenericModel
2323

2424
# Schema from user input in base64 encoding.
25-
attr_accessor :raw_schema
25+
attr_reader :raw_schema
2626

2727
attr_accessor :additional_properties
2828

@@ -65,6 +65,24 @@ def initialize(attributes = {})
6565
end
6666
end
6767

68+
# Check to see if the all the properties in the model are valid
69+
# @return true if the model is valid
70+
# @!visibility private
71+
def valid?
72+
return false if @raw_schema.nil?
73+
true
74+
end
75+
76+
# Custom attribute writer method with validation
77+
# @param raw_schema [Object] Object to be assigned
78+
# @!visibility private
79+
def raw_schema=(raw_schema)
80+
if raw_schema.nil?
81+
fail ArgumentError, 'invalid value for "raw_schema", raw_schema cannot be nil.'
82+
end
83+
@raw_schema = raw_schema
84+
end
85+
6886
# Returns the object in the form of hash, with additionalProperties support.
6987
# @return [Hash] Returns the object in the form of hash
7088
# @!visibility private

0 commit comments

Comments
 (0)