Class: KodiClient::Types::Audio::AudioDetailsAlbum
- Inherits:
-
Object
- Object
- KodiClient::Types::Audio::AudioDetailsAlbum
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable, AudioDetailsMedia
- Defined in:
- lib/kodi_client/types/audio/audio_details_album_type.rb
Overview
Audio.Details.Album kodi.wiki/view/JSON-RPC_API/v12#Audio.Details.Album
Instance Attribute Summary collapse
-
#album_duration ⇒ Object
readonly
Returns the value of attribute album_duration.
-
#album_id ⇒ Object
readonly
Returns the value of attribute album_id.
-
#album_label ⇒ Object
readonly
Returns the value of attribute album_label.
-
#album_status ⇒ Object
readonly
Returns the value of attribute album_status.
-
#compilation ⇒ Object
readonly
Returns the value of attribute compilation.
-
#date_modified ⇒ Object
readonly
Returns the value of attribute date_modified.
-
#date_new ⇒ Object
readonly
Returns the value of attribute date_new.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#is_box_set ⇒ Object
readonly
Returns the value of attribute is_box_set.
-
#last_played ⇒ Object
readonly
Returns the value of attribute last_played.
-
#mood ⇒ Object
readonly
Returns the value of attribute mood.
-
#musicbrainz_album_id ⇒ Object
readonly
Returns the value of attribute musicbrainz_album_id.
-
#musicbrainz_release_group_id ⇒ Object
readonly
Returns the value of attribute musicbrainz_release_group_id.
-
#play_count ⇒ Object
readonly
Returns the value of attribute play_count.
-
#release_type ⇒ Object
readonly
Returns the value of attribute release_type.
-
#song_genres ⇒ Object
readonly
Returns the value of attribute song_genres.
-
#source_id ⇒ Object
readonly
Returns the value of attribute source_id.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
-
#theme ⇒ Object
readonly
Returns the value of attribute theme.
-
#total_discs ⇒ Object
readonly
Returns the value of attribute total_discs.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes included from AudioDetailsMedia
#artist, #artist_id, #display_artist, #musicbrainz_album_artist_id, #original_date, #rating, #release_date, #sort_artist, #title, #user_rating, #votes, #year
Attributes included from AudioDetailsBase
Attributes included from Media::MediaDetailsBase
Attributes included from Items::ItemDetailsBase
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
Methods included from AudioDetailsMedia
#audio_details_media, #audio_details_media_by_hash, #audio_details_media_mappings, included
Methods included from AudioDetailsBase
#audio_details_base, #audio_details_base_by_hash, #audio_details_base_mappings
Methods included from Media::MediaDetailsBase
#media_details_base, #media_details_base_by_hash, #media_details_base_mappings
Methods included from Items::ItemDetailsBase
#item_details_base, #item_details_base_by_hash, #item_details_base_mappings
Constructor Details
#initialize(album_duration, album_id, album_label, album_status, art, artist, artist_id, compilation, date_added, date_modified, date_new, description, display_artist, fan_art, genre, is_box_set, label, last_played, mood, musicbrainz_album_artist_id, musicbrainz_album_id, musicbrainz_release_group_id, original_date, play_count, rating, release_date, release_type, song_genres, sort_artist, source_id, style, theme, thumbnail, title, total_discs, type, user_rating, votes, year) ⇒ AudioDetailsAlbum
Returns a new instance of AudioDetailsAlbum.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 24 def initialize(album_duration, album_id, album_label, album_status, art, artist, artist_id, compilation, date_added, date_modified, date_new, description, display_artist, fan_art, genre, is_box_set, label, last_played, mood, musicbrainz_album_artist_id, musicbrainz_album_id, musicbrainz_release_group_id, original_date, play_count, , release_date, release_type, song_genres, sort_artist, source_id, style, theme, thumbnail, title, total_discs, type, , votes, year) @album_duration = album_duration @album_id = album_id @album_label = album_label @album_status = album_status @compilation = compilation @date_modified = date_modified @date_new = date_new @description = description @is_box_set = is_box_set @last_played = last_played @mood = mood @musicbrainz_album_id = musicbrainz_album_id @musicbrainz_release_group_id = musicbrainz_release_group_id @play_count = play_count @release_type = release_type @song_genres = song_genres @source_id = source_id @style = style @theme = theme @total_discs = total_discs @type = type audio_details_media(artist, artist_id, display_artist, musicbrainz_album_artist_id, original_date, , release_date, sort_artist, title, , votes, year, art, date_added, genre, fan_art, thumbnail, label) end |
Instance Attribute Details
#album_duration ⇒ Object (readonly)
Returns the value of attribute album_duration.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def album_duration @album_duration end |
#album_id ⇒ Object (readonly)
Returns the value of attribute album_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def album_id @album_id end |
#album_label ⇒ Object (readonly)
Returns the value of attribute album_label.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def album_label @album_label end |
#album_status ⇒ Object (readonly)
Returns the value of attribute album_status.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def album_status @album_status end |
#compilation ⇒ Object (readonly)
Returns the value of attribute compilation.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def compilation @compilation end |
#date_modified ⇒ Object (readonly)
Returns the value of attribute date_modified.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def date_modified @date_modified end |
#date_new ⇒ Object (readonly)
Returns the value of attribute date_new.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def date_new @date_new end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def description @description end |
#is_box_set ⇒ Object (readonly)
Returns the value of attribute is_box_set.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def is_box_set @is_box_set end |
#last_played ⇒ Object (readonly)
Returns the value of attribute last_played.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def last_played @last_played end |
#mood ⇒ Object (readonly)
Returns the value of attribute mood.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def mood @mood end |
#musicbrainz_album_id ⇒ Object (readonly)
Returns the value of attribute musicbrainz_album_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def musicbrainz_album_id @musicbrainz_album_id end |
#musicbrainz_release_group_id ⇒ Object (readonly)
Returns the value of attribute musicbrainz_release_group_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def musicbrainz_release_group_id @musicbrainz_release_group_id end |
#play_count ⇒ Object (readonly)
Returns the value of attribute play_count.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def play_count @play_count end |
#release_type ⇒ Object (readonly)
Returns the value of attribute release_type.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def release_type @release_type end |
#song_genres ⇒ Object (readonly)
Returns the value of attribute song_genres.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def song_genres @song_genres end |
#source_id ⇒ Object (readonly)
Returns the value of attribute source_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def source_id @source_id end |
#style ⇒ Object (readonly)
Returns the value of attribute style.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def style @style end |
#theme ⇒ Object (readonly)
Returns the value of attribute theme.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def theme @theme end |
#total_discs ⇒ Object (readonly)
Returns the value of attribute total_discs.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def total_discs @total_discs end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_album_type.rb', line 12 def type @type end |