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:



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

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



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

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



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

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



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

attribute :from_number

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

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

Returns:



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?

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



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

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



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

attribute :id

#logString

Returns the log of the player OS package version change.

Returns:

  • (String)

    the log of the player OS package version change



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

attribute :log

#packagePlayer::Os::Package

Returns the player OS package the version change is for.

Returns:



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

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



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

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



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

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



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

attribute :to_number

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

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

Returns:



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

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



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

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



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

attribute :updated_at