Skip to content

Commit 77ad3e4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5e0396ec of spec repo
1 parent 4bb718e commit 77ad3e4

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-03 09:24:18.710206",
8-
"spec_repo_commit": "5906d277"
7+
"regenerated": "2025-06-04 09:15:01.440265",
8+
"spec_repo_commit": "5e0396ec"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-03 09:24:18.726290",
13-
"spec_repo_commit": "5906d277"
12+
"regenerated": "2025-06-04 09:15:01.496186",
13+
"spec_repo_commit": "5e0396ec"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17166,13 +17166,21 @@ components:
1716617166
description: DNS server port to use for DNS tests.
1716717167
type: string
1716817168
files:
17169-
description: Files to be used as part of the request in the test.
17169+
description: Files to be used as part of the request in the test. Only valid
17170+
if `bodyType` is `multipart/form-data`.
1717017171
items:
1717117172
$ref: '#/components/schemas/SyntheticsTestRequestBodyFile'
1717217173
type: array
1717317174
follow_redirects:
1717417175
description: Specifies whether or not the request follows redirects.
1717517176
type: boolean
17177+
form:
17178+
additionalProperties:
17179+
description: A single form entry.
17180+
type: string
17181+
description: Form to be used as part of the request in the test. Only valid
17182+
if `bodyType` is `multipart/form-data`.
17183+
type: object
1717617184
headers:
1717717185
$ref: '#/components/schemas/SyntheticsTestHeaders'
1717817186
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
@@ -54,12 +54,15 @@ class SyntheticsTestRequest
5454
# DNS server port to use for DNS tests.
5555
attr_accessor :dns_server_port
5656

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

6060
# Specifies whether or not the request follows redirects.
6161
attr_accessor :follow_redirects
6262

63+
# Form to be used as part of the request in the test. Only valid if `bodyType` is `multipart/form-data`.
64+
attr_accessor :form
65+
6366
# Headers to include when performing the test.
6467
attr_accessor :headers
6568

@@ -132,6 +135,7 @@ def self.attribute_map
132135
:'dns_server_port' => :'dnsServerPort',
133136
:'files' => :'files',
134137
:'follow_redirects' => :'follow_redirects',
138+
:'form' => :'form',
135139
:'headers' => :'headers',
136140
:'host' => :'host',
137141
:'http_version' => :'httpVersion',
@@ -169,6 +173,7 @@ def self.openapi_types
169173
:'dns_server_port' => :'String',
170174
:'files' => :'Array<SyntheticsTestRequestBodyFile>',
171175
:'follow_redirects' => :'Boolean',
176+
:'form' => :'Hash<String, String>',
172177
:'headers' => :'Hash<String, String>',
173178
:'host' => :'String',
174179
:'http_version' => :'SyntheticsTestOptionsHTTPVersion',
@@ -263,6 +268,10 @@ def initialize(attributes = {})
263268
self.follow_redirects = attributes[:'follow_redirects']
264269
end
265270

271+
if attributes.key?(:'form')
272+
self.form = attributes[:'form']
273+
end
274+
266275
if attributes.key?(:'headers')
267276
self.headers = attributes[:'headers']
268277
end
@@ -393,6 +402,7 @@ def ==(o)
393402
dns_server_port == o.dns_server_port &&
394403
files == o.files &&
395404
follow_redirects == o.follow_redirects &&
405+
form == o.form &&
396406
headers == o.headers &&
397407
host == o.host &&
398408
http_version == o.http_version &&
@@ -417,7 +427,7 @@ def ==(o)
417427
# @return [Integer] Hash code
418428
# @!visibility private
419429
def hash
420-
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, files, follow_redirects, headers, host, http_version, 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
430+
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, files, follow_redirects, form, headers, host, http_version, 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
421431
end
422432
end
423433
end

0 commit comments

Comments
 (0)