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

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



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

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



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

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:



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

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

#company_idFixnum

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

Returns:

  • (Fixnum)

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



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

attribute :company_id

#created_atString (readonly)

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

Returns:

  • (String)

    the timestamp of when the channel time schedule override was created



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

attribute :created_at

#endString

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

Returns:

  • (String)

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



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

attribute :end

#idFixnum (readonly)

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

Returns:

  • (Fixnum)

    the (unique) ID of the channel time schedule override



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

attribute :id

#nameString

Returns the name of the channel time schedule override.

Returns:

  • (String)

    the name of the channel time schedule override



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

attribute :name

#shutdownString

Returns the shutdown time of the channel.

Returns:

  • (String)

    the shutdown time of the channel



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

attribute :shutdown

#startString

Returns the start date of the channel time schedule override.

Returns:

  • (String)

    the start date of the channel time schedule override



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

attribute :start

#updated_atString (readonly)

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

Returns:

  • (String)

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



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

attribute :updated_at

#wakeupString

Returns the wakeup time of the channel.

Returns:

  • (String)

    the wakeup time of the channel



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

attribute :wakeup