Class: DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb
Overview
Composed target for validatesJSONPath operator.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#elements_operator ⇒ Object
The element from the list of results to assert on.
-
#json_path ⇒ Object
The JSON path to assert.
-
#operator ⇒ Object
The specific operator to use on the path.
-
#target_value ⇒ Object
Value used by the operator in assertions.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb', line 36 def additional_properties @additional_properties end |
#elements_operator ⇒ Object
The element from the list of results to assert on. To choose from the first element in the list firstElementMatches, every element in the list everyElementMatches, at least one element in the list atLeastOneElementMatches or the serialized value of the list serializationMatches.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb', line 25 def elements_operator @elements_operator end |
#json_path ⇒ Object
The JSON path to assert.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb', line 28 def json_path @json_path end |
#operator ⇒ Object
The specific operator to use on the path.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb', line 31 def operator @operator end |
#target_value ⇒ Object
Value used by the operator in assertions. Can be either a number or string.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb', line 34 def target_value @target_value end |