class VSphereAutomation::Content::ContentSubscribedLibraryProbeResultStatus

Constants

CERTIFICATE_ERROR
HOST_NOT_FOUND
INVALID_CREDENTIALS
INVALID_URL
RESOURCE_NOT_FOUND
SUCCESS
TIMED_OUT
UNKNOWN_ERROR

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-content/models/content_subscribed_library_probe_result_status.rb, line 27
def build_from_hash(value)
  constantValues = ContentSubscribedLibraryProbeResultStatus.constants.select { |c| ContentSubscribedLibraryProbeResultStatus::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #ContentSubscribedLibraryProbeResultStatus" if constantValues.empty?
  value
end