Class: KodiClient::Types::Video::VideoCast
- Inherits:
-
Object
- Object
- KodiClient::Types::Video::VideoCast
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/video/video_cast_type.rb
Overview
Video.Cast kodi.wiki/view/JSON-RPC_API/v12#Video.Cast
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
-
#role ⇒ Object
readonly
Returns the value of attribute role.
-
#thumbnail ⇒ Object
readonly
Returns the value of attribute thumbnail.
Instance Method Summary collapse
-
#initialize(name, order, role, thumbnail) ⇒ VideoCast
constructor
A new instance of VideoCast.
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, order, role, thumbnail) ⇒ VideoCast
Returns a new instance of VideoCast.
13 14 15 16 17 18 |
# File 'lib/kodi_client/types/video/video_cast_type.rb', line 13 def initialize(name, order, role, thumbnail) @name = name @order = order @role = role @thumbnail = thumbnail end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/kodi_client/types/video/video_cast_type.rb', line 11 def name @name end |
#order ⇒ Object (readonly)
Returns the value of attribute order.
11 12 13 |
# File 'lib/kodi_client/types/video/video_cast_type.rb', line 11 def order @order end |
#role ⇒ Object (readonly)
Returns the value of attribute role.
11 12 13 |
# File 'lib/kodi_client/types/video/video_cast_type.rb', line 11 def role @role end |
#thumbnail ⇒ Object (readonly)
Returns the value of attribute thumbnail.
11 12 13 |
# File 'lib/kodi_client/types/video/video_cast_type.rb', line 11 def thumbnail @thumbnail end |