class OvirtSDK4::EngineBackupInfo

Public Class Methods

new(opts = {}) click to toggle source

Creates a new instance of the {EngineBackupInfo} class.

@param opts [Hash] A hash containing the attributes of the object. The keys of the hash

should be symbols corresponding to the names of the attributes. The values of the hash
should be the values of the attributes.

@option opts [DateTime] :last_cinder_backup The value of attribute `last_cinder_backup`.

@option opts [DateTime] :last_db_backup The value of attribute `last_db_backup`.

@option opts [DateTime] :last_dwh_backup The value of attribute `last_dwh_backup`.

@option opts [DateTime] :last_engine_backup The value of attribute `last_engine_backup`.

@option opts [DateTime] :last_grafana_backup The value of attribute `last_grafana_backup`.

@option opts [DateTime] :last_keycloak_backup The value of attribute `last_keycloak_backup`.

Calls superclass method OvirtSDK4::Struct::new
# 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

Public Instance Methods

==(other) click to toggle source

Returns `true` if `self` and `other` have the same attributes and values.

Calls superclass method OvirtSDK4::Struct#==
# 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() click to toggle source

Generates a hash value for this object.

Calls superclass method OvirtSDK4::Struct#hash
# 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() click to toggle source

Returns the value of the `last_cinder_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3509
def last_cinder_backup
  @last_cinder_backup
end
last_cinder_backup=(value) click to toggle source

Sets the value of the `last_cinder_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3518
def last_cinder_backup=(value)
  @last_cinder_backup = value
end
last_db_backup() click to toggle source

Returns the value of the `last_db_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3527
def last_db_backup
  @last_db_backup
end
last_db_backup=(value) click to toggle source

Sets the value of the `last_db_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3536
def last_db_backup=(value)
  @last_db_backup = value
end
last_dwh_backup() click to toggle source

Returns the value of the `last_dwh_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3545
def last_dwh_backup
  @last_dwh_backup
end
last_dwh_backup=(value) click to toggle source

Sets the value of the `last_dwh_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3554
def last_dwh_backup=(value)
  @last_dwh_backup = value
end
last_engine_backup() click to toggle source

Returns the value of the `last_engine_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3563
def last_engine_backup
  @last_engine_backup
end
last_engine_backup=(value) click to toggle source

Sets the value of the `last_engine_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3572
def last_engine_backup=(value)
  @last_engine_backup = value
end
last_grafana_backup() click to toggle source

Returns the value of the `last_grafana_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3581
def last_grafana_backup
  @last_grafana_backup
end
last_grafana_backup=(value) click to toggle source

Sets the value of the `last_grafana_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3590
def last_grafana_backup=(value)
  @last_grafana_backup = value
end
last_keycloak_backup() click to toggle source

Returns the value of the `last_keycloak_backup` attribute.

@return [DateTime]

# File lib/ovirtsdk4/types.rb, line 3599
def last_keycloak_backup
  @last_keycloak_backup
end
last_keycloak_backup=(value) click to toggle source

Sets the value of the `last_keycloak_backup` attribute.

@param value [DateTime]

# File lib/ovirtsdk4/types.rb, line 3608
def last_keycloak_backup=(value)
  @last_keycloak_backup = value
end