Skip to content

Commit bdb2e8d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9757e1ea of spec repo (#2452)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 70d692f commit bdb2e8d

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
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-13 12:53:03.907532",
8-
"spec_repo_commit": "a4fc362f"
7+
"regenerated": "2025-06-13 13:39:04.795452",
8+
"spec_repo_commit": "9757e1ea"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-13 12:53:03.924069",
13-
"spec_repo_commit": "a4fc362f"
12+
"regenerated": "2025-06-13 13:39:04.811736",
13+
"spec_repo_commit": "9757e1ea"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17207,13 +17207,21 @@ components:
1720717207
description: DNS server port to use for DNS tests.
1720817208
type: string
1720917209
files:
17210-
description: Files to be used as part of the request in the test.
17210+
description: Files to be used as part of the request in the test. Only valid
17211+
if `bodyType` is `multipart/form-data`.
1721117212
items:
1721217213
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
1721317214
type: array
1721417215
follow_redirects:
1721517216
description: Specifies whether or not the request follows redirects.
1721617217
type: boolean
17218+
form:
17219+
additionalProperties:
17220+
description: A single form entry.
17221+
type: string
17222+
description: Form to be used as part of the request in the test. Only valid
17223+
if `bodyType` is `multipart/form-data`.
17224+
type: object
1721717225
headers:
1721817226
$ref: '#/components/schemas/SyntheticsTestHeaders'
1721917227
host:

lib/datadog_api_client/v1/models/synthetics_test_request.rb

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,15 @@ class SyntheticsTestRequest
5757
# DNS server port to use for DNS tests.
5858
attr_accessor :dns_server_port
5959

60-
# Files to be used as part of the request in the test.
60+
# Files to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
6161
attr_accessor :files
6262

6363
# Specifies whether or not the request follows redirects.
6464
attr_accessor :follow_redirects
6565

66+
# Form to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
67+
attr_accessor :form
68+
6669
# Headers to include when performing the test.
6770
attr_accessor :headers
6871

@@ -139,6 +142,7 @@ def self.attribute_map
139142
:'dns_server_port' => :'dnsServerPort',
140143
:'files' => :'files',
141144
:'follow_redirects' => :'follow_redirects',
145+
:'form' => :'form',
142146
:'headers' => :'headers',
143147
:'host' => :'host',
144148
:'http_version' => :'httpVersion',
@@ -178,6 +182,7 @@ def self.openapi_types
178182
:'dns_server_port' => :'String',
179183
:'files' => :'Array<SyntheticsTestRequestBodyFile>',
180184
:'follow_redirects' => :'Boolean',
185+
:'form' => :'Hash<String, String>',
181186
:'headers' => :'Hash<String, String>',
182187
:'host' => :'String',
183188
:'http_version' => :'SyntheticsTestOptionsHTTPVersion',
@@ -277,6 +282,10 @@ def initialize(attributes = {})
277282
self.follow_redirects = attributes[:'follow_redirects']
278283
end
279284

285+
if attributes.key?(:'form')
286+
self.form = attributes[:'form']
287+
end
288+
280289
if attributes.key?(:'headers')
281290
self.headers = attributes[:'headers']
282291
end
@@ -412,6 +421,7 @@ def ==(o)
412421
dns_server_port == o.dns_server_port &&
413422
files == o.files &&
414423
follow_redirects == o.follow_redirects &&
424+
form == o.form &&
415425
headers == o.headers &&
416426
host == o.host &&
417427
http_version == o.http_version &&
@@ -437,7 +447,7 @@ def ==(o)
437447
# @return [Integer] Hash code
438448
# @!visibility private
439449
def hash
440-
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, check_certificate_revocation, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, files, follow_redirects, headers, host, http_version, is_message_base64_encoded, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url, additional_properties].hash
450+
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, check_certificate_revocation, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, files, follow_redirects, form, headers, host, http_version, is_message_base64_encoded, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url, additional_properties].hash
441451
end
442452
end
443453
end

0 commit comments

Comments
 (0)