Class: OvirtSDK4::Core
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Core
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) index
Returns the value of the
index
attribute. -
- (Object) index=(value)
Sets the value of the
index
attribute. -
- (Core) initialize(opts = {})
constructor
Creates a new instance of the Core class.
-
- (Integer) socket
Returns the value of the
socket
attribute. -
- (Object) socket=(value)
Sets the value of the
socket
attribute.
Methods included from Type
Constructor Details
- (Core) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Core class.
1618 1619 1620 1621 1622 |
# File 'lib/ovirtsdk4/types.rb', line 1618 def initialize(opts = {}) super(opts) self.index = opts[:index] self.socket = opts[:socket] end |
Instance Method Details
- (Integer) index
Returns the value of the index
attribute.
1575 1576 1577 |
# File 'lib/ovirtsdk4/types.rb', line 1575 def index return @index end |
- (Object) index=(value)
Sets the value of the index
attribute.
1584 1585 1586 |
# File 'lib/ovirtsdk4/types.rb', line 1584 def index=(value) @index = value end |
- (Integer) socket
Returns the value of the socket
attribute.
1593 1594 1595 |
# File 'lib/ovirtsdk4/types.rb', line 1593 def socket return @socket end |
- (Object) socket=(value)
Sets the value of the socket
attribute.
1602 1603 1604 |
# File 'lib/ovirtsdk4/types.rb', line 1602 def socket=(value) @socket = value end |