Class: LWS::DigitalSignage::Player::PredefinedConfiguration

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

Overview

The predefined player configuration

Defined Under Namespace

Classes: Setting

Instance Attribute Summary collapse

Instance Attribute Details

#companyLWS::Auth::Company

Returns the company the predefined player configuration belongs to.

Returns:

  • the company the predefined player configuration belongs to



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

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

#company_idFixnum

Returns the ID of the company the predefined player configuration belongs to.

Returns:

  • the ID of the company the predefined player configuration belongs to



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

attribute :compandy_id

#configurationsArray<Player::Configuration>

Returns the player configurations that use the predefined player configuration as a basis.

Returns:

  • the player configurations that use the predefined player configuration as a basis



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

has_many :configurations, class_name: "LWS::DigitalSignage::Player::Configuration",
uri: "player/predefined_configurations/:predefined_configuration_id/configurations/(:id)"

#created_atString (readonly)

Returns the timestamp of when the predefined player configuration was created.

Returns:

  • the timestamp of when the predefined player configuration was created



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

attribute :created_at

#descriptionString

Returns the description of the predefined player configuration.

Returns:

  • the description of the predefined player configuration



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

attribute :description

#idFixnum (readonly)

Returns the (unique) ID of the predefined player configuration.

Returns:

  • the (unique) ID of the predefined player configuration



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

attribute :id

#nameString

Returns the name of the predefined player configuration.

Returns:

  • the name of the predefined player configuration



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

attribute :name

#settingsPlayer::PredefinedConfiguration::Setting

Returns the settings of the predefined player configuration.

Returns:

  • the settings of the predefined player configuration



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

has_many :settings, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration::Setting",
uri: "player/predefined_configurations/:predefined_configuration_id/settings/(:id)"

#updated_atString (readonly)

Returns the timestamp of when the predefined player configuration was last updated.

Returns:

  • the timestamp of when the predefined player configuration was last updated



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

attribute :updated_at