Class: SportsOddsAPI::Models::TeamGetParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SportsOddsAPI::Models::TeamGetParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/sports_odds_api/models/team_get_params.rb,
sig/sports_odds_api/models/team_get_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::SportsOddsAPI
Instance Attribute Summary collapse
-
#cursor ⇒ String?
The cursor for the request.
-
#league_id ⇒ String?
A single leagueID or comma-separated list of leagueIDs to get Teams for.
-
#limit ⇒ Float?
The maximum number of Teams to return.
-
#sport_id ⇒ String?
A single sportID or comma-separated list of sportIDs to get Teams for.
-
#team_id ⇒ String?
A single teamID or comma-separated list of teamIDs to get data for.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(cursor: nil, league_id: nil, limit: nil, sport_id: nil, team_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see TeamGetParams for more details.
- #to_hash ⇒ {
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(cursor: nil, league_id: nil, limit: nil, sport_id: nil, team_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see SportsOddsAPI::Models::TeamGetParams for more details.
|
|
# File 'lib/sports_odds_api/models/team_get_params.rb', line 41
|
Instance Attribute Details
#cursor ⇒ String?
The cursor for the request. Used to get the next group of Teams. This should be the nextCursor from the prior response.
15 |
# File 'lib/sports_odds_api/models/team_get_params.rb', line 15 optional :cursor, String |
#league_id ⇒ String?
A single leagueID or comma-separated list of leagueIDs to get Teams for
21 |
# File 'lib/sports_odds_api/models/team_get_params.rb', line 21 optional :league_id, String |
#limit ⇒ Float?
The maximum number of Teams to return
27 |
# File 'lib/sports_odds_api/models/team_get_params.rb', line 27 optional :limit, Float |
#sport_id ⇒ String?
A single sportID or comma-separated list of sportIDs to get Teams for
33 |
# File 'lib/sports_odds_api/models/team_get_params.rb', line 33 optional :sport_id, String |
#team_id ⇒ String?
A single teamID or comma-separated list of teamIDs to get data for
39 |
# File 'lib/sports_odds_api/models/team_get_params.rb', line 39 optional :team_id, String |
Instance Method Details
#to_hash ⇒ {
46 |
# File 'sig/sports_odds_api/models/team_get_params.rbs', line 46
def to_hash: -> {
|