class VSphereAutomation::VAPI::VapiRestNavigationHttpMethod

Constants

CONNECT
DELETE
GET
OPTIONS
PATCH
POST
PUT
TRACE

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