Class: Phoebe::Models::Data::Observations::Recent::NotableListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Phoebe::Models::Data::Observations::Recent::NotableListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/phoebe/models/data/observations/recent/notable_list_params.rb
Overview
Defined Under Namespace
Modules: Detail
Instance Attribute Summary collapse
-
#back ⇒ Integer?
The number of days back to fetch observations.
-
#detail ⇒ Symbol, ...
Include a subset (simple), or all (full), of the fields available.
-
#hotspot ⇒ Boolean?
Only fetch observations from hotspots.
-
#max_results ⇒ Integer?
Only fetch this number of observations.
-
#r ⇒ Array<String>?
Fetch observations from up to 10 locations.
- #region_code ⇒ String
-
#spp_locale ⇒ String?
Use this language for species common names.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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(region_code:, back: nil, detail: nil, hotspot: nil, max_results: nil, r: nil, spp_locale: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 54
|
Instance Attribute Details
#back ⇒ Integer?
The number of days back to fetch observations.
22 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 22 optional :back, Integer |
#detail ⇒ Symbol, ...
Include a subset (simple), or all (full), of the fields available.
28 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 28 optional :detail, enum: -> { Phoebe::Data::Observations::Recent::NotableListParams::Detail } |
#hotspot ⇒ Boolean?
Only fetch observations from hotspots
34 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 34 optional :hotspot, Phoebe::Internal::Type::Boolean |
#max_results ⇒ Integer?
Only fetch this number of observations
40 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 40 optional :max_results, Integer |
#r ⇒ Array<String>?
Fetch observations from up to 10 locations
46 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 46 optional :r, Phoebe::Internal::Type::ArrayOf[String] |
#region_code ⇒ String
16 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 16 required :region_code, String |
#spp_locale ⇒ String?
Use this language for species common names
52 |
# File 'lib/phoebe/models/data/observations/recent/notable_list_params.rb', line 52 optional :spp_locale, String |