class CybridApiBank::ExternalBankAccountKindBankModel

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