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 3197 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 3205 def ==(other) super && @name_servers == other.name_servers end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 3213 def hash super + @name_servers.hash end
Returns the value of the `name_servers` attribute.
@return [Array<String>]
# File lib/ovirtsdk4/types.rb, line 3174 def name_servers @name_servers end
Sets the value of the `name_servers` attribute.
@param list [Array<String>]
# File lib/ovirtsdk4/types.rb, line 3183 def name_servers=(list) @name_servers = list end