Class: DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_operatorObject

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_pathObject

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

#operatorObject

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_valueObject

The path target value to compare to.



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