Class: LWS::DigitalSignage::Player::Os::Package::VersionChange
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Os::Package::VersionChange
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
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
-
#branch_release ⇒ Player::Os::Branch::Release
The branch release the player OS package version change is included in.
-
#branch_release_id ⇒ Integer
The ID of the branch release the player OS package version change is included in.
-
#from_number ⇒ String?
The number the player OS package version was before the change.
-
#from_version ⇒ Player::Os::Package::Version?
The version the player OS package was before the change.
-
#from_version_id ⇒ Integer?
The ID of the number the player OS package version was before the change.
-
#log ⇒ String?
The log of the player OS package version change (can be
nilif #to_version isnil). -
#package ⇒ Player::Os::Package
The player OS package the version change is for.
-
#package_id ⇒ Integer
The ID the player OS package the version change is of.
-
#state ⇒ "waiting", ...
The processing state of the player OS version change.
-
#to_number ⇒ String?
The number of the player OS package version was after the change.
-
#to_version ⇒ Player::Os::Package::Version?
The version the player OS package was after the change.
-
#to_version_id ⇒ Integer?
The ID of the version the player OS package was after the change.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#dig, #reload, #rollback, #save
Instance Attribute Details
#branch_release ⇒ Player::Os::Branch::Release
Returns the branch release the player OS package version change is included in.
1392 1393 1394 |
# File 'lib/lws/apps/digital_signage.rb', line 1392 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_id ⇒ Integer
Returns the ID of the branch release the player OS package version change is included in.
1399 |
# File 'lib/lws/apps/digital_signage.rb', line 1399 attribute :branch_release_id |
#from_number ⇒ String?
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.
1406 |
# File 'lib/lws/apps/digital_signage.rb', line 1406 attribute :from_number |
#from_version ⇒ Player::Os::Package::Version?
Returns the version the player OS package was before the change.
1411 1412 1413 |
# File 'lib/lws/apps/digital_signage.rb', line 1411 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_id ⇒ Integer?
Returns the ID of the number the player OS package version was before the change.
1418 |
# File 'lib/lws/apps/digital_signage.rb', line 1418 attribute :from_version_id |
#log ⇒ String?
Returns the log of the player OS package version change (can be nil if #to_version is nil).
1423 |
# File 'lib/lws/apps/digital_signage.rb', line 1423 attribute :log |
#package ⇒ Player::Os::Package
Returns the player OS package the version change is for.
1427 1428 |
# File 'lib/lws/apps/digital_signage.rb', line 1427 belongs_to :package, class_name: "LWS::DigitalSignage::Player::Os::Package", uri: "player/os/packages/:id" |
#package_id ⇒ Integer
Returns the ID the player OS package the version change is of.
1432 |
# File 'lib/lws/apps/digital_signage.rb', line 1432 attribute :package_id |
#state ⇒ "waiting", ...
Returns the processing state of the player OS version change.
1437 |
# File 'lib/lws/apps/digital_signage.rb', line 1437 attribute :state |
#to_number ⇒ String?
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.
1444 |
# File 'lib/lws/apps/digital_signage.rb', line 1444 attribute :to_number |
#to_version ⇒ Player::Os::Package::Version?
Returns the version the player OS package was after the change.
1449 1450 1451 |
# File 'lib/lws/apps/digital_signage.rb', line 1449 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_id ⇒ Integer?
Returns the ID of the version the player OS package was after the change.
1456 |
# File 'lib/lws/apps/digital_signage.rb', line 1456 attribute :to_version_id |