Class: LWS::DigitalSignage::Player::Os::Branch::Release

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::Branch class.

The player OS branch release class

Instance Attribute Summary collapse

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

#branchPlayer::Os::Branch



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

belongs_to :branch, class_name: "LWS::DigitalSignage::Player::Os::Branch",
uri: "player/os/branches/:id"

#branch_idInteger



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

attribute :branch_id

#commit_dateString



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

attribute :commit_date

#commit_hashString



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

attribute :commit_hash

#commit_messageString



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

attribute :commit_message

#package_version_change_idsArray<Integer>



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

attribute :package_version_change_ids

#package_version_changesArray<Player::Os::Package::VersionChange>



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

has_many :package_version_changes, class_name: "LWS::DigitalSignage::Player::Os::Package::VersionChange",
uri: "player/os/branches/:branch_id/releases/:release_id/package_version_changes(/:id)"

#package_version_idsArray<Integer>



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

attribute :package_version_ids

#package_versionsArray<Player::Os::Package::Version>



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

has_many :package_versions, class_name: "LWS::DigitalSignage::Player::Os::Package::Version",
uri: "player/os/branches/:branch_id/releases/:release_id/package_versions(/:id)"

#parentPlayer::Os::Branch::Release?



1596
1597
1598
# File 'lib/lws/apps/digital_signage.rb', line 1596

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

#parent_idInteger?



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

attribute :parent_id


1607
1608
1609
# File 'lib/lws/apps/digital_signage.rb', line 1607

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


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

attribute :promoted_release_id

#promoting_release_idsArray<Integer>



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

attribute :promoting_release_ids

#promoting_releasesArray<Player::Os::Branch::Release>



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

has_many :promoting_releases, class_name: "LWS::DigitalSignage::Player::Os::Branch::Release"

#versionString



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

attribute :version