Class: OvirtSDK4::MigrationPolicy

Inherits:
Identified show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary collapse

Methods inherited from Identified

#==, #hash

Methods inherited from Struct

#==, #hash

Methods included from Type

#dig, #href, #href=

Constructor Details

#initialize(opts = {}) ⇒ MigrationPolicy

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

Options Hash (opts):

  • :comment (String)

    The value of attribute comment.

  • :description (String)

    The value of attribute description.

  • :id (String)

    The value of attribute id.

  • :name (String)

    The value of attribute name.



10469
10470
10471
# File 'lib/ovirtsdk4/types.rb', line 10469

def initialize(opts = {})
  super(opts)
end

Instance Method Details

#commentString

Returns the value of the comment attribute.



10386
10387
10388
# File 'lib/ovirtsdk4/types.rb', line 10386

def comment
  @comment
end

#comment=(value) ⇒ Object

Sets the value of the comment attribute.



10395
10396
10397
# File 'lib/ovirtsdk4/types.rb', line 10395

def comment=(value)
  @comment = value
end

#descriptionString

Returns the value of the description attribute.



10404
10405
10406
# File 'lib/ovirtsdk4/types.rb', line 10404

def description
  @description
end

#description=(value) ⇒ Object

Sets the value of the description attribute.



10413
10414
10415
# File 'lib/ovirtsdk4/types.rb', line 10413

def description=(value)
  @description = value
end

#idString

Returns the value of the id attribute.



10422
10423
10424
# File 'lib/ovirtsdk4/types.rb', line 10422

def id
  @id
end

#id=(value) ⇒ Object

Sets the value of the id attribute.



10431
10432
10433
# File 'lib/ovirtsdk4/types.rb', line 10431

def id=(value)
  @id = value
end

#nameString

Returns the value of the name attribute.



10440
10441
10442
# File 'lib/ovirtsdk4/types.rb', line 10440

def name
  @name
end

#name=(value) ⇒ Object

Sets the value of the name attribute.



10449
10450
10451
# File 'lib/ovirtsdk4/types.rb', line 10449

def name=(value)
  @name = value
end