示例#1
0
        internal void UpdateFromProxy(Proxy_VLAN proxy)
        {
            this.uuid       = (proxy.uuid == null) ? null : proxy.uuid;
            this.tagged_PIF = (proxy.tagged_PIF == null) ? null : XenRef <PIF> .Create(proxy.tagged_PIF);

            this.untagged_PIF = (proxy.untagged_PIF == null) ? null : XenRef <PIF> .Create(proxy.untagged_PIF);

            this.tag          = (proxy.tag == null) ? 0L : long.Parse(proxy.tag);
            this.other_config = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config);
        }
示例#2
0
 public VLAN(Proxy_VLAN proxy)
 {
     this.UpdateFromProxy(proxy);
 }