class FireflyIIIClient::AccountTypeFilter
Constants
- ALL
- ASSET
- ASSET_ACCOUNT
- BENEFICIARY_ACCOUNT
- CASH
- CASH_ACCOUNT
- DEBT
- DEFAULT_ACCOUNT
- EXPENSE
- EXPENSE_ACCOUNT
- HIDDEN
- IMPORT_ACCOUNT
- INITIAL_BALANCE_ACCOUNT
- LIABILITIES
- LIABILITY
- LOAN
- MORTGAGE
- RECONCILIATION_ACCOUNT
- REVENUE
- REVENUE_ACCOUNT
- SPECIAL
Public Class 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/firefly_iii_client/models/account_type_filter.rb, line 43 def self.build_from_hash(value) new.build_from_hash(value) end
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/firefly_iii_client/models/account_type_filter.rb, line 50 def build_from_hash(value) constantValues = AccountTypeFilter.constants.select { |c| AccountTypeFilter::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AccountTypeFilter" if constantValues.empty? value end