class DatadogAPIClient::V1::SyntheticsPlayingTab
Constants
- MAIN_TAB
- NEW_TAB
- TAB_1
- TAB_2
- TAB_3
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_playing_tab.rb, line 30 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_playing_tab.rb, line 37 def build_from_hash(value) constantValues = SyntheticsPlayingTab.constants.select { |c| SyntheticsPlayingTab::const_get(c) == value } raise "Invalid ENUM value #{value} for class #SyntheticsPlayingTab" if constantValues.empty? value end