Class: OvirtSDK4::Sso
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Sso
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Sso) initialize(opts = {})
constructor
Creates a new instance of the Sso class.
-
- (Array<Method>) methods
Returns the value of the
methods
attribute. -
- (Object) methods=(list)
Sets the value of the
methods
attribute.
Methods included from Type
Constructor Details
- (Sso) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Sso class.
14507 14508 14509 14510 |
# File 'lib/ovirtsdk4/types.rb', line 14507 def initialize(opts = {}) super(opts) self.methods = opts[:methods] end |
Instance Method Details
- (Array<Method>) methods
Returns the value of the methods
attribute.
14477 14478 14479 |
# File 'lib/ovirtsdk4/types.rb', line 14477 def methods return @methods end |
- (Object) methods=(list)
Sets the value of the methods
attribute.
14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 |
# File 'lib/ovirtsdk4/types.rb', line 14485 def methods=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Method.new(value) end end end @methods = list end |