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
nil
if #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
#deep_dup, #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.
1712 1713 1714 |
# File 'lib/lws/apps/digital_signage.rb', line 1712 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.
1719 |
# File 'lib/lws/apps/digital_signage.rb', line 1719 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.
1726 |
# File 'lib/lws/apps/digital_signage.rb', line 1726 attribute :from_number |
#from_version ⇒ Player::Os::Package::Version?
Returns the version the player OS package was before the change.
1731 1732 1733 |
# File 'lib/lws/apps/digital_signage.rb', line 1731 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.
1738 |
# File 'lib/lws/apps/digital_signage.rb', line 1738 attribute :from_version_id |
#log ⇒ String?
Returns the log of the player OS package version change (can be nil
if #to_version is nil
).
1743 |
# File 'lib/lws/apps/digital_signage.rb', line 1743 attribute :log |
#package ⇒ Player::Os::Package
Returns the player OS package the version change is for.
1747 1748 |
# File 'lib/lws/apps/digital_signage.rb', line 1747 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.
1752 |
# File 'lib/lws/apps/digital_signage.rb', line 1752 attribute :package_id |
#state ⇒ "waiting", ...
Returns the processing state of the player OS version change.
1757 |
# File 'lib/lws/apps/digital_signage.rb', line 1757 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.
1764 |
# File 'lib/lws/apps/digital_signage.rb', line 1764 attribute :to_number |
#to_version ⇒ Player::Os::Package::Version?
Returns the version the player OS package was after the change.
1769 1770 1771 |
# File 'lib/lws/apps/digital_signage.rb', line 1769 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.
1776 |
# File 'lib/lws/apps/digital_signage.rb', line 1776 attribute :to_version_id |