Class: LWS::DigitalSignage::Player::Os::Package::VersionChange

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

Overview

Note:

This class is only used within the context of the LWS::DigitalSignage::Player::Os::Package class.

The player OS package version change class

Instance Attribute Summary collapse

Instance Attribute Details

#branch_releasePlayer::Os::Branch::Release



1428
1429
1430
# File 'lib/lws/apps/digital_signage.rb', line 1428

belongs_to :branch_release, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release",
foreign_key: :branch_release_id,
uri: "player/os/branches/:branch_id/releases/:id"

#branch_release_idFixnum



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

attribute :branch_release_id

#created_atString (readonly)



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

attribute :created_at

#from_numberString?

Note:

Either the from (version) number or the to (version) number needs to be set.

Returns the number the player OS package version was before the change.



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

attribute :from_number

#from_versionPlayer::Os::Package::Version?



1447
1448
1449
# File 'lib/lws/apps/digital_signage.rb', line 1447

belongs_to :from_version, class_name: "LWS::DigitalSignage::Player::Os::Package::Version",
foreign_key: :from_version_id,
uri: "player/os/packages/:package_id/versions/:id"

#from_version_idFixnum?



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

attribute :from_version_id

#idFixnum (readonly)



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

attribute :id

#logString?



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

attribute :log

#packagePlayer::Os::Package



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

belongs_to :package, class_name: "LWS::DigitalSignage::Player::Os::Package",
uri: "player/os/packages/:id"

#package_idFixnum



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

attribute :package_id

#state"waiting", ...



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

attribute :state

#to_numberString?

Note:

Either the from (version) number or the to (version) number needs to be set.

Returns the number of the player OS package version was after the change.



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

attribute :to_number

#to_versionPlayer::Os::Package::Version?



1485
1486
1487
# File 'lib/lws/apps/digital_signage.rb', line 1485

belongs_to :to_version, class_name: "LWS::DigitalSignage::Player::Os::Package::Version",
foreign_key: :to_version_id,
uri: "player/os/packages/:package_id/versions/:id"

#to_version_idFixnum?



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

attribute :to_version_id

#updated_atString (readonly)



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

attribute :updated_at