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:



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

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

#company_idFixnum

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

Returns:

  • (Fixnum)

    the ID of the company the predefined player configuration belongs to



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

attribute :compandy_id

#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



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

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

#created_atString (readonly)

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

Returns:

  • (String)

    the timestamp of when the predefined player configuration was created



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

attribute :created_at

#descriptionString

Returns the description of the predefined player configuration.

Returns:

  • (String)

    the description of the predefined player configuration



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

attribute :description

#idFixnum (readonly)

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

Returns:

  • (Fixnum)

    the (unique) ID of the predefined player configuration



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

attribute :id

#nameString

Returns the name of the predefined player configuration.

Returns:

  • (String)

    the name of the predefined player configuration



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

attribute :name

#settingsPlayer::PredefinedConfiguration::Setting

Returns the settings of the predefined player configuration.

Returns:



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

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

#updated_atString (readonly)

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

Returns:

  • (String)

    the timestamp of when the predefined player configuration was last updated



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

attribute :updated_at