Class: OvirtSDK4::AgentConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Overview

These forward declarations are required in order to avoid circular dependencies.

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (AgentConfiguration) initialize(opts = {})

Creates a new instance of the OvirtSDK4::AgentConfiguration class.

Parameters:

  • opts (Hash) (defaults to: {})

    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.

Options Hash (opts):

  • :address (String)

    The value of attribute address.

  • :broker_type (MessageBrokerType)

    The value of attribute broker_type.

  • :network_mappings (String)

    The value of attribute network_mappings.

  • :password (String)

    The value of attribute password.

  • :port (Integer)

    The value of attribute port.

  • :username (String)

    The value of attribute username.



723
724
725
726
727
728
729
730
731
# File 'lib/ovirtsdk4/types.rb', line 723

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

Instance Method Details

- (String) address

Returns the value of the address attribute.

Returns:

  • (String)


600
601
602
# File 'lib/ovirtsdk4/types.rb', line 600

def address
  return @address
end

- (Object) address=(value)

Sets the value of the address attribute.

Parameters:

  • value (String)


609
610
611
# File 'lib/ovirtsdk4/types.rb', line 609

def address=(value)
  @address = value
end

- (MessageBrokerType) broker_type

Returns the value of the broker_type attribute.

Returns:



618
619
620
# File 'lib/ovirtsdk4/types.rb', line 618

def broker_type
  return @broker_type
end

- (Object) broker_type=(value)

Sets the value of the broker_type attribute.

Parameters:



627
628
629
# File 'lib/ovirtsdk4/types.rb', line 627

def broker_type=(value)
  @broker_type = value
end

- (String) network_mappings

Returns the value of the network_mappings attribute.

Returns:

  • (String)


636
637
638
# File 'lib/ovirtsdk4/types.rb', line 636

def network_mappings
  return @network_mappings
end

- (Object) network_mappings=(value)

Sets the value of the network_mappings attribute.

Parameters:

  • value (String)


645
646
647
# File 'lib/ovirtsdk4/types.rb', line 645

def network_mappings=(value)
  @network_mappings = value
end

- (String) password

Returns the value of the password attribute.

Returns:

  • (String)


654
655
656
# File 'lib/ovirtsdk4/types.rb', line 654

def password
  return @password
end

- (Object) password=(value)

Sets the value of the password attribute.

Parameters:

  • value (String)


663
664
665
# File 'lib/ovirtsdk4/types.rb', line 663

def password=(value)
  @password = value
end

- (Integer) port

Returns the value of the port attribute.

Returns:

  • (Integer)


672
673
674
# File 'lib/ovirtsdk4/types.rb', line 672

def port
  return @port
end

- (Object) port=(value)

Sets the value of the port attribute.

Parameters:

  • value (Integer)


681
682
683
# File 'lib/ovirtsdk4/types.rb', line 681

def port=(value)
  @port = value
end

- (String) username

Returns the value of the username attribute.

Returns:

  • (String)


690
691
692
# File 'lib/ovirtsdk4/types.rb', line 690

def username
  return @username
end

- (Object) username=(value)

Sets the value of the username attribute.

Parameters:

  • value (String)


699
700
701
# File 'lib/ovirtsdk4/types.rb', line 699

def username=(value)
  @username = value
end