Class: KodiClient::Types::Audio::AudioDetailsAlbum

Inherits:
Object
  • Object
show all
Extended by:
Extensions::Creatable
Includes:
Extensions::Comparable, AudioDetailsMedia
Defined in:
lib/kodi_client/types/audio/audio_details_album_type.rb

Overview

Instance Attribute Summary collapse

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

#art, #date_added, #genre

Attributes included from Media::MediaDetailsBase

#fan_art, #thumbnail

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 Extensions::Comparable

#==, #compare

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, rating, release_date, release_type,
               song_genres, sort_artist, source_id, style, theme, thumbnail, title, total_discs, type,
               user_rating, 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,
                      rating, release_date, sort_artist, title, user_rating, votes, year,
                      art, date_added, genre, fan_art, thumbnail, label)
end

Instance Attribute Details

#album_durationObject (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_idObject (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_labelObject (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_statusObject (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

#compilationObject (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_modifiedObject (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_newObject (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

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

#moodObject (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_idObject (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_idObject (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_countObject (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_typeObject (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_genresObject (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_idObject (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

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

#themeObject (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_discsObject (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

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