Class: KodiClient::Types::Addons::AddonDetails
- Inherits:
-
Object
- Object
- KodiClient::Types::Addons::AddonDetails
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable, Items::ItemDetailsBase
- Defined in:
- lib/kodi_client/types/addons/addon_details_type.rb
Overview
represents addon details
Instance Attribute Summary collapse
-
#addon_id ⇒ Object
readonly
Returns the value of attribute addon_id.
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#broken ⇒ Object
readonly
Returns the value of attribute broken.
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#disclaimer ⇒ Object
readonly
Returns the value of attribute disclaimer.
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
#extra_info ⇒ Object
readonly
Returns the value of attribute extra_info.
-
#fan_art ⇒ Object
readonly
Returns the value of attribute fan_art.
-
#installed ⇒ Object
readonly
Returns the value of attribute installed.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#rating ⇒ Object
readonly
Returns the value of attribute rating.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#thumbnail ⇒ Object
readonly
Returns the value of attribute thumbnail.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes included from Items::ItemDetailsBase
Instance Method Summary collapse
-
#initialize(addon_id, author, broken, dependencies, description, disclaimer, enabled, extra_info, fan_art, installed, name, path, rating, summary, thumbnail, type, version, label) ⇒ AddonDetails
constructor
A new instance of AddonDetails.
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 Items::ItemDetailsBase
#item_details_base, #item_details_base_by_hash, #item_details_base_mappings
Methods included from Extensions::Comparable
Constructor Details
#initialize(addon_id, author, broken, dependencies, description, disclaimer, enabled, extra_info, fan_art, installed, name, path, rating, summary, thumbnail, type, version, label) ⇒ AddonDetails
Returns a new instance of AddonDetails.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 20 def initialize(addon_id, , broken, dependencies, description, disclaimer, enabled, extra_info, fan_art, installed, name, path, , summary, thumbnail, type, version, label) @addon_id = addon_id @author = @broken = broken @dependencies = dependencies @description = description @disclaimer = disclaimer @enabled = enabled @extra_info = extra_info @fan_art = fan_art @installed = installed @name = name @path = path @rating = @summary = summary @thumbnail = thumbnail @type = type @version = version item_details_base(label) end |
Instance Attribute Details
#addon_id ⇒ Object (readonly)
Returns the value of attribute addon_id.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def addon_id @addon_id end |
#author ⇒ Object (readonly)
Returns the value of attribute author.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def @author end |
#broken ⇒ Object (readonly)
Returns the value of attribute broken.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def broken @broken end |
#dependencies ⇒ Object (readonly)
Returns the value of attribute dependencies.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def dependencies @dependencies end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def description @description end |
#disclaimer ⇒ Object (readonly)
Returns the value of attribute disclaimer.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def disclaimer @disclaimer end |
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def enabled @enabled end |
#extra_info ⇒ Object (readonly)
Returns the value of attribute extra_info.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def extra_info @extra_info end |
#fan_art ⇒ Object (readonly)
Returns the value of attribute fan_art.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def fan_art @fan_art end |
#installed ⇒ Object (readonly)
Returns the value of attribute installed.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def installed @installed end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def path @path end |
#rating ⇒ Object (readonly)
Returns the value of attribute rating.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def @rating end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def summary @summary end |
#thumbnail ⇒ Object (readonly)
Returns the value of attribute thumbnail.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def thumbnail @thumbnail end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def type @type end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
12 13 14 |
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12 def version @version end |