/// <inheritdoc/> protected override void UpdateThis(ServerBase server) { if (server == null) throw new ArgumentNullException("server"); base.UpdateThis(server); var details = server as SimpleServer; if (details == null) return; Name = details.Name; }
/// <inheritdoc/> protected override void UpdateThis(ServerBase server) { if (server == null) throw new ArgumentNullException("server"); base.UpdateThis(server); var details = server as NewServer; if (details == null) return; DiskConfig = details.DiskConfig; AdminPassword = details.AdminPassword; }
/// <inheritdoc/> protected override void UpdateThis(ServerBase server) { if (server == null) throw new ArgumentNullException("server"); base.UpdateThis(server); var details = server as Server; if (details == null) return; DiskConfig = details.DiskConfig; PowerState = details.PowerState; TaskState = details.TaskState; VMState = details.VMState; AccessIPv4 = details.AccessIPv4; AccessIPv6 = details.AccessIPv6; UserId = details.UserId; Image = details.Image; Status = details.Status; Flavor = details.Flavor; Addresses = details.Addresses; Created = details.Created; HostId = details.HostId; Progress = details.Progress; TenantId = details.TenantId; Updated = details.Updated; }