class VSphereAutomation::Appliance::ApplianceUpdateState

Constants

INSTALL_FAILED
INSTALL_IN_PROGRESS
ROLLBACK_IN_PROGRESS
STAGE_IN_PROGRESS
UPDATES_PENDING
UP_TO_DATE

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/vsphere-automation-appliance/models/appliance_update_state.rb, line 25
def build_from_hash(value)
  constantValues = ApplianceUpdateState.constants.select { |c| ApplianceUpdateState::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #ApplianceUpdateState" if constantValues.empty?
  value
end