internal void UpdateFromProxy(Proxy_Host_metrics proxy) { this.uuid = (proxy.uuid == null) ? null : proxy.uuid; this.memory_total = (proxy.memory_total == null) ? 0L : long.Parse(proxy.memory_total); this.memory_free = (proxy.memory_free == null) ? 0L : long.Parse(proxy.memory_free); this.live = proxy.live; this.last_updated = proxy.last_updated; this.other_config = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config); }
public Host_metrics(Proxy_Host_metrics proxy) { this.UpdateFromProxy(proxy); }