Class: OvirtSDK4::OpenStackImageProvider
- Inherits:
-
OpenStackProvider
- Object
- Struct
- Identified
- ExternalProvider
- OpenStackProvider
- OvirtSDK4::OpenStackImageProvider
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
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. -
- (Array<Certificate>) certificates
Returns the value of the
certificates
attribute. -
- (Object) certificates=(list)
Sets the value of the
certificates
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. -
- (Array<OpenStackImage>) images
Returns the value of the
images
attribute. -
- (Object) images=(list)
Sets the value of the
images
attribute. -
- (OpenStackImageProvider) initialize(opts = {})
constructor
Creates a new instance of the OpenStackImageProvider 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
- (OpenStackImageProvider) initialize(opts = {})
Creates a new instance of the OvirtSDK4::OpenStackImageProvider class.
42901 42902 42903 42904 42905 42906 42907 42908 42909 42910 42911 42912 42913 42914 42915 42916 |
# File 'lib/ovirtsdk4/types.rb', line 42901 def initialize(opts = {}) super(opts) self.authentication_url = opts[:authentication_url] self.certificates = opts[:certificates] self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.images = opts[:images] 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.
42617 42618 42619 |
# File 'lib/ovirtsdk4/types.rb', line 42617 def authentication_url return @authentication_url end |
- (Object) authentication_url=(value)
Sets the value of the authentication_url
attribute.
42626 42627 42628 |
# File 'lib/ovirtsdk4/types.rb', line 42626 def authentication_url=(value) @authentication_url = value end |
- (Array<Certificate>) certificates
Returns the value of the certificates
attribute.
42635 42636 42637 |
# File 'lib/ovirtsdk4/types.rb', line 42635 def certificates return @certificates end |
- (Object) certificates=(list)
Sets the value of the certificates
attribute.
42643 42644 42645 42646 42647 42648 42649 42650 42651 42652 42653 |
# File 'lib/ovirtsdk4/types.rb', line 42643 def certificates=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Certificate.new(value) end end end @certificates = list end |
- (String) comment
Returns the value of the comment
attribute.
42660 42661 42662 |
# File 'lib/ovirtsdk4/types.rb', line 42660 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
42669 42670 42671 |
# File 'lib/ovirtsdk4/types.rb', line 42669 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
42678 42679 42680 |
# File 'lib/ovirtsdk4/types.rb', line 42678 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
42687 42688 42689 |
# File 'lib/ovirtsdk4/types.rb', line 42687 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
42696 42697 42698 |
# File 'lib/ovirtsdk4/types.rb', line 42696 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
42705 42706 42707 |
# File 'lib/ovirtsdk4/types.rb', line 42705 def id=(value) @id = value end |
- (Array<OpenStackImage>) images
Returns the value of the images
attribute.
42714 42715 42716 |
# File 'lib/ovirtsdk4/types.rb', line 42714 def images return @images end |
- (Object) images=(list)
Sets the value of the images
attribute.
42722 42723 42724 42725 42726 42727 42728 42729 42730 42731 42732 |
# File 'lib/ovirtsdk4/types.rb', line 42722 def images=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = OpenStackImage.new(value) end end end @images = list end |
- (String) name
Returns the value of the name
attribute.
42739 42740 42741 |
# File 'lib/ovirtsdk4/types.rb', line 42739 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
42748 42749 42750 |
# File 'lib/ovirtsdk4/types.rb', line 42748 def name=(value) @name = value end |
- (String) password
Returns the value of the password
attribute.
42757 42758 42759 |
# File 'lib/ovirtsdk4/types.rb', line 42757 def password return @password end |
- (Object) password=(value)
Sets the value of the password
attribute.
42766 42767 42768 |
# File 'lib/ovirtsdk4/types.rb', line 42766 def password=(value) @password = value end |
- (Array<Property>) properties
Returns the value of the properties
attribute.
42775 42776 42777 |
# File 'lib/ovirtsdk4/types.rb', line 42775 def properties return @properties end |
- (Object) properties=(list)
Sets the value of the properties
attribute.
42783 42784 42785 42786 42787 42788 42789 42790 42791 42792 42793 |
# File 'lib/ovirtsdk4/types.rb', line 42783 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.
42800 42801 42802 |
# File 'lib/ovirtsdk4/types.rb', line 42800 def requires_authentication return @requires_authentication end |
- (Object) requires_authentication=(value)
Sets the value of the requires_authentication
attribute.
42809 42810 42811 |
# File 'lib/ovirtsdk4/types.rb', line 42809 def requires_authentication=(value) @requires_authentication = value end |
- (String) tenant_name
Returns the value of the tenant_name
attribute.
42818 42819 42820 |
# File 'lib/ovirtsdk4/types.rb', line 42818 def tenant_name return @tenant_name end |
- (Object) tenant_name=(value)
Sets the value of the tenant_name
attribute.
42827 42828 42829 |
# File 'lib/ovirtsdk4/types.rb', line 42827 def tenant_name=(value) @tenant_name = value end |
- (String) url
Returns the value of the url
attribute.
42836 42837 42838 |
# File 'lib/ovirtsdk4/types.rb', line 42836 def url return @url end |
- (Object) url=(value)
Sets the value of the url
attribute.
42845 42846 42847 |
# File 'lib/ovirtsdk4/types.rb', line 42845 def url=(value) @url = value end |
- (String) username
Returns the value of the username
attribute.
42854 42855 42856 |
# File 'lib/ovirtsdk4/types.rb', line 42854 def username return @username end |
- (Object) username=(value)
Sets the value of the username
attribute.
42863 42864 42865 |
# File 'lib/ovirtsdk4/types.rb', line 42863 def username=(value) @username = value end |