public ClockifyUser(string id, string email, string name, ClockifyWorkspace ws) { ID = id; Email = email; Name = name; Workspaces = ws == null ? new List <ClockifyWorkspace>() : new List <ClockifyWorkspace> { ws }; }
public ClockifyTimeEntry(string id, string desc, bool bill, ClockifyUser u, ClockifyWorkspace ws, ClockifyProject proj, ClockifyTask task, DateTime start, DateTime end, TimeSpan ts) { ID = id; Description = desc; Workspace = ws; Project = proj; Task = task; Start = start; End = end; Duration = ts; Billable = bill; User = u; }