Class: KodiClient::Types::Favourites::DetailsFavourite
- Inherits:
-
Object
- Object
- KodiClient::Types::Favourites::DetailsFavourite
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/favourites/details_favourite_type.rb
Overview
Favourite.Details.Favourite kodi.wiki/view/JSON-RPC_API/v12#Favourite.Details.Favourite
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#thumbnail ⇒ Object
readonly
Returns the value of attribute thumbnail.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#window ⇒ Object
readonly
Returns the value of attribute window.
-
#window_parameter ⇒ Object
readonly
Returns the value of attribute window_parameter.
Instance Method Summary collapse
-
#initialize(path, thumbnail, title, type, window, window_parameter) ⇒ DetailsFavourite
constructor
A new instance of DetailsFavourite.
Methods included from Extensions::Creatable
arr_to_mapping, attr_accessor, attr_reader, attr_writer, create, create_list, extract_field_from_hash, fields_to_map, hash_to_arr, type_mapping
Methods included from Extensions::Comparable
Constructor Details
#initialize(path, thumbnail, title, type, window, window_parameter) ⇒ DetailsFavourite
Returns a new instance of DetailsFavourite.
13 14 15 16 17 18 19 20 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 13 def initialize(path, thumbnail, title, type, window, window_parameter) @path = path @thumbnail = thumbnail @title = title @type = type @window = window @window_parameter = window_parameter end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def path @path end |
#thumbnail ⇒ Object (readonly)
Returns the value of attribute thumbnail.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def thumbnail @thumbnail end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def type @type end |
#window ⇒ Object (readonly)
Returns the value of attribute window.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def window @window end |
#window_parameter ⇒ Object (readonly)
Returns the value of attribute window_parameter.
11 12 13 |
# File 'lib/kodi_client/types/favourites/details_favourite_type.rb', line 11 def window_parameter @window_parameter end |