internal void UpdateFromProxy(Proxy_PCI proxy) { this.uuid = (proxy.uuid == null) ? null : proxy.uuid; this.class_name = (proxy.class_name == null) ? null : proxy.class_name; this.vendor_name = (proxy.vendor_name == null) ? null : proxy.vendor_name; this.device_name = (proxy.device_name == null) ? null : proxy.device_name; this.host = (proxy.host == null) ? null : XenRef <Host> .Create(proxy.host); this.pci_id = (proxy.pci_id == null) ? null : proxy.pci_id; this.dependencies = (proxy.dependencies == null) ? null : XenRef <PCI> .Create(proxy.dependencies); this.other_config = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config); }
public PCI(Proxy_PCI proxy) { this.UpdateFromProxy(proxy); }