Class: DatadogAPIClient::V2::SyntheticsTestResultAssertionResult

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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#actualObject

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_propertiesObject

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_messageObject

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
  @error_message
end

#expectedObject

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

#operatorObject

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

#propertyObject

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

#targetObject

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_pathObject

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_operatorObject

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

#typeObject

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

#validObject

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