class CybridApiBank::IdentityVerificationTypeBankModel
def self.build_from_hash(value)
-
(String)
- The enum value
Parameters:
-
The
(String
) -- enum value in the form of the string
def self.build_from_hash(value) new.build_from_hash(value) end
def build_from_hash(value)
-
(String)
- The enum value
Parameters:
-
The
(String
) -- enum value in the form of the string
def build_from_hash(value) constantValues = IdentityVerificationTypeBankModel.constants.select { |c| IdentityVerificationTypeBankModel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #IdentityVerificationTypeBankModel" if constantValues.empty? value end