Class: Zm::Client::Backup
- Inherits:
-
Zm::Client::Base::Object
- Object
- Zm::Client::Base::Object
- Zm::Client::Backup
- Defined in:
- lib/zm/client/backup/backup.rb
Instance Attribute Summary collapse
-
#aborted ⇒ Object
Returns the value of attribute aborted.
-
#accounts ⇒ Object
Returns the value of attribute accounts.
-
#end ⇒ Object
Returns the value of attribute end.
-
#label ⇒ Object
(also: #name)
Returns the value of attribute label.
-
#live ⇒ Object
Returns the value of attribute live.
-
#maxRedoSeq ⇒ Object
Returns the value of attribute maxRedoSeq.
-
#minRedoSeq ⇒ Object
Returns the value of attribute minRedoSeq.
-
#start ⇒ Object
Returns the value of attribute start.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Zm::Client::Base::Object
Instance Method Summary collapse
Methods inherited from Zm::Client::Base::Object
#clone, #initialize, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Constructor Details
This class inherits a constructor from Zm::Client::Base::Object
Instance Attribute Details
#aborted ⇒ Object
Returns the value of attribute aborted.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def aborted @aborted end |
#accounts ⇒ Object
Returns the value of attribute accounts.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def accounts @accounts end |
#end ⇒ Object
Returns the value of attribute end.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def end @end end |
#label ⇒ Object Also known as: name
Returns the value of attribute label.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def label @label end |
#live ⇒ Object
Returns the value of attribute live.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def live @live end |
#maxRedoSeq ⇒ Object
Returns the value of attribute maxRedoSeq.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def maxRedoSeq @maxRedoSeq end |
#minRedoSeq ⇒ Object
Returns the value of attribute minRedoSeq.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def minRedoSeq @minRedoSeq end |
#start ⇒ Object
Returns the value of attribute start.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def start @start end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/zm/client/backup/backup.rb', line 6 def type @type end |
Instance Method Details
#end_at ⇒ Object
20 21 22 23 24 |
# File 'lib/zm/client/backup/backup.rb', line 20 def end_at @end_at ||= Time.at(@end / 1000) rescue StandardError nil end |
#full? ⇒ Boolean
26 27 28 |
# File 'lib/zm/client/backup/backup.rb', line 26 def full? @type == Zm::Client::BackupTypes::FULL end |
#incremental? ⇒ Boolean
30 31 32 |
# File 'lib/zm/client/backup/backup.rb', line 30 def incremental? @type == Zm::Client::BackupTypes::INCREMENTAL end |
#server ⇒ Object
10 11 12 |
# File 'lib/zm/client/backup/backup.rb', line 10 def server parent end |
#start_at ⇒ Object
14 15 16 17 18 |
# File 'lib/zm/client/backup/backup.rb', line 14 def start_at @start_at ||= Time.at(@start / 1000) rescue StandardError nil end |