class Fog::Compute::VirtualBox::NATEngine

Attributes

machine[RW]
network_adapter[RW]

Public Instance Methods

redirects() click to toggle source
# File lib/fog/virtual_box/models/compute/nat_engine.rb, line 37
def redirects
  Fog::Compute::VirtualBox::NATRedirects.new(
    :connection => connection,
    :machine    => machine,
    :nat_engine => self
  )
end

Private Instance Methods

raw() click to toggle source
# File lib/fog/virtual_box/models/compute/nat_engine.rb, line 47
def raw
  @raw
end
raw=(new_raw) click to toggle source
# File lib/fog/virtual_box/models/compute/nat_engine.rb, line 51
def raw=(new_raw)
  @raw = new_raw
  raw_attributes = {}
  for key in [:alias_mode, :dns_pass_domain, :dns_proxy, :dns_use_host_resolver, :host_ip, :network, :redirects, :tftp_boot_file, :tftp_next_server, :tftp_prefix]
    raw_attributes[key] = @raw.send(key)
  end
  merge_attributes(raw_attributes)
end