Creates a new instance of the {AgentConfiguration} class.
@param opts [Hash] A hash containing the attributes of the object. The keys of the hash
should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.
@option opts [String] :address The value of attribute `address`.
@option opts [MessageBrokerType] :broker_type The value of attribute `broker_type`.
@option opts [String] :network_mappings The value of attribute `network_mappings`.
@option opts [String] :password The value of attribute `password`.
@option opts [Integer] :port The value of attribute `port`.
@option opts [String] :username The value of attribute `username`.
# File lib/ovirtsdk4/types.rb, line 726 def initialize(opts = {}) super(opts) self.address = opts[:address] self.broker_type = opts[:broker_type] self.network_mappings = opts[:network_mappings] self.password = opts[:password] self.port = opts[:port] self.username = opts[:username] end
Returns the value of the `address` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 603 def address return @address end
Sets the value of the `address` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 612 def address=(value) @address = value end
Returns the value of the `broker_type` attribute.
@return [MessageBrokerType]
# File lib/ovirtsdk4/types.rb, line 621 def broker_type return @broker_type end
Sets the value of the `broker_type` attribute.
@param value [MessageBrokerType]
# File lib/ovirtsdk4/types.rb, line 630 def broker_type=(value) @broker_type = value end
Returns the value of the `network_mappings` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 639 def network_mappings return @network_mappings end
Sets the value of the `network_mappings` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 648 def network_mappings=(value) @network_mappings = value end
Returns the value of the `password` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 657 def password return @password end
Sets the value of the `password` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 666 def password=(value) @password = value end
Returns the value of the `port` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 675 def port return @port end
Sets the value of the `port` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 684 def port=(value) @port = value end
Returns the value of the `username` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 693 def username return @username end
Sets the value of the `username` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 702 def username=(value) @username = value end