Class: KodiClient::Types::Audio::AudioDetailsArtist

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

Overview

Instance Attribute Summary collapse

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 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(artist, artist_id, born, compilation_artist, description, died, disambiguation, disbanded, formed, gender, instrument, is_album_artist, mood, musicbrainz_artist_id, roles, song_genres, sort_name, source_id, style, type, years_active, art, date_added, genre, fan_art, thumbnail, label) ⇒ AudioDetailsArtist

Returns a new instance of AudioDetailsArtist.



23
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
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 23

def initialize(artist, artist_id, born, compilation_artist, description, died, disambiguation, disbanded,
               formed, gender, instrument, is_album_artist, mood, musicbrainz_artist_id, roles, song_genres,
               sort_name, source_id, style, type, years_active, art, date_added, genre, fan_art, thumbnail,
               label)
  @artist = artist
  @artist_id = artist_id
  @born = born
  @compilation_artist = compilation_artist
  @description = description
  @died = died
  @disambiguation = disambiguation
  @disbanded = disbanded
  @formed = formed
  @gender = gender
  @instrument = instrument
  @is_album_artist = is_album_artist
  @mood = mood
  @musicbrainz_artist_id = musicbrainz_artist_id
  @roles = roles
  @song_genres = song_genres
  @sort_name = sort_name
  @source_id = source_id
  @style = style
  @type = type
  @years_active = years_active
  audio_details_base(art, date_added, genre, fan_art, thumbnail, label)
end

Instance Attribute Details

#artistObject (readonly)

Returns the value of attribute artist.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def artist
  @artist
end

#artist_idObject (readonly)

Returns the value of attribute artist_id.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def artist_id
  @artist_id
end

#bornObject (readonly)

Returns the value of attribute born.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def born
  @born
end

#compilation_artistObject (readonly)

Returns the value of attribute compilation_artist.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def compilation_artist
  @compilation_artist
end

#descriptionObject (readonly)

Returns the value of attribute description.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def description
  @description
end

#diedObject (readonly)

Returns the value of attribute died.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def died
  @died
end

#disambiguationObject (readonly)

Returns the value of attribute disambiguation.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def disambiguation
  @disambiguation
end

#disbandedObject (readonly)

Returns the value of attribute disbanded.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def disbanded
  @disbanded
end

#formedObject (readonly)

Returns the value of attribute formed.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def formed
  @formed
end

#genderObject (readonly)

Returns the value of attribute gender.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def gender
  @gender
end

#instrumentObject (readonly)

Returns the value of attribute instrument.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def instrument
  @instrument
end

#is_album_artistObject (readonly)

Returns the value of attribute is_album_artist.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def is_album_artist
  @is_album_artist
end

#moodObject (readonly)

Returns the value of attribute mood.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def mood
  @mood
end

#musicbrainz_artist_idObject (readonly)

Returns the value of attribute musicbrainz_artist_id.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def musicbrainz_artist_id
  @musicbrainz_artist_id
end

#rolesObject (readonly)

Returns the value of attribute roles.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def roles
  @roles
end

#song_genresObject (readonly)

Returns the value of attribute song_genres.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def song_genres
  @song_genres
end

#sort_nameObject (readonly)

Returns the value of attribute sort_name.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def sort_name
  @sort_name
end

#source_idObject (readonly)

Returns the value of attribute source_id.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_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_artist_type.rb', line 12

def style
  @style
end

#typeObject (readonly)

Returns the value of attribute type.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def type
  @type
end

#years_activeObject (readonly)

Returns the value of attribute years_active.



12
13
14
# File 'lib/kodi_client/types/audio/audio_details_artist_type.rb', line 12

def years_active
  @years_active
end