Class: KodiClient::Types::Favourites::DetailsFavourite

Inherits:
Object
  • Object
show all
Extended by:
Extensions::Creatable
Includes:
Extensions::Comparable
Defined in:
lib/kodi_client/types/favourites/details_favourite_type.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#==, #compare

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

#pathObject (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

#thumbnailObject (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

#titleObject (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

#typeObject (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

#windowObject (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_parameterObject (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