Class: ModernTreasury::Models::LedgerListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LedgerListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/ledger_list_params.rb
Overview
Instance Attribute Summary collapse
- #after_cursor ⇒ String?
-
#id ⇒ Array<String>?
If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with ‘id[]=`, for example `?id[]=123&id=abc`.
-
#metadata ⇒ Hash{Symbol=>String}?
For example, if you want to query for records with metadata key ‘Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`.
- #per_page ⇒ Integer?
-
#updated_at ⇒ Hash{Symbol=>Time}?
Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the posted at timestamp.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(id: nil, after_cursor: nil, metadata: nil, per_page: nil, updated_at: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see LedgerListParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, after_cursor: nil, metadata: nil, per_page: nil, updated_at: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::LedgerListParams for more details.
|
|
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 43
|
Instance Attribute Details
#after_cursor ⇒ String?
20 |
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 20 optional :after_cursor, String, nil?: true |
#id ⇒ Array<String>?
If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with ‘id[]=`, for example `?id[]=123&id=abc`.
15 |
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 15 optional :id, ModernTreasury::Internal::Type::ArrayOf[String] |
#metadata ⇒ Hash{Symbol=>String}?
For example, if you want to query for records with metadata key ‘Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters.
28 |
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 28 optional :metadata, ModernTreasury::Internal::Type::HashOf[String] |
#per_page ⇒ Integer?
33 |
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 33 optional :per_page, Integer |
#updated_at ⇒ Hash{Symbol=>Time}?
Use ‘gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the posted at timestamp. For example, for all times after Jan 1 2000 12:00 UTC, use updated_at%5Bgt%5D=2000-01-01T12:00:00Z.
41 |
# File 'lib/modern_treasury/models/ledger_list_params.rb', line 41 optional :updated_at, ModernTreasury::Internal::Type::HashOf[Time] |