Class: LWS::DigitalSignage::Player::Model
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Model
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The player model
Defined Under Namespace
Classes: Capability
Instance Attribute Summary collapse
-
#branches ⇒ Array<Player::Os::Branch>
The player OS branches allowed for the player model.
-
#capabilities ⇒ Array<Player::Model::Capability>
The capabilities of the player model.
-
#components ⇒ Array<Player::Component>
The player components that are used in the player model.
-
#created_at ⇒ String
readonly
The timestamp of when the player model was created.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the player model.
-
#mbf_hours ⇒ Fixnum
The MBF (mean time between failures) in hours of the player mode.
-
#name ⇒ String
The name of the player model.
-
#players ⇒ Array<Player>
The player that have the player model.
-
#release_channels ⇒ Array<Player::Os::ReleaseChannel>
The player OS release channels used for the player model.
-
#resolutions ⇒ Array<Display::Resolution>
The display resolutions supported by the player model.
-
#slug ⇒ String
readonly
The slug(ified name) of the player model.
-
#support_end ⇒ String
The end date of support for the model.
-
#support_eol ⇒ String
The date when the model is considered end-of-life in terms of support.
-
#support_starts ⇒ String
The start date of support for the model.
-
#temperature_critical ⇒ Fixnum?
The critical temperature threshold (°C) for the player model.
-
#temperature_warning ⇒ Fixnum?
The warning temperature threshold (°C) for the player model.
-
#updated_at ⇒ String
readonly
The timestamp of when the player model was last updated.
Instance Attribute Details
#branches ⇒ Array<Player::Os::Branch>
Returns the player OS branches allowed for the player model.
1053 1054 |
# File 'lib/lws/apps/digital_signage.rb', line 1053 has_many :branches, class_name: "LWS::DigitalSignage::Player::Os::Branch", uri: "player/models/:model_id/branches/(:id)" |
#capabilities ⇒ Array<Player::Model::Capability>
Returns the capabilities of the player model.
1059 1060 |
# File 'lib/lws/apps/digital_signage.rb', line 1059 has_many :capabilities, class_name: "LWS::DigitalSignage::Player::Model::Capability", uri: "player/models/:model_id/capabilities/(:id)" |
#components ⇒ Array<Player::Component>
Returns the player components that are used in the player model.
1065 1066 |
# File 'lib/lws/apps/digital_signage.rb', line 1065 has_many :components, class_name: "LWS::DigitalSignage::Player::Component", uri: "player/models/:model_id/components/(:id)" |
#created_at ⇒ String (readonly)
Returns the timestamp of when the player model was created.
1123 |
# File 'lib/lws/apps/digital_signage.rb', line 1123 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the player model.
1048 |
# File 'lib/lws/apps/digital_signage.rb', line 1048 attribute :id |
#mbf_hours ⇒ Fixnum
Returns the MBF (mean time between failures) in hours of the player mode.
1071 |
# File 'lib/lws/apps/digital_signage.rb', line 1071 attribute :mbf_hours |
#name ⇒ String
Returns the name of the player model.
1075 |
# File 'lib/lws/apps/digital_signage.rb', line 1075 attribute :name |
#players ⇒ Array<Player>
Returns the player that have the player model.
1079 1080 |
# File 'lib/lws/apps/digital_signage.rb', line 1079 has_many :players, class_name: "LWS::DigitalSignage::Player", uri: "player/models/:model_id/players/(:id)" |
#release_channels ⇒ Array<Player::Os::ReleaseChannel>
Returns the player OS release channels used for the player model.
1085 1086 |
# File 'lib/lws/apps/digital_signage.rb', line 1085 has_many :release_channels, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel", uri: "player/models/:model_id/release_channels/(:id)" |
#resolutions ⇒ Array<Display::Resolution>
Returns the display resolutions supported by the player model.
1091 1092 |
# File 'lib/lws/apps/digital_signage.rb', line 1091 has_many :resolutions, class_name: "LWS::DigitalSignage::Display::Resolution", uri: "player/models/:model_id/resolutions/(:id)" |
#slug ⇒ String (readonly)
Returns the slug(ified name) of the player model.
1096 |
# File 'lib/lws/apps/digital_signage.rb', line 1096 attribute :slug |
#support_end ⇒ String
Returns the end date of support for the model.
1100 |
# File 'lib/lws/apps/digital_signage.rb', line 1100 attribute :support_end |
#support_eol ⇒ String
Returns the date when the model is considered end-of-life in terms of support.
1105 |
# File 'lib/lws/apps/digital_signage.rb', line 1105 attribute :support_eol |
#support_starts ⇒ String
Returns the start date of support for the model.
1109 |
# File 'lib/lws/apps/digital_signage.rb', line 1109 attribute :support_starts |
#temperature_critical ⇒ Fixnum?
Returns the critical temperature threshold (°C) for the player model.
1114 |
# File 'lib/lws/apps/digital_signage.rb', line 1114 attribute :temperature_critical |
#temperature_warning ⇒ Fixnum?
Returns the warning temperature threshold (°C) for the player model.
1119 |
# File 'lib/lws/apps/digital_signage.rb', line 1119 attribute :temperature_warning |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the player model was last updated.
1127 |
# File 'lib/lws/apps/digital_signage.rb', line 1127 attribute :updated_at |