Class: DatadogAPIClient::V2::SyntheticsTestResultAssertionResult
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SyntheticsTestResultAssertionResult
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb
Overview
An individual assertion result from a Synthetic test.
Instance Attribute Summary collapse
-
#actual ⇒ Object
Actual value observed during the test.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#error_message ⇒ Object
Error message if the assertion failed.
-
#expected ⇒ Object
Expected value for the assertion.
-
#operator ⇒ Object
Operator used for the assertion (for example, ‘is`, `contains`).
-
#property ⇒ Object
Property targeted by the assertion, when applicable.
-
#target ⇒ Object
Target value for the assertion.
-
#target_path ⇒ Object
JSON path or XPath evaluated for the assertion.
-
#target_path_operator ⇒ Object
Operator used for the target path assertion.
-
#type ⇒ Object
Type of the assertion (for example, ‘responseTime`, `statusCode`, `body`).
-
#valid ⇒ Object
Whether the assertion passed.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#actual ⇒ Object
Actual value observed during the test. Its type depends on the assertion type.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 25 def actual @actual end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 54 def additional_properties @additional_properties end |
#error_message ⇒ Object
Error message if the assertion failed.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 28 def @error_message end |
#expected ⇒ Object
Expected value for the assertion. Its type depends on the assertion type.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 31 def expected @expected end |
#operator ⇒ Object
Operator used for the assertion (for example, ‘is`, `contains`).
34 35 36 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 34 def operator @operator end |
#property ⇒ Object
Property targeted by the assertion, when applicable.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 37 def property @property end |
#target ⇒ Object
Target value for the assertion. Its type depends on the assertion type.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 40 def target @target end |
#target_path ⇒ Object
JSON path or XPath evaluated for the assertion.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 43 def target_path @target_path end |
#target_path_operator ⇒ Object
Operator used for the target path assertion.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 46 def target_path_operator @target_path_operator end |
#type ⇒ Object
Type of the assertion (for example, ‘responseTime`, `statusCode`, `body`).
49 50 51 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 49 def type @type end |
#valid ⇒ Object
Whether the assertion passed.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/synthetics_test_result_assertion_result.rb', line 52 def valid @valid end |