Class: VSphereAutomation::VCenter::VcenterVchaClusterConfigState
- Inherits:
-
Object
- Object
- VSphereAutomation::VCenter::VcenterVchaClusterConfigState
- Defined in:
- lib/vsphere-automation-vcenter/models/vcenter_vcha_cluster_config_state.rb
Constant Summary collapse
- CONFIGURED =
"CONFIGURED".freeze
- NOTCONFIGURED =
"NOTCONFIGURED".freeze
- INVALID =
"INVALID".freeze
- PREPARED =
"PREPARED".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
23 24 25 26 27 |
# File 'lib/vsphere-automation-vcenter/models/vcenter_vcha_cluster_config_state.rb', line 23 def build_from_hash(value) constantValues = VcenterVchaClusterConfigState.constants.select { |c| VcenterVchaClusterConfigState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #VcenterVchaClusterConfigState" if constantValues.empty? value end |