class CybridApiBank::ComplianceCheckOutcomeBankModel

def self.build_from_hash(value)

Returns:
  • (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)

Returns:
  • (String) - The enum value

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