Class: LWS::DigitalSignage::Channel::TimeScheduleOverride

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

Overview

The channel time override schedule 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

#channel_groupsArray<Channel::Group>

Returns the channel groups using the time schedule override.

Returns:

  • (Array<Channel::Group>)

    the channel groups using the time schedule override



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

has_many :groups, class_name: "LWS::DigitalSignage::Channel::Group",
uri: "channel/time_schedule_overrides/:time_schedule_override_id/groups(/:id)"

#channelsArray<Channel>

Returns the channels using the time schedule override.

Returns:

  • (Array<Channel>)

    the channels using the time schedule override



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

has_many :channels, class_name: "LWS::DigitalSignage::Channel",
uri: "channel/time_schedule_overrides/:time_schedule_override_id/channels(/:id)"

#companyLWS::Auth::Company

Returns the company the channel time schedule override belongs to.

Returns:



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

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

#company_idInteger

Returns the ID of the company the channel time schedule override belongs to.

Returns:

  • (Integer)

    the ID of the company the channel time schedule override belongs to



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

attribute :company_id

#endString

Returns the end date (inclusive) of the channel time schedule override.

Returns:

  • (String)

    the end date (inclusive) of the channel time schedule override



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

attribute :end

#nameString

Returns the name of the channel time schedule override.

Returns:

  • (String)

    the name of the channel time schedule override



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

attribute :name

#shutdownString

Returns the shutdown time of the channel.

Returns:

  • (String)

    the shutdown time of the channel



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

attribute :shutdown

#startString

Returns the start date of the channel time schedule override.

Returns:

  • (String)

    the start date of the channel time schedule override



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

attribute :start

#wakeupString

Returns the wakeup time of the channel.

Returns:

  • (String)

    the wakeup time of the channel



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

attribute :wakeup