Class: OvirtSDK4::ExternalProvider
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::ExternalProvider
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Direct Known Subclasses
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. -
- (ExternalProvider) initialize(opts = {})
constructor
Creates a new instance of the ExternalProvider 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) 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
- (ExternalProvider) initialize(opts = {})
Creates a new instance of the OvirtSDK4::ExternalProvider class.
29465 29466 29467 29468 29469 29470 29471 29472 29473 29474 29475 29476 29477 |
# File 'lib/ovirtsdk4/types.rb', line 29465 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.url = opts[:url] self.username = opts[:username] end |
Instance Method Details
- (String) authentication_url
Returns the value of the authentication_url
attribute.
29255 29256 29257 |
# File 'lib/ovirtsdk4/types.rb', line 29255 def authentication_url return @authentication_url end |
- (Object) authentication_url=(value)
Sets the value of the authentication_url
attribute.
29264 29265 29266 |
# File 'lib/ovirtsdk4/types.rb', line 29264 def authentication_url=(value) @authentication_url = value end |
- (String) comment
Returns the value of the comment
attribute.
29273 29274 29275 |
# File 'lib/ovirtsdk4/types.rb', line 29273 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
29282 29283 29284 |
# File 'lib/ovirtsdk4/types.rb', line 29282 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
29291 29292 29293 |
# File 'lib/ovirtsdk4/types.rb', line 29291 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
29300 29301 29302 |
# File 'lib/ovirtsdk4/types.rb', line 29300 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
29309 29310 29311 |
# File 'lib/ovirtsdk4/types.rb', line 29309 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
29318 29319 29320 |
# File 'lib/ovirtsdk4/types.rb', line 29318 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
29327 29328 29329 |
# File 'lib/ovirtsdk4/types.rb', line 29327 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
29336 29337 29338 |
# File 'lib/ovirtsdk4/types.rb', line 29336 def name=(value) @name = value end |
- (String) password
Returns the value of the password
attribute.
29345 29346 29347 |
# File 'lib/ovirtsdk4/types.rb', line 29345 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
29354 29355 29356 |
# File 'lib/ovirtsdk4/types.rb', line 29354 def password=(value) @password = value end |
- (Array<Property>) properties
Returns the value of the properties
attribute.
29363 29364 29365 |
# File 'lib/ovirtsdk4/types.rb', line 29363 def properties return @properties end |
- (Object) properties=(list)
Sets the value of the properties
attribute.
29371 29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 |
# File 'lib/ovirtsdk4/types.rb', line 29371 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.
29388 29389 29390 |
# File 'lib/ovirtsdk4/types.rb', line 29388 def requires_authentication return @requires_authentication end |
- (Object) requires_authentication=(value)
Sets the value of the requires_authentication
attribute.
29397 29398 29399 |
# File 'lib/ovirtsdk4/types.rb', line 29397 def requires_authentication=(value) @requires_authentication = value end |
- (String) url
Returns the value of the url
attribute.
29406 29407 29408 |
# File 'lib/ovirtsdk4/types.rb', line 29406 def url return @url end |
- (Object) url=(value)
Sets the value of the url
attribute.
29415 29416 29417 |
# File 'lib/ovirtsdk4/types.rb', line 29415 def url=(value) @url = value end |
- (String) username
Returns the value of the username
attribute.
29424 29425 29426 |
# File 'lib/ovirtsdk4/types.rb', line 29424 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
29433 29434 29435 |
# File 'lib/ovirtsdk4/types.rb', line 29433 def username=(value) @username = value end |