Class: LWS::DigitalSignage::Player
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The player class
Defined Under Namespace
Modules: Os Classes: Component, Configuration, Feedback, Log, Model, Notification, PredefinedConfiguration, Request, Screenshot, Tag
Instance Attribute Summary collapse
-
#channel ⇒ Channel
The channel of the player.
-
#channel_id ⇒ Fixnum
The ID of the channel of the player.
-
#company ⇒ LWS::Auth::Company
The company the player belongs to.
-
#company_id ⇒ Fixnum
The ID of the company the player belongs to.
-
#components ⇒ Array<Player::Component>
The components of the player.
-
#configuration ⇒ Player::Configuration
The configuration of the player.
-
#configuration_id ⇒ Fixnum
The ID of the configuration of the player.
-
#created_at ⇒ String
readonly
The timestamp of when the player was created.
-
#feedbacks ⇒ Array<Player::Feedback>
The feedbacks for the player.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the player.
-
#logs ⇒ Array<Player::Log>
The logs of the player.
-
#mac_lan ⇒ String?
The MAC address of the LAN interface of the player.
-
#mac_wifi ⇒ String?
The MAC address of the Wi-Fi interface of the player.
-
#model ⇒ Player::Model
The model of the player.
-
#model_id ⇒ Fixnum
The ID of the model of the player.
-
#notifications ⇒ Array<Player::Notification>
The notifications for the player.
-
#operational_since ⇒ String?
The date/time when the player became operational for the first time.
-
#parts ⇒ Array<Player::Component::Part>
The parts of the player.
-
#release_channel ⇒ Player::Os::ReleaseChannel
The player OS release channel used by the player.
-
#release_channel_id ⇒ Fixnum
The ID of the player OS release channel used by the player.
-
#requests ⇒ Array<Player::Feedback>
The requests for the player.
-
#screenshots ⇒ Array<Player::Screenshot>
The screenshots of the player.
-
#serial_number ⇒ String
readonly
The serial number of the player.
-
#service ⇒ Boolean
Whether the player is being serviced/is in service.
-
#status ⇒ "unknown", ...
The player status.
-
#tags ⇒ Array<Player::Tag>
The tags of the player.
-
#updated_at ⇒ String
readonly
The timestamp of when the player was last updated.
Instance Attribute Details
#channel ⇒ Channel
Returns the channel of the player.
588 |
# File 'lib/lws/apps/digital_signage.rb', line 588 belongs_to :channel, class_name: "LWS::DigitalSignage::Channel" |
#channel_id ⇒ Fixnum
Returns the ID of the channel of the player.
592 |
# File 'lib/lws/apps/digital_signage.rb', line 592 attribute :channel_id |
#company ⇒ LWS::Auth::Company
Returns the company the player belongs to.
596 |
# File 'lib/lws/apps/digital_signage.rb', line 596 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Fixnum
Returns the ID of the company the player belongs to.
600 |
# File 'lib/lws/apps/digital_signage.rb', line 600 attribute :company_id |
#components ⇒ Array<Player::Component>
Returns the components of the player.
604 |
# File 'lib/lws/apps/digital_signage.rb', line 604 has_many :components, class_name: "LWS::DigitalSignage::Player::Component" |
#configuration ⇒ Player::Configuration
Returns the configuration of the player.
608 609 |
# File 'lib/lws/apps/digital_signage.rb', line 608 belongs_to :configuration, class_name: "LWS::DigitalSignage::Player::Configuration", uri: "player/configurations/:id" |
#configuration_id ⇒ Fixnum
Returns the ID of the configuration of the player.
613 |
# File 'lib/lws/apps/digital_signage.rb', line 613 attribute :configuration_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the player was created.
690 |
# File 'lib/lws/apps/digital_signage.rb', line 690 attribute :created_at |
#feedbacks ⇒ Array<Player::Feedback>
Returns the feedbacks for the player.
617 |
# File 'lib/lws/apps/digital_signage.rb', line 617 has_many :feedbacks, class_name: "LWS::DigitalSignage::Player::Feedback" |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the player.
584 |
# File 'lib/lws/apps/digital_signage.rb', line 584 attribute :id |
#logs ⇒ Array<Player::Log>
Returns the logs of the player.
621 |
# File 'lib/lws/apps/digital_signage.rb', line 621 has_many :logs, class_name: "LWS::DigitalSignage::Player::Log" |
#mac_lan ⇒ String?
Returns the MAC address of the LAN interface of the player.
625 |
# File 'lib/lws/apps/digital_signage.rb', line 625 attribute :mac_lan |
#mac_wifi ⇒ String?
Returns the MAC address of the Wi-Fi interface of the player.
629 |
# File 'lib/lws/apps/digital_signage.rb', line 629 attribute :mac_wifi |
#model ⇒ Player::Model
Returns the model of the player.
633 634 |
# File 'lib/lws/apps/digital_signage.rb', line 633 belongs_to :model, class_name: "LWS::DigitalSignage::Player::Model", uri: "player/models/:id" |
#model_id ⇒ Fixnum
Returns the ID of the model of the player.
638 |
# File 'lib/lws/apps/digital_signage.rb', line 638 attribute :model_id |
#notifications ⇒ Array<Player::Notification>
Returns the notifications for the player.
642 |
# File 'lib/lws/apps/digital_signage.rb', line 642 has_many :notifications, class_name: "LWS::DigitalSignage::Player::Notification" |
#operational_since ⇒ String?
Returns the date/time when the player became operational for the first time.
647 |
# File 'lib/lws/apps/digital_signage.rb', line 647 attribute :operational_since |
#parts ⇒ Array<Player::Component::Part>
Returns the parts of the player.
651 |
# File 'lib/lws/apps/digital_signage.rb', line 651 has_many :parts, class_name: "LWS::DigitalSignage::Player::Component::Part" |
#release_channel ⇒ Player::Os::ReleaseChannel
Returns the player OS release channel used by the player.
656 657 |
# File 'lib/lws/apps/digital_signage.rb', line 656 belongs_to :release_channel, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel", uri: "player/os/release_channels/:id" |
#release_channel_id ⇒ Fixnum
Returns the ID of the player OS release channel used by the player.
662 |
# File 'lib/lws/apps/digital_signage.rb', line 662 attribute :releasee_channel_id |
#requests ⇒ Array<Player::Feedback>
Returns the requests for the player.
666 |
# File 'lib/lws/apps/digital_signage.rb', line 666 has_many :requests, class_name: "LWS::DigitalSignage::Player::Request" |
#screenshots ⇒ Array<Player::Screenshot>
Returns the screenshots of the player.
670 |
# File 'lib/lws/apps/digital_signage.rb', line 670 has_many :screenshots, class_name: "LWS::DigitalSignage::Player::Screenshot" |
#serial_number ⇒ String (readonly)
Returns the serial number of the player.
674 |
# File 'lib/lws/apps/digital_signage.rb', line 674 attribute :serial_number |
#service ⇒ Boolean
Returns whether the player is being serviced/is in service.
678 |
# File 'lib/lws/apps/digital_signage.rb', line 678 attribute :service |
#status ⇒ "unknown", ...
Returns the player status.
682 |
# File 'lib/lws/apps/digital_signage.rb', line 682 attribute :status |
#tags ⇒ Array<Player::Tag>
Returns the tags of the player.
686 |
# File 'lib/lws/apps/digital_signage.rb', line 686 has_many :tags, class_name: "LWS::DigitalSignage::Player::Tag" |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the player was last updated.
694 |
# File 'lib/lws/apps/digital_signage.rb', line 694 attribute :updated_at |