Class: DatadogAPIClient::V1::SyntheticsBrowserTestResultData
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SyntheticsBrowserTestResultData
- Defined in:
- lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb
Overview
Object containing results for your Synthetic browser test.
Instance Attribute Summary collapse
-
#browser_type ⇒ Object
Type of browser device used for the browser test.
-
#browser_version ⇒ Object
Browser version used for the browser test.
-
#device ⇒ Object
Returns the value of attribute device.
-
#duration ⇒ Object
Global duration in second of the browser test.
-
#error ⇒ Object
Error returned for the browser test.
-
#failure ⇒ Object
Returns the value of attribute failure.
-
#passed ⇒ Object
Whether or not the browser test was conducted.
-
#received_email_count ⇒ Object
The amount of email received during the browser test.
-
#start_url ⇒ Object
Starting URL for the browser test.
-
#step_details ⇒ Object
Array containing the different browser test steps.
-
#thumbnails_bucket_key ⇒ Object
Whether or not a thumbnail is associated with the browser test.
-
#time_to_interactive ⇒ Object
Time in second to wait before the browser test starts after reaching the start URL.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SyntheticsBrowserTestResultData
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ SyntheticsBrowserTestResultData
Initializes the object
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 113 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsBrowserTestResultData` 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::SyntheticsBrowserTestResultData`. 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?(:'browser_type') self.browser_type = attributes[:'browser_type'] end if attributes.key?(:'browser_version') self.browser_version = attributes[:'browser_version'] end if attributes.key?(:'device') self.device = attributes[:'device'] end if attributes.key?(:'duration') self.duration = attributes[:'duration'] end if attributes.key?(:'error') self.error = attributes[:'error'] end if attributes.key?(:'failure') self.failure = attributes[:'failure'] end if attributes.key?(:'passed') self.passed = attributes[:'passed'] end if attributes.key?(:'received_email_count') self.received_email_count = attributes[:'received_email_count'] end if attributes.key?(:'start_url') self.start_url = attributes[:'start_url'] end if attributes.key?(:'step_details') if (value = attributes[:'step_details']).is_a?(Array) self.step_details = value end end if attributes.key?(:'thumbnails_bucket_key') self.thumbnails_bucket_key = attributes[:'thumbnails_bucket_key'] end if attributes.key?(:'time_to_interactive') self.time_to_interactive = attributes[:'time_to_interactive'] end end |
Instance Attribute Details
#browser_type ⇒ Object
Type of browser device used for the browser test.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 27 def browser_type @browser_type end |
#browser_version ⇒ Object
Browser version used for the browser test.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 30 def browser_version @browser_version end |
#device ⇒ Object
Returns the value of attribute device.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 32 def device @device end |
#duration ⇒ Object
Global duration in second of the browser test.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 35 def duration @duration end |
#error ⇒ Object
Error returned for the browser test.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 38 def error @error end |
#failure ⇒ Object
Returns the value of attribute failure.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 40 def failure @failure end |
#passed ⇒ Object
Whether or not the browser test was conducted.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 43 def passed @passed end |
#received_email_count ⇒ Object
The amount of email received during the browser test.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 46 def received_email_count @received_email_count end |
#start_url ⇒ Object
Starting URL for the browser test.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 49 def start_url @start_url end |
#step_details ⇒ Object
Array containing the different browser test steps.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 52 def step_details @step_details end |
#thumbnails_bucket_key ⇒ Object
Whether or not a thumbnail is associated with the browser test.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 55 def thumbnails_bucket_key @thumbnails_bucket_key end |
#time_to_interactive ⇒ Object
Time in second to wait before the browser test starts after reaching the start URL.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb', line 58 def time_to_interactive @time_to_interactive end |