Class: OvirtSDK4::EngineBackupInfo
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
trueifselfandotherhave the same attributes and values. -
#hash ⇒ Object
Generates a hash value for this object.
-
#initialize(opts = {}) ⇒ EngineBackupInfo
constructor
Creates a new instance of the EngineBackupInfo class.
-
#last_cinder_backup ⇒ DateTime
Returns the value of the
last_cinder_backupattribute. -
#last_cinder_backup=(value) ⇒ Object
Sets the value of the
last_cinder_backupattribute. -
#last_db_backup ⇒ DateTime
Returns the value of the
last_db_backupattribute. -
#last_db_backup=(value) ⇒ Object
Sets the value of the
last_db_backupattribute. -
#last_dwh_backup ⇒ DateTime
Returns the value of the
last_dwh_backupattribute. -
#last_dwh_backup=(value) ⇒ Object
Sets the value of the
last_dwh_backupattribute. -
#last_engine_backup ⇒ DateTime
Returns the value of the
last_engine_backupattribute. -
#last_engine_backup=(value) ⇒ Object
Sets the value of the
last_engine_backupattribute. -
#last_grafana_backup ⇒ DateTime
Returns the value of the
last_grafana_backupattribute. -
#last_grafana_backup=(value) ⇒ Object
Sets the value of the
last_grafana_backupattribute. -
#last_keycloak_backup ⇒ DateTime
Returns the value of the
last_keycloak_backupattribute. -
#last_keycloak_backup=(value) ⇒ Object
Sets the value of the
last_keycloak_backupattribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ EngineBackupInfo
Creates a new instance of the OvirtSDK4::EngineBackupInfo class.
3632 3633 3634 3635 3636 3637 3638 3639 3640 |
# File 'lib/ovirtsdk4/types.rb', line 3632 def initialize(opts = {}) super(opts) self.last_cinder_backup = opts[:last_cinder_backup] self.last_db_backup = opts[:last_db_backup] self.last_dwh_backup = opts[:last_dwh_backup] self.last_engine_backup = opts[:last_engine_backup] self.last_grafana_backup = opts[:last_grafana_backup] self.last_keycloak_backup = opts[:last_keycloak_backup] end |
Instance Method Details
#==(other) ⇒ Object
Returns true if self and other have the same attributes and values.
3645 3646 3647 3648 3649 3650 3651 3652 3653 |
# File 'lib/ovirtsdk4/types.rb', line 3645 def ==(other) super && @last_cinder_backup == other.last_cinder_backup && @last_db_backup == other.last_db_backup && @last_dwh_backup == other.last_dwh_backup && @last_engine_backup == other.last_engine_backup && @last_grafana_backup == other.last_grafana_backup && @last_keycloak_backup == other.last_keycloak_backup end |
#hash ⇒ Object
Generates a hash value for this object.
3658 3659 3660 3661 3662 3663 3664 3665 3666 |
# File 'lib/ovirtsdk4/types.rb', line 3658 def hash super + @last_cinder_backup.hash + @last_db_backup.hash + @last_dwh_backup.hash + @last_engine_backup.hash + @last_grafana_backup.hash + @last_keycloak_backup.hash end |
#last_cinder_backup ⇒ DateTime
Returns the value of the last_cinder_backup attribute.
3509 3510 3511 |
# File 'lib/ovirtsdk4/types.rb', line 3509 def last_cinder_backup @last_cinder_backup end |
#last_cinder_backup=(value) ⇒ Object
Sets the value of the last_cinder_backup attribute.
3518 3519 3520 |
# File 'lib/ovirtsdk4/types.rb', line 3518 def last_cinder_backup=(value) @last_cinder_backup = value end |
#last_db_backup ⇒ DateTime
Returns the value of the last_db_backup attribute.
3527 3528 3529 |
# File 'lib/ovirtsdk4/types.rb', line 3527 def last_db_backup @last_db_backup end |
#last_db_backup=(value) ⇒ Object
Sets the value of the last_db_backup attribute.
3536 3537 3538 |
# File 'lib/ovirtsdk4/types.rb', line 3536 def last_db_backup=(value) @last_db_backup = value end |
#last_dwh_backup ⇒ DateTime
Returns the value of the last_dwh_backup attribute.
3545 3546 3547 |
# File 'lib/ovirtsdk4/types.rb', line 3545 def last_dwh_backup @last_dwh_backup end |
#last_dwh_backup=(value) ⇒ Object
Sets the value of the last_dwh_backup attribute.
3554 3555 3556 |
# File 'lib/ovirtsdk4/types.rb', line 3554 def last_dwh_backup=(value) @last_dwh_backup = value end |
#last_engine_backup ⇒ DateTime
Returns the value of the last_engine_backup attribute.
3563 3564 3565 |
# File 'lib/ovirtsdk4/types.rb', line 3563 def last_engine_backup @last_engine_backup end |
#last_engine_backup=(value) ⇒ Object
Sets the value of the last_engine_backup attribute.
3572 3573 3574 |
# File 'lib/ovirtsdk4/types.rb', line 3572 def last_engine_backup=(value) @last_engine_backup = value end |
#last_grafana_backup ⇒ DateTime
Returns the value of the last_grafana_backup attribute.
3581 3582 3583 |
# File 'lib/ovirtsdk4/types.rb', line 3581 def last_grafana_backup @last_grafana_backup end |
#last_grafana_backup=(value) ⇒ Object
Sets the value of the last_grafana_backup attribute.
3590 3591 3592 |
# File 'lib/ovirtsdk4/types.rb', line 3590 def last_grafana_backup=(value) @last_grafana_backup = value end |
#last_keycloak_backup ⇒ DateTime
Returns the value of the last_keycloak_backup attribute.
3599 3600 3601 |
# File 'lib/ovirtsdk4/types.rb', line 3599 def last_keycloak_backup @last_keycloak_backup end |
#last_keycloak_backup=(value) ⇒ Object
Sets the value of the last_keycloak_backup attribute.
3608 3609 3610 |
# File 'lib/ovirtsdk4/types.rb', line 3608 def last_keycloak_backup=(value) @last_keycloak_backup = value end |