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

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

#companyLWS::Auth::Company

Returns the company the predefined player configuration belongs to.

Returns:



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

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

#company_idInteger

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

Returns:

  • (Integer)

    the ID of the company the predefined player configuration belongs to



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

attribute :compandy_id

#configuration_idsArray<Integer>

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

Returns:

  • (Array<Integer>)

    the IDs of the player configurations that use the predefined player configuration as a basis



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

attribute :configuration_ids

#configurationsArray<Player::Configuration>

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

Returns:

  • (Array<Player::Configuration>)

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



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

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

#descriptionString

Returns the description of the predefined player configuration.

Returns:

  • (String)

    the description of the predefined player configuration



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

attribute :description

#nameString

Returns the name of the predefined player configuration.

Returns:

  • (String)

    the name of the predefined player configuration



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

attribute :name

#setting_idsArray<Integer>

Returns the IDs of the settings of the predefined player configuration.

Returns:

  • (Array<Integer>)

    the IDs of the settings of the predefined player configuration



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

attribute :setting_ids

#settingsArray<Player::PredefinedConfiguration::Setting>

Returns the settings of the predefined player configuration.

Returns:



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

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