Class: OvirtSDK4::Range
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Range
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) from
Returns the value of the
from
attribute. -
- (Object) from=(value)
Sets the value of the
from
attribute. -
- (Range) initialize(opts = {})
constructor
Creates a new instance of the Range class.
-
- (String) to
Returns the value of the
to
attribute. -
- (Object) to=(value)
Sets the value of the
to
attribute.
Methods included from Type
Constructor Details
- (Range) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Range class.
12505 12506 12507 12508 12509 |
# File 'lib/ovirtsdk4/types.rb', line 12505 def initialize(opts = {}) super(opts) self.from = opts[:from] self.to = opts[:to] end |
Instance Method Details
- (String) from
Returns the value of the from
attribute.
12462 12463 12464 |
# File 'lib/ovirtsdk4/types.rb', line 12462 def from return @from end |
- (Object) from=(value)
Sets the value of the from
attribute.
12471 12472 12473 |
# File 'lib/ovirtsdk4/types.rb', line 12471 def from=(value) @from = value end |
- (String) to
Returns the value of the to
attribute.
12480 12481 12482 |
# File 'lib/ovirtsdk4/types.rb', line 12480 def to return @to end |
- (Object) to=(value)
Sets the value of the to
attribute.
12489 12490 12491 |
# File 'lib/ovirtsdk4/types.rb', line 12489 def to=(value) @to = value end |