Class: KodiClient::Types::Application::PropertyValue
- Inherits:
-
Object
- Object
- KodiClient::Types::Application::PropertyValue
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/application/property_value_type.rb
Overview
Application.Property.Value kodi.wiki/view/JSON-RPC_API/v12#Application.Property.Value
Instance Attribute Summary collapse
-
#muted ⇒ Object
readonly
Returns the value of attribute muted.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
-
#volume ⇒ Object
readonly
Returns the value of attribute volume.
Instance Method Summary collapse
-
#initialize(name, version, muted, volume) ⇒ PropertyValue
constructor
A new instance of PropertyValue.
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
Constructor Details
#initialize(name, version, muted, volume) ⇒ PropertyValue
Returns a new instance of PropertyValue.
15 16 17 18 19 20 |
# File 'lib/kodi_client/types/application/property_value_type.rb', line 15 def initialize(name, version, muted, volume) @name = name @version = version @muted = muted @volume = volume end |
Instance Attribute Details
#muted ⇒ Object (readonly)
Returns the value of attribute muted.
11 12 13 |
# File 'lib/kodi_client/types/application/property_value_type.rb', line 11 def muted @muted end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/kodi_client/types/application/property_value_type.rb', line 11 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
11 12 13 |
# File 'lib/kodi_client/types/application/property_value_type.rb', line 11 def version @version end |
#volume ⇒ Object (readonly)
Returns the value of attribute volume.
11 12 13 |
# File 'lib/kodi_client/types/application/property_value_type.rb', line 11 def volume @volume end |