Class: OvirtSDK4::MigrationPolicy
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::MigrationPolicy
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (MigrationPolicy) initialize(opts = {})
constructor
Creates a new instance of the MigrationPolicy class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute.
Methods included from Type
Constructor Details
- (MigrationPolicy) initialize(opts = {})
Creates a new instance of the OvirtSDK4::MigrationPolicy class.
6802 6803 6804 6805 6806 6807 6808 |
# File 'lib/ovirtsdk4/types.rb', line 6802 def initialize(opts = {}) super(opts) self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] end |
Instance Method Details
- (String) comment
Returns the value of the comment
attribute.
6719 6720 6721 |
# File 'lib/ovirtsdk4/types.rb', line 6719 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
6728 6729 6730 |
# File 'lib/ovirtsdk4/types.rb', line 6728 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
6737 6738 6739 |
# File 'lib/ovirtsdk4/types.rb', line 6737 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
6746 6747 6748 |
# File 'lib/ovirtsdk4/types.rb', line 6746 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
6755 6756 6757 |
# File 'lib/ovirtsdk4/types.rb', line 6755 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
6764 6765 6766 |
# File 'lib/ovirtsdk4/types.rb', line 6764 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
6773 6774 6775 |
# File 'lib/ovirtsdk4/types.rb', line 6773 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
6782 6783 6784 |
# File 'lib/ovirtsdk4/types.rb', line 6782 def name=(value) @name = value end |