Class: KodiClient::Types::Addons::AddonDetails

Inherits:
Object
  • Object
show all
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

Attributes included from Items::ItemDetailsBase

#label

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 Items::ItemDetailsBase

#item_details_base, #item_details_base_by_hash, #item_details_base_mappings

Methods included from Extensions::Comparable

#==, #compare

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, author, broken, dependencies, description, disclaimer, enabled, extra_info,
               fan_art, installed, name, path, rating, summary, thumbnail, type, version, label)
  @addon_id = addon_id
  @author = 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 = rating
  @summary = summary
  @thumbnail = thumbnail
  @type = type
  @version = version
  item_details_base(label)
end

Instance Attribute Details

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

#authorObject (readonly)

Returns the value of attribute author.



12
13
14
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12

def author
  @author
end

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

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

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

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

#enabledObject (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_infoObject (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_artObject (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

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

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

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

#ratingObject (readonly)

Returns the value of attribute rating.



12
13
14
# File 'lib/kodi_client/types/addons/addon_details_type.rb', line 12

def rating
  @rating
end

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

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

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

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