class DatadogAPIClient::V1::SyntheticsStepType

Constants

ASSERT_CURRENT_URL
ASSERT_ELEMENT_ATTRIBUTE
ASSERT_ELEMENT_CONTENT
ASSERT_ELEMENT_PRESENT
ASSERT_EMAIL
ASSERT_FILE_DOWNLOAD
ASSERT_FROM_JAVASCRIPT
ASSERT_PAGE_CONTAINS
ASSERT_PAGE_LACKS
CLICK
EXTRACT_FROM_JAVASCRIPT
EXTRACT_VARIABLE
GO_TO_URL
GO_TO_URL_AND_MEASURE_TTI
HOVER
PLAY_SUB_TEST
PRESS_KEY
REFRESH
RUN_API_TEST
SCROLL
SELECT_OPTION
TYPE_TEXT
UPLOAD_FILES
WAIT

Public Class Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/datadog_api_client/v1/models/synthetics_step_type.rb, line 50
def self.build_from_hash(value)
  new.build_from_hash(value)
end

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/datadog_api_client/v1/models/synthetics_step_type.rb, line 57
def build_from_hash(value)
  constantValues = SyntheticsStepType.constants.select { |c| SyntheticsStepType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #SyntheticsStepType" if constantValues.empty?
  value
end