Class: LWS::DigitalSignage::Player

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

The player class

Defined Under Namespace

Modules: Os Classes: Component, Configuration, Log, Model, Notification, PredefinedConfiguration, Request, Screenshot, Tag

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#channelChannel



852
# File 'lib/lws/apps/digital_signage.rb', line 852

belongs_to :channel, class_name: "LWS::DigitalSignage::Channel"

#channel_idInteger



856
# File 'lib/lws/apps/digital_signage.rb', line 856

attribute :channel_id

#companyLWS::Auth::Company



860
# File 'lib/lws/apps/digital_signage.rb', line 860

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idInteger



864
# File 'lib/lws/apps/digital_signage.rb', line 864

attribute :company_id

#componentsArray<Player::Component>



868
# File 'lib/lws/apps/digital_signage.rb', line 868

has_many :components, class_name: "LWS::DigitalSignage::Player::Component"

#configurationPlayer::Configuration



872
873
# File 'lib/lws/apps/digital_signage.rb', line 872

belongs_to :configuration, class_name: "LWS::DigitalSignage::Player::Configuration",
uri: "player/configurations/:id"

#configuration_idInteger



877
# File 'lib/lws/apps/digital_signage.rb', line 877

attribute :configuration_id

#feedbackHash{String=>String}



881
# File 'lib/lws/apps/digital_signage.rb', line 881

attribute :feedback

#health_percentageFixnum (readonly)



885
# File 'lib/lws/apps/digital_signage.rb', line 885

attribute :health_percentage

#hostnameString (readonly)



889
# File 'lib/lws/apps/digital_signage.rb', line 889

attribute :hostname

#logsArray<Player::Log>



893
# File 'lib/lws/apps/digital_signage.rb', line 893

has_many :logs, class_name: "LWS::DigitalSignage::Player::Log"

#mac_lanString?



897
# File 'lib/lws/apps/digital_signage.rb', line 897

attribute :mac_lan

#mac_wifiString?



901
# File 'lib/lws/apps/digital_signage.rb', line 901

attribute :mac_wifi

#modelPlayer::Model



905
906
# File 'lib/lws/apps/digital_signage.rb', line 905

belongs_to :model, class_name: "LWS::DigitalSignage::Player::Model",
uri: "player/models/:id"

#model_idInteger



910
# File 'lib/lws/apps/digital_signage.rb', line 910

attribute :model_id

#nameString



914
# File 'lib/lws/apps/digital_signage.rb', line 914

attribute :name

#notificationsArray<Player::Notification>



918
# File 'lib/lws/apps/digital_signage.rb', line 918

has_many :notifications, class_name: "LWS::DigitalSignage::Player::Notification"

#operation_hoursString? (readonly)



922
# File 'lib/lws/apps/digital_signage.rb', line 922

attribute :operation_hours

#operational_sinceString? (readonly)



927
# File 'lib/lws/apps/digital_signage.rb', line 927

attribute :operational_since

#os_release_versionString?



931
# File 'lib/lws/apps/digital_signage.rb', line 931

attribute :os_release_version

#partsArray<Player::Component::Part>



935
# File 'lib/lws/apps/digital_signage.rb', line 935

has_many :parts, class_name: "LWS::DigitalSignage::Player::Component::Part"

#recent_osBoolean



939
# File 'lib/lws/apps/digital_signage.rb', line 939

attribute :recent_os

#registration_lockedBoolean



943
# File 'lib/lws/apps/digital_signage.rb', line 943

attribute :registration_locked

#release_channelPlayer::Os::ReleaseChannel



948
949
# File 'lib/lws/apps/digital_signage.rb', line 948

belongs_to :release_channel, class_name: "LWS::DigitalSignage::Player::Os::ReleaseChannel",
uri: "player/os/release_channels/:id"

#release_channel_idInteger



954
# File 'lib/lws/apps/digital_signage.rb', line 954

attribute :release_channel_id

#requestsArray<Player::Request>



958
# File 'lib/lws/apps/digital_signage.rb', line 958

has_many :requests, class_name: "LWS::DigitalSignage::Player::Request"

#screenshotsArray<Player::Screenshot>



962
# File 'lib/lws/apps/digital_signage.rb', line 962

has_many :screenshots, class_name: "LWS::DigitalSignage::Player::Screenshot"

#serial_numberString (readonly)



966
# File 'lib/lws/apps/digital_signage.rb', line 966

attribute :serial_number

#serviceBoolean



970
# File 'lib/lws/apps/digital_signage.rb', line 970

attribute :service

#service_reasonString?



975
# File 'lib/lws/apps/digital_signage.rb', line 975

attribute :service_reason

#status"unknown", ... (readonly)



979
# File 'lib/lws/apps/digital_signage.rb', line 979

attribute :status

#status_reason"unknown", ... (readonly)



984
# File 'lib/lws/apps/digital_signage.rb', line 984

attribute :status_reason

#status_updated_atString (readonly)



988
# File 'lib/lws/apps/digital_signage.rb', line 988

attribute :status_updated_at

#tagsArray<Player::Tag>



992
# File 'lib/lws/apps/digital_signage.rb', line 992

has_many :tags, class_name: "LWS::DigitalSignage::Player::Tag"