internal void UpdateFromProxy(Proxy_VGPU proxy) { this.uuid = (proxy.uuid == null) ? null : proxy.uuid; this.VM = (proxy.VM == null) ? null : XenRef <WinAPI.VM> .Create(proxy.VM); this.GPU_group = (proxy.GPU_group == null) ? null : XenRef <WinAPI.GPU_group> .Create(proxy.GPU_group); this.device = (proxy.device == null) ? null : proxy.device; this.currently_attached = proxy.currently_attached; this.other_config = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config); }
public VGPU(Proxy_VGPU proxy) { this.UpdateFromProxy(proxy); }