Class: OvirtSDK4::ExternalHostGroup
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::ExternalHostGroup
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) architecture_name
Returns the value of the
architecture_name
attribute. -
- (Object) architecture_name=(value)
Sets the value of the
architecture_name
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. -
- (String) domain_name
Returns the value of the
domain_name
attribute. -
- (Object) domain_name=(value)
Sets the value of the
domain_name
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. -
- (ExternalHostGroup) initialize(opts = {})
constructor
Creates a new instance of the ExternalHostGroup class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) operating_system_name
Returns the value of the
operating_system_name
attribute. -
- (Object) operating_system_name=(value)
Sets the value of the
operating_system_name
attribute. -
- (String) subnet_name
Returns the value of the
subnet_name
attribute. -
- (Object) subnet_name=(value)
Sets the value of the
subnet_name
attribute.
Methods included from Type
Constructor Details
- (ExternalHostGroup) initialize(opts = {})
Creates a new instance of the OvirtSDK4::ExternalHostGroup class.
29233 29234 29235 29236 29237 29238 29239 29240 29241 29242 29243 29244 |
# File 'lib/ovirtsdk4/types.rb', line 29233 def initialize(opts = {}) super(opts) self.architecture_name = opts[:architecture_name] self.comment = opts[:comment] self.description = opts[:description] self.domain_name = opts[:domain_name] self.external_host_provider = opts[:external_host_provider] self.id = opts[:id] self.name = opts[:name] self. = opts[:operating_system_name] self.subnet_name = opts[:subnet_name] end |
Instance Method Details
- (String) architecture_name
Returns the value of the architecture_name
attribute.
29043 29044 29045 |
# File 'lib/ovirtsdk4/types.rb', line 29043 def architecture_name return @architecture_name end |
- (Object) architecture_name=(value)
Sets the value of the architecture_name
attribute.
29052 29053 29054 |
# File 'lib/ovirtsdk4/types.rb', line 29052 def architecture_name=(value) @architecture_name = value end |
- (String) comment
Returns the value of the comment
attribute.
29061 29062 29063 |
# File 'lib/ovirtsdk4/types.rb', line 29061 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
29070 29071 29072 |
# File 'lib/ovirtsdk4/types.rb', line 29070 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
29079 29080 29081 |
# File 'lib/ovirtsdk4/types.rb', line 29079 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
29088 29089 29090 |
# File 'lib/ovirtsdk4/types.rb', line 29088 def description=(value) @description = value end |
- (String) domain_name
Returns the value of the domain_name
attribute.
29097 29098 29099 |
# File 'lib/ovirtsdk4/types.rb', line 29097 def domain_name return @domain_name end |
- (Object) domain_name=(value)
Sets the value of the domain_name
attribute.
29106 29107 29108 |
# File 'lib/ovirtsdk4/types.rb', line 29106 def domain_name=(value) @domain_name = value end |
- (ExternalHostProvider) external_host_provider
Returns the value of the external_host_provider
attribute.
29115 29116 29117 |
# File 'lib/ovirtsdk4/types.rb', line 29115 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.
29128 29129 29130 29131 29132 29133 |
# File 'lib/ovirtsdk4/types.rb', line 29128 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.
29140 29141 29142 |
# File 'lib/ovirtsdk4/types.rb', line 29140 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
29149 29150 29151 |
# File 'lib/ovirtsdk4/types.rb', line 29149 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
29158 29159 29160 |
# File 'lib/ovirtsdk4/types.rb', line 29158 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
29167 29168 29169 |
# File 'lib/ovirtsdk4/types.rb', line 29167 def name=(value) @name = value end |
- (String) operating_system_name
Returns the value of the operating_system_name
attribute.
29176 29177 29178 |
# File 'lib/ovirtsdk4/types.rb', line 29176 def return @operating_system_name end |
- (Object) operating_system_name=(value)
Sets the value of the operating_system_name
attribute.
29185 29186 29187 |
# File 'lib/ovirtsdk4/types.rb', line 29185 def (value) @operating_system_name = value end |
- (String) subnet_name
Returns the value of the subnet_name
attribute.
29194 29195 29196 |
# File 'lib/ovirtsdk4/types.rb', line 29194 def subnet_name return @subnet_name end |
- (Object) subnet_name=(value)
Sets the value of the subnet_name
attribute.
29203 29204 29205 |
# File 'lib/ovirtsdk4/types.rb', line 29203 def subnet_name=(value) @subnet_name = value end |