Class: OvirtSDK4::ReportedConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (ReportedConfiguration) initialize(opts = {})

Creates a new instance of the OvirtSDK4::ReportedConfiguration class.

Parameters:

  • opts (Hash) (defaults to: {})

    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.

Options Hash (opts):

  • :actual_value (String)

    The value of attribute actual_value.

  • :expected_value (String)

    The value of attribute expected_value.

  • :in_sync (Boolean)

    The value of attribute in_sync.

  • :name (String)

    The value of attribute name.



12661
12662
12663
12664
12665
12666
12667
# File 'lib/ovirtsdk4/types.rb', line 12661

def initialize(opts = {})
  super(opts)
  self.actual_value = opts[:actual_value]
  self.expected_value = opts[:expected_value]
  self.in_sync = opts[:in_sync]
  self.name = opts[:name]
end

Instance Method Details

- (String) actual_value

Returns the value of the actual_value attribute.

Returns:

  • (String)


12578
12579
12580
# File 'lib/ovirtsdk4/types.rb', line 12578

def actual_value
  return @actual_value
end

- (Object) actual_value=(value)

Sets the value of the actual_value attribute.

Parameters:

  • value (String)


12587
12588
12589
# File 'lib/ovirtsdk4/types.rb', line 12587

def actual_value=(value)
  @actual_value = value
end

- (String) expected_value

Returns the value of the expected_value attribute.

Returns:

  • (String)


12596
12597
12598
# File 'lib/ovirtsdk4/types.rb', line 12596

def expected_value
  return @expected_value
end

- (Object) expected_value=(value)

Sets the value of the expected_value attribute.

Parameters:

  • value (String)


12605
12606
12607
# File 'lib/ovirtsdk4/types.rb', line 12605

def expected_value=(value)
  @expected_value = value
end

- (Boolean) in_sync

Returns the value of the in_sync attribute.

Returns:

  • (Boolean)


12614
12615
12616
# File 'lib/ovirtsdk4/types.rb', line 12614

def in_sync
  return @in_sync
end

- (Object) in_sync=(value)

Sets the value of the in_sync attribute.

Parameters:

  • value (Boolean)


12623
12624
12625
# File 'lib/ovirtsdk4/types.rb', line 12623

def in_sync=(value)
  @in_sync = value
end

- (String) name

Returns the value of the name attribute.

Returns:

  • (String)


12632
12633
12634
# File 'lib/ovirtsdk4/types.rb', line 12632

def name
  return @name
end

- (Object) name=(value)

Sets the value of the name attribute.

Parameters:

  • value (String)


12641
12642
12643
# File 'lib/ovirtsdk4/types.rb', line 12641

def name=(value)
  @name = value
end