internal void UpdateFromProxy(Proxy_VTPM proxy) { this.uuid = (proxy.uuid == null) ? null : proxy.uuid; this.VM = (proxy.VM == null) ? null : XenRef <WinAPI.VM> .Create(proxy.VM); this.backend = (proxy.backend == null) ? null : XenRef <WinAPI.VM> .Create(proxy.backend); }
public override string SaveChanges(Session session, string opaqueRef, VTPM server) { if (opaqueRef != null) { throw new InvalidOperationException("This type has no read/write properties"); } Proxy_VTPM y_vtpm = this.ToProxy(); return(session.proxy.vtpm_create(session.uuid, y_vtpm).parse()); }
public VTPM(Proxy_VTPM proxy) { this.UpdateFromProxy(proxy); }