/// <summary> /// Get details about the time entry with the specified <paramref name="entryId"/>. /// </summary> /// <param name="entryId">The ID of the time entry.</param> /// <returns>An instance of <see cref="TogglEntryResponse"/> representing the response.</returns> /// <see> /// <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md#get-time-entry-details</cref> /// </see> public TogglEntryResponse GetEntry(int entryId) { return(TogglEntryResponse.Parse(Raw.GetEntry(entryId))); }
/// <summary> /// Creates a new time entry wqith the specified <paramref name="options"/>. /// </summary> /// <param name="options">Theoptions for the request to the Toggl API.</param> /// <returns>An instance of <see cref="TogglEntryResponse"/> representing the response.</returns> /// <see> /// <cref>https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md#create-a-time-entry</cref> /// </see> public TogglEntryResponse CreateEntry(TogglCreateTimeEntryOptions options) { return(TogglEntryResponse.Parse(Raw.CreateEntry(options))); }