Class: OvirtSDK4::ExternalHost
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::ExternalHost
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) address
Returns the value of the
address
attribute. -
- (Object) address=(value)
Sets the value of the
address
attribute. -
- (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. -
- (ExternalHostProvider) external_host_provider
Returns the value of the
external_host_provider
attribute. -
- (Object) external_host_provider=(value)
Sets the value of the
external_host_provider
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (ExternalHost) initialize(opts = {})
constructor
Creates a new instance of the ExternalHost 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
- (ExternalHost) initialize(opts = {})
Creates a new instance of the OvirtSDK4::ExternalHost class.
29024 29025 29026 29027 29028 29029 29030 29031 29032 |
# File 'lib/ovirtsdk4/types.rb', line 29024 def initialize(opts = {}) super(opts) self.address = opts[:address] self.comment = opts[:comment] self.description = opts[:description] self.external_host_provider = opts[:external_host_provider] self.id = opts[:id] self.name = opts[:name] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
28894 28895 28896 |
# File 'lib/ovirtsdk4/types.rb', line 28894 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
28903 28904 28905 |
# File 'lib/ovirtsdk4/types.rb', line 28903 def address=(value) @address = value end |
- (String) comment
Returns the value of the comment
attribute.
28912 28913 28914 |
# File 'lib/ovirtsdk4/types.rb', line 28912 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
28921 28922 28923 |
# File 'lib/ovirtsdk4/types.rb', line 28921 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
28930 28931 28932 |
# File 'lib/ovirtsdk4/types.rb', line 28930 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
28939 28940 28941 |
# File 'lib/ovirtsdk4/types.rb', line 28939 def description=(value) @description = value end |
- (ExternalHostProvider) external_host_provider
Returns the value of the external_host_provider
attribute.
28948 28949 28950 |
# File 'lib/ovirtsdk4/types.rb', line 28948 def external_host_provider return @external_host_provider end |
- (Object) external_host_provider=(value)
Sets the value of the external_host_provider
attribute.
The value
parameter can be an instance of OvirtSDK4::ExternalHostProvider or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
28961 28962 28963 28964 28965 28966 |
# File 'lib/ovirtsdk4/types.rb', line 28961 def external_host_provider=(value) if value.is_a?(Hash) value = ExternalHostProvider.new(value) end @external_host_provider = value end |
- (String) id
Returns the value of the id
attribute.
28973 28974 28975 |
# File 'lib/ovirtsdk4/types.rb', line 28973 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
28982 28983 28984 |
# File 'lib/ovirtsdk4/types.rb', line 28982 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
28991 28992 28993 |
# File 'lib/ovirtsdk4/types.rb', line 28991 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
29000 29001 29002 |
# File 'lib/ovirtsdk4/types.rb', line 29000 def name=(value) @name = value end |