Class: LWS::DigitalSignage::Channel
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The channel class
Defined Under Namespace
Classes: Group, Tag, TimeSchedule, TimeScheduleOverride
Instance Attribute Summary collapse
-
#bandwidth ⇒ Integer
The bandwidth limit for the channel (bytes per second).
-
#company ⇒ LWS::Auth::Company
The company the channel belongs to.
-
#company_id ⇒ Integer
The ID of the company the channel belongs to.
-
#daily_reboot_time ⇒ String
The daily reboot time of the channel.
-
#display ⇒ Object
:nocov:.
-
#display_id ⇒ Integer
The ID of the display of the channel.
-
#groups ⇒ Array<Channel::Group>
The groups the channel is a member of.
-
#name ⇒ String
The name of the channel.
-
#orientation ⇒ "normal", ...
The orientation of the channel.
-
#persistent_connection ⇒ Boolean
Whether the channel is considered to have a persistent network connection.
-
#players ⇒ Array<Player>
The players linked to the channel.
-
#remote_control ⇒ Boolean
Whether remote control is enabled for the channel.
-
#tags ⇒ Array<Channel::Tag>
The tags of the channel.
-
#time_schedule ⇒ Channel::TimeSchedule
The time schedule of the channel.
-
#time_schedule_id ⇒ Integer
The ID of the time schedule of the channel.
-
#time_schedule_overrides ⇒ Array<Channel::TimeScheduleOverride>
The time schedule overrides of the channel.
-
#time_zone ⇒ String
The time zone for the channel.
-
#volume ⇒ Integer
The audio volume setting of the channel (percentage).
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
Instance Attribute Details
#bandwidth ⇒ Integer
44 |
# File 'lib/lws/apps/digital_signage.rb', line 44 attribute :bandwidth |
#company ⇒ LWS::Auth::Company
48 |
# File 'lib/lws/apps/digital_signage.rb', line 48 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
52 |
# File 'lib/lws/apps/digital_signage.rb', line 52 attribute :company_id |
#daily_reboot_time ⇒ String
56 |
# File 'lib/lws/apps/digital_signage.rb', line 56 attribute :daily_reboot_time |
#display ⇒ Object
:nocov:
60 |
# File 'lib/lws/apps/digital_signage.rb', line 60 belongs_to :display, class_name: "LWS::DigitalSignage::Display" |
#display_id ⇒ Integer
70 |
# File 'lib/lws/apps/digital_signage.rb', line 70 attribute :display_id |
#groups ⇒ Array<Channel::Group>
74 |
# File 'lib/lws/apps/digital_signage.rb', line 74 has_many :groups, class_name: "LWS::DigitalSignage::Channel::Group" |
#name ⇒ String
78 |
# File 'lib/lws/apps/digital_signage.rb', line 78 attribute :name |
#orientation ⇒ "normal", ...
83 |
# File 'lib/lws/apps/digital_signage.rb', line 83 attribute :orientation |
#persistent_connection ⇒ Boolean
88 |
# File 'lib/lws/apps/digital_signage.rb', line 88 attribute :persistent_connection |
#players ⇒ Array<Player>
92 |
# File 'lib/lws/apps/digital_signage.rb', line 92 has_many :players, class_name: "LWS::DigitalSignage::Player" |
#remote_control ⇒ Boolean
96 |
# File 'lib/lws/apps/digital_signage.rb', line 96 attribute :remote_control |
#tags ⇒ Array<Channel::Tag>
100 |
# File 'lib/lws/apps/digital_signage.rb', line 100 has_many :tags, class_name: "LWS::DigitalSignage::Channel::Tag" |
#time_schedule ⇒ Channel::TimeSchedule
104 105 |
# File 'lib/lws/apps/digital_signage.rb', line 104 belongs_to :time_schedule, class_name: "LWS::DigitalSignage::Channel::TimeSchedule", uri: "channel/time_schedules/:id" |
#time_schedule_id ⇒ Integer
109 |
# File 'lib/lws/apps/digital_signage.rb', line 109 attribute :time_schedule_id |
#time_schedule_overrides ⇒ Array<Channel::TimeScheduleOverride>
114 |
# File 'lib/lws/apps/digital_signage.rb', line 114 has_many :time_schedule_overrides, class_name: "LWS::DigitalSignage::Channel::TimeScheduleOverride" |
#time_zone ⇒ String
118 |
# File 'lib/lws/apps/digital_signage.rb', line 118 attribute :time_zone |
#volume ⇒ Integer
122 |
# File 'lib/lws/apps/digital_signage.rb', line 122 attribute :volume |