diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index b41f414fd369..56e7d72a7dc7 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -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. @@ -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 diff --git a/lib/datadog_api_client/v1/models/synthetics_test_options.rb b/lib/datadog_api_client/v1/models/synthetics_test_options.rb index 082aaec489cf..44f91510e37f 100644 --- a/lib/datadog_api_client/v1/models/synthetics_test_options.rb +++ b/lib/datadog_api_client/v1/models/synthetics_test_options.rb @@ -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. diff --git a/lib/datadog_api_client/v1/models/synthetics_test_request.rb b/lib/datadog_api_client/v1/models/synthetics_test_request.rb index 56ab2f21ec91..5dda8b30db5a 100644 --- a/lib/datadog_api_client/v1/models/synthetics_test_request.rb +++ b/lib/datadog_api_client/v1/models/synthetics_test_request.rb @@ -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 @@ -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', @@ -205,6 +209,7 @@ def self.openapi_types :'headers' => :'Hash', :'host' => :'String', :'http_version' => :'SyntheticsTestOptionsHTTPVersion', + :'ignore_certificate_validation' => :'Boolean', :'is_message_base64_encoded' => :'Boolean', :'mcp_protocol_version' => :'SyntheticsMCPProtocolVersion', :'message' => :'String', @@ -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 @@ -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 && @@ -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