Class: Pvectl::Models::SnapshotDescription::Entry
- Inherits:
-
Struct
- Object
- Struct
- Pvectl::Models::SnapshotDescription::Entry
- Defined in:
- lib/pvectl/models/snapshot_description.rb,
sig/pvectl/models/snapshot_description.rbs
Overview
Holds a single snapshot + its siblings for one VM/container.
Instance Attribute Summary collapse
-
#siblings ⇒ Object
Returns the value of attribute siblings.
-
#snapshot ⇒ Object
Returns the value of attribute snapshot.
Instance Method Summary collapse
-
#initialize ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize ⇒ Entry
8 |
# File 'sig/pvectl/models/snapshot_description.rbs', line 8 def initialize: (snapshot: Models::Snapshot, siblings: Array[Models::Snapshot]) -> void |
Instance Attribute Details
#siblings ⇒ Object
Returns the value of attribute siblings
21 22 23 |
# File 'lib/pvectl/models/snapshot_description.rb', line 21 def siblings @siblings end |
#snapshot ⇒ Object
Returns the value of attribute snapshot
21 22 23 |
# File 'lib/pvectl/models/snapshot_description.rb', line 21 def snapshot @snapshot end |