Class: VSphereAutomation::Content::ContentSubscribedLibraryProbeResultStatus
- Inherits:
-
Object
- Object
- VSphereAutomation::Content::ContentSubscribedLibraryProbeResultStatus
- Defined in:
- lib/vsphere-automation-content/models/content_subscribed_library_probe_result_status.rb
Constant Summary collapse
- SUCCESS =
"SUCCESS".freeze
- INVALID_URL =
"INVALID_URL".freeze
- TIMED_OUT =
"TIMED_OUT".freeze
- HOST_NOT_FOUND =
"HOST_NOT_FOUND".freeze
- RESOURCE_NOT_FOUND =
"RESOURCE_NOT_FOUND".freeze
- INVALID_CREDENTIALS =
"INVALID_CREDENTIALS".freeze
- CERTIFICATE_ERROR =
"CERTIFICATE_ERROR".freeze
- UNKNOWN_ERROR =
"UNKNOWN_ERROR".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
27 28 29 30 31 |
# 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 |