class CybridApiBank::ComplianceDecisionStateBankModel
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 = ComplianceDecisionStateBankModel.constants.select { |c| ComplianceDecisionStateBankModel::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ComplianceDecisionStateBankModel" if constantValues.empty? value end