internal void UpdateFromProxy(Proxy_Tunnel proxy) { this.uuid = (proxy.uuid == null) ? null : proxy.uuid; this.access_PIF = (proxy.access_PIF == null) ? null : XenRef <PIF> .Create(proxy.access_PIF); this.transport_PIF = (proxy.transport_PIF == null) ? null : XenRef <PIF> .Create(proxy.transport_PIF); this.status = (proxy.status == null) ? null : Maps.convert_from_proxy_string_string(proxy.status); this.other_config = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config); }
public Tunnel(Proxy_Tunnel proxy) { this.UpdateFromProxy(proxy); }