Module: Spotted::Models::SearchQueryParams::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/spotted/models/search_query_params.rb

Constant Summary collapse

ALBUM =
:album
ARTIST =
:artist
PLAYLIST =
:playlist
TRACK =
:track
SHOW =
:show
EPISODE =
:episode
AUDIOBOOK =
:audiobook

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(q:, type:, include_external: nil, limit: nil, market: nil, offset: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Spotted::Models::SearchQueryParams for more details.

Parameters:



91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/spotted/models/search_query_params.rb', line 91

module Type
  extend Spotted::Internal::Type::Enum

  ALBUM = :album
  ARTIST = :artist
  PLAYLIST = :playlist
  TRACK = :track
  SHOW = :show
  EPISODE = :episode
  AUDIOBOOK = :audiobook

  # @!method self.values
  #   @return [Array<Symbol>]
end