Class: OvirtSDK4::OpenStackProvider
- Inherits:
-
ExternalProvider
- Object
- Struct
- Identified
- ExternalProvider
- OvirtSDK4::OpenStackProvider
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Direct Known Subclasses
OpenStackImageProvider, OpenStackNetworkProvider, OpenStackVolumeProvider
Instance Method Summary (collapse)
-
- (String) authentication_url
Returns the value of the
authentication_url
attribute. -
- (Object) authentication_url=(value)
Sets the value of the
authentication_url
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) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (OpenStackProvider) initialize(opts = {})
constructor
Creates a new instance of the OpenStackProvider class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) password
Returns the value of the
password
attribute. -
- (Object) password=(value)
Sets the value of the
password
attribute. -
- (Array<Property>) properties
Returns the value of the
properties
attribute. -
- (Object) properties=(list)
Sets the value of the
properties
attribute. -
- (Boolean) requires_authentication
Returns the value of the
requires_authentication
attribute. -
- (Object) requires_authentication=(value)
Sets the value of the
requires_authentication
attribute. -
- (String) tenant_name
Returns the value of the
tenant_name
attribute. -
- (Object) tenant_name=(value)
Sets the value of the
tenant_name
attribute. -
- (String) url
Returns the value of the
url
attribute. -
- (Object) url=(value)
Sets the value of the
url
attribute. -
- (String) username
Returns the value of the
username
attribute. -
- (Object) username=(value)
Sets the value of the
username
attribute.
Methods included from Type
Constructor Details
- (OpenStackProvider) initialize(opts = {})
Creates a new instance of the OvirtSDK4::OpenStackProvider class.
36193 36194 36195 36196 36197 36198 36199 36200 36201 36202 36203 36204 36205 36206 |
# File 'lib/ovirtsdk4/types.rb', line 36193 def initialize(opts = {}) super(opts) self.authentication_url = opts[:authentication_url] self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] self.password = opts[:password] self.properties = opts[:properties] self.requires_authentication = opts[:requires_authentication] self.tenant_name = opts[:tenant_name] self.url = opts[:url] self.username = opts[:username] end |
Instance Method Details
- (String) authentication_url
Returns the value of the authentication_url
attribute.
35963 35964 35965 |
# File 'lib/ovirtsdk4/types.rb', line 35963 def authentication_url return @authentication_url end |
- (Object) authentication_url=(value)
Sets the value of the authentication_url
attribute.
35972 35973 35974 |
# File 'lib/ovirtsdk4/types.rb', line 35972 def authentication_url=(value) @authentication_url = value end |
- (String) comment
Returns the value of the comment
attribute.
35981 35982 35983 |
# File 'lib/ovirtsdk4/types.rb', line 35981 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
35990 35991 35992 |
# File 'lib/ovirtsdk4/types.rb', line 35990 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
35999 36000 36001 |
# File 'lib/ovirtsdk4/types.rb', line 35999 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
36008 36009 36010 |
# File 'lib/ovirtsdk4/types.rb', line 36008 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
36017 36018 36019 |
# File 'lib/ovirtsdk4/types.rb', line 36017 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
36026 36027 36028 |
# File 'lib/ovirtsdk4/types.rb', line 36026 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
36035 36036 36037 |
# File 'lib/ovirtsdk4/types.rb', line 36035 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
36044 36045 36046 |
# File 'lib/ovirtsdk4/types.rb', line 36044 def name=(value) @name = value end |
- (String) password
Returns the value of the password
attribute.
36053 36054 36055 |
# File 'lib/ovirtsdk4/types.rb', line 36053 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
36062 36063 36064 |
# File 'lib/ovirtsdk4/types.rb', line 36062 def password=(value) @password = value end |
- (Array<Property>) properties
Returns the value of the properties
attribute.
36071 36072 36073 |
# File 'lib/ovirtsdk4/types.rb', line 36071 def properties return @properties end |
- (Object) properties=(list)
Sets the value of the properties
attribute.
36079 36080 36081 36082 36083 36084 36085 36086 36087 36088 36089 |
# File 'lib/ovirtsdk4/types.rb', line 36079 def properties=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Property.new(value) end end end @properties = list end |
- (Boolean) requires_authentication
Returns the value of the requires_authentication
attribute.
36096 36097 36098 |
# File 'lib/ovirtsdk4/types.rb', line 36096 def requires_authentication return @requires_authentication end |
- (Object) requires_authentication=(value)
Sets the value of the requires_authentication
attribute.
36105 36106 36107 |
# File 'lib/ovirtsdk4/types.rb', line 36105 def requires_authentication=(value) @requires_authentication = value end |
- (String) tenant_name
Returns the value of the tenant_name
attribute.
36114 36115 36116 |
# File 'lib/ovirtsdk4/types.rb', line 36114 def tenant_name return @tenant_name end |
- (Object) tenant_name=(value)
Sets the value of the tenant_name
attribute.
36123 36124 36125 |
# File 'lib/ovirtsdk4/types.rb', line 36123 def tenant_name=(value) @tenant_name = value end |
- (String) url
Returns the value of the url
attribute.
36132 36133 36134 |
# File 'lib/ovirtsdk4/types.rb', line 36132 def url return @url end |
- (Object) url=(value)
Sets the value of the url
attribute.
36141 36142 36143 |
# File 'lib/ovirtsdk4/types.rb', line 36141 def url=(value) @url = value end |
- (String) username
Returns the value of the username
attribute.
36150 36151 36152 |
# File 'lib/ovirtsdk4/types.rb', line 36150 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
36159 36160 36161 |
# File 'lib/ovirtsdk4/types.rb', line 36159 def username=(value) @username = value end |