Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20357,7 +20357,7 @@ components:
type: boolean
ignore_certificate_validation:
description: |-
For SSL tests, whether or not the test should ignore certificate validation.
For SSL tests, whether the test should ignore certificate validation.
type: boolean
initialNavigationTimeout:
description: Timeout before declaring the initial step as failed (in seconds) for browser tests.
Expand Down Expand Up @@ -20600,6 +20600,10 @@ components:
type: string
httpVersion:
$ref: "#/components/schemas/SyntheticsTestOptionsHTTPVersion"
ignore_certificate_validation:
description: |-
For SSL tests, whether the test should ignore certificate validation.
type: boolean
isMessageBase64Encoded:
description: Whether the message is base64 encoded.
type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SyntheticsTestOptions
# Ignore server certificate error for browser tests.
attr_accessor :ignore_server_certificate_error

# For SSL tests, whether or not the test should ignore certificate validation.
# For SSL tests, whether the test should ignore certificate validation.
attr_accessor :ignore_certificate_validation

# Timeout before declaring the initial step as failed (in seconds) for browser tests.
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v1/models/synthetics_test_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ class SyntheticsTestRequest
# HTTP version to use for a Synthetic test.
attr_accessor :http_version

# For SSL tests, whether the test should ignore certificate validation.
attr_accessor :ignore_certificate_validation

# Whether the message is base64 encoded.
attr_accessor :is_message_base64_encoded

Expand Down Expand Up @@ -161,6 +164,7 @@ def self.attribute_map
:'headers' => :'headers',
:'host' => :'host',
:'http_version' => :'httpVersion',
:'ignore_certificate_validation' => :'ignore_certificate_validation',
:'is_message_base64_encoded' => :'isMessageBase64Encoded',
:'mcp_protocol_version' => :'mcpProtocolVersion',
:'message' => :'message',
Expand Down Expand Up @@ -205,6 +209,7 @@ def self.openapi_types
:'headers' => :'Hash<String, String>',
:'host' => :'String',
:'http_version' => :'SyntheticsTestOptionsHTTPVersion',
:'ignore_certificate_validation' => :'Boolean',
:'is_message_base64_encoded' => :'Boolean',
:'mcp_protocol_version' => :'SyntheticsMCPProtocolVersion',
:'message' => :'String',
Expand Down Expand Up @@ -324,6 +329,10 @@ def initialize(attributes = {})
self.http_version = attributes[:'http_version']
end

if attributes.key?(:'ignore_certificate_validation')
self.ignore_certificate_validation = attributes[:'ignore_certificate_validation']
end

if attributes.key?(:'is_message_base64_encoded')
self.is_message_base64_encoded = attributes[:'is_message_base64_encoded']
end
Expand Down Expand Up @@ -464,6 +473,7 @@ def ==(o)
headers == o.headers &&
host == o.host &&
http_version == o.http_version &&
ignore_certificate_validation == o.ignore_certificate_validation &&
is_message_base64_encoded == o.is_message_base64_encoded &&
mcp_protocol_version == o.mcp_protocol_version &&
message == o.message &&
Expand All @@ -489,7 +499,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, check_certificate_revocation, compressed_json_descriptor, compressed_proto_file, disable_aia_intermediate_fetching, dns_server, dns_server_port, files, follow_redirects, form, headers, host, http_version, is_message_base64_encoded, mcp_protocol_version, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, tool_args, tool_name, url, additional_properties].hash
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, check_certificate_revocation, compressed_json_descriptor, compressed_proto_file, disable_aia_intermediate_fetching, dns_server, dns_server_port, files, follow_redirects, form, headers, host, http_version, ignore_certificate_validation, is_message_base64_encoded, mcp_protocol_version, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, tool_args, tool_name, url, additional_properties].hash
end
end
end
Loading