Class: DatadogAPIClient::V1::SyntheticsBrowserTestResultFull
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsBrowserTestResultFull
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb
Overview
Object returned describing a browser test result.
Instance Attribute Summary collapse
-
#check ⇒ Object
Returns the value of attribute check.
-
#check_time ⇒ Object
When the browser test was conducted.
-
#check_version ⇒ Object
Version of the browser test used.
-
#probe_dc ⇒ Object
Location from which the browser test was performed.
-
#result ⇒ Object
Returns the value of attribute result.
-
#result_id ⇒ Object
ID of the browser test result.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SyntheticsBrowserTestResultFull
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ SyntheticsBrowserTestResultFull
Initializes the object
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 87 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsBrowserTestResultFull` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsBrowserTestResultFull`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'check') self.check = attributes[:'check'] end if attributes.key?(:'check_time') self.check_time = attributes[:'check_time'] end if attributes.key?(:'check_version') self.check_version = attributes[:'check_version'] end if attributes.key?(:'probe_dc') self.probe_dc = attributes[:'probe_dc'] end if attributes.key?(:'result') self.result = attributes[:'result'] end if attributes.key?(:'result_id') self.result_id = attributes[:'result_id'] end if attributes.key?(:'status') self.status = attributes[:'status'] end end |
Instance Attribute Details
#check ⇒ Object
Returns the value of attribute check.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 26 def check @check end |
#check_time ⇒ Object
When the browser test was conducted.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 29 def check_time @check_time end |
#check_version ⇒ Object
Version of the browser test used.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 32 def check_version @check_version end |
#probe_dc ⇒ Object
Location from which the browser test was performed.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 35 def probe_dc @probe_dc end |
#result ⇒ Object
Returns the value of attribute result.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 37 def result @result end |
#result_id ⇒ Object
ID of the browser test result.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 40 def result_id @result_id end |
#status ⇒ Object
Returns the value of attribute status.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb', line 42 def status @status end |