Class: OpenfigiRuby::FilterResult
- Inherits:
-
Struct
- Object
- Struct
- OpenfigiRuby::FilterResult
- Defined in:
- lib/openfigi_ruby/search_result.rb
Overview
Result from POST /v3/filter.
Like SearchResult but results are sorted alphabetically by FIGI and a total count is included.
Instance Attribute Summary collapse
-
#data ⇒ Array<FigiResult>
readonly
Instruments matching the filter for this page.
-
#error ⇒ String?
readonly
Error message when the request is invalid.
-
#next_page ⇒ String?
readonly
Opaque pagination token; pass as +start:+ to Client#filter to fetch the next page.
-
#total ⇒ Integer
readonly
Total number of matching instruments across all pages.
Instance Attribute Details
#data ⇒ Array<FigiResult> (readonly)
Returns instruments matching the filter for this page.
28 |
# File 'lib/openfigi_ruby/search_result.rb', line 28 FilterResult = Struct.new(:data, :next_page, :total, :error, keyword_init: true) |
#error ⇒ String? (readonly)
Returns error message when the request is invalid.
28 |
# File 'lib/openfigi_ruby/search_result.rb', line 28 FilterResult = Struct.new(:data, :next_page, :total, :error, keyword_init: true) |
#next_page ⇒ String? (readonly)
Returns opaque pagination token; pass as +start:+ to Client#filter to fetch the next page. nil when this is the last page.
28 |
# File 'lib/openfigi_ruby/search_result.rb', line 28 FilterResult = Struct.new(:data, :next_page, :total, :error, keyword_init: true) |
#total ⇒ Integer (readonly)
Returns total number of matching instruments across all pages.
28 |
# File 'lib/openfigi_ruby/search_result.rb', line 28 FilterResult = Struct.new(:data, :next_page, :total, :error, keyword_init: true) |