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

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the channel time schedule day was created.

Returns:

  • (String)

    the timestamp of when the channel time schedule day was created



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

attribute :created_at

#dayFixnum

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

Returns:

  • (Fixnum)

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



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

attribute :day

#idFixnum (readonly)

Returns the (unique) ID of the channel time schedule day.

Returns:

  • (Fixnum)

    the (unique) ID of the channel time schedule day



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

attribute :id

#shutdownString

Returns the shutdown time of the channel.

Returns:

  • (String)

    the shutdown time of the channel



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

attribute :shutdown

#time_scheduleChannel::TimeSchedule

Returns the time schedule the day belongs to.

Returns:



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

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

#time_schedule_idFixnum

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

Returns:

  • (Fixnum)

    the ID of the time schedule the day belongs to



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

attribute :time_schedule_id

#updated_atString (readonly)

Returns the timestamp of when the channel time schedule day was last updated.

Returns:

  • (String)

    the timestamp of when the channel time schedule day was last updated



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

attribute :updated_at

#wakeupString

Returns the wakeup time of the channel.

Returns:

  • (String)

    the wakeup time of the channel



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

attribute :wakeup