Creates a new instance of the {DnsResolverConfiguration} 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 [Array<String>, Array<Hash>] :name_servers The values of attribute `name_servers`.
# File lib/ovirtsdk4/types.rb, line 3155 def initialize(opts = {}) super(opts) self.name_servers = opts[:name_servers] end
Returns `true` if `self` and `other` have the same attributes and values.
# File lib/ovirtsdk4/types.rb, line 3163 def ==(other) super && @name_servers == other.name_servers end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 3171 def hash super + @name_servers.hash end
Returns the value of the `name_servers` attribute.
@return [Array<String>]
# File lib/ovirtsdk4/types.rb, line 3132 def name_servers @name_servers end
Sets the value of the `name_servers` attribute.
@param list [Array<String>]
# File lib/ovirtsdk4/types.rb, line 3141 def name_servers=(list) @name_servers = list end