Class: KodiClient::Types::Audio::PropertyValue

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

Overview

Instance Attribute Summary collapse

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

Constructor Details

#initialize(albums_last_added, albums_modified, artist_links_updated, artists_last_added, artists_modified, genres_last_added, library_last_cleaned, library_last_updated, missing_artist_id, songs_last_added, songs_modified) ⇒ PropertyValue

Returns a new instance of PropertyValue.



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 15

def initialize(albums_last_added, albums_modified, artist_links_updated, artists_last_added, artists_modified,
               genres_last_added, library_last_cleaned, library_last_updated, missing_artist_id,
               songs_last_added, songs_modified)
  @albums_last_added = albums_last_added
  @albums_modified = albums_modified
  @artist_links_updated = artist_links_updated
  @artists_last_added = artists_last_added
  @artists_modified = artists_modified
  @genres_last_added = genres_last_added
  @library_last_cleaned = library_last_cleaned
  @library_last_updated = library_last_updated
  @missing_artist_id = missing_artist_id
  @songs_last_added = songs_last_added
  @songs_modified = songs_modified
end

Instance Attribute Details

#albums_last_addedObject (readonly)

Returns the value of attribute albums_last_added.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def albums_last_added
  @albums_last_added
end

#albums_modifiedObject (readonly)

Returns the value of attribute albums_modified.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def albums_modified
  @albums_modified
end

Returns the value of attribute artist_links_updated.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def artist_links_updated
  @artist_links_updated
end

#artists_last_addedObject (readonly)

Returns the value of attribute artists_last_added.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def artists_last_added
  @artists_last_added
end

#artists_modifiedObject (readonly)

Returns the value of attribute artists_modified.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def artists_modified
  @artists_modified
end

#genres_last_addedObject (readonly)

Returns the value of attribute genres_last_added.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def genres_last_added
  @genres_last_added
end

#library_last_cleanedObject (readonly)

Returns the value of attribute library_last_cleaned.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def library_last_cleaned
  @library_last_cleaned
end

#library_last_updatedObject (readonly)

Returns the value of attribute library_last_updated.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def library_last_updated
  @library_last_updated
end

#missing_artist_idObject (readonly)

Returns the value of attribute missing_artist_id.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def missing_artist_id
  @missing_artist_id
end

#songs_last_addedObject (readonly)

Returns the value of attribute songs_last_added.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def songs_last_added
  @songs_last_added
end

#songs_modifiedObject (readonly)

Returns the value of attribute songs_modified.



11
12
13
# File 'lib/kodi_client/types/audio/property_value_type.rb', line 11

def songs_modified
  @songs_modified
end