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

Returns the branch release the player OS package version change is included in.

Returns:



1449
1450
1451
# File 'lib/lws/apps/digital_signage.rb', line 1449

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

Returns the ID of the branch release the player OS package version change is included in.

Returns:

  • (Fixnum)

    the ID of the branch release the player OS package version change is included in



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

attribute :branch_release_id

#created_atString (readonly)

Returns the timestamp of when the player OS package version change was created.

Returns:

  • (String)

    the timestamp of when the player OS package version change was created



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

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.

Returns:

  • (String, nil)

    the number the player OS package version was before the change



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

attribute :from_number

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

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

Returns:



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

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?

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

Returns:

  • (Fixnum, nil)

    the ID of the number the player OS package version was before the change



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

attribute :from_version_id

#idFixnum (readonly)

Returns the (unique) ID of the player OS package version change.

Returns:

  • (Fixnum)

    the (unique) ID of the player OS package version change



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

attribute :id

#logString?

Returns the log of the player OS package version change (can be nil if #to_version is nil).

Returns:

  • (String, nil)

    the log of the player OS package version change (can be nil if #to_version is nil)



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

attribute :log

#packagePlayer::Os::Package

Returns the player OS package the version change is for.

Returns:



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

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

#package_idFixnum

Returns the ID the player OS package the version change is of.

Returns:

  • (Fixnum)

    the ID the player OS package the version change is of



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

attribute :package_id

#state"waiting", ...

Returns the processing state of the player OS version change.

Returns:

  • ("waiting", "processing", "done", "error")

    the processing state of the player OS version change



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

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.

Returns:

  • (String, nil)

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



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

attribute :to_number

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

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

Returns:



1506
1507
1508
# File 'lib/lws/apps/digital_signage.rb', line 1506

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?

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

Returns:

  • (Fixnum, nil)

    the ID of the version the player OS package was after the change



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

attribute :to_version_id

#updated_atString (readonly)

Returns the timestamp of when the player OS package version change was last updated.

Returns:

  • (String)

    the timestamp of when the player OS package version change was last updated



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

attribute :updated_at