Class: LWS::DigitalSignage::Channel::TimeScheduleOverride
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel::TimeScheduleOverride
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The channel time override schedule class
Instance Attribute Summary collapse
-
#channel_ids ⇒ Array<Integer>
The IDs of the channels using the time schedule override.
-
#channels ⇒ Array<Channel>
The channels using the time schedule override.
-
#company ⇒ LWS::Auth::Company
The company the channel time schedule override belongs to.
-
#company_id ⇒ Integer
The ID of the company the channel time schedule override belongs to.
-
#end ⇒ String
The end date (inclusive) of the channel time schedule override.
-
#group_ids ⇒ Array<Integer>
The IDs of the channel groups using the time schedule override.
-
#groups ⇒ Array<Channel::Group>
The channel groups using the time schedule override.
-
#name ⇒ String
The name of the channel time schedule override.
-
#shutdown ⇒ String
The shutdown time of the channel.
-
#start ⇒ String
The start date of the channel time schedule override.
-
#wakeup ⇒ String
The wakeup time of the channel.
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
#channel_ids ⇒ Array<Integer>
Returns the IDs of the channels using the time schedule override.
369 |
# File 'lib/lws/apps/digital_signage.rb', line 369 attribute :channel_ids |
#channels ⇒ Array<Channel>
Returns the channels using the time schedule override.
373 374 |
# File 'lib/lws/apps/digital_signage.rb', line 373 has_many :channels, class_name: "LWS::DigitalSignage::Channel", uri: "channel/time_schedule_overrides/:time_schedule_override_id/channels(/:id)" |
#company ⇒ LWS::Auth::Company
Returns the company the channel time schedule override belongs to.
378 |
# File 'lib/lws/apps/digital_signage.rb', line 378 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the channel time schedule override belongs to.
382 |
# File 'lib/lws/apps/digital_signage.rb', line 382 attribute :company_id |
#end ⇒ String
Returns the end date (inclusive) of the channel time schedule override.
386 |
# File 'lib/lws/apps/digital_signage.rb', line 386 attribute :end |
#group_ids ⇒ Array<Integer>
Returns the IDs of the channel groups using the time schedule override.
391 |
# File 'lib/lws/apps/digital_signage.rb', line 391 attribute :group_ids |
#groups ⇒ Array<Channel::Group>
Returns the channel groups using the time schedule override.
395 396 |
# File 'lib/lws/apps/digital_signage.rb', line 395 has_many :groups, class_name: "LWS::DigitalSignage::Channel::Group", uri: "channel/time_schedule_overrides/:time_schedule_override_id/groups(/:id)" |
#name ⇒ String
Returns the name of the channel time schedule override.
400 |
# File 'lib/lws/apps/digital_signage.rb', line 400 attribute :name |
#shutdown ⇒ String
Returns the shutdown time of the channel.
404 |
# File 'lib/lws/apps/digital_signage.rb', line 404 attribute :shutdown |
#start ⇒ String
Returns the start date of the channel time schedule override.
408 |
# File 'lib/lws/apps/digital_signage.rb', line 408 attribute :start |
#wakeup ⇒ String
Returns the wakeup time of the channel.
412 |
# File 'lib/lws/apps/digital_signage.rb', line 412 attribute :wakeup |