Skip to content

Commit 42b3177

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit be63084a of spec repo (#2500)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f09b11b commit 42b3177

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-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-06-26 17:56:17.204143",
8-
"spec_repo_commit": "76086f13"
7+
"regenerated": "2025-06-30 10:29:37.328306",
8+
"spec_repo_commit": "be63084a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-26 17:56:17.219918",
13-
"spec_repo_commit": "76086f13"
12+
"regenerated": "2025-06-30 10:29:37.344271",
13+
"spec_repo_commit": "be63084a"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16173,6 +16173,7 @@ components:
1617316173
- name
1617416174
- options
1617516175
- type
16176+
- message
1617616177
type: object
1617716178
SyntheticsMobileTestConfig:
1617816179
description: Configuration object for a Synthetic mobile test.

lib/datadog_api_client/v1/models/synthetics_mobile_test.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SyntheticsMobileTest
2828
attr_accessor :device_ids
2929

3030
# Notification message associated with the test.
31-
attr_accessor :message
31+
attr_reader :message
3232

3333
# The associated monitor ID.
3434
attr_accessor :monitor_id
@@ -167,6 +167,7 @@ def initialize(attributes = {})
167167
# @!visibility private
168168
def valid?
169169
return false if @config.nil?
170+
return false if @message.nil?
170171
return false if @name.nil?
171172
return false if @options.nil?
172173
return false if @type.nil?
@@ -183,6 +184,16 @@ def config=(config)
183184
@config = config
184185
end
185186

187+
# Custom attribute writer method with validation
188+
# @param message [Object] Object to be assigned
189+
# @!visibility private
190+
def message=(message)
191+
if message.nil?
192+
fail ArgumentError, 'invalid value for "message", message cannot be nil.'
193+
end
194+
@message = message
195+
end
196+
186197
# Custom attribute writer method with validation
187198
# @param name [Object] Object to be assigned
188199
# @!visibility private

0 commit comments

Comments
 (0)