Class: LWS::DigitalSignage::Channel::TimeSchedule::Day

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

Overview

Note:

This class is only used within the context of the LWS::DigitalSignage::Channel::TimeSchedule class.

The channel time schedule day class

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

#dayInteger

Returns the ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday).

Returns:

  • (Integer)

    the ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday)



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

attribute :day

#shutdownString

Returns the shutdown time of the channel.

Returns:

  • (String)

    the shutdown time of the channel



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

attribute :shutdown

#time_scheduleChannel::TimeSchedule

Returns the time schedule the day belongs to.

Returns:



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

belongs_to :time_schedule, class_name: "LWS::DigitalSignage::Channel::TimeSchedule",
uri: "channel/time_schedules/:id"

#time_schedule_idInteger

Returns the ID of the time schedule the day belongs to.

Returns:

  • (Integer)

    the ID of the time schedule the day belongs to



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

attribute :time_schedule_id

#wakeupString

Returns the wakeup time of the channel.

Returns:

  • (String)

    the wakeup time of the channel



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

attribute :wakeup